Add
Contents
[
Hide
]Add(IChartDataCell)
If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
public IChartCategory Add(IChartDataCell chartDataCell)
| Parameter | Type | Description |
|---|---|---|
| chartDataCell | IChartDataCell | Cell used to create chart category. |
Return Value
Added or existing category.
See Also
- interface IChartCategory
- interface IChartDataCell
- interface IChartCategoryCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(object)
Creates new IChartCategory from value and adds it to the collection.
public IChartCategory Add(object value)
| Parameter | Type | Description |
|---|---|---|
| value | Object | The value. |
Return Value
Added IChartCategory.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | if limit exceeded |
Remarks
This method adds worksheet with name AUTO_DATA and adds all values there. If you use IChartDataWorkbook 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
- interface IChartCategory
- interface IChartCategoryCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides