Galera is as follows, I am doing with js
+ html5
and canvas
a program to plot graphics:
Iwouldliketoimplementazoom+and-asintheimage,andreturntotheoriginalzoombyclicking'='.Mydifficultyisthis:afterzooming,theCartesianaxes'x'and'y'havetochangetheirvalues,donotyou?
Example: link , after pressing the '+' button the values of the axes change, another example is the google chart, after zooming the values of the axes change.
I wanted more or less this, I wanted the idea of how to do this, change the values of the axes according to the zoom, or examples already ready, or some similar solution !!!