Articles in this section
Category / Section

How to render the UniColorMapping in the SfTreeMap?

1 min read

The TreeMap leaf nodes can be colored by using the Color property that is specified in the UniColorMapping.

XAML

<syncfusion:SfTreeMap.LeafColorMapping>
      <syncfusion:UniColorMapping Color="Crimson"/>
</syncfusion:SfTreeMap.LeafColorMapping>

Refer to the following online documentation link for more details on UniColorMapping:

https://help.syncfusion.com/winrt/treemap/colormapping#unicolormapping

Sample Location for UniColorMapping: UniColorMapping.zip

XAML

<syncfusion:SfTreeMap>
                    . . .
            <syncfusion:SfTreeMap.LeafColorMapping>
                     <syncfusion:UniColorMapping Color="Crimson"/>
            </syncfusion:SfTreeMap.LeafColorMapping>
                    . . .
</syncfusion:SfTreeMap>

The following screenshot displays UniColorMapping.

UniColorMapping in SfTreeMap

Figure 1: UniColorMapping

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied