Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

line-colors

Arguments: line-drawing-view

Returns the value of the line-colors property of a line-drawing-view. The value may be set at creation time by passing the line-colors initarg, or any time later by calling (setf line-colors).

The colors that are used to draw the graph lines on a line-drawing-view in a chart-or-plot. The value should be a sequence (list or vector) of RGB objects (see make-rgb) and/or symbols that are globally bound to RGB objects. The default value is a list returned by the following (see make-rgb for a list of all pre-defined colors):

(list 'blue 'dark-green 'red 'dark-magenta 'dark-cyan
      'gray 'black 'dark-yellow)

If the value is nil, then all lines are drawn in black. Otherwise, the first object in the chart-widget's sequence of chart-objects is drawn with the first color, the second object with the second color, and so on. If there are fewer colors in the list than there are chart-objects, then the drawing code will cycle back through the list of colors as needed.

The line-colors are also used to draw the non-pixmap icon-images of the line-drawing-view when the icons-filled property is a value other than t. This property is otherwise used only when the draw-lines property is true.

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


Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version