Setting primaryYAxis.range.min/max back to their default value

I asked this in https://www.syncfusion.com/forums/133333/changing-min-max-range-on-primaryyaxis-redraw-does-not-work but there is no answer. So I try to start a new thread.

My next question is: After setting the range.min/max to a certain value, how can I reset the primaryYAxis so that it is redrawn and looks like before? 

I think I have to set the primaryYAxis.range.min/max to their default value which is null (I think). This works partly but the axis range is padded to the min and max values of the given values.

Attached, again, an example. 

Initially, I have a padding that sets min to 0 and max to 16.


SetYAxisMinTo10MaxTo12()/SetYAxisMinTo2() successfully change the ranges. 

UpdateChart() should reset to the initial values (based on given rangePadding) of 0(min) .. 16(max) but sets it to 2/15.





Attachment: RestoreDefaultPaddingAfterSettingRangeMinMaxToNull_27ec501f.zip

1 Reply

SK Sanjith Kesavan Syncfusion Team November 1, 2017 10:09 AM UTC

Hi Sebastian, 

Sorry for the inconvenience caused. We have analyzed the attached sample and able to report the reported issue. But we have already fixed this issue and fix will be included in our Essential Studio 2017 volume 4 release which is expected to be roll out at the first week of November 2017.  

Please let us know if you have any concern. 

Regards, 
Sanjith. 


Loader.
Up arrow icon