Sets the coordinates of the reference point of the box, which by default is the top-left corner of the box.
For
TextBox with the width and height automatically determined, the
TextBox.setAlignment method can be used to modify the anchor position of the reference point. For example, an alignment of
Center means the reference point is the center of the box.
For TextBox objects with positions set by ChartDirector (such as the TextBox returned from
Axis.addMark or
Layer.setDataLabelStyle), the setPos method can be used to set the offsets relative to the default positions of the objects.
© 2023 Advanced Software Engineering Limited. All rights reserved.