Y2MajorGridStyle

This property controls the appearance of major grid lines on the numeric Y2-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 Y2-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:

setY2MajorGridStyle(value);
value = getY2MajorGridStyle();

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);
setGraphType(21);
   setY2MajorGridStyle(2);

bi-polar bar graph

setY2MajorGridStyle(4);

bi-polar bar graph

See Y2MajorGridDisplay, Y2MinorGridDisplay, Y2MinorGridStyle, getGridStyle(), setGridStyle().


WebFOCUS