ChartDirector 7.1 (.NET Edition)

WPFChartViewer.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 WPFChartViewer.setPlotAreaMouseMargin on what is the extended plot area.

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