Add

Add(ChartType)

Creates new chart series and adds it to the collection.

public IChartSeries Add(ChartType type)
Parameter Type Description
type ChartType Type of series

Return Value

New chart series.

See Also


Add(IChartDataCell, ChartType)

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

public IChartSeries Add(IChartDataCell cellWithSeriesName, ChartType type)
Parameter Type Description
cellWithSeriesName IChartDataCell Cell which contain series name.
type ChartType Type 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 ChartCellCollection and adds it to the collection.

public IChartSeries Add(IChartCellCollection cellsWithSeriesName, ChartType type)
Parameter Type Description
cellsWithSeriesName IChartCellCollection Cells which contain series name.
type ChartType Type 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)
Parameter Type Description
name String Series name.
type ChartType Type set type of series

Return Value

Added chart series.

See Also