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

Enable/disable zoom

Hello,

How to enable and disabel the zoom feature by javascript?

Thanks!

1 Reply

SK Saravana Kumar Kanagavel Syncfusion Team April 7, 2016 11:44 AM UTC

Hi Jorge,
Thanks for using syncfusion products.
We have analyzed your query. You can enable or disable zooming in chart by setting zooming’s “Enable” property as true or false.

To know more details about zooming please follow the below link

http://help.syncfusion.com/aspnet/chart/user-interactions#zooming-and-panning

Please find the below code snippet     

[ASPX]
<ej:Chart ID="Chart1" runat="server" Width="600" >
    
    <Zooming Enable="true" />

</ej:Chart>
In the above code, we have enabled the zooming for chart.

And also we have made sample for your reference and attached in the below location

Sample Link: http://www.syncfusion.com/downloads/support/forum/123661/ze/sample265479303
Find the output of the sample below




Please let us know if you have any concern.


Regards,

Saravana Kumar K


Loader.
Live Chat Icon For mobile
Up arrow icon