Drag a labelled point to reposition it
The chart sets chart.ink.enabled, so its point annotations are
draggable: grab a labelled marker and move it. Click a note to
open its floating editor card: rename it inline, pick an accent color,
toggle bold, step the text size, grow/shrink or reshape the marker,
or delete the note (Enter commits, Escape closes; the swatches come
from chart.ink.noteColors). On release of a drag the new
position is converted back to data coordinates and written to
annotations.points[].x/y, so the annotation stays glued to that
data location on later zoom or resize. Use + Note (the palette, from
chart.ink.palette) then click the plot to drop a new labelled
note. The x-axis Window band moves (drag its middle) or resizes (drag
an edge), and the y-axis Target line drags vertically. Fires
annotationDragged / annotationEdited /
annotationStyled / annotationCreated /
annotationDeleted. With the history (Rewind) feature enabled,
Ctrl/Cmd+Z undoes any edit and Shift+Ctrl/Cmd+Z redoes it. Needs the
ink feature. (Set draggable:false on a single
annotation to pin it.)