Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## major-label-wrapping

Arguments: item-axis

Returns the value of the major-label-wrapping property of a `item-axis`. The value may be set at creation time by passing the `major-label-wrapping` initarg, or any time later by calling (setf major-label-wrapping).

A boolean value indicating whether labels at major tic positions of an `item-axis` in a `chart-widget` will wrap at spaces. The default value is `t`. Wrapping will be done only if the major-label-angle property is zero.

If true, then each major tic label will wrap to a new line of text at every space in the label string. The widget will automatically leave enough room to display the label that requires the most lines of text.

An alternative is to set this property to `nil` and then embed newline characters in the strings returned by the on-print-major-label function of the `chart-axis`.

See `chart-widget` and also cg-chart-widget.htm.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version