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
string
Description
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
RadarChartProps
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
Controls fill opacity of all radars.
Type
number | [number, number]
Default
1
Description
Props passed down to recharts 'Legend' component.
Type
LegendProps
Description
Props passed down to recharts PolarAngleAxis
component.
Type
PolarAngleAxisProps
Description
A function to format Y axis tick.
Type
(value: number) => string
Description
Props passed down to recharts tick
of PolarAngleAxis
component.
Type
CSSUIProps
Description
Props passed down to recharts PolarGrid
component.
Type
PolarGridProps
Description
Props passed down to recharts PolarRadiusAxis
component.
Type
PolarRadiusAxisProps
Description
A function to format X axis tick.
Type
(value: number) => string
Description
Props passed down to recharts tick
of PolarRadiusAxis
component.
Type
CSSUIProps
Description
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 | number
Description
Stroke width for the chart radars.
Type
number
Default
2
Description
Specifies the duration of animation, the unit of this option is ms.
Type
number
Default
0
Description
Props passed down to recharts 'Tooltip' component.
Type
TooltipProps
Description
Unit displayed next to each tick in y-axis.
Type
string
Description
A function to format values on inside the tooltip.
Type
(value: any) => string
Description
The variant of the RadarChart.
Type
string
Description
Determines whether activeDots should be displayed.
Type
boolean
Default
true
Description
Determines whether dots should be displayed.
Type
boolean
Default
false
Description
If true
, legend is visible.
Type
boolean
Default
false
Description
Determines whether polarAngleAxis should be displayed.
Type
boolean
Default
true
Description
Determines whether polarGrid should be displayed.
Type
boolean
Default
true
Description
Determines whether polarRadiusAxis should be displayed.
Type
boolean
Default
false
Description
If true
, tooltip is visible.
Type
boolean
Default
true
Type
DotProps
Type
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
DotProps
Type
Partial<RadarProps>
Type
DotProps
Edit this page on GitHub