Pie
Name: Pie Chart
Description: Suitable for presenting the proportion of data quantities
params$
Type:
Partial<PieParams>Fields:
Name Description Type outerRadius Outer arc radius numberinnerRadius Inner arc radius numberouterRadiusWhileHighlight Outer arc radius when highlighted numberstartAngle Starting angle of the arc numberendAngle Ending angle of the arc numberpadAngle Arc spacing angle numberstrokeColorType Stroke color type ColorTypestrokeWidth Stroke width numbercornerRadius Arc corner radius number
Detailed Types
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- Default values:
{
outerRadius: 0.85,
innerRadius: 0,
outerRadiusWhileHighlight: 0.9,
startAngle: 0,
endAngle: Math.PI * 2,
padAngle: 0,
strokeColorType: 'background',
strokeWidth: 1,
cornerRadius: 0
}