data
必須説明
Chart data.
タイプ
CellProps[]Yamada UIにスターをあげる
スターPieChartは、複数のデータを比較するためのパイチャートを描画するコンポーネントです。
説明
Chart data.
タイプ
CellProps[]説明
Props for the cell.
タイプ
Partial<CellProps>説明
Props passed down to recharts PieChart component.
タイプ
PieChartProps説明
The visual color appearance of the component.
タイプ
"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"説明
Props passed down to recharts ResponsiveContainer component.
タイプ
ResponsiveContainerProps説明
Controls angle at which chart ends.
タイプ
numberデフォルト
-270説明
Controls fill opacity of all pies.
タイプ
number | [number, number]デフォルト
1説明
Controls innerRadius of the chart segments.
If it is a number, it is the width of the radius.
For example, 60 means the radius is 60px and the diameter is 120px.
タイプ
string | numberデフォルト
'0%'説明
Determines whether labels should be displayed as percentages.
非推奨
Use percent instead.
タイプ
booleanデフォルト
false説明
A function to format labels.
タイプ
(value: number) => string説明
Distance between chart and label.
タイプ
number説明
Props passed down to recharts 'Legend' component.
タイプ
LegendProps説明
Controls thickness of the chart segments. If it is a number, it is calculated as px.
If it is a number, it is the width of the radius.
For example, 60 means the radius is 60px and the diameter is 120px.
タイプ
string | numberデフォルト
'80%'説明
Controls padding between segments.
タイプ
numberデフォルト
0説明
Determines whether labels should be displayed as percentages.
タイプ
booleanデフォルト
false説明
Props for the pie.
タイプ
Partial<PieProps>説明
The size of the PieChart.
タイプ
"sm" | "md" | "lg"デフォルト
"md"説明
Controls angle at which chart starts.
タイプ
numberデフォルト
90説明
Stroke width for the chart pies.
タイプ
numberデフォルト
1説明
Specifies the duration of animation, the unit of this option is ms.
タイプ
numberデフォルト
0説明
Determines which data is displayed in the tooltip.
タイプ
TooltipDataSourceTypeデフォルト
'all'説明
Props passed down to recharts 'Tooltip' component.
タイプ
TooltipProps説明
Unit displayed next to each value in tooltip.
タイプ
string説明
A function to format values on inside the tooltip.
タイプ
(value: any) => string説明
The variant of the PieChart.
タイプ
string説明
Determines whether segments labels should have lines that connect the segment with the label.
タイプ
booleanデフォルト
false説明
Determines whether each segment should have associated label.
タイプ
booleanデフォルト
false説明
If true, legend is visible.
タイプ
booleanデフォルト
false説明
If true, tooltip is visible.
タイプ
booleanデフォルト
trueタイプ
stringタイプ
numberタイプ
Partial<CellProps>GitHubでこのページを編集する