interface PaneState {
    collapsed?: boolean;
    priceScale: PriceScaleState;
    scales?: Partial<Record<PriceScaleId, PriceScaleState>>;
    weight: number;
}

Properties

collapsed?: boolean

Folded to its header strip. Omission restores the pane open; the primary price pane (see ChartState.primaryPane) is always open, whatever it says.

priceScale: PriceScaleState
scales?: Partial<Record<PriceScaleId, PriceScaleState>>

Secondary scales only; the right scale remains in priceScale for older readers.

weight: number

Relative height weight among panes.