MAIDR JavaScript API
    Preparing search index...

    A chart, as returned by createChart(...).

    interface LwcChart {
        panes: () => LwcPane[];
        timeScale: () => LwcTimeScale;
        priceScale: (priceScaleId: string, paneIndex?: number) => LwcPriceScale;
        paneSize: (paneIndex?: number) => { width: number; height: number };
        takeScreenshot: () => HTMLCanvasElement;
        chartElement: () => HTMLDivElement;
    }
    Index

    Properties

    panes: () => LwcPane[]
    timeScale: () => LwcTimeScale
    priceScale: (priceScaleId: string, paneIndex?: number) => LwcPriceScale
    paneSize: (paneIndex?: number) => { width: number; height: number }

    The size of a pane's plot area, whether or not the time axis is shown.

    takeScreenshot: () => HTMLCanvasElement

    The whole chart drawn onto one canvas.

    chartElement: () => HTMLDivElement