I have a spline in my chart
Series ser = chart.createSeries(); chart.addSeries(ser .setName("Temperature") .setType(Series.Type.SPLINE) .setPoints( new Number[][] { {getTime("2010-09-05 06"), -3.8}, {getTime("2010-09-05 12"), 3.1}, {getTime("2010-09-05 18"), 2.4}, {getTime("2010-09-06 00"), 2.1},
}) .setPlotOptions(new ColumnPlotOptions() .setZIndex(1) .setColor("#4572A7")) );
spline color is blue , Now i want this color to remain blue but when it goes to a negative value(e.g my first point) only that part of spline becomes red .
like this http://keepitcloud.com/meteograms/ (at the left top you can see a small part of spline is red)
Any idea how can i achieve this
Log in to post a comment.
I have a spline in my chart
Series ser = chart.createSeries();
chart.addSeries(ser
.setName("Temperature")
.setType(Series.Type.SPLINE)
.setPoints(
new Number[][] {
{getTime("2010-09-05 06"), -3.8},
{getTime("2010-09-05 12"), 3.1},
{getTime("2010-09-05 18"), 2.4},
{getTime("2010-09-06 00"), 2.1},
spline color is blue , Now i want this color to remain blue but when it goes to a negative value(e.g my first point) only that part of spline becomes red .
like this http://keepitcloud.com/meteograms/ (at the left top you can see a small part of spline is red)
Any idea how can i achieve this