ChartCategoryCollectionAdd Method (Object)

Creates new ChartCategory from value 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(
	Object value
)

Parameters

value
Type: SystemObject
The value.

Return Value

Type: IChartCategory
Added IChartCategory.

Implements

IChartCategoryCollectionAdd(Object)
Exceptions
ExceptionCondition
InvalidOperationExceptionif limit exceeded
Remarks
This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataWorkbook to add or edit cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680
See Also