Skip to main content

TdxChartSeriesPoints.Add(Variant,Variant,string,string) Method

Adds a new series point with the specified argument, value, and the corresponding custom display text strings.

Declaration

procedure Add(const AArgument: Variant; const AValue: Variant; const AArgumentDisplayText: string = ''; AValueDisplayText: string = ''); overload;

Parameters

Name Type Description
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

Call the Add procedure to append a new series point to the collection. To insert a new point at any position in the collection, call the Insert procedure instead.

To delete any number of series points at any position in the collection, you can call the Delete procedure.

See Also