# Interface: GridLineOptions
# Properties
# borderColor
• borderColor: Color
Defined in: index.esm.d.ts:2634 (opens new window)
# borderDash
• borderDash: number[]
default
[]
Defined in: index.esm.d.ts:2647 (opens new window)
# borderDashOffset
• borderDashOffset: Scriptable<number, ScriptableScaleContext>
default
0
Defined in: index.esm.d.ts:2651 (opens new window)
# borderWidth
• borderWidth: number
Defined in: index.esm.d.ts:2635 (opens new window)
# circular
• circular: boolean
default
false
Defined in: index.esm.d.ts:2639 (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:2643 (opens new window)
# display
• display: boolean
default
true
Defined in: index.esm.d.ts:2633 (opens new window)
# drawBorder
• drawBorder: boolean
default
true
Defined in: index.esm.d.ts:2660 (opens new window)
# drawOnChartArea
• drawOnChartArea: boolean
default
true
Defined in: index.esm.d.ts:2664 (opens new window)
# drawTicks
• drawTicks: boolean
default
true
Defined in: index.esm.d.ts:2668 (opens new window)
# lineWidth
• lineWidth: number | readonly number[] | (ctx
: ScriptableScaleContext, options
: Record<string, unknown>) => number
default
1
Defined in: index.esm.d.ts:2655 (opens new window)
# offset
• offset: boolean
default
false
Defined in: index.esm.d.ts:2692 (opens new window)
# tickBorderDash
• tickBorderDash: number[]
default
[]
Defined in: index.esm.d.ts:2672 (opens new window)
# tickBorderDashOffset
• tickBorderDashOffset: Scriptable<number, ScriptableScaleContext>
default
0
Defined in: index.esm.d.ts:2676 (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:2680 (opens new window)
# tickLength
• tickLength: number
default
10
Defined in: index.esm.d.ts:2684 (opens new window)
# tickWidth
• tickWidth: number
default
1
Defined in: index.esm.d.ts:2688 (opens new window)