Skip to main content
A newer version of this page is available. .

SimpleDiagram2D.Dimension Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public int Dimension { get; set; }

Property Value

Type Description
Int32

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

Remarks

The Dimension property can be used along with the SimpleDiagram2D.LayoutDirection property to adjust the layout of pie charts within the diagram. Depending upon the SimpleDiagram2D.LayoutDirection property’s setting, pie charts are positioned in either horizontal lines (by rows) or vertically (by columns). The Dimension property specifies how many pie charts can be displayed within one row or column.

Note

The Dimension property is calculated automatically during resizing when the ChartControlBase.AutoLayout property is set to true.

A pie chart(s) that is displayed within an incomplete row or column automatically changes its size to try and occupy all of the available free space.

See Also