I have a question about chart.
When we link our list to the chart and we configure the Yaxis, with :
VermogenChart.DefaultView.ChartArea.AxisY.AutoRange = false; |
VermogenChart.DefaultView.ChartArea.AxisY.MinorTicksVisibility = Visibility.Collapsed; |
VermogenChart.DefaultView.ChartArea.AxisY.MinValue = 0; |
var step = 400 / 5; |
VermogenChart.DefaultView.ChartArea.AxisY.Step = step; |
VermogenChart.DefaultView.ChartArea.AxisY.ExtendDirection = AxisExtendDirection.None; |
VermogenChart.DefaultView.ChartArea.AxisY.MaxValue = 400; |
we always get result like picture1 the first time we load the chart, and a little later when we load it again , we get picture2 like it is supposed to be. How can we solve this?