Skip to main content

SimpleDiagram2D.Dimension Property

Gets or sets the number of Pie series that can be displayed in one line (row or column).

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[XtraSerializableProperty]
public int Dimension { get; set; }

#Property Value

Type Description
Int32

A positive integer that specifies the number of Pies in one line.

#Remarks

The Dimension property can be used along with the SimpleDiagram2D.LayoutDirection property to adjust the layout of Pies within the diagram.

Depending upon the SimpleDiagram2D.LayoutDirection property's setting, Pies are positioned in either horizontal lines (by rows) or vertically (by columns). The 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 try and occupy all of the available free space.

#Implements

DevExpress.Charts.Native.ISimpleDiagram.Dimension
See Also