zoom

abstract fun zoom(zoomOriginX: Percent, zoomOriginY: Percent, zoomFactorX: Percent, zoomFactorY: Percent)

Zoom the "viewport" of the Chart by a certain percentage in X or Y direction, knowing the zoom origin. For example zoom(50%, 50%, 110%, 110%) will zoom by a ratio 1.1 in X and Y directions around the middle of the charting zone.

Parameters

zoomFactorX

The zooming ratio in X in Percent.

zoomFactorY

The zooming ratio in Y in Percent.

zoomOriginX

The origin position of the zoom in Percent along the X-axis.

zoomOriginY

The origin position of the zoom in Percent along the Y-axis.