SeriesCollection.AddR1C1 method

Adds the SeriesCollection collection to a chart.

public int AddR1C1(string area, bool isVertical)
Parameter Type Description
area String Specifies values from which to plot the data series
isVertical Boolean Specifies 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.


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