ChartDirector 7.1 (C++ Edition)

QmlChartViewer.zoomDirection


Declaration

Direction zoomDirection

Description

Gets and sets the zoom direction for mouse zoom in/out actions.

This QML property maps to the C++ methods QmlChartViewer.getZoomDirection and QmlChartViewer.setZoomDirection.

Note that in QML, the C++ constants DirectionHorizontal, DirectionVertical, DirectionHorizontalVertical and KeepAspectRatio need to be referenced as QmlChartViewer.Horizontal, QmlChartViewer.Vertical, QmlChartViewer.HorizontalVertical and QmlChartViewer.KeepAspectRatio.