[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Parent

Parent Property

Parent

Gets the parent chart that contains this series collection.

Use this property to navigate from an ISeriesCollection object back to its owning IChart.

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