content section sets the text around the chart — title, subtitle, caption and source attribution. Each text slot has a companion visibility flag, so a value can be kept while hidden.
Slots
The chart’s headline text. Pair with
isTitleVisible.A secondary line under the title. Pair with
isSubtitleVisible.A note shown beneath the chart. Pair with
isCaptionVisible.Data-source attribution shown under the caption. Pair with
isSourceVisible.isXVisible boolean (isTitleVisible, isSubtitleVisible, isCaptionVisible, isSourceVisible). Setting text alone does not show it — the visibility flag is what renders it.
Rich text
Any text slot accepts either a plain string or a rich-text node (a TipTap-compatible document), which lets you mix colors, weights and headings within a title:textStyle (with color, font, fontSize), plus standard bold/italic/underline. Rich text requires the TipTap peer packages.
Related
- Configuration overview — how
configcomposes - Headline numbers — summary metrics in the header

