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-angle

Arguments: chart-axis

This property has an effect only on the Windows platform.

This property of a `chart-axis` indicates the angle at which labels will be drawn on the major tic marks of a chart-axis. This has an effect only when the axis is horizontal; tic labels on a vertical axis are always drawn horizontally.

The value may be set by passing the :major-label-angle initarg to make-instance, or any time later by calling (setf major-label-angle).

The value is measured in degrees counterclockwise, relative to the horizontal, and should be an integer between -90 and 90 inclusive. The default value is 0 to draw ordinary horizontal text.

When the value is negative, the string will angle downward, with its left end below the tic mark. When it is positive, it will angle upward with its right end below the tic mark. When zero, it will be centered about the tic mark. When nonzero, a tic label will not wrap to multiple lines of text when specified by major-label-wrapping. When -90 or 90, the label will be vertical, which draws a cleaner string than at an arbitrary angle.

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