data
RequiredDescription
Chart data.
Type
Dict<any>[]Leave Yamada UI a star
StarRadarChart is a component for drawing radar charts to compare multiple sets of data.
Description
Chart data.
Type
Dict<any>[]Description
The key of a group of data which should be unique in an chart.
Type
stringDescription
An array of objects with dataKey and color keys. Determines which data should be consumed from the data array.
Type
RadarProps[]Description
Props passed down to recharts RadarChart component.
Type
RadarChartPropsDescription
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
Controls fill opacity of all radars.
Type
number | [number, number]Default
1Description
Props passed down to recharts 'Legend' component.
Type
LegendPropsDescription
Props passed down to recharts PolarAngleAxis component.
Type
PolarAngleAxisPropsDescription
A function to format Y axis tick.
Type
(value: number) => stringDescription
Props passed down to recharts tick of PolarAngleAxis component.
Type
CSSUIPropsDescription
Props passed down to recharts PolarGrid component.
Type
PolarGridPropsDescription
Props passed down to recharts PolarRadiusAxis component.
Type
PolarRadiusAxisPropsDescription
A function to format X axis tick.
Type
(value: number) => stringDescription
Props passed down to recharts tick of PolarRadiusAxis component.
Type
CSSUIPropsDescription
Props for the radar.
Type
Partial<RadarProps>Description
The size of the RadarChart.
Type
"sm" | "md" | "lg" | "full"Default
"full"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 | numberDescription
Stroke width for the chart radars.
Type
numberDefault
2Description
Specifies the duration of animation, the unit of this option is ms.
Type
numberDefault
0Description
Props passed down to recharts 'Tooltip' component.
Type
TooltipPropsDescription
Unit displayed next to each tick in y-axis.
Type
stringDescription
A function to format values on inside the tooltip.
Type
(value: any) => stringDescription
The variant of the RadarChart.
Type
stringDescription
Determines whether activeDots should be displayed.
Type
booleanDefault
trueDescription
Determines whether dots should be displayed.
Type
booleanDefault
falseDescription
If true, legend is visible.
Type
booleanDefault
falseDescription
Determines whether polarAngleAxis should be displayed.
Type
booleanDefault
trueDescription
Determines whether polarGrid should be displayed.
Type
booleanDefault
trueDescription
Determines whether polarRadiusAxis should be displayed.
Type
booleanDefault
falseDescription
If true, tooltip is visible.
Type
booleanDefault
trueType
DotPropsType
UIValue<"border" | ({} & string) | Color | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 318 more ... | "yellow.950">Type
DotPropsType
Partial<RadarProps>Type
DotPropsEdit this page on GitHub