Back to Devexpress

TreeMapSliceAndDiceLayoutAlgorithm Class

windowsforms-devexpress-dot-xtratreemap-4179cafb.md

latest2.2 KB
Original Source

TreeMapSliceAndDiceLayoutAlgorithm Class

A class representing the Slice and Dice layout algorithm.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public class TreeMapSliceAndDiceLayoutAlgorithm :
    TreeMapLayoutAlgorithmBase
vb
Public Class TreeMapSliceAndDiceLayoutAlgorithm
    Inherits TreeMapLayoutAlgorithmBase

Remarks

This algorithm calculates the layout using the following principle. For each tree map level, the layout direction is selected depending on the width/height ratio (for TreeMapSliceAndDiceLayoutAlgorithm.LayoutMode = TreeMapSliceAndDiceLayoutMode.Auto ), and for all children items at a given level, the display area is divided amongst the children, where each child item obtains a slice proportional to its value.

The following image demonstrates the country area tree map with a layout calculated using this algorithm.

For more information about Layout Algorithms, refer to the Layout Algorithms topic.

Implements

ITreeMapLayoutAlgorithm

Inheritance

Object HierarchicalElement TreeMapElement TreeMapLayoutAlgorithmBase TreeMapSliceAndDiceLayoutAlgorithm

See Also

TreeMapSliceAndDiceLayoutAlgorithm Members

DevExpress.XtraTreeMap Namespace