@rekurt/openkline - v0.2.0
    Preparing search index...

    Interface ChartLayout

    interface ChartLayout {
        chartBottom: number;
        chartLeft: number;
        chartRight: number;
        chartTop: number;
        height: number;
        leftAxisWidth: number;
        paneAreaBottom: number;
        paneAreaTop: number;
        paneCount: number;
        priceAxisWidth: number;
        timeAxisHeight: number;
        volumeBottom: number;
        volumeTop: number;
        width: number;
    }
    Index

    Properties

    chartBottom: number

    Bottom of the candle / price area. When sub-pane indicators are present this value sits ABOVE the time axis with one or more indicator panes between it and paneAreaBottom.

    chartLeft: number
    chartRight: number
    chartTop: number
    height: number
    leftAxisWidth: number

    Width (px) reserved on the LEFT for the optional secondary price axis (B2). 0 when no indicator is bound to the left scale — in that case chartLeft stays at 0 and the layout/render is identical to before. When > 0, chartLeft is shifted right by this much to make room.

    paneAreaBottom: number

    Bottom of the last sub-pane band (== height − timeAxisHeight). When no sub-panes are active this equals chartBottom.

    paneAreaTop: number

    Top of the first sub-pane band (== chartBottom).

    paneCount: number

    Number of pane-placement indicator bands stacked under the main chart.

    priceAxisWidth: number
    timeAxisHeight: number
    volumeBottom: number
    volumeTop: number
    width: number