MajorGridLines
12 Sep 20251 minute to read
Configures the major grid lines in the axis, allowing for the setting of properties such as color, width, and dashArray to define how the grid lines appear on the chart.
Properties
color string
Specifies the color of the major grid line, accepting hex and rgba values as valid CSS color strings.
Defaults to null
dashArray string
The dash array of the grid lines, defining the pattern of dashes and gaps for the major grid lines on the axis.
Defaults to ’’
width number
The width of the major grid lines in pixels, determining the thickness of the lines on the axis.
Defaults to 1