Skip to main content

TreeMapSliceAndDiceLayoutAlgorithm Class

A class representing the Slice and Dice layout algorithm.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v23.2.dll

NuGet Package: DevExpress.TreeMap

Declaration

public class TreeMapSliceAndDiceLayoutAlgorithm :
    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.

SliceAndDiceLayoutAlgorithm

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

Inheritance

See Also