MAIDR JavaScript API
    Preparing search index...

    Interface MaidrUPlotHandle

    A live binding between one uPlot instance and MAIDR.

    interface MaidrUPlotHandle {
        id: string;
        refresh: () => void;
        dispose: () => void;
    }
    Index

    Properties

    Properties

    id: string

    The MAIDR chart id.

    refresh: () => void

    Re-reads the instance, as u.setData does automatically. Call it after changing series or axes (u.addSeries, u.setSeries, ...).

    dispose: () => void

    Unmounts MAIDR and puts the chart back where it was.