docx
    Preparing search index...

    Type Alias ChartFont

    A font for a chart's text. Anything left out is as Word writes a new chart's text: the theme's body font, not bold, in dark grey.

    type ChartFont = {
        bold?: boolean;
        color?: string | ThemeColor;
        italics?: boolean;
        name?: string;
        size?: number;
    }
    Index
    bold?: boolean

    Bold text. Default is false

    color?: string | ThemeColor

    A 6-digit hex colour such as "1F4E79", or a colour of the document's theme such as { theme: "accent1" }

    italics?: boolean

    Italic text. Default is false

    name?: string

    The typeface, such as "Arial". Default is the theme's body font

    size?: number

    Size in points, from 1 to 4000. Default is 14 for the chart's title, 10 for axis titles, and 9 for the rest