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

## chart-view

Arguments: chart-widget

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

This property indicates the type of chart to draw. The value may be `:bar` to draw a bar chart, or `:line` to draw a line graph. The default value is `:line`.

The same data are used for either view, though values of types `:high-value` and `:low-value` are used only by the bar chart view, and values of type `:icon-size` are used only by the line graph view. (See set-chart-value and chart-value-returner for information on the various types of data values.)

When the value is `:bar`, then the `bar-chart-view` instance in the bar-chart-view property is used to draw a bar chart. When the value is `:line`, then the `line-graph-view` instance in the line-graph-view property is used to draw a line graph instead.

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