Interface: GridLineOptions
Properties
borderColor
• borderColor: Color
Defined in: index.esm.d.ts:2635 (opens new window)
borderDash
• borderDash: number[]
default
[]
Defined in: index.esm.d.ts:2648 (opens new window)
borderDashOffset
• borderDashOffset: Scriptable<number, ScriptableScaleContext>
default
0
Defined in: index.esm.d.ts:2652 (opens new window)
borderWidth
• borderWidth: number
Defined in: index.esm.d.ts:2636 (opens new window)
circular
• circular: boolean
default
false
Defined in: index.esm.d.ts:2640 (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:2644 (opens new window)
display
• display: boolean
default
true
Defined in: index.esm.d.ts:2634 (opens new window)
drawBorder
• drawBorder: boolean
default
true
Defined in: index.esm.d.ts:2661 (opens new window)
drawOnChartArea
• drawOnChartArea: boolean
default
true
Defined in: index.esm.d.ts:2665 (opens new window)
drawTicks
• drawTicks: boolean
default
true
Defined in: index.esm.d.ts:2669 (opens new window)
lineWidth
• lineWidth: number | readonly number[] | (ctx
: ScriptableScaleContext, options
: Record<string, unknown>) => number
default
1
Defined in: index.esm.d.ts:2656 (opens new window)
offset
• offset: boolean
default
false
Defined in: index.esm.d.ts:2693 (opens new window)
tickBorderDash
• tickBorderDash: number[]
default
[]
Defined in: index.esm.d.ts:2673 (opens new window)
tickBorderDashOffset
• tickBorderDashOffset: Scriptable<number, ScriptableScaleContext>
default
0
Defined in: index.esm.d.ts:2677 (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:2681 (opens new window)
tickLength
• tickLength: number
default
10
Defined in: index.esm.d.ts:2685 (opens new window)
tickWidth
• tickWidth: number
default
1
Defined in: index.esm.d.ts:2689 (opens new window)