ChartDirector 5.1 (PHP Edition)

JsChartViewer.MouseMoveChart


Description

This event occurs when the mouse cursor moves on the chart.

Use JsChartViewer.attachHandler with the event id "MouseMoveChart" to attach a handler to this event.

The JsChartViewer.getChartMouseX, JsChartViewer.getChartMouseY, JsChartViewer.getPlotAreaMouseX and JsChartViewer.getPlotAreaMouseY can be used to obtain the mouse cursor coordinates relative to the chart.