ChartDirector 7.1 (C++ Edition)

ViewPortManager.canZoomIn


Usage

bool canZoomIn(int zoomDirection);

Description

Checks if it is possible to zoom in further at a certain direction without violating zoom in limits.

See ViewPortManager.setZoomInWidthLimit and ViewPortManager.setZoomInHeightLimit on how to configure zoom in limits.

Arguments

ArgumentDefaultDescription
zoomDirection(Mandatory)The zoom direction to check. Must be one of the predefined constants DirectionHorizontal, DirectionVertical and DirectionHorizontalVertical for horizontal, vertical and bi-directional zooming.

Return Value

True if can zoom in further, otherwise false.