Hi,
I'm trying to achieve this result:
(it is just a screenshot, I've drawn the red line manually on it).
I want to draw a line at zero coordinate or to make the zero grid line more evident.
I've tried with striplines:
<ChartStriplines>
<ChartStripline ZIndex="ZIndex.Over" Start="0" End="1" Color="Red" />
</ChartStriplines>
But start and end values are based on the Y scale, that it is not fixed and it is in millions.
Is there another solution?
Thanks.
|
<SfChart>
<ChartPrimaryYAxis>
<ChartStriplines>
<ChartStripline Start="0" End="0.05" ZIndex="ZIndex.Over" Color="red" Visible="true"></ChartStripline>
</ChartStriplines>
</ChartPrimaryYAxis>
</SfChart> |
Hi,
thanks for the example but my case is more similar to the one attached.
The scale can be in millions or thousands or other. It's not fixed, so start/end values of the stripline can be different.
If to draw a line you need to use striplines, I think I should find a formula to calculate End value based on max/min of the scale.
Any other suggestions?