MajorGridLinePatterns

Modified in version 4.0

MajorGridLinePatterns ( directionAxis ;​ distributionAxis ;​ colorVariant1 ;​ colorVariant2 ;​ . . . ;​ colorVariant1000 )

Argument Type Range Default Note
directionAxis int 0..3 all
distributionAxis int 0..3 all
colorVariant1 int -1..128 black
colorVariant2 int -1..128 black
... int -1..128 black
colorVariant1000 int -1..128 black
Description

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.

Cartesian charts directionAxis distributionAxis Example
Horizontal grid lines x y MajorGridLinePatterns(x;y;gray)
Vertical grid lines y x MajorGridLinePatterns(y;x;gray;transparent)
Polar charts directionAxis distributionAxis Example
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.

Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×