Positioned wrapper element that contains the canvas.
The Chart.js canvas the overlay aligns to.
OptionalhighlightColor: stringOptional outline color override.
Optionalrepaint: () => voidRedraws the chart, so a copy for a reader of the pixels who has just arrived is taken now rather than on the chart's next frame.
Draw one node per provided geometry. Existing nodes are cleared first.
Records where the plot area is and what Chart.js has painted over it, for
readers of the canvas's pixels; see @util/overlayRegions.
Copies the chart as it stands before Chart.js paints its tooltip, for
readers of the pixels; see @util/overlayRegions.
The tooltip sits over the data at the focused point, so a reader of the visible canvas found it among the marks -- and masking it out hid the tops of the bars it covered. This copy has everything but the tooltip.
Remove all highlight nodes (e.g., on chart resize before recompute).
Detach overlay from the DOM.
Manages the DOM shapes drawn on top of a Chart.js canvas to provide MAIDR-style highlight feedback for keyboard navigation.