Rose
名稱:Rose Chart(玫瑰圖)
說明:適用於呈現資料數量及順序的圖形
params$
型別:
Partial<RoseParams>
欄位:
名稱 說明 型別 outerRadius 外弧形的半徑(最大值) number
padAngle 弧形的間隔角度 number
strokeColorType 邊線的顏色類別 ColorType
strokeWidth 邊線寬度 number
cornerRadius 弧角寬度 number
arcScaleType 用 value 計算弧形面積的映射方式 'area' | 'radius'
angleIncreaseWhileHighlight highlight 時外弧形的增加角度 number
詳細型別
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- 預設值:
{
outerRadius: 0.95,
padAngle: 0,
strokeColorType: 'background',
strokeWidth: 0.5,
cornerRadius: 0,
arcScaleType: 'area',
angleIncreaseWhileHighlight: 0.05
}