I've updated from the 22.214.171.124 version to the 126.96.36.199 version and now I see that when I change the number of data points in my chart it also changes the number of grids on the PrimaryAxis (can be a lot and can be none).
I haven't change anything, and I don't change the values that I set in xaml in the code behind.
Not sure why, but it started to happen after the update to the new 188.8.131.52 version.
I'll add that I do change the xAxis (PrimaryAxis) Maximum value according to a value that the user input. (between 192 to 32 million). Minimum value is always 0.
Maybe that cause the problem?
SASanthiya Arulsamy Syncfusion Team October 27, 2016 10:39 AM UTC
Thanks for the update.
We have tried to reproduce the problem, but we are unable to reproduce at our end even changed the primary axis’s Maximum, according to the data points. We have prepared the sample based on your scenario. Could you please reproduce the problem in the attached sample or provide your sample? It would be helpful for us to provide as better solution.
I've added 2 samples, one that works and one that don't.
I don't understand why one of them not working, the difference between those 2 samples are that the one that works don't have SfChart.Behaviors, and zommCheckBox in XAML and the events zoomCheckBox_Checked & zoomCheckBox_Unchecked, other then that both samples are the same.
Draw something with the mouse then change the value in the right TextBox ( I usually add 2 zeros in the end) and press enter, the number of grids would change - it's not happening all the time so if it's still working correct please try few more times.
SSSheik Syed Abthaheer M Syncfusion Team October 28, 2016 07:11 PM UTC
Thanks for your update.
We are able to reproduce the issue in your sample and would like to inform you that, this issue reproduced in previous releases too. For calculating the zooming operation, we are internally disabled the axis interval calculation when mouse down the chart.
In order to update the interval when change the items source, we have to add ZoomPanBehaviour in zoomCheckBox_Checked event. We have modified the sample based on this. Please find the sample below