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

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