O1LabelWrap

This property controls whether header labels on the primary ordinal (O1) axis are drawn on more than one line.

Syntax:

setO1LabelWrap(boolean);
boolean = getO1LabelWrap();

where:

boolean

Can be one of the following:

true wraps labels on the O1-axis. The graphing engine looks for space characters in the label string and draws the label on multiple lines at space character boundaries.

false draws labels on a single line. This value is the default.

Example:

setDepthRadius(0);
setY1MajorGridDisplay(false);
setY1AxisLineDisplay(false);
setO1MajorGridDisplay(false);  setO1LabelWrap(true);

bar graph

setO1LabelWrap(false);

bar graph

Note: If a "\n" is encountered in the label string, the string is wrapped even if this property is disabled (setO1LabelWrap(false);).

See O1AxisSide, O1LabelDisplay, O1LabelRotate, O1LabelStagger.


WebFOCUS