[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.BarShape

BarShape Enum

Specifies the shape used to render 3-D bar or column charts.

Use this enumeration with BarShape or BarShape to control whether 3-D bars or columns are rendered as boxes, cylinders, cones, or pyramids.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum BarShape
Public Enum BarShape
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"A", 10},
    {"B", 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Column3D, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
chart.BarShape = BarShape.Cylinder;

Fields

Name Description
Box

Specifies a box.

ConeToMax

Specifies a cone, truncated at value.

ConeToPoint

Specifies a cone, coming to a point value.

Cylinder

Specifies a cylinder.

PyramidToMax

Specifies a pyramid, truncated at value.

PyramidToPoint

Specifies a pyramid, coming to a point value.