Skip to main content

SimpleDiagram3D.LayoutDirection Property

Gets or sets a value that specifies the manner in which multiple 3D Pie Charts are positioned within a chart control’s diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public LayoutDirection LayoutDirection { get; set; }

Property Value

Type Description
LayoutDirection

A LayoutDirection enumeration value.

Available values:

Name Description
Horizontal

Specifies that pie charts are positioned horizontally (by rows) within a chart control’s diagram. The number of pie charts within a single row is specified by the diagram’s SimpleDiagram.Dimension property.

Vertical

Specifies that pie charts are positioned vertically (by columns) within a chart control’s diagram. The number of pie charts within a single column is specified by the diagram’s SimpleDiagram.Dimension property.

Remarks

The LayoutDirection property can be used together with the SimpleDiagram3D.Dimension property to adjust the layout of more than one 3D pie chart within a diagram. Depending upon the LayoutDirection property’s setting, pie charts are positioned in lines either horizontally (by rows) or vertically (by columns). The SimpleDiagram3D.Dimension property specifies how many pie charts can be displayed within one row or column.

Property Settings Dimension = 3 Dimension = 2
LayoutDirection = Horizontal Dimension3D_LayoutDirection_3_Horizontal.png Dimension3D_LayoutDirection_2_Horizontal.png
LayoutDirection = Vertical Dimension3D_LayoutDirection_3_Vertical.png Dimension3D_LayoutDirection_2_Vertical.png

Note that a pie chart(s) that is displayed within an incomplete row or column automatically changes its size, trying to occupy all the available free space.

See Also