TreemapDashboardItem.LayoutAlgorithm Property
Gets or sets a layout algorithm used to arrange tiles of a TreemapDashboardItem.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LayoutAlgorithm property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.