GroupAux
名稱:Group Auxiliary Line(Group 圖軸輔助線)
說明:Grid 資料類別使用的 Group 圖軸(預設為 X 軸)的輔助線
params$
型別:
Partial<GroupAuxParams>
欄位:
名稱 說明 型別 showLine 顯示輔助線 boolean
showLabel 顯示輔助標 (groupLabel) boolean
lineDashArray 線條屬性 dash-array string
lineColorType 線條顏色類別 ColorType
labelColorType 標籤顏色類別 ColorType
labelTextColorType 標籤文字顏色類別 ColorType
labelTextFormat 標籤文字函式 string | ((text: any) => string)
labelPadding 標籤間距 number
labelRotate 標籤旋轉角度 number
詳細型別
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- 預設值:
{
showLine: true,
showLabel: true,
lineDashArray: '3, 3',
lineColorType: 'primary',
labelColorType: 'primary',
labelTextColorType: 'background',
labelTextFormat: text => text,
labelPadding: 20,
labelRotate: 0
}