[]
Represents a collection of all the ISeries objects in the specified chart.
public interface ISeriesCollection : IEnumerable<ISeries>, IEnumerable
Returns the number of objects in the collection.
int Count { get; }
Returns a single object from a collection.
ISeries this[int index] { get; }
index
intThe index number for the object.
The object at the specified index.
Returns a single object from a collection.
ISeries this[string name] { get; }
name
stringThe name for the object.
The series with the specified name.
Returns the parent object for the specified object.
IChart Parent { get; }
Adds one or more new series to the ISeriesCollection collection.
void Add(IRange source, RowCol rowCol, bool seriesLabels, bool categoryLabels)
source
IRangeThe new data, either as a Range object or an array of data points.
rowCol
RowColSpecifies whether the new values are in the rows or columns of the specified range.
seriesLabels
boolTrue if the first row or column contains the name of the data series. False if the first row or column contains the first data point of the series.
categoryLabels
boolTrue if the first row or column contains the name of the category labels. False if the first row or column contains the first data point of the series.
Adds one or more new series to the ISeriesCollection collection.
void Add(IRange source, RowCol rowCol)
source
IRangeThe new data, a Range object.
rowCol
RowColSpecifies whether the new values are in the rows or columns of the given range source. Can be one of the following RowCol constants: Rows or Columns.
Adds one or more new series to the ISeriesCollection collection. Spread will determine where the values are by the size and orientation of the selected range.
void Add(IRange source)
source
IRangeThe new data, a Range object.
Adds new data points to an existing series collection.
void Extend(IRange source, RowCol rowcol, bool categoryLabels)
source
IRangeThe new data to be added to the ISeriesCollection object
rowcol
RowColSpecifies whether the new values are in the rows or columns of the given range source. Can be one of the RowCol constants: Rows or Columns.
categoryLabels
boolTrue to have the first row or column contain the name of the category labels. False to have the first row or column contain the first data point of the series.
Creates a new series.
ISeries NewSeries()