ChartDirector 7.1 (C++ Edition)

QmlChartViewer.scrollDirection


Declaration

Direction scrollDirection

Description

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

This QML property maps to the C++ methods QmlChartViewer.getScrollDirection and QmlChartViewer.setScrollDirection.

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.