Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version