Hi Yannick,
Greetings from Syncfusion.
We would like to let you know that your requirement has been achieved by using the NumericalStripLineCollection and add to the axis StripLine. Please refer the below code snippet,
XAML:
<chart:SfChart x:Name="Chart" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
. . . . .
</chart:SfChart> |
C#:
NumericalStripLineCollection numericalStripLines = new NumericalStripLineCollection();
numericalStripLines.Add(new NumericalStripLine
{
Start = 10,
Width = 3,
Text = "Loss",
FillColor = Color.Green
});
. . . .
secondaryAxis.StripLines = numericalStripLines; |
More Information please refer the below UG link,
Regards,
Suyamburaja J.