ChartDirector 6.0 (Perl Edition)

JsChartViewer.getChartMouseX


Usage

getChartMouseX()

Description

Gets the mouse or touch x-coordinate in the chart pixel coordinate system.

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 x-coordinate in the chart pixel coordinate system.