Skip to main content

SimpleDiagram2D.LayoutDirection Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[XtraSerializableProperty]
public LayoutDirection LayoutDirection { get; set; }

#Property Value

Type Description
LayoutDirection

A LayoutDirection enumeration value.

#Remarks

The LayoutDirection property can be used together with the SimpleDiagram2D.Dimension property to adjust the layout of more than one pie chart within a diagram.

Depending upon the LayoutDirection property's setting, Pies are positioned in lines either horizontally (by rows) or vertically (by columns). The SimpleDiagram2D.Dimension property specifies how many Pies can be displayed within one row or column.

Note that a Pie that is displayed within an incomplete row or column automatically changes its size, to attempt to occupy all the available free space.

See Also