All Components

GridLines

Appearance configuration for the axis major and minor grid lines.

color? string

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

dashType? DashType

The dash type of the grid lines.

skip? number

The tick-rendering step. Every nth line, where n is the step, is rendered.

step? number

The number of lines to skip at the beginning.

visible? boolean

If set to true, the Chart displays the lines.
By default, only the axis major grid lines are visible.

width? number

The width of the lines in pixels.

In this article