docx
    Preparing search index...

    Type Alias StockChartDataPatchOptions

    New data for a stock chart: each category's prices, and if the chart has them, its opening prices and volumes.

    type StockChartDataPatchOptions = {
        categories: readonly (string | number | Date)[];
        close: readonly (number | null)[];
        description?: string;
        high: readonly (number | null)[];
        low: readonly (number | null)[];
        names?: StockChartSeriesNames;
        open?: readonly (number | null)[];
        volume?: readonly (number | null)[];
    }
    Index
    categories: readonly (string | number | Date)[]

    The categories, such as trading days, in order

    close: readonly (number | null)[]

    Each category's closing price

    description?: string

    The chart's alt text description. Default is a description of the chart from its new data, and none for a decorative chart. An empty description removes it

    high: readonly (number | null)[]

    Each category's highest price

    low: readonly (number | null)[]

    Each category's lowest price

    The series' names, as the legend shows them. Default is "Volume", "Open", "High", "Low" and "Close"

    open?: readonly (number | null)[]

    Each category's opening price, for a chart with opening prices

    volume?: readonly (number | null)[]

    Each category's volume traded, for a chart with volumes