Add()
Contents
[
Hide
]ChartSeriesCollection::Add(ChartType) method
Creates new chart series and adds it to the collection.
System::SharedPtr<IChartSeries> Aspose::Slides::Charts::ChartSeriesCollection::Add(ChartType type) override
Arguments
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of series |
Return Value
New chart series.
ChartSeriesCollection::Add(System::SharedPtr<IChartDataCell>, ChartType) method
Creates new chart series from ChartDataCell and adds it to the collection.
System::SharedPtr<IChartSeries> Aspose::Slides::Charts::ChartSeriesCollection::Add(System::SharedPtr<IChartDataCell> cellWithSeriesName, ChartType type) override
Arguments
Parameter | Type | Description |
---|---|---|
cellWithSeriesName | System::SharedPtr<IChartDataCell> | Cell which contain series name. |
type | ChartType | Type set type of series |
Return Value
Added chart series or series that already is in collection.
Remarks
If chart series careted from same cell already in collection then method adds nothing and returns it’s index.
ChartSeriesCollection::Add(System::SharedPtr<IChartCellCollection>, ChartType) method
Creates new chart series from ChartCellCollection and adds it to the collection.
System::SharedPtr<IChartSeries> Aspose::Slides::Charts::ChartSeriesCollection::Add(System::SharedPtr<IChartCellCollection> cellsWithSeriesName, ChartType type) override
Arguments
Parameter | Type | Description |
---|---|---|
cellsWithSeriesName | System::SharedPtr<IChartCellCollection> | Cells which contain series name. |
type | ChartType | Type set type of series |
Return Value
Added chart series or series that already is in collection.
Remarks
If chart series careted from same cell already in collection then method adds nothing and returns it’s index.
ChartSeriesCollection::Add(System::String, ChartType) method
Creates new chart series from value and adds it to the collection.
System::SharedPtr<IChartSeries> Aspose::Slides::Charts::ChartSeriesCollection::Add(System::String name, ChartType type) override
Arguments
Parameter | Type | Description |
---|---|---|
name | System::String | Series name. |
type | ChartType | Type set type of series |
Return Value
Added chart series.
See Also
- Enum ChartType
- Typedef SharedPtr
- Class IChartSeries
- Class ChartSeriesCollection
- Class IChartDataCell
- Class IChartCellCollection
- Class String
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides