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

## base-value

Arguments: bar-chart-view

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

The default value for the start of each bar in `bar-chart-view` in a `chart-widget`. The value should be a real number. The default value is zero.

Each bar in a `bar-chart-view` starts at one value on the value-axis and ends at another value. The ending value of a bar is always the main data value for a chart item / chart object pairing that a single bar represents. A "main data value" is the one that is passed as the value argument to set-chart-value or returned from a chart-value-returner function when the value-type argument is `:value`. The starting value of a bar will be the from-value if one was supplied for the bar, and otherwise it will default to the base-value of the `bar-chart-view`. The base-value defaults to zero, so every bar by default will start at zero on the value-axis and end at the main value for the bar.

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