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

## bar-width

Arguments: bar-chart-view

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

The width, measured in pixels, of the bars of a `bar-chart-view` in a `chart-widget`. The value should be a positive integer. The default value is 12.

When there are multiple side-by-side bars for each chart item (which is when there are multiple chart-objects and the values-are-stacked property is `nil`), this is the width of a single bar rather than the width of the group of side-by-side bars.

If fit-chart-items is true, then this value will be scaled proportionally with other sizing properties to make all data fit in view.

See also bar-spacing.

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