Skip to main content

TdxChartSimpleDiagram.AddSeries(string) Method

Adds a simple series to the diagram.

Declaration

function AddSeries(const ACaption: string = ''): TdxChartSimpleSeries;

Parameters

Name Type Description
ACaption string

Optional. The caption of the created simple series.

Returns

Type Description
TdxChartSimpleSeries

A simple series in the Chart control.

Remarks

Call the AddSeries function to create a simple series. You can use the Series property to access all simple series by their indexes.

Note

To delete all series in the simple diagram, call its DeleteAllSeries procedure. To delete an individual series, release it directly in code (call the Free procedure in Delphi or use the delete keyword in C++Builder).

See Also