Interface ChartObjectSnapshot

One immutable row in a chart's object inventory.

interface ChartObjectSnapshot {
    band?: ChartObjectBand;
    capabilities: ChartObjectCapabilities;
    dataStatus?: Readonly<IndicatorDataStatus>;
    groupId?: string;
    hiddenOnInterval?: boolean;
    id: string;
    kind: ChartObjectKind;
    locked?: boolean;
    name: string;
    paneIndex: number;
    selected: boolean;
    sourceId: string;
    stackAbove?: string;
    visible: boolean;
}

Properties

The band it paints in, for a row that is part of its pane's stack (see stack).

dataStatus?: Readonly<IndicatorDataStatus>
groupId?: string
hiddenOnInterval?: boolean

True for a drawing whose interval range leaves out the chart's interval, and for a group all of whose drawings it leaves out: kept and listed so it can be found, but not on the chart. visible stays the user's switch.

id: string
locked?: boolean
name: string
paneIndex: number
selected: boolean
sourceId: string
stackAbove?: string

For a drawing in the series band: the id of the source or study row it paints directly above.

visible: boolean