|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 Rot3D Events OnLblRequest|
|See also: TLblRequestEvent, MarkAt|
The OnLblRequest event is triggered whenever a symbol with an ordinal between 1 and MAXCANVASMARKS is drawn. This enables the user to draw a text label besides the symbol. The text of the label has to be passed in LblText. The parameter obj is the index into the data container of the corresponding symbol. You may use the obj parameter, for example, to obtain extra information on the symbol.
The parameters dx and dy specify the offset of the text from the reference position in pixels. HAlign and VAlign control the text alignment, and LblFont contains the font parameters used to render the label.