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

## layout-orientation

Arguments: chart-legend

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

A value indicating how the multiple objects are arranged in the `chart-legend` of a `chart-widget`. Each object in the sequence of chart-objects of the chart-widget will have an entry in the legend (when the legend is included). Here are the possible values:

- `:columns` - The first objects are arranged from top to bottom in a leftmost column of objects, then in a second column, and so on. The number of objects per column is chosen so as to minimize the number of rows, to use as little space as is feasible. If all objects fit into a single row, then each "column" will contain only a single object, and so this would be the same as `:rows`. This is the default value.
- `:rows` - The first objects are arranged from left to right in a topmost row, then in a second row, and so on.
- `:one-column` - All objects are arranged in a single column from top to bottom, even if multiple objects would fit in one row.

This property is used only when the draw-legend property of the chart-widget is true.

See also icon-size, icon-spacing, icon-line-length, horizontal-spacing, interior-horizontal-margin, and interior-vertical-margin.

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