Interface: GridLineOptions
Properties
borderColor
• borderColor: Color
Defined in
index.esm.d.ts:2684 (opens new window)
borderDash
• borderDash: number
[]
default
[]
Defined in
index.esm.d.ts:2697 (opens new window)
borderDashOffset
• borderDashOffset: Scriptable
<number
, ScriptableScaleContext
>
default
0
Defined in
index.esm.d.ts:2701 (opens new window)
borderWidth
• borderWidth: number
Defined in
index.esm.d.ts:2685 (opens new window)
circular
• circular: boolean
default
false
Defined in
index.esm.d.ts:2689 (opens new window)
color
• color: string
| CanvasGradient
| CanvasPattern
| readonly Color
[] | (ctx
: ScriptableScaleContext
, options
: Record
<string
, unknown
>) => Color
default
‘rgba(0, 0, 0, 0.1)’
Defined in
index.esm.d.ts:2693 (opens new window)
display
• display: boolean
default
true
Defined in
index.esm.d.ts:2683 (opens new window)
drawBorder
• drawBorder: boolean
default
true
Defined in
index.esm.d.ts:2710 (opens new window)
drawOnChartArea
• drawOnChartArea: boolean
default
true
Defined in
index.esm.d.ts:2714 (opens new window)
drawTicks
• drawTicks: boolean
default
true
Defined in
index.esm.d.ts:2718 (opens new window)
lineWidth
• lineWidth: number
| readonly number
[] | (ctx
: ScriptableScaleContext
, options
: Record
<string
, unknown
>) => number
default
1
Defined in
index.esm.d.ts:2705 (opens new window)
offset
• offset: boolean
default
false
Defined in
index.esm.d.ts:2742 (opens new window)
tickBorderDash
• tickBorderDash: number
[]
default
[]
Defined in
index.esm.d.ts:2722 (opens new window)
tickBorderDashOffset
• tickBorderDashOffset: Scriptable
<number
, ScriptableScaleContext
>
default
0
Defined in
index.esm.d.ts:2726 (opens new window)
tickColor
• tickColor: string
| CanvasGradient
| CanvasPattern
| readonly Color
[] | (ctx
: ScriptableScaleContext
, options
: Record
<string
, unknown
>) => Color
default
‘rgba(0, 0, 0, 0.1)’
Defined in
index.esm.d.ts:2730 (opens new window)
tickLength
• tickLength: number
default
10
Defined in
index.esm.d.ts:2734 (opens new window)
tickWidth
• tickWidth: number
default
1