ChartDirector 6.1 (Java Edition)

TrackCursorListener.mouseMovedPlotArea


Usage

public void mouseMovedPlotArea(MouseEvent e)

Description

The system will call this method when the mouse moves over the extended plot area.

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

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

Arguments

ArgumentDefaultDescription
e(Mandatory)A standard java.awt.event.MouseEvent object containing information about the mouse events.

Return Value

None