Add()

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

ParameterTypeDescription
typeChartTypeType 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

ParameterTypeDescription
cellWithSeriesNameSystem::SharedPtr<IChartDataCell>Cell which contain series name.
typeChartTypeType 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

ParameterTypeDescription
cellsWithSeriesNameSystem::SharedPtr<IChartCellCollection>Cells which contain series name.
typeChartTypeType 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

ParameterTypeDescription
nameSystem::StringSeries name.
typeChartTypeType set type of series

Return Value

Added chart series.

See Also