Search Locate Previous Next Contents

LabelStyle – label style

This sets the general appearance of the labels which are used for the tickmarks on X,Y and Z axes.

Options
transparent:opaqueCreate a blanked area behind labels
default:centre:middlePlacement on Y and X axes
3D:flatFlatten all labels on 3D charts
pitch=120%Set the inter-line spacing for multi-line labels
effect=idAttach a defined effeect to the label text

To blank behind axis labels (useful if you have intercept axes and grid lines) set the label style to ‘opaque’:

ch.Set 'Lstyle' 'opaque'

Labels are written by default to the left of the primary Y-axis and to the right of the secondary. Use style ‘centred’ to have them written (centre-aligned) on top of the axis. This would normally be used with the ‘opaque’ setting to make a white knockout over the axis line in which to write the text. Similarly, use style ‘middle’ to place the labels over the X-axis rather than below it.

ch.Set 'Lstyle' 'opaque,middle'

Labels on 3D charts are normally angled to match the slope of the axis. The text may be more readable at small sizes if written horizontally, right-aligned to the tickmarks.

ch.Set 'Lstyle' 'flat'

will achieve this effect.

To apply a defined effect (such as an SVG shadow filter) to the text, give the effect id here:

ch.Set 'Lstyle' 'effect=98'

You can list multiple effects (chained with ‘+’) to apply several filters.

See also ...
CaptionStyle – caption style


Continue to: Linegraph Style
© Copyright Causeway Graphical Systems Ltd 2003