/
/
Legend

This sample visualizes the 2016 U.S.A. presidential election results. The type of the legend can be changed by using the Legend Type in properties panel.

More Details...

Loading....
Description

In this example, you can see the type of legend available in TreeMap. Equal color mapping has been applied based on certain value in this example.

Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices


Injecting Module

TreeMap component features are segregated into individual feature-wise modules. To use a legend, inject the Legend module using the TreeMap.Inject(TreeMapLegend) method.