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

## axis-label

Arguments: chart-axis

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

axis-label is the label that is drawn along the length of a `chart-axis` on a `chart-widget` to indicate the meaning of the axis. The value should be a string or else `nil` to avoid drawing a main label on the axis at all. The default value is `nil`.

The string will be drawn in the axis-label-color and axis-label-font of the axis.

The chart will provide space for the label only when it is a string rather than `nil`. Only space for a single line of text is provided, unlike chart properties such as title, subtitle, and footnote, so the text should be no longer than the axis itself.

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