ring Inner and outer radius as percentages. inner: 0 is a solid pie. | { inner: number; outer: number } | { inner: 0, outer: 80 } |
dataKey Field holding the number that sizes each slice. | string | value |
nameKey Field holding the slice label. | string | name |
origo Centre of the pie within the panel, as percentages. | { x: number; y: number } | { x: 50, y: 50 } |
legend Legend position and visibility. | LegendConfig | {} |
error Render the error state instead of the chart. | boolean | false |
tooltip Show a tooltip on hover. | boolean | true |
loading Render the loading state instead of the chart. | boolean | false |
border Panel border colour. false removes it. | Colors•surface•transparent•boolean | neutral-alpha-weak |
| …and every ChartProps prop | inherited | — |
| …and every FlexProps prop | inherited | — |