MAIDR JavaScript API
    Preparing search index...

    Interface SlideChartBinding

    A mounted add-in, returned by bindSlideChart.

    interface SlideChartBinding {
        maidr: Maidr | null;
        chart: OfficeChartInfo | null;
        charts: readonly OfficeChartInfo[];
        view: SlideChartView;
        link: (chartId: string) => Promise<void>;
        refresh: () => Promise<void>;
        dispose: () => Promise<void>;
    }
    Index

    Properties

    maidr: Maidr | null

    The figure on show, or null while the add-in shows a message instead.

    chart: OfficeChartInfo | null

    The chart linked, as the picker describes it, or null when none is or it is gone.

    charts: readonly OfficeChartInfo[]

    Every chart the picker offers, the add-in's own slide's first.

    What PowerPoint has open; the picker and the button are there in edit alone.

    link: (chartId: string) => Promise<void>

    Link a chart, by its id from SlideChartBinding.charts, show it, and save the link in the presentation -- in Normal view; one linked in the slide show is saved once Normal view is back. Never rejects.

    refresh: () => Promise<void>

    Read the file again, and show the chart linked. Never rejects.

    dispose: () => Promise<void>

    Stop following the view, unmount MAIDR and remove the add-in's elements.