Add
内容
[
隐藏
]Add(ChartType)
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(ChartType type)
范围 | 类型 | 描述 |
---|---|---|
type | ChartType | 系列类型 |
返回值
新图表系列。
也可以看看
- interface IChartSeries
- enum ChartType
- class ChartSeriesCollection
- 命名空间 Aspose.Slides.Charts
- 部件 Aspose.Slides
Add(IChartDataCell, ChartType)
从ChartDataCell
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
范围 | 类型 | 描述 |
---|---|---|
cellWithSeriesName | IChartDataCell | 包含系列名称的单元格。 |
type | ChartType | Type set type of series |
返回值
添加图表系列或已经在集合中的系列。
评论
如果图表系列已从集合中的同一单元格中删除 则方法不添加任何内容并返回它的索引。
也可以看看
- interface IChartSeries
- interface IChartDataCell
- enum ChartType
- class ChartSeriesCollection
- 命名空间 Aspose.Slides.Charts
- 部件 Aspose.Slides
Add(IChartCellCollection, ChartType)
从ChartCellCollection
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
范围 | 类型 | 描述 |
---|---|---|
cellsWithSeriesName | IChartCellCollection | 包含系列名称的单元格。 |
type | ChartType | Type set type of series |
返回值
添加图表系列或已经在集合中的系列。
评论
如果图表系列已从集合中的同一单元格中删除 则方法不添加任何内容并返回它的索引。
也可以看看
- interface IChartSeries
- interface IChartCellCollection
- enum ChartType
- class ChartSeriesCollection
- 命名空间 Aspose.Slides.Charts
- 部件 Aspose.Slides
Add(string, ChartType)
从值创建新的图表系列并将其添加到集合中。
public IChartSeries Add(string name, ChartType type)
范围 | 类型 | 描述 |
---|---|---|
name | String | 系列名称。 |
type | ChartType | Type set type of series |
返回值
添加图表系列。
也可以看看
- interface IChartSeries
- enum ChartType
- class ChartSeriesCollection
- 命名空间 Aspose.Slides.Charts
- 部件 Aspose.Slides