ChartDirector 7.1 (C++ Edition)

QChartViewer.mouseMovePlotArea


Declaration

void mouseMovePlotArea(QMouseEvent *event);

Description

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

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

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