O1MajorGridStyle

This property controls the style of major grid lines that are shown on the primary ordinal (O1) axis (that is, lines attached to a text-based axis, like the "bottom" axis of a bar graph). The primary ordinal axis can have major and minor grid lines. Different styles should be selected for major and minor grid lines so the user can distinguish between the two.

Syntax:

setO1MajorGridStyle(value);
value = getO1MajorGridStyle();

where:

value

Can be one of the following:

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

1 for normal grid lines extending beyond the height 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:

setDepthRadius(0);
setY1MajorGridDisplay(false);
setY1AxisLineDisplay(false);
setLineWidth(getO1MajorGrid(),4);  setO1MajorGridStyle(3);

bar graph

setO1MajorGridStyle(4);

bar graph

See O1AxisSide, O1MajorGridDisplay, O1MinorGridDisplay, O1MinorGridStyle, getGridStyle(), setGridStyle().


WebFOCUS