OptionalanimationOptionalcenterDonut center text: the visible total (the hovered slice while hovering). true (default for
donuts, not roses) captions it Total (in the chart language), a string replaces the caption, false hides it
OptionalcolorsColor per input value (default: theme palette in fixed display order)
OptionalcornerRounds every slice corner by this many CSS px (default 0), shrunk per slice so corners never cross; a pie's center stays sharp
OptionaldecalPattern fills over the marks (accessibility, ECharts aria.decal): true gives each slice (multi-ring pies: each name)
its own automatic pattern; options apply over the automatic patterns (default off). The folded "Other" slice has none
OptionaldecalsPer-slice decal over decal by input index (false: none); multi-ring pies: the first
value of each name decides
OptionaldescriptionAccessible name of the canvas
OptionaldirectionDefault 'clockwise'
OptionaldonutDonut hole radius / outer radius (0 or omitted = pie; up to 0.95)
OptionalendDegrees clockwise from 12 o'clock where the last slice ends (default: a full turn), e.g.
startAngle: -90, endAngle: 90 for a top half donut. The slices share the sweep along
direction; an end at or before the start is a full turn. The chart is framed to the sweep
OptionalformatValue text of labels, tooltip and center (default: locale number)
OptionallabelLabel text of every shown slice label (outside and inside), e.g.
{ formatter: (c) => \{name|${c.name}}\n{pct|${c.percent.toFixed(1)}%}`, rich: { name: { fontWeight: 600 } } }`
(rich text, see chart-rich-text.ts). Default: name + percent outside, percent inside
OptionallabelSlices narrower than this many degrees get no label (legend / tooltip only; default 6)
OptionallabelsDefault 'outside'
OptionallegendLegend of the displayed slices (default: shown); click toggles a slice, hover emphasizes it
OptionalmaxDisplayed slices including "Other" (default 8); smaller ones fold into "Other". 0 / false disables folding
OptionalotherColor of the "Other" slice (default: the theme's neutral baseline color)
OptionalotherName of the folded slice (default: 'Other' in the chart language)
OptionalpadAngular gap between slices in degrees (default 0, at most 45), on top of the 2 px surface gap. Slices narrower than it are not drawn (legend / tooltip / table still list them)
OptionalpaddingOptionalroseNightingale rose chart (default: off, every slice reaches the full radius)
Optionalsort'none' (default): input order; 'desc': largest first. "Other" stays last
OptionalstartDegrees clockwise from 12 o'clock where the first slice starts (default 0)
OptionaltitleOptionalvalueTooltip / table name of the values (default: 'Value' in the chart language)
Enter / update animation of this chart (default: the SDK setting,
setAnimation)