Xamarin TreeMap (SfTreeMap) Overview

18 May 20211 minute to read

The TreeMap control for Xamarin.Forms provides a simple yet effective way to visualize flat or hierarchical data as clustered rectangles with a specific weighted attribute determining the size of the rectangle.


Key features

  • Levels - Define the levels of various flat data and hierarchical data collections.

  • Layouts - Determine the visual representation of nodes belonging to all the levels in TreeMap using the layouts such as Squarified, SliceAndDiceAuto, SliceAndDiceHorizontal, and SliceAndDiceVertical.

  • Visualization for colors - Customize the colors of the leaf nodes in TreeMap.

  • Tooltip - Provides additional information about the leaf nodes.

  • Selection - Allows you select or highlight specific leaf nodes.

  • Legends - Help you relate data with the leaf nodes.

  • DataLabels - Show group path information on the leaf node with Trim, Wrap, and Hide options.