Below is an Area Range chart with a gradient.
http://jsfiddle.net/gXpHH/1/
I want to make the gradient follow the curve, so that the color at any point on the bottom line is the same, and ends with the same color when it reaches the top line. I'm pretty sure this is not an option in highcharts at the moment, but I just wanted to see if anyone had come across this before. Here is the code that the gradient is currently generating:
series: [{ name: "Shade", fillColor: { linearGradient: [0, 0, 0, 300], stops: [ [0, "#4572A7"], [1, "rgba(2,0,0,0)"] ] }, data: [ [0, 14733, 18890], [1, 16583, 21642],
thanks
Note : this is not the same as Highcharts , as I need a gradient to follow the curve.
javascript jquery highcharts
Justin bicknell
source share