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

## icon-line-length

Arguments: chart-legend

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

The length, measured in pixels, of the line for each chart object in the `chart-legend` of a `chart-widget`. The value should be a positive integer. The default value is 24.

Sample lines will be drawn in the legend only when the chart-view of the `chart-widget` is `:line` to display a `line-graph-view`. Other attributes of the sample line will be taken from various line-graph-view properties. The icon-line-length should be large enough to make the style of the line clear, especially when the sample includes an icon due to the draw-icons property of the `line-graph-view` being true.

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.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version