This question is locked. New answers and comments are not allowed.
Hi,
I've explicitly set MinValue to 0, but sometimes (when all Y-values on the chart are 0), the Y-Axis starts from -1, in stead of 0.
I've tried setting MinValue both in XAML, in code-behind, and even both at the same time.
The MaxValue is determined according to the maximum Y-value in the collection, but is always at least 1.
AutoRange is set to False.
Why is the Y-Axis doing this?
Kind regards,
Jeroen
I've explicitly set MinValue to 0, but sometimes (when all Y-values on the chart are 0), the Y-Axis starts from -1, in stead of 0.
I've tried setting MinValue both in XAML, in code-behind, and even both at the same time.
The MaxValue is determined according to the maximum Y-value in the collection, but is always at least 1.
AutoRange is set to False.
<charting:AxisY Title="" AutoRange="False" Step="5" MinValue="0" MaxValue="{Binding MaxLen}" StripLinesVisibility="Visible" MajorGridLinesVisibility="Visible">ChartJam.DefaultView.ChartArea.AxisY.MinValue = 0;Why is the Y-Axis doing this?
Kind regards,
Jeroen