Chart
Pie
Web supportediOS supportedAndroid supported
Show a small part-to-whole split.
Chart
Show a small part-to-whole split.
Use two to five slices. Use bars when exact comparison matters.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
data* | ChartDatum[] | — | Slices in display order. |
format | ChartNumberFormat | — | Number prefix, suffix, decimals, and locale. |
isSolid | boolean | — | Fill the center. Web only. |
maxSlices | number | — | Maximum visible slices before folding the tail. Web only. |
innerRadius | number | — | Inner radius for a donut. Native only. |
height | number | 240 web / 320 native | Chart height in pixels or native points. |
isLoading | boolean | false | Shows the built-in placeholder while data loads. |
theme | ChartTheme | — | Colors and typography for this chart. |