Skip to main content
The semantic palette is not a variant. Colors are selected by role, one of success, warning, danger, or default, and by urgency tier, one of primary, secondary, or tertiary. The palette has no fixed series order, so the consumer assigns a color per datum or series.
Invoice aging is the reference case for the semantic palette. Three of the five segments share the danger role and differ only by urgency tier:
The rendered ECharts option contains resolved hex values. Those are the output of chartStepItemStyle rather than values to author by hand, so resolve them through chartPalette.
Last modified on August 20, 2026