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

## subtitle

Arguments: chart-or-plot

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

subtitle is a string that is drawn below the main title of a `chart-or-plot`, typically in a smaller font (see subtitle-font). The value should be a string to display, or else `nil` to avoid displaying a subtitle. The default value is `nil`.

If the string doesn't fit onto a single line, then it is wrapped at spaces as needed, and enough space to accomodate the required number of lines is allocated automatically. The string may also contain embedded newline characters to explicitly wrap the text at particular places.

The string is drawn using the subtitle-color and subtitle-font properties of the `chart-or-plot`.

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