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

Arguments: bar-chart-view

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

The minimum distance, measured in pixels, between the bars of successive chart items of a `bar-chart-view` in a `chart-widget`. The value should be a non-negative integer. The default value is 16.

The actual distance will be greater if needed to prevent tic labels on the item-axis from overlapping each other. See major-label-min-spacing and major-label-wrapping.

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`), then the side-by-side bars for a single chart item are always adjacent to each other, and this value is the distance between the groups of bars for successive chart items.

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-width and value-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