[]
        
(Showing Draft Content)

C1.Win.C1Chart.ChartDataSeriesCollection.InsertNewSeries

InsertNewSeries Method

InsertNewSeries(int)

Creates a new ChartDataSeries and inserts it into the collection at the specified index.

Declaration
public ChartDataSeries InsertNewSeries(int index)
Public Function InsertNewSeries(index As Integer) As ChartDataSeries
Parameters
Type Name Description
int index
Returns
Type Description
ChartDataSeries
Remarks

A reference to the new ChartDataSeries is returned. This method is convenient for inserting 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.