Interface ChartRestoreOptions

Runtime choices for restoring configuration without serializing callbacks.

interface ChartRestoreOptions {
    preserveScaleFormats?: readonly {
        paneIndex: number;
        scaleId: PriceScaleId;
    }[];
}

Properties

preserveScaleFormats?: readonly { paneIndex: number; scaleId: PriceScaleId }[]

Keep the current formatter callback or default formatter on selected live scales while recreating study series. Numeric saved scale settings still apply. Selectors must name existing panes/scales; no callbacks are serialized.