A radial bar chart.
Note that margin object does not take grid labels into account, so you should adjust it to leave enough room for it.
The responsive alternative of this component is
ResponsiveRadialBar
.
See the dedicated guide on how to setup legends for this component.
Chart data.
'auto'
If 'auto', the max value is derived from the data, otherwise use a static value.
Optional formatter for values (y
).
Chart width.
Chart height.
Chart margin.
0
Start angle (in degrees).
270
End angle (in degrees).
0.3
Donut if greater than 0. Value should be between 0~1 as it's a ratio from outer radius.
0.2
Padding between each ring (ratio).
0
Padding between each bar.
0
Rounded corners.