Back to Devexpress

TdxChartXYDiagram.AddSeries(string) Method

vcl-dxchartxydiagram-dot-tdxchartxydiagram-dot-addseries-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

TdxChartXYDiagram.AddSeries(string) Method

Adds an XY series to the diagram.

Declaration

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

Parameters

NameTypeDescription
ACaptionstring

Optional. The caption of the created XY series.

|

Returns

TypeDescription
TdxChartXYSeries

An XY series in the Chart.

|

Remarks

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

Note

To delete all series in the XY 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

TdxChartSimpleDiagram.AddSeries Function

TdxChartXYDiagram Class

TdxChartXYDiagram Members

dxChartXYDiagram Unit