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

## y-axis-2

Arguments: plot-widget

Returns the value of the y-axis-2 property of a `plot-widget`. The value may be set at creation time by passing the y-axis-2 initarg to make-instance when creating a plot-widget, or any time later by calling (setf y-axis-2).

The y-axis-2 of a plot-widget is an optional secondary vertical axis of the widget, and lies along the right side of the plot. This axis will be drawn only when one or more of the chart objects are explicitly associated with this secondary axis in the chart-objects property.

The value of the y-axis-2 property should be an instance of the `plot-value-axis` class, and holds properties that determine how the axis is drawn and the range of values that it displays. The properties are inherited from the `value-axis` and `chart-axis` classes.

The value of this property will always be a `plot-value-axis` instance. If you do not pass a `plot-value-axis` instance as the value of the y-axis-2 initarg when creating a plot-widget, then a default instance is created automatically, even though it may never be drawn.

See also x-axis, x-axis-2, y-axis, and `plot-widget`.

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