index_of method

index_of

Searches for the specified ChartCategory 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
valueIChartCategoryChart category.

See Also