Axis Border
Reference External Link
It defines options for the border that run perpendicular to the axis.
Namespace:
options.scales[scaleId].border
.Options(o => o
.Scales(s => s
.ScaleId("y")
.BeginAtZero(true)
.Border(b => b
.Color("#666")
.Width(2))))Display
If true, draw a border at the edge between the axis and the chart area. Default true
.Display(false)Color
The color of the border line. External Link
.Color("#666")Width
The width of the border line. Default 1
.Width(2)Dash
Length and spacing of dashes on grid lines. Default [] External Link
.Dash(1, 1, 2)DashOffset
Offset for line dashes. Default 0.0 External Link
.DashOffset(0.2)Z
z-index of the border layer. Values less than equal 0 are drawn under datasets, grater than 0 on top. Default 0
.Z(-1)