ChartDirector 7.1 (C++ Edition)
ViewPortManager.
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
zoomDirection | (Mandatory) | The allowed zoom direction. Must be one of the predefined constants DirectionHorizontal, DirectionVertical and DirectionHorizontalVertical for horizontal, vertical and bi-directional zooming. |
x | (Mandatory) | The x-coordinate of the point to zoom at. |
y | (Mandatory) | The y-coordinate of the point to zoom at. |
zoomRatio | (Mandatory) | The zoom magnification factor. For example, a value of 2 means zooming in by 2x. A value of 0.5 means zooming out by 2x. |
Return Value