ChartDirector 7.0 (Java Edition)

ChartViewer.setZoomInHeightLimit


Usage

public void setZoomInHeightLimit(double height)

Description

Sets the viewport height at maximum zoom in.

In many applications, it is desirable to set a maximum zoom in level, instead of allowing the user to zoom in indefinitely.

This method determines the minimum allowed viewport height. It should be between 0 and 1. The default is 0.01, which means a maximum zoom in of 100x (the viewport see only 1% of the underlying surface).

Arguments

ArgumentDefaultDescription
height(Mandatory)The minimum allowed viewport height.

Return Value

None