Home forums Using CanvasJS Button to zoom Reply To: Button to zoom

#15312

Vishwas R
Keymaster

Emeric,

To zoom into certain region, you need to change viewportMinimum and viewportMaximum. If you like to set viewportMinimum and viewportMaximum to certain region after clicking the button, you can achieve as shown in this jsfiddle.

Also take a look at this jsfiddle, where viewportMinimum and viewportMaximum are changed based on dropdown options.


Vishwas R
Team CanvasJS