Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version