Search Locate Previous Next Contents

XLabels – X-axis labels

Sets the labels at each X-axis tick mark or define one label for each data-point:

chSet 'xlab' 'Jan,Feb,Mar, ... ,Dec'

The label placement can be adjusted with the axis style:

chSet 'xstyle' 'labmid'

X-labels may be multi-line – use ‘;’ to split the lines or add a level of nesting:

chSet 'xlab' 'Jan;1997,Jan;1998'     © or ...
chSet 'xlab' ('Jan' '1997')('Jan' '1998')

To get a semi-colon into a label, preceed it with a backslash character.

You may specify one label per data-point as an alternative to one label per tickmark. This allows you to use RainPro’s automatic tick-spacing algorithm which will select the matching label for each generated tickmark. You can also angle the labels with chSet 'XS' 'angled' and control the angle with chSet 'XA' degrees.

See also ...
LabelStyle – label style
XLabelFont – font for X labels


Continue to: XLabelFont – font for X labels
© Copyright Causeway Graphical Systems Ltd 2003