Overview
Thecontent property controls the title, subtitle, caption and data source attribution for your chart.
Title
Graph title. Can be plain text or TipTap JSON content for rich text formatting.
Subtitle
Subtitle displayed under the title. Can be plain text or TipTap JSON content for rich text formatting.
Caption
Caption displayed at the bottom of the chart. Can be plain text or TipTap JSON content for rich text formatting.Use captions for notes, methodology or context about the data.
Data source
Data source attribution shown under the caption.
Text label describing the data source (e.g., “Office for National Statistics”, “Internal sales data”).
URL link to the original data source. Must be a valid URL. If provided, the
label will be clickable.Content visibility
Use the visibility flags (isTitleHidden, isSubtitleHidden, isCaptionHidden, isSourceHidden) to programmatically control which content appears:
Hiding content with visibility flags is different from omitting it entirely. Hidden content is still part of the config but not rendered. This is useful when you want to preserve content but temporarily hide it.