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||MajorGridLinePatterns(x;y;gray)|
|Vertical grid lines||y||x||MajorGridLinePatterns(y;x;gray;transparent)|
|Radial grid lines||x||y||MajorGridLinePatterns(x;y;transparent)|
|Concentric grid lines||y||x||MajorGridLinePatterns(y;x;black;black;transparent)|
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.