MAIDR JavaScript API
    Preparing search index...

    Variable OVERLAY_ATTRIBUTESConst

    OVERLAY_ATTRIBUTES: {
        layer: "data-maidr-overlay";
        highlight: "data-maidr-overlay-highlight";
        cleanCanvas: "data-maidr-clean-canvas";
        pixelReader: "data-maidr-pixel-reader";
        plotArea: "data-maidr-plot-area";
        exclude: "data-maidr-exclude";
    } = ...

    The attributes an overlay layer carries, by what each one marks.

    Type Declaration

    • Readonlylayer: "data-maidr-overlay"

      The overlay layer an adapter draws its highlight into.

    • Readonlyhighlight: "data-maidr-overlay-highlight"

      Each highlight box or outline inside the overlay layer.

    • ReadonlycleanCanvas: "data-maidr-clean-canvas"

      A hidden canvas inside the overlay layer holding the chart as it was before anything was painted over the data -- a tooltip -- for readers of the pixels to read in place of the visible one. It covers the overlay layer's box.

    • ReadonlypixelReader: "data-maidr-pixel-reader"

      Set on the overlay layer by a reader of the pixels -- the tactile display -- while it reads them. An adapter keeps its clean canvas only then, so a chart nobody reads that way is not copied on every frame.

    • ReadonlyplotArea: "data-maidr-plot-area"

      The plot area, as left top right bottom.

    • Readonlyexclude: "data-maidr-exclude"

      Areas the library has painted over the data, as left top right bottom boxes separated by ;.