Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.5.1

RadarChart

RadarChartは、複数のデータを比較するためのレーダーチャートを描画するコンポーネントです。

ソース@yamada-ui/charts

テーマ

RadarChartは、複数パーツのコンポーネントです。

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!

GitHubでこのページを編集する

DonutChartRadialChart