docx
    Preparing search index...

    Type Alias ChartBaseOptions

    Options every chart has, whatever its type.

    type ChartBaseOptions = {
        altText?: DocPropertiesOptions;
        chartArea?: ChartAreaStyle;
        decorative?: boolean;
        floating?: IFloating;
        font?: Omit<ChartFont, "size">;
        legend?: false | ChartLegend;
        plotArea?: ChartAreaStyle;
        run?: IRunPropertiesOptions;
        title?: string | ChartTitle;
        transformation?: ChartSize;
    }
    Index

    A name, description and title for screen readers. Without a description, the chart is described from its data, such as "Column chart, Sales. 2024: Jan 10, Feb 20, Mar 30."

    chartArea?: ChartAreaStyle

    The chart area's fill and border. Default is a white fill with a light grey border

    decorative?: boolean

    Marks the chart as decorative, so screen readers skip it. Default is false

    floating?: IFloating

    Floats the chart on the page instead of placing it inline with text, as for images

    font?: Omit<ChartFont, "size">

    The font of all the chart's text, apart from its size. The title's, legend's and others' own fonts are applied over it

    legend?: false | ChartLegend

    The legend, or false for none. Default is a legend below the plot

    plotArea?: ChartAreaStyle

    The plot area's fill and border. Default is neither

    Formatting of the run the chart is in, such as position to raise or lower it from the text's baseline

    title?: string | ChartTitle

    The chart's title, above the plot. Default is no title. Each line of the text is a line of the title

    transformation?: ChartSize

    The chart's size in pixels. Default is 576 by 336 pixels (6 by 3.5 inches), the size Word inserts a chart at