modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface ChartTitleData

    A chart or axis title (c:title), written as rich text with one run. On read the text of all its runs is joined, and a title without text reads as absent.

    interface ChartTitleData {
        bold?: boolean | null;
        color?: string | null;
        fontSize?: number | null;
        overlay?: boolean;
        text: string;
    }
    Index
    bold?: boolean | null

    Bold title text, written as b; unset writes no b.

    color?: string | null

    Text colour as six hex digits RRGGBB without # (e.g. 'FF0000'), written verbatim as the DrawingML a:srgbClr val.

    fontSize?: number | null

    Font size in hundredths of a point (1400 = 14 pt), written verbatim as the DrawingML sz of the title text. validateChartData checks the chart title and the catAxis and valAxis titles against 100 to 400000.

    overlay?: boolean

    c:overlay: true lets the title overlap the plot area. Omitted means false.

    text: string