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.

The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb.

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

If set to true the chart will display the major grid lines. By default the major grid lines are visible.

The width of the category axis major grid lines in pixels.

The step of the category axis major grid lines.

The skip of the category axis major grid lines.

In this article