The coordinate of new range start in pixels
The coordinate of new range end in pixels
The duration of animation when zooming to extents
zoom(float,float,long) Method
Performs zoom on current axis, using @code:fromCoord as a coordinate of new range start and @code:toCoord as a coordinate of new range end with the specified animation duration
Syntax
void zoom( 
   float fromCoordinate,
   float toCoordinate,
   long duration
)

Parameters

fromCoordinate
The coordinate of new range start in pixels
toCoordinate
The coordinate of new range end in pixels
duration
The duration of animation when zooming to extents
See Also