ChartDirector 6.0 (Ruby Edition)

JsChartViewer.MouseMovePlotArea


Description

This event occurs when the mouse cursor moves on the extended plot area.

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

See JsChartViewer.setPlotAreaMouseMargin on what is the extended plot area.

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