data
RequiredDescription
Chart data.
Type
Dict<any>[]
Leave Yamada UI a star
StarRadialChart
is a component for drawing radial charts to compare multiple sets of data.
Description
Chart data.
Type
Dict<any>[]
Description
Props passed down to recharts RadialBarChart
component.
Type
RadialChartProps
Description
The visual color appearance of the component.
Type
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"
Description
Props passed down to recharts ResponsiveContainer
component.
Type
ResponsiveContainerProps
Description
The key of a group of data which should be unique in an chart.
Type
string
Default
'value'
Description
Controls angle at which chart ends.
Type
number
Default
-180
Description
Controls fill opacity of all pies.
Type
number | [number, number]
Default
1
Description
Controls innerRadius of the chart segments.
If it is a number, it is the width of the radius.
For example, 60
means the radius is 60px
and the diameter is 120px
.
Type
string | number
Default
'10%'
Description
A function to format labels on inside the tooltip.
Type
(label: string) => string
Description
Props passed down to recharts LabelList
components.
Type
LabelListProps[]
Description
Props passed down to recharts 'Legend' component.
Type
LegendProps
Description
Controls thickness of the chart segments. If it is a number, it is calculated as px.
If it is a number, it is the width of the radius.
For example, 60
means the radius is 60px
and the diameter is 120px
.
Type
string | number
Default
'80%'
Description
Props passed down to recharts PolarGrid
component.
Type
PolarGridProps
Description
Props for the radialBar.
Type
Partial<RadialBarProps>
Description
The size of the RadialChart.
Type
"sm" | "md" | "lg" | "full"
Default
"full"
Description
Controls angle at which chart starts.
Type
number
Default
90
Description
Dash array for the grid lines and cursor. The first number is the length of the solid line section and the second number is the length of the interval.
Type
string | number
Description
Specifies the duration of animation, the unit of this option is ms.
Type
number
Default
0
Description
Determines which data is displayed in the tooltip.
Type
TooltipDataSourceType
Default
'all'
Description
Props passed down to recharts 'Tooltip' component.
Type
TooltipProps
Description
Unit displayed next to each value in tooltip.
Type
string
Description
A function to format values on inside the tooltip.
Type
(value: any) => string
Description
The variant of the RadialChart.
Type
string
Description
If true
, legend is visible.
Type
boolean
Default
false
Description
Determines whether polarGrid should be displayed.
Type
boolean
Default
false
Description
If true
, tooltip is visible.
Type
boolean
Default
true
Edit this page on GitHub