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_rchart
Class: TSmithChart
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. 

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 program (see http://www.lohninger.com/examples.html for downloading the code): schart



Last Update: 2023-Dec-13