SimpleDiagram.LayoutDirection Property

Gets or sets a value that specifies the manner in which multiple pie charts are positioned within a chart control's diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public LayoutDirection LayoutDirection { get; set; }
Public Property LayoutDirection As LayoutDirection

Property Value

Type Description

A LayoutDirection enumeration value.


The LayoutDirection property can be used together with the SimpleDiagram.Dimension property to adjust the layout of more than one 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 SimpleDiagram.Dimension property specifies how many pie charts can be displayed within one row or column.

Property Settings Dimension = 3 Dimension = 2
LayoutDirection = Horizontal Dimension_LayoutDirection_3_Horizontal.png Dimension_LayoutDirection_2_Horizontal.png
LayoutDirection = Vertical Dimension_LayoutDirection_3_Vertical.png Dimension_LayoutDirection_2_Vertical.png

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

See Also