
I am trying to set the minimum and maximum values for my LineSeries so that the graph doesn't fluctuate too much when small values change. However, I can't find a way to set the minimum and maximum values for the axis in my XAML code. How can I configure these values for my lineseries?
my code as below :
<charts:XYChart Width="280" GridLineMajorBrush="LightGray" GridLineMinorBrush="LightGray" GridLineMajorVisibility="X" Height="160" Margin="0,5,0,0" FontSize="12" Background="Transparent" Foreground="Gray" FontWeight="Bold" >
<charts:LineSeries ItemsSource="{Binding MotorDataPoints}"
XPath="X" YPath="Y" MarkerVisibility="All" />
</charts:XYChart>