ChartDirector 7.1 (.NET Edition)

WinChartViewer.MouseMovePlotArea


Declaration

[C#]public event MouseEventHandler MouseMovePlotArea;
[VB]Public Event MouseMovePlotArea As MouseEventHandler

Description

This event occurs when the mouse cursor moves over the extended plot area.

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

When handling this event, WinChartViewer.ChartMouseX, WinChartViewer.ChartMouseY, WinChartViewer.PlotAreaMouseX and WinChartViewer.ChartMouseY can be used to obtain the mouse cursor position in the chart pixel coordinate system.