Skip to main content

TreemapDashboardItem.LayoutAlgorithm Property

Gets or sets a layout algorithm used to arrange tiles of a TreemapDashboardItem.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(DashboardTreemapLayoutAlgorithm.Squarified)]
public DashboardTreemapLayoutAlgorithm LayoutAlgorithm { get; set; }

#Property Value

Type Default Description
DashboardTreemapLayoutAlgorithm Squarified

A DashboardTreemapLayoutAlgorithm enumeration value that specifies a layout algorithm used to arrange tiles of a TreemapDashboardItem.

Available values:

Name Description
SliceAndDice

Identifies the Slice and Dice layout algorithm. This layout algorithm divides the space between items, slicing it in the specified direction depending on the item value.

Squarified

Identifies the Squarified layout algorithm. This algorithm lays out tiles so that width/height ratio will be closer to 1.

Striped

Identifies the Striped layout algorithm. This algorithm is a modified version of the Squarified algorithm. The main difference is that tiles lay out in vertical/horizontal strips of varying thicknesses.

#Remarks

To learn more, see Layout.

See Also