[]
Gets the IChartGroup object that represents the bar chart group on a 3-D chart.
Use this property to access group-level settings for a 3-D bar chart.
IChartGroup Bar3DGroup { get; }
ReadOnly Property Bar3DGroup As IChartGroup
worksheet.Range["A1:B4"].Value = new object[,] {
{"Quarter", "Sales"},
{"Q1", 100},
{"Q2", 140},
{"Q3", 120}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.BarClustered3D, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IChartGroup barGroup = chart.Bar3DGroup;
barGroup.GapWidth = 50;