Back to Devexpress

TdxChartSimpleDiagram.AddSeries(string) Method

vcl-dxchartsimplediagram-dot-tdxchartsimplediagram-dot-addseries-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

TdxChartSimpleDiagram.AddSeries(string) Method

Adds a simple series to the diagram.

Declaration

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

Parameters

NameTypeDescription
ACaptionstring

Optional. The caption of the created simple series.

|

Returns

TypeDescription
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

TdxChartXYDiagram.AddSeries Function

TdxChartSimpleDiagram Class

TdxChartSimpleDiagram Members

dxChartSimpleDiagram Unit