This property sets the direction (X-axis, Y-axis, or both) in which data zooming operations are performed by doZoomIn() and doZoomOut(). If the graph is a dual Y-axes graph and ZoomDirection is set to zero or two, zooming is done on both the Y1 and Y2 axes.
Syntax:
setZoomDirection(value);
value = getZoomDirection();
where:
Can be one of the following:
0 to zoom in on both directions. 0 is the default value.
1 to zoom in on just the X-axis (or ordinal axis if applicable).
2 to zoom in on just the Y-axis.
Example:
setGraphType(61); setZoomDirection(1);
setZoomPercentage(10);
doZoomIn();
setZoomDirection(2);
doZoomIn();
Note: This property is not currently supported in 3D graph types.
See ZoomPercentage.
WebFOCUS |