Skip to main content

TdxChartSeriesPoints.Insert(Integer,Variant,Variant,string,string) Method

Inserts a series point at the specified position in the collection.

Declaration

procedure Insert(AIndex: Integer; const AArgument: Variant; const AValue: Variant; const AArgumentDisplayText: string = ''; const AValueDisplayText: string = ''); overload;

Parameters

Name Type Description
AIndex Integer

The point insert position.

AArgument Variant

The series point argument.

AValue Variant

The series point value.

AArgumentDisplayText string

Optional. The custom display text string for the series point argument passed as the AArgument parameter.

If this parameter is omitted, the corresponding simple series legend item displays text converted from the AArgument parameter value. Note that XY series do not use argument display text.

AValueDisplayText string

Optional. The custom display text string for the series point value passed as the AValue parameter.

If this parameter is omitted, the corresponding series value label displays text converted from the AValue parameter value.

Remarks

To delete series points, you can call Clear and Delete procedures.

See Also