Gradient under line series does not extend all the way down to the x-axis


I have a line series with a gradient beneath it, with a y-axis going from 0 to 100. I have points between those values, but the lowest value along that is currently 10. This can be reproduced by taking the quick start project, setting the range in the initialization of the y axis to something like 0 to 10, and changing the  data point to start at 1. Is there a way to set the bottom of this gradient instead of going off the lowest value? I’ve attached an image for reference.


Hi Jghazarian,

Setting the baseline of your line series to zero should get your baseline drawing to the bottom. Try this when you create your series:

lineSeries.baseline = @0;

Let me know how you get on!



Awesome, that did the trick. Thanks.

  1. Can, anyone please let me know how can I get the bottom line value of visual part only. Because I have to make set bottom line of visual part as baseline.
  2. I have four line series in my chart. these may cut each other. So please let me know is There any way to get the series just below to the a particular one ( two or more may lie just below it).