2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / ChartDataSeriesCollection Class / AddNewSeries Method

In This Topic
    AddNewSeries Method
    In This Topic
    Creates a new ChartDataSeries and appends it to the collection.
    Syntax
    'Declaration
     
    Public Function AddNewSeries() As ChartDataSeries
    public ChartDataSeries AddNewSeries()
    Remarks
    A reference to the new ChartDataSeries is returned. This method is convenient for adding a new series to the ChartData object, as the returned value can be used to initialize the new series, especially in Visual Basic where it can be the object of a With-With End statement.
    See Also