ComponentOne WebChart for ASP.NET (2.0) Search HelpCentral 

ChartDataSeriesCollection.InsertNewSeries Method

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

[Visual Basic]

Public Function InsertNewSeries( _

ByVal index As Integer _

) As ChartDataSeries

[C#]

public ChartDataSeries InsertNewSeries(

int index

);

[Delphi]

public function InsertNewSeries(

index: Int32

): ChartDataSeries;

Parameters

index

The position where the new ChartDataSeries will be inserted.

Return Value

Returns a reference to the new 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.

See Also

ChartDataSeriesCollection Class | ChartDataSeriesCollection Members | C1.Win.C1Chart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.