charturbo - v0.1.0
    Preparing search index...

    Interface RichLabelOptions<C>

    Label options of charts with a formatter + rich styles (pie, treemap, sunburst, sankey, funnel).

    interface RichLabelOptions<C> {
        formatter?: (ctx: C) => string;
        rich?: RichTextStyles;
    }

    Type Parameters

    • C
    Index
    formatter?: (ctx: C) => string

    Label text (may use {style|text} runs of rich); default: the chart's own label

    Styles of {style|text} runs