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 being permanently changed during the drawing process. This will slow down the rendering of the graphs by up to 20 %. Instead, data items of the same color should be drawn at once before drawing items of other colors.

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: 2023-Dec-13