Skip to main content

Bar3DSeriesView.Model Property

Specifies the 3D model used to draw series points of a Bar 3D series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


public Bar3DModel Model { get; set; }

Property Value

Type Description

The Bar3DModel enumeration value, which specifies the series model.

Available values:

Name Description

Represents the Box 3D model.


Represents the Cylinder 3D model.


Represents the Cone 3D model.


Represents the Pyramid 3D model.


Use the Model property, to choose a model for representation of 3D Bar series.

Model = Box Model = Cylinder
Model_Box Model_Cylinder
Model = Cone Model = Pyramid
Model_Cone Model_Pyramid

For flat-top models (Box and Cylinder), you can also specify whether the top facet should be visible, via the Bar3DSeriesView.ShowFacet property.


This example demonstrates how to customize the Bar3DSeriesView.Model property of a Bar 3D series. Note that for flat-top models (Box and Cylinder), you can also choose whether to display the top-facet (via the Bar3DSeriesView.ShowFacet property).

// Create a Bar 3D series, 
// and add it to your chart's collection.
Series series1 = new Series("Series 1", ViewType.Bar3D);

// Cast the view type of a series to the Bar 3D view type.
Bar3DSeriesView myView = (Bar3DSeriesView)series1.View;

// Access the Model property, and enable the top-facet.
myView.Model = Bar3DModel.Cylinder;
myView.ShowFacet = false;
See Also