We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Is it possible to call the Reset button clicked event when the chart is zoomed in?

Hi,

I have a question just like the subject.
When I zoom in the chart, the scrollbar and the reset button will be displayed, but if I click the reset button, the chart will return to normal. But I don't know how to reset some settings by me if user click the reset button.

IS this possible?
Thanks!


1 Reply

J. J.Nagarajan Syncfusion Team June 17, 2008 11:46 AM UTC

Hi Leo ,

Currently there is no built in support to call the Resetbuttons click event when the chart is zoomed in. However you can use the ZoomOutIncrement property to chage the ZoomOut factor, when the user click on the reset button.

this.ChartWebControl1.ZoomOutIncrement = 1;

Please refer to the attached sample. In this sample the ZoomOutIncrement is set to 1. Here you can completely reset the chart zooming with single click on the reset button.

http://www.syncfusion.com/Product/uploads/Chart_Zooming_28f29758.zip

Please refer to it and let me know if this helps.

Thanks,
Nagaraj


Loader.
Live Chat Icon For mobile
Up arrow icon