ChartDirector 7.1 (.NET Edition)

WinChartViewer.PlotAreaMouseY


Declaration

[C#]public int PlotAreaMouseY {get;};
[VB]Public ReadOnly Property PlotAreaMouseY As Integer

Description

Gets the mouse y-coordinate on the plot area in the chart pixel coordinate system.

If the mouse cursor is not on the plot area, but is on the extended plot area (see WinChartViewer.setPlotAreaMouseMargin), this property will behave as if the mouse cursor is on the nearest plot area edge.

If the mouse cursor is not even on the extended plot area mouse region, this property will return the last coordinate when the mouse cursor was still on the extended plot area.

This method is only valid when called inside the WinChartViewer.MouseMoveChart or WinChartViewer.MouseMovePlotArea events.