[]
Searches for the specified ChartDataSeries and returns the zero-based index of the first occurrence within the entire ChartDataSeriesCollection.
public int IndexOf(ChartDataSeries ser)
Type | Name | Description |
---|---|---|
ChartDataSeries | ser | The ChartDataSeries to locate in the ChartDataSeriesCollection. |
Type | Description |
---|---|
int | The zero-based index of the first occurrence of value within the entire ChartDataSeriesCollection, if found; otherwise, -1. |