Add
Contents
[
Hide
]Add(ChartType)
Creates new chart series and adds it to the collection.
public IChartSeries Add(ChartType type)
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of series |
Return Value
New chart series.
See Also
- interface IChartSeries
- enum ChartType
- interface IChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(IChartDataCell, ChartType)
Creates new chart series from IChartDataCell
and adds it to the collection.
public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
Parameter | Type | Description |
---|---|---|
cellWithSeriesName | 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.
See Also
- interface IChartSeries
- interface IChartDataCell
- enum ChartType
- interface IChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(IChartCellCollection, ChartType)
Creates new chart series from IChartCellCollection
and adds it to the collection.
public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
Parameter | Type | Description |
---|---|---|
cellsWithSeriesName | 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.
See Also
- interface IChartSeries
- interface IChartCellCollection
- enum ChartType
- interface IChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(string, ChartType)
Creates new chart series from value and adds it to the collection.
public IChartSeries Add(string name, ChartType type)
Parameter | Type | Description |
---|---|---|
name | String | Series name. |
type | ChartType | Type set type of series |
Return Value
Added chart series.
See Also
- interface IChartSeries
- enum ChartType
- interface IChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides