Getting Started

TreeMaps are a growing trend in data visualization. It displays hierarchical information in a series of clustered rectangles, which together represent a whole. The size of each box represents a quantity. TreeMaps also can use color to represent any number of values, but it is often used to categorize the various boxes within the treemap.

Creating TreeMap for Windows Store App

TreeMap is available in the following assembly and namespace.

Assembly: Syncfusion.SfTreeMap.WinRT

Namespace: Syncfusion.UI.Xaml.TreeMap

Refer to the following code to add a TreeMap in an application:

Code Sample:

  • xaml
  • <Page x:Class="App.MainPage"
    
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
          xmlns:local="using:App"
    
          xmlns:syncfusion="using:Syncfusion.UI.Xaml.TreeMap"
    
          markup:Ignorable="d">
    
        <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
    
            <syncfusion:SfTreeMap>
    
            </syncfusion:SfTreeMap>
    
        </Grid>
    
    </Page>