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
RadialChartPropsDescription
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
ResponsiveContainerPropsDescription
The key of a group of data which should be unique in an chart.
Type
stringDefault
'value'Description
Controls angle at which chart ends.
Type
numberDefault
-180Description
Controls fill opacity of all pies.
Type
number | [number, number]Default
1Description
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 | numberDefault
'10%'Description
A function to format labels on inside the tooltip.
Type
(label: string) => stringDescription
Props passed down to recharts LabelList components.
Type
LabelListProps[]Description
Props passed down to recharts 'Legend' component.
Type
LegendPropsDescription
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 | numberDefault
'80%'Description
Props passed down to recharts PolarGrid component.
Type
PolarGridPropsDescription
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
numberDefault
90Description
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 | numberDescription
Specifies the duration of animation, the unit of this option is ms.
Type
numberDefault
0Description
Determines which data is displayed in the tooltip.
Type
TooltipDataSourceTypeDefault
'all'Description
Props passed down to recharts 'Tooltip' component.
Type
TooltipPropsDescription
Unit displayed next to each value in tooltip.
Type
stringDescription
A function to format values on inside the tooltip.
Type
(value: any) => stringDescription
The variant of the RadialChart.
Type
stringDescription
If true, legend is visible.
Type
booleanDefault
falseDescription
Determines whether polarGrid should be displayed.
Type
booleanDefault
falseDescription
If true, tooltip is visible.
Type
booleanDefault
trueEdit this page on GitHub