Skip to main content

Bar3DSeriesView.ShowFacet Property

Specifies whether the top facet should be visible for flat-top models of Bar 3D series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


public bool ShowFacet { get; set; }

Property Value

Type Description

true to enable the top facet; otherwise, false.


The ShowFacet property comes into effect, when the Bar3DSeriesView.Model property is set to either Box or Cylinder.

ShowFacet = true ShowFacet = false
ShowFacet_True ShowFacet_False


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