ChartDirector 6.0 (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 CChartViewer.setPlotAreaMouseMargin on what is the extended plot area.

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