data | any[]
| -
| |
config | ChartConfig
| -
| Chart configuration for colors and labels |
dataKey | string
| -
| The key to use for the radial values |
nameKey | string
| 'name'
| The key to use for the category/ring names |
innerRadius | string | number
| '30%'
| Inner radius of the chart. Defaults to "30%" |
outerRadius | string | number
| '100%'
| Outer radius of the chart. Defaults to "100%" |
barSize | number
| 15
| Size of each radial bar. Defaults to 15. |
cornerRadius | number
| 10
| Corner radius of the bar caps. Defaults to 10. |
endAngle | number
| -270
| Start angle of the chart in degrees. Defaults to 90 (top). |
startAngle | number
| 90
| Start angle of the chart in degrees. Defaults to -270 (full circle). |
showLegend | boolean
| false
| Whether to show a legend. Defaults to false. |
legendPosition | "right" | "bottom"
| 'bottom'
| Position of the legend. Defaults to 'bottom'. |
radialBarChartProps | any
| -
| Any additional props to pass to the Recharts RadialBarChart component |
radialBarProps | any
| -
| Any additional props to pass to the Recharts RadialBar component |
className | string
| -
| |
style | React.CSSProperties
| -
| |
title | React.ReactNode
| -
| |
actions | React.ReactNode
| -
| Actions to display in the header (e.g. IconButton) |
footer | React.ReactNode
| -
| Content to display below the chart |
subtitle | string
| -
| Optional subtitle or description |
loading | boolean
| false
| |
appearance | WidgetAppearance
| 'outlined'
| |
padding | string | number
| -
| Widget padding (default: 16px) |
chartHeight | string | number
| 300
| Height of the chart container |