Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.

value-types

Arguments: chart-or-plot

The functionality of this operator was changed when the plot-widget functionality was released in an update in Fall, 2008. The current description reflects those changes. You must have the update for this operator to work as described. See sys:update-allegro for information on getting updates.

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

This property declares which of the possible types of values a chart-or-plot should currently draw. This can be used to filter out some types of values that would otherwise be drawn, or to view different parts of the available data at different times. It is also useful for efficiency by telling the widget not to waste time looking up particular kinds of values that have not been supplied.

The value may be any subset of the list (:value :from-value :high-value :low-value :icon-size). The default value is the entire list. See set-chart-value for the meanings of these value types.

When a chart is being drawn, it will look up only the specified types of values in the chart-items property, to find any that were added there by calls to set-chart-value. If the widget has a chart-value-returner function, then it will be called with each of the specified types of values whenever a value is not found in the chart-items property.

plot-widget values

For a plot-widget, the value may be any subset of the list (:x :y :x-low :x-high :y-low :y-high :icon-size). The default value is the entire list. See set-plot-value for the meanings of these value types.

When a plot is being drawn, it will look up only the specified types of values in the plot-values property, to find any that were added there by calls to set-plot-value. If the widget has a plot-value-returner function, then it will be called with each of the specified types of values whenever a value is not found in the plot-values property.

See also draw-high-low-values.

See chart-widget and also cg-chart-widget.htm.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page is new in the 8.1 release.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.