IAnnotationTool
Hierarchy Properties Methods

Type Library
TeeChartx

Description
The Annotation Tool is used to display customisable text and text boxes on the Chart Canvas. An unlimited number of these tools can be easily added at design-time or run-time to enhance the readability of your Charts. The text box position, size, shape, colours, gradient and shadow as well as the text's font, outline, size and shadow can be adjusted to suit your needs.

Example [Visual Basic]:

With TChart1

.Tools.Add tcAnnotate

.Tools.Items(0).Active = True

With .Tools.Items(0).asAnnotation

.Position = ppRightBottom

.Shape.Gradient.Visible = True

.Shape.ShapeStyle = fosRoundRectangle

.Shape.Font.Name = "Verdana"

.Text = "My Text"

End With

End With