ChartCategoryCollectionAdd Method (IChartDataCell)

If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
public IChartCategory Add(
	IChartDataCell chartDataCell
)

Parameters

chartDataCell
Type: Aspose.Slides.ChartsIChartDataCell
Cell used to create chart category.

Return Value

Type: IChartCategory
Added or existing category.

Implements

IChartCategoryCollectionAdd(IChartDataCell)
See Also