Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartSimpleDiagram.AddSeries(string) Method

Adds a simple series to the diagram.

#Declaration

Delphi
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