Home forums Using CanvasJS Scaling using X-Y Coordinates Reply To: Scaling using X-Y Coordinates

#27085

@vpaswin1994,

You can programmatically zoom / pan to a region by setting viewportMinimum & viewportMaximum. Please take a look at this JSFiddle which shows setting viewport based on values entered in input-fields.

From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.

Considering this as duplicate of Scaling, hence closing the same.


Vishwas R
Team CanvasJS