Example of Legend in Blazor TreeMap Component

TreeMap / Legend

This sample depicts the presidential election results in the United States in 2016. The legend of the TreeMap can be customized in terms of both its type and position.

Properties
Legend Type
Legend Position

In this example, you can see how to change the type and position of the legend in the TreeMap using the options available in the properties panel. Equal color mapping is applied based on a specific value, and the tooltip is enabled.

More information about legend can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE