Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeMapSliceAndDiceLayoutAlgorithm Class

A class representing the Slice and Dice layout algorithm.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.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