Gets the mouse or touch x-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.
© 2021 Advanced Software Engineering Limited. All rights reserved.