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



TrcChartItem


Unit:SDL_rchart
Class: none
Declaration:
TrcChartItem = record
                 x, y         : double;
                 x2, y2       : double;
                 Color        : TColor;
                 FillColor    : TColor;
                 ShadowColor  : TColor;
                 HiLightColor : TColor;
                 PenStyle     : TPenStyle;
                 Tag          : longint;
                 LWid         : integer;
                 ItemClass    : byte;
                 ItemKind     : TrcItem;
                 Layer        : integer;
                 Transp       : boolean;
                 FrameStyle   : TFrameStyle;
                 Text         : string[15];
                 SizeOrAngle  : integer;
                 DepthOrAngle : integer;
                 MarkOrAlign  : byte;
               end;

This type declaration defines the basic element of the data container which stores the graphics items. TrcChartItem is normally not utilized by the user except for some special situations.

The variables declared in TrcChartItem have the following meaning:

x,y Coordinates of the position of the item. If an item is defined by two points (like a line), x and y contain the first point (which is the reference point)
x2,y2 The second point of an item (in case of lines and rectangles). For ellipses, x2 is the length of the horizontal half axis, and y2 is the length of the vertical half axis.
Color The color of the item (if applicable).
FillColor The filling color (if applicable)
ShadowColor The color of the shadow part of the frame.
HiLightColor The color of the highlighted part of the frame.
PenStyle The style of the pen.
Tag A user defined data tag.
LWid The line width (if applicable).
ItemClass An arbitrary item class number which is used in some methods of TRChart.
ItemKind Indicator of the type of the item (see TrcItem for details).
Layer Layer the element belongs to.
Transp Transparency of the element.
FrameStyle The style of the frame of a framed rectangle
Text A string of max. 15 characters for text items.
SizeOrAngle The size of a text, the size of the arrowhead, the angle of the 3D bar, or the starting angle of an arc
DepthOrAngle The depth of a 3D bar or the ending angle of an arc
MarkOrAlign The mark index in the case of tkMarkAt items, or the text alignment (in the case of Text items).


Last Update: 2016-Jun-26