Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

RadarChart

RadarChart is a component for drawing radar charts to compare multiple sets of data.

Source@yamada-ui/charts

Theming

The RadarChart is a multi part component.

export const RadarChart: ComponentMultiStyle<"RadarChart"> = mergeMultiStyle(
LineChart,
{
baseStyle: {
radar: {},
polarGrid: {
stroke: ["blackAlpha.400", "whiteAlpha.400"],
strokeWidth: 1,
},
polarAngleAxis: {},
polarAngleAxisTick: {
"& > text": {
fill: ["blackAlpha.700", "whiteAlpha.600"],
fontSize: "xs",
},
},
polarRadiusAxis: {
"& > line": {
stroke: ["blackAlpha.400", "whiteAlpha.400"],
},
},
polarRadiusAxisTick: {
"& > text": {
fill: ["blackAlpha.700", "whiteAlpha.600"],
fontSize: "xs",
},
},
},
sizes: {
sm: {
container: {
w: "full",
},
},
md: {
container: {
w: "full",
},
},
lg: {
container: {
w: "full",
},
},
full: {
container: {
w: "full",
},
},
},
},
)({ omit: ["line", "grid"] })
Copied!

Edit this page on GitHub

PreviousDonutChartNextRadialChart