I want to replicate this image with a line of data and a gradient color always positioned under the data.
I tried with LineSeries but the gradient parameter isn't recognized (whereas it is indicated in the doc). AreaSeries, and SplineAreaSeries but the area isn't always under the data.
Am I using the good series? Is there a parameter to specify what I wa
Hey Yuvaraj,
First of all thank you for the quick response. I didn't expected such a developed response :)
The answer answered perfectly to the screenshot and proposed problem!
While trying your solution, I saw that my problem was related to my negative values.
The colored area is always directed towards the 0 of the Y axis.
My question is:
- Is there a way to show the colored area always under the curb even if they are negatives?
Thanks again
Valentin.
primaryXAxis: DateTimeAxis(
crossesAt: -10),
|