Add
内容
[
隐藏
]Add(ChartType)
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(ChartType type)
参数 | 类型 | 描述 |
---|---|---|
type | ChartType | 系列类型 |
返回值
新的图表系列。
另见
- interface IChartSeries
- enum ChartType
- class ChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(IChartDataCell, ChartType)
从 ChartDataCell
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
参数 | 类型 | 描述 |
---|---|---|
cellWithSeriesName | IChartDataCell | 包含系列名称的单元格。 |
type | ChartType | 设置系列类型的类型 |
返回值
添加的图表系列或已在集合中的系列。
备注
如果从同一单元格创建的图表系列已在集合中,则方法不执行任何操作并返回其索引。
另见
- interface IChartSeries
- interface IChartDataCell
- enum ChartType
- class ChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(IChartCellCollection, ChartType)
从 ChartCellCollection
创建新的图表系列并将其添加到集合中。
public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
参数 | 类型 | 描述 |
---|---|---|
cellsWithSeriesName | IChartCellCollection | 包含系列名称的单元格。 |
type | ChartType | 设置系列类型的类型 |
返回值
添加的图表系列或已在集合中的系列。
备注
如果从同一单元格创建的图表系列已在集合中,则方法不执行任何操作并返回其索引。
另见
- interface IChartSeries
- interface IChartCellCollection
- enum ChartType
- class ChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Add(string, ChartType)
从值创建新的图表系列并将其添加到集合中。
public IChartSeries Add(string name, ChartType type)
参数 | 类型 | 描述 |
---|---|---|
name | String | 系列名称。 |
type | ChartType | 设置系列类型的类型 |
返回值
添加的图表系列。
另见
- interface IChartSeries
- enum ChartType
- class ChartSeriesCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides