A cursor is similar to a point plot or a line plot. The crucial difference is that users can move the individual data points of a cursor interactively with their mouse/touch device. This allows to program interactive visualizations where the users can interactively select, for example, certain ranges within a data set. This feature enables interactive range selections inside the coordinate system.

Data input

The data input for Cursors is very similar to point plots (with the exception, that no error bars can be specified).

If the user moves/drags data points (using the mouse or other pointer devices) around, the corresponding entries in the data property are changed. You can subscribe to the 'change' event of the data object to execute custom code in case the cursor moved.


Please also refer to the documentation for all plot objects.