Type Alias ChartDataColumn

ChartDataColumn: Readonly<
    { key: string; title: string } & (
        | { kind: "time"
        | "timeLabel"
        | "logicalIndex"
        | "timeOrigin" }
        | {
            field: "open" | "high" | "low" | "close" | "volume" | "oi";
            kind: "primary";
        }
        | {
            field?: "open"
            | "high"
            | "low"
            | "close";
            instanceId: string;
            kind: "indicator";
            plotKey: string;
        }
        | {
            comparisonIndex: number;
            field: "close";
            kind: "comparison";
            symbol: string;
        }
    ),
>

Canonical identities stay available even when a callback changes visible headers.