[]
        
(Showing Draft Content)

C1.Win.C1Chart.ChartDataSeriesCollection.IndexOf

IndexOf Method

IndexOf(ChartDataSeries)

Searches for the specified ChartDataSeries and returns the zero-based index of the first occurrence within the entire ChartDataSeriesCollection.

Declaration
public int IndexOf(ChartDataSeries ser)
Parameters
Type Name Description
ChartDataSeries ser

The ChartDataSeries to locate in the ChartDataSeriesCollection.

Returns
Type Description
int

The zero-based index of the first occurrence of value within the entire ChartDataSeriesCollection, if found; otherwise, -1.