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....



FillColor


Unit: SDL_rchart
Class: TRChart
Declaration: property FillColor: TColor;

The property FillColor determines the color used for filling the following data items: Bar3D, Rectangle, RectFrame, and Ellipse. In addition, it controls the void color of dashed lines (cf. DrawTo and Line) and the background color of text elements. 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 1: 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.

Hint 2: The property FillColor has no effect for text elements, if TextBkStyle is set to tbClear (which is the default case).


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



Last Update: 2023-Dec-13