Labels

The Labels object represents a collection of free-floating labels that can be placed anywhere on a chart.

Properties:

ID

Type: String

 

Description: The id of this object.

Methods:

AddLabel(label, x, y)

label: String

x: Date

y: Real

Returns: Integer

 

Description: Add a label at the specified date and Y coordinates.  Returns index of label item for further access.

 

Item(index)

index: Integer (index of label item)

Returns: LabelItem object

 

Description: Returns a reference to the LabelItem object at the specified index, or Nothing if no object exists at that index.

 

ClearLabels()

Description: Removes all labels from this collection.