SeriesCollection.AddR1C1

SeriesCollection.AddR1C1 method

Adds the Series collection to a chart.

public int AddR1C1(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, R[1]C[1]:R[3]C[2].If set data on contiguous cells, use comma to seperate them.For example,(R[1]C[1],R[3]C[2]).

See Also