ChartDirector 7.1 (C++ Edition)

QmlChartViewer.mouseMovePlotArea


Declaration

void mouseMovePlotArea();

Description

This signal will be emitted when the mouse moves over the extended plot area.

See QmlChartViewer.setPlotAreaMouseMargin on what is the extended plot area.

When handling this event, QmlChartViewer.getChartMouseX, QmlChartViewer.getChartMouseY, QmlChartViewer.getPlotAreaMouseX and QmlChartViewer.getChartMouseY can be used to obtain the mouse cursor position in the chart pixel coordinate system.