IChartSeriesCollectionAdd Method (IChartDataCell, ChartType) |
Creates new chart series from
IChartDataCell and adds it to the collection.
Namespace:
Aspose.Slides.Charts
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
SyntaxIChartSeries Add(
IChartDataCell cellWithSeriesName,
ChartType type
)
Function Add (
cellWithSeriesName As IChartDataCell,
type As ChartType
) As IChartSeries
IChartSeries^ Add(
IChartDataCell^ cellWithSeriesName,
ChartType type
)
abstract Add :
cellWithSeriesName : IChartDataCell *
type : ChartType -> IChartSeries
Parameters
- cellWithSeriesName
- Type: Aspose.Slides.ChartsIChartDataCell
Cell which contain series name. - type
- Type: Aspose.Slides.ChartsChartType
Type set type of series
Return Value
Type:
IChartSeriesAdded chart series or series that already is in collection.
RemarksIf chart series careted from same cell already in collection
then method adds nothing and returns it's index.
See Also