Add()
Contents
[
Hide
]IChartCategoryCollection::Add(System::SharedPtr<IChartDataCell>) method
If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
virtual System::SharedPtr<IChartCategory> Aspose::Slides::Charts::IChartCategoryCollection::Add(System::SharedPtr<IChartDataCell> chartDataCell)=0
Arguments
Parameter | Type | Description |
---|---|---|
chartDataCell | System::SharedPtr<IChartDataCell> | Cell used to create chart category. |
Return Value
Added or existing category.
IChartCategoryCollection::Add(System::SharedPtr<System::Object>) method
Creates new IChartCategory from value and adds it to the collection.
virtual System::SharedPtr<IChartCategory> Aspose::Slides::Charts::IChartCategoryCollection::Add(System::SharedPtr<System::Object> value)=0
Arguments
Parameter | Type | Description |
---|---|---|
value | System::SharedPtr<System::Object> | The value. |
Return Value
Added IChartCategory.
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
- Typedef SharedPtr
- Class IChartCategory
- Class IChartDataCell
- Class IChartCategoryCollection
- Class Object
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides