[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.SeriesCollection

SeriesCollection Property

SeriesCollection

Gets the collection of all series in the chart.

Declaration
ISeriesCollection SeriesCollection { get; }
ReadOnly Property SeriesCollection As ISeriesCollection
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 100},
    {"Feb", 120}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"]);
ISeriesCollection seriesCollection = chart.SeriesCollection;