Charts Label
Names in the legend and tooltip come from the same series label field.
Pass a string for a fixed name, or a label_formatter when the wording should change by context (Legend, Tooltip, or pie Arc).
- Short legend labels with longer tooltip descriptions (e.g. "Rev" vs "Revenue (USD)").
- Pie arc labels that differ from legend text for space reasons.
- Consistent naming across legend, tooltip, and export without duplicating series defs.
- Set
labelonSeriesDeffor a fixed name everywhere. - Set
label_formatterwithLabelLocationwhen text should vary by surface. - Configure
arc_labelonPieChartfor slice-specific label modes.
Location-aware bar labels
Abbreviated legend entries with full tooltip names.
Pie arc labels
Formatted arc values on slices above the minimum angle threshold.