MAIDR JavaScript API
    Preparing search index...

    Draws MAIDR's highlight boxes over a uPlot chart's plotting area.

    Index

    Constructors

    • Parameters

      • over: HTMLElement

        The instance's u.over element

      • getColor: () => string

        Returns the highlight color, read on every draw so a change in MAIDR's settings shows on the next move

      Returns UPlotHighlightOverlay

    Methods

    • Records the plot area -- the whole layer -- for readers of the canvas's pixels. Called on every show, since uPlot resizes the plotting area whenever the chart is resized.

      Returns void