SeriesCollection.Add

Add(string, bool)

Adds the Series collection to a chart.

public int Add(string area, bool isVertical)
ParameterTypeDescription
areaStringSpecifies values from which to plot the data series
isVerticalBooleanSpecifies whether to plot the series from a range of cell values by row or by column.

Return Value

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.If set data on non contiguous cells, use comma to seperate them.For example: ($C$2,$D$5).

See Also


Add(string, bool, bool)

Adds the Series collection to a chart.

public int Add(string area, bool isVertical, bool checkLabels)
ParameterTypeDescription
areaStringSpecifies values from which to plot the data series
isVerticalBooleanSpecifies whether to plot the series from a range of cell values by row or by column.
checkLabelsBooleanIndicates whether the range contains series’s name

Return Value

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.If set data on non contiguous cells, use comma to seperate them.For example, ($C$2,$D$5).

See Also