Add()
Contents
[
Hide
]IChartSeriesCollection::Add(ChartType) method
Creates new chart series and adds it to the collection.
virtual System::SharedPtr<IChartSeries> Aspose::Slides::Charts::IChartSeriesCollection::Add(ChartType type)=0
Arguments
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of series |
Return Value
New chart series.
IChartSeriesCollection::Add(System::SharedPtr<IChartDataCell>, ChartType) method
Creates new chart series from IChartDataCell and adds it to the collection.
virtual System::SharedPtr<IChartSeries> Aspose::Slides::Charts::IChartSeriesCollection::Add(System::SharedPtr<IChartDataCell> cellWithSeriesName, ChartType type)=0
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.
IChartSeriesCollection::Add(System::SharedPtr<IChartCellCollection>, ChartType) method
Creates new chart series from IChartCellCollection and adds it to the collection.
virtual System::SharedPtr<IChartSeries> Aspose::Slides::Charts::IChartSeriesCollection::Add(System::SharedPtr<IChartCellCollection> cellsWithSeriesName, ChartType type)=0
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.
IChartSeriesCollection::Add(System::String, ChartType) method
Creates new chart series from value and adds it to the collection.
virtual System::SharedPtr<IChartSeries> Aspose::Slides::Charts::IChartSeriesCollection::Add(System::String name, ChartType type)=0
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 IChartSeriesCollection
- Class IChartDataCell
- Class IChartCellCollection
- Class String
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides