Add

Add(ChartType)

创建新的图表系列并将其添加到集合中。

public IChartSeries Add(ChartType type)
范围类型描述
typeChartType系列类型

返回值

新图表系列。

也可以看看


Add(IChartDataCell, ChartType)

IChartDataCell创建新的图表系列并将其添加到集合中。

public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
范围类型描述
cellWithSeriesNameIChartDataCell包含系列名称的单元格。
typeChartTypeType set type of series

返回值

添加图表系列或已经在集合中的系列。

评论

如果图表系列已从集合中的同一单元格中删除 则方法不添加任何内容并返回它的索引。

也可以看看


Add(IChartCellCollection, ChartType)

IChartCellCollection创建新的图表系列并将其添加到集合中。

public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
范围类型描述
cellsWithSeriesNameIChartCellCollection包含系列名称的单元格。
typeChartTypeType set type of series

返回值

添加图表系列或已经在集合中的系列。

评论

如果图表系列已从集合中的同一单元格中删除 则方法不添加任何内容并返回它的索引。

也可以看看


Add(string, ChartType)

从值创建新的图表系列并将其添加到集合中。

public IChartSeries Add(string name, ChartType type)
范围类型描述
nameString系列名称。
typeChartTypeType set type of series

返回值

添加图表系列。

也可以看看