This property controls whether some grid lines can be skipped or shown only every nth value on axis. It can be applied to a horizontal or vertical axis, or a combination of both. By default, this property is disabled and Major Grid lines are drawn for every value.
setMajorGridDrawEveryCount (IdentObj id, int);
Is the object ID returned by a getXXMajorGrid() method, for example getO1MajorGrid(), where:
XXX can be one of the following:
01 for X-axis
Y1 for Y1-axis
Y2 for Y2-axis
X1 for X1-axis
Is an integer value starting from 1, which is the default value.
setMajorGridDrawEveryCount(getO1MajorGrid(), 2); setMajorGridDrawEveryCount(getY1MajorGrid(), 2);