set the range of graphics 1 and 2 independently
I'm working at a project with GGB Apps API. I'm passing some values to an applet containing both graphics 1 and 2.
These values are used to update the graphs of two functions, one in graphics 1 and one in graphics 2. The range of both views should be updated accordingly.
So far I'm using ZoomIn[xMin,yMin,xMax,yMax]. I have put this command in the "On Update" script pane of one of the graphs.
It kind of works: when I change one parameter that changes a given graph, the views are resized.
However, the ZoomIn command seems to affect both windows simultaneously, while I want to control them separately.
Is there a way to say "zoom in view x", x being 1 or 2?
Alternatively, is there a way to change the view of the graphics windows from the ggb Apps API
Thanks a lot