getAnnotationLabel()

This method returns the object ID of the specified annotation label object.

Syntax:

IdentObj getAnnotationLabel(int index);

where:

index

Is the creational index of the Annotation.

Example:

setDisplay(getAnnotation(0), true);
setTextString(getAnnotation(0), "Mr. Watson, can you hear me?");
setFillColor(getAnnotationLabel(0), new Color (255,0,0));

3D bar graph

For information about formatting numeric labels, see Formatting Numbers and Numeric Labels.


WebFOCUS