ChartDirector 6.0 (Ruby Edition)

JsChartViewer.TouchMovePlotArea


Description

This event occurs when a Javascript touch move event occurs on the extended plot area.

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

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

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