ChartDirector 7.1 (.NET Edition)

WPFChartViewer.MouseLeavePlotArea


Declaration

[C#]public event EventHandler MouseLeavePlotArea;
[VB]Public Event MouseLeavePlotArea As EventHandler

Description

This event occurs when the mouse cursor leaves 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.