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

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