docx
    Preparing search index...

    Type Alias StockChartOptions

    StockChartOptions: ChartBaseOptions & {
        categories: readonly (string | number | Date)[];
        categoryAxis?: ChartAxis;
        close: readonly (number | null)[];
        dataTable?: boolean | ChartDataTable;
        downBars?: ChartAreaStyle;
        emptyValues?: ChartEmptyValues;
        high: readonly (number | null)[];
        highLowLines?: ChartLine;
        low: readonly (number | null)[];
        names?: StockChartSeriesNames;
        open?: readonly (number | null)[];
        type: "stock";
        upBars?: ChartAreaStyle;
        valueAxis?: ChartValueAxis;
        volume?: readonly (number | null)[];
        volumeAxis?: ChartValueAxis;
    }

    A stock chart (c:stockChart): each category's high and low prices joined by a line, with its closing price, and if given, its opening price and the volume traded, as Word's "High-Low-Close", "Open-High-Low-Close", "Volume-High-Low-Close" and "Volume-Open-High-Low-Close" charts. Each price list has one value for each category, in order, and null leaves a gap.

    Type Declaration

    • Readonlycategories: readonly (string | number | Date)[]

      The categories, such as trading days, in order. Dates are spaced evenly, one for each category, so days without trading, such as weekends, leave no gaps

    • Optional ReadonlycategoryAxis?: ChartAxis

      The axis of categories

    • Readonlyclose: readonly (number | null)[]

      Each category's closing price

    • Optional ReadonlydataTable?: boolean | ChartDataTable

      A table of the data under the plot, or true for one with Office's borders and legend keys. Default is none

    • Optional ReadonlydownBars?: ChartAreaStyle

      The fill and border of the bars where the price fell, when there are opening prices. Default is dark grey

    • Optional ReadonlyemptyValues?: ChartEmptyValues

      How empty values (null) are drawn: as gaps, or as zero. Default is "gap"

    • Readonlyhigh: readonly (number | null)[]

      Each category's highest price

    • Optional ReadonlyhighLowLines?: ChartLine

      The line from each high to each low. Default is a thin dark grey line

    • Readonlylow: readonly (number | null)[]

      Each category's lowest price

    • Optional Readonlynames?: StockChartSeriesNames

      The series' names, as the legend shows them

    • Optional Readonlyopen?: readonly (number | null)[]

      Each category's opening price. With it, a bar goes from the open to the close: hollow when the price rose, and filled when it fell

    • Readonlytype: "stock"
    • Optional ReadonlyupBars?: ChartAreaStyle

      The fill and border of the bars where the price rose, when there are opening prices. Default is white, with a grey border

    • Optional ReadonlyvalueAxis?: ChartValueAxis

      The axis of prices

    • Optional Readonlyvolume?: readonly (number | null)[]

      Each category's volume traded, drawn as columns against an axis of its own on the left, with the prices' on the right

    • Optional ReadonlyvolumeAxis?: ChartValueAxis

      The axis of volumes, when there are volumes