Rotate interaction
A rotate interaction allows you to rotate a chart without having to select any
buttons in the axes toolbar. To enable chart rotation, set the
Interactions
property of the axes to a
rotateInteraction
object. When this interaction is enabled, you can rotate
a chart by dragging it.
To enable multiple interactions, set the Interactions
property to an
array of objects.
r = rotateInteraction
creates a rotate interaction object.
The rotateInteraction
function is not supported in the Live
Editor.
In most cases, the axes have a default set of interactions which depend on the type of chart you are displaying. You can replace the default set with a new set of interactions, but you cannot access or modify any of the interactions in the default set.
dataTipInteraction
| disableDefaultInteractivity
| enableDefaultInteractivity
| panInteraction
| regionZoomInteraction
| rulerPanInteraction
| zoomInteraction