|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....|
|Home ChartPack RChart Class TRChart Methods Text|
|See also: MarkAt, TextBkColor, TextBkStyle, TextFontStyle, TextAlignment, Font (RChart)|
The method Text is used to provide short labels for data points within a chart. It displays the text txt at the position [x,y]. There are two versions available: version  positions the label at the specified location and uses the text alignment specified by the property TextAlignment. Version  allows to offset the text by a specific number of pixels given by the parameters dx and dy. The text alignment is specified by the parameter Alignment.
Only the first 15 characters of the text are stored internally. The size of the font (in points) is determined by the parameter size. The type of the font is determined by the Font property. The transparency, the style and the colors are controlled by the properties TextBkStyle, TextFontStyle, DataColor, and TextBkColor, respectively.