[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeries.BarShape

BarShape Property

BarShape

Gets or sets the shape used with the 3-D bar or column chart for this series.

Use this property to control how the current series is rendered in a 3-D bar or 3-D column chart. If a bar shape has not been set on the series, this property returns the bar shape of the parent chart.

Declaration
BarShape BarShape { get; set; }
Property BarShape As BarShape
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 12},
    {"Feb", 18},
    {"Mar", 15}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
ISeries series = chart.SeriesCollection[0];
series.BarShape = BarShape.Cylinder;
BarShape barShape = series.BarShape;