index_of method

index_of

Searches for the specified ChartSeries and returns the zero-based index of the first occurrence within the entire Collection

Returns

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

def index_of(self, value):
    ...
ParameterTypeDescription
valueIChartSeriesChart series value.

See Also