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

## icon-size

Arguments: chart-legend

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

The size that is used to draw non-pixmap icons in the `chart-legend` of a `chart-widget`. The value should be a non-negative integer. The default value is 4.

For a `line-graph-view`, this value is handled in the same way as each value in the icon-sizes property of a `line-graph-view`. See icon-sizes for more information. This `chart-legend` property is provided to allow the icons to be a different size in the legend than in the line graph body. The other attributes of the legend's icons will be taken from the properties of the `line-graph-view`, to match the line graph itself.

For a `bar-chart-view`, this value is used as half of the width and height of a simple square that is drawn to show the bar style of each chart object.

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

See also layout-orientation.

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