One plotted line/band/histogram. type is any registered chart type.

interface IndicatorPlot {
    colorKey?: string;
    key: string;
    priceScaleId?: PriceScaleId;
    style?: SeriesStyle;
    title: string;
    type: SeriesType;
}

Properties

colorKey?: string

Settings key holding this plot's color, so a settings change restyles the series without a full rebuild.

key: string

Key into the calc result.

priceScaleId?: PriceScaleId

Price axis for this plot. Defaults to 'right'.

style?: SeriesStyle

Style overrides merged onto the chart type's defaults.

title: string

Legend title.

Registered chart type used to draw it ('line', 'histogram', 'area', ...).