A series descriptor: enough to rebuild the shell, never the data.

interface SeriesState {
    paneIndex: number;
    priceScaleId: PriceScaleId;
    style: SeriesStyle;
    transform?: SeriesTransformSpec;
    type: string;
}

Properties

paneIndex: number
priceScaleId: PriceScaleId

The transform the chart applies to the series (Chart.setSeriesTransform), written only for a series that has one, so every other series saves what it always did. Like the rest of this descriptor it is the host's to reapply.

type: string