Configures the grid.
A grid is a set of mutually-crossing vertical and horizontal lines that stretch throughout the entire chart. Visually, grid lines can be considered extensions of major ticks. The grid improves the readability of chart data.
The commonAxisSettings.grid object specifies common settings for all grid lines in the chart. To configure only those grid lines that descend from a particular axis, use the following objects.
Axis-specific settings override common settings.
- commonAxisSettings.minorGrid - configures the minor grid built on minor ticks.
Specifies the color of grid lines.
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
Specifies how transparent grid lines should be.
This option accepts a value from 0 to 1, where 0 makes grid lines completely transparent, and 1 makes them opaque.
Makes grid lines visible.
Specifies the width of grid lines in pixels.
We appreciate your feedback.