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

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