Add

Add(ChartType)

Creates new chart series and adds it to the collection.

public IChartSeries Add(ChartType type)
ParameterTypeDescription
typeChartTypeType of series

Return Value

New chart series.

See Also


Add(IChartDataCell, ChartType)

Creates new chart series from IChartDataCell and adds it to the collection.

public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
ParameterTypeDescription
cellWithSeriesNameIChartDataCellCell which contain series name.
typeChartTypeType 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


Add(IChartCellCollection, ChartType)

Creates new chart series from IChartCellCollection and adds it to the collection.

public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
ParameterTypeDescription
cellsWithSeriesNameIChartCellCollectionCells which contain series name.
typeChartTypeType 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


Add(string, ChartType)

Creates new chart series from value and adds it to the collection.

public IChartSeries Add(string name, ChartType type)
ParameterTypeDescription
nameStringSeries name.
typeChartTypeType set type of series

Return Value

Added chart series.

See Also