Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

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: {
polarAngleAxis: {},
polarAngleAxisTick: {
"& > text": {
fill: ["blackAlpha.700", "whiteAlpha.600"],
fontSize: "xs",
},
},
polarGrid: {
stroke: ["blackAlpha.400", "whiteAlpha.400"],
strokeWidth: 1,
},
polarRadiusAxis: {
"& > line": {
stroke: ["blackAlpha.400", "whiteAlpha.400"],
},
},
polarRadiusAxisTick: {
"& > text": {
fill: ["blackAlpha.700", "whiteAlpha.600"],
fontSize: "xs",
},
},
radar: {},
},
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