ChartDirector 7.1 (.NET Edition)

JsChartViewer.getPlotAreaMouseY


Usage

getPlotAreaMouseY()

Description

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

If the mouse cursor or touch point is not on the plot area, but is on the extended plot area (see JsChartViewer.setPlotAreaMouseMargin), this method will behave as if the mouse cursor or touch point is on the nearest plot area edge.

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

This method is only valid when called inside the JsChartViewer.MouseMoveChart, JsChartViewer.MouseMovePlotArea, JsChartViewer.TouchStartChart, JsChartViewer.TouchStartPlotArea, JsChartViewer.TouchMoveChart or JsChartViewer.TouchMovePlotArea events.

Arguments

None

Return Value

The mouse or touch y-coordinate in the chart pixel coordinate system.