Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version


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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version