Skip to main content
All docs
V25.1
  • TdxChartXYDiagram.AddSeries(string) Method

    Adds an XY series to the diagram.

    Declaration

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

    Parameters

    Name Type Description
    ACaption string

    Optional. The caption of the created XY series.

    Returns

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