TTMSFNCTimeline.AddIndicator Method
Adds an indicator at the specified timeline value.
API unit family: TMSFNCTimeline
Declaring type: TTMSFNCTimeline
Inherited from: TTMSFNCCustomTimeline
Overloads
Overload 1
Adds an indicator at the specified timeline value.
function AddIndicator(ATimelineValue: Double; AAnnotationText: string = ''): TTMSFNCTimelineIndicator; overload;
Parameters
| Name | Description |
|---|---|
ATimelineValue |
Specifies ATimelineValue. |
AAnnotationText |
Specifies AAnnotationText. |
Returns
The created or matching indicator, or nil when no indicator matches.
Overload 2
Adds an indicator at the specified timeline date.
function AddIndicator(ATimelineDate: TDateTime; AAnnotationText: string = ''): TTMSFNCTimelineIndicator; overload;
Parameters
| Name | Description |
|---|---|
ATimelineDate |
Specifies ATimelineDate. |
AAnnotationText |
Specifies AAnnotationText. |
Returns
The created or matching indicator, or nil when no indicator matches.