TreeMapSliceAndDiceLayoutAlgorithm Class
A class representing the Slice and Dice layout algorithm.
Namespace: DevExpress.XtraTreeMap
Assembly: DevExpress.XtraTreeMap.v18.1.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeMapSliceAndDiceLayoutAlgorithm class.
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.