Y1MajorGridStyle

This property controls the appearance of major grid lines on the numeric Y1-axis. Major grid lines can be small ticks at the base of the axis or lines that extend to the height or width of the graph frame. The Y1-axis can include major and minor grid lines. Major grid lines are normally set to a different style than minor grid lines so that the user can distinguish between the two.

Syntax:

setY1MajorGridStyle(value);
value = getY1MajorGridStyle();

where:

value

Can be one of the following:

0 for normal grid lines, height or width of frame. 0 is the default value.

1 for normal grid lines extending beyond the height or width of frame.

2 for small tick marks from frame edge inward.

3 for small tick marks from frame edge outward.

4 for small tick marks spanning across the frame edge.

Example:

setDepthAngle(0);
setDepthRadius(0);
setLegendDisplay(false);  setY1MajorGridStyle(2);

bar graph

setY1MajorGridStyle(3);

bar graph

See Y1MajorGridDisplay, Y1MinorGridDisplay, Y1MinorGridStyle, getGridStyle(), setGridStyle().


WebFOCUS