[]
Gets the parent IChartGroup that contains these chart bars.
Use this property to return to the chart group after accessing the up bars or down bars of a line chart.
IChartGroup Parent { get; }
ReadOnly Property Parent As IChartGroup
worksheet.Range["A1:C4"].Value = new object[,] {
{"Month", "Planned", "Actual"},
{"Jan", 10, 14},
{"Feb", 18, 12},
{"Mar", 15, 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Line, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C4"], RowCol.Columns, true, true);
IChartGroup chartGroup = chart.ChartGroups[0];
chartGroup.HasUpDownBars = true;
IChartBars upBars = chartGroup.UpBars;
IChartGroup parent = upBars.Parent;