Text Annotation

An annotation that can be used to display an item of text at some location (defined by a Category, Value pair) on a category plot.

Text annotations example:

Properties

Property

Name

Type

Description

Category

category

String

Category key for the annotation.

Category Anchor

categoryAnchor

String

Category anchor point, which helps to determine the position of the alignment point for the annotation

Font

font

Data Table

Font used to display the text.

Paint

paint

Data Table

Paint used to draw the text.

Rotation Anchor

rorationAnchor

String

Text anchor point about which any rotation is performed.

Rotation Angle

rotationAngle

Float

Rotation angle (in degrees).

Text

text

String

Text displayed by the annotation.

Text Anchor

textAnchor

String

Anchor point for the text. This will be aligned to the Category, Value point on the chart.

Value

value

Float

Value that determines the alignment point for the annotation.

Was this page helpful?