MAIDR JavaScript API
    Preparing search index...

    Manages DOM rectangles drawn over an amCharts 5 chart to provide MAIDR-style highlight feedback during keyboard navigation.

    Index

    Constructors

    • Parameters

      • host: HTMLElement

        Positioned wrapper element that contains root.dom.

      • rootDom: HTMLElement

        The amCharts root DOM element the overlay aligns to.

      • getColor: () => string

        Returns the current highlight color (read at draw time).

      Returns HighlightOverlay

    Methods

    • Records where the focused panel's plot area is, and what is drawn over it, for readers of the canvas's pixels; see @util/overlayRegions.

      Parameters

      • plotArea: AmBounds | null

        The plot area, root-relative CSS pixels

      • exclude: readonly AmBounds[] = []

        What amCharts has drawn over the data, such as a legend

      Returns void