Grid lines can be defined differently with regard to stroke, color and color variant. If the number of grid lines is larger than the number of defined strokes, colors or color variants, the latter will be repeated periodically. Grid lines can be suppressed by defining the line width as zero or the line color as none. If neither the directional axis nor the distribution axis is defined, the functions refer to all grid lines, i.e. for 2-dimensional Cartesian charts to both the horizontal and vertical grid lines. Access to a special grid direction is obtained by using both arguments directionAxis and distributionAxis.
|Horizontal grid lines||x||y||MajorGridLineColors(x;y;gray)|
|Vertical grid lines||y||x||MajorGridLineColors(y;x;lightGray;none)|
|Radial grid lines||x||y||MajorGridLineColors(x;y;red)|
|Concentric grid lines||y||x||MajorGridLineColors(y;x;#f00;none;none)|
In addition, for 3-dimensional bar and Gantt charts the axis constant z is available. The z-axis points in the direction of the viewer.
For examples, please refer to .