[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroups.Parent

Parent Property

Parent

Gets the parent IChart that contains this chart group collection.

Use this property to navigate from an IChartGroups collection back to the chart that owns it.

Declaration
IChart Parent { get; }
ReadOnly Property Parent As IChart
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"]);
IChart parentChart = chart.ChartGroups.Parent;