Dots
名稱:Dots(圓點)
說明:和
Lines
搭配的圖點圖形
params$
型別:
Partial<DotsParams>
欄位:
名稱 說明 型別 radius 半徑 number
fillColorType 底色顏色類別 ColorType
strokeColorType 邊線顏色類別 ColorType
strokeWidth 邊線寬度 number
onlyShowHighlighted 只在 highlight 的時候顯示出來 boolean
詳細型別
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- 預設值:
{
radius: 4,
fillColorType: 'background',
strokeColorType: 'label',
strokeWidth: 2,
onlyShowHighlighted: false
}