axisDefaults.majorGridLines Object
The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.
axisDefaults.majorGridLines.color String
(default: "black")
The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb.
axisDefaults.majorGridLines.dashType String
(default: "solid")
The dash type of the major grid lines.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
axisDefaults.majorGridLines.visible Boolean
(default: true)
If set to false
the chart will not display the major grid lines. By default the major grid lines are visible.
axisDefaults.majorGridLines.width Number
(default: 1)
The width of the axis major grid lines in pixels.
axisDefaults.majorGridLines.step Number
(default: 1)
The step of the axis major grid lines.
axisDefaults.majorGridLines.skip Number
(default: 0)
The skip of the axis major grid lines.