The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DataColor


Unit:SDL_polchart
Class:TPolChart
Declaration:property DataColor: TColor;

The property DataColor specifies the color of the data items drawn next. The color is stored internally along with the graphics objects so that each graphics object can have a different color. See the Delphi documentation for details on the TColor type. 

pccolors.gif

Hint: Try to avoid situations where the colors of the data items are permanently changed during the drawing process. This will slow down graphics by up to 20 %. Instead, data items of the same color should be drawn, and then the items of the next color and so on.

Example: This property is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): clock, poldiag



Last Update: 2008-Okt-29