Example of Data Label in Javascript TreeMap Control

/
/
Data Label

This sample illustrates the population level of various countries in 2017. The leaf item’s labels intersect action can be changed by using the Label Intersect Action in properties panel.

More Details...

Label Intersect Action
Description

In this example, you can see the various label intersect actions available in TreeMap. Range color mapping has been specified, and the default legend has been enabled 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 tooltip, inject the Tooltip module using the TreeMap.Inject(TreeMapTooltip) method, and use a legend by injecting the Legend module using the TreeMap.Inject(TreeMapLegend) method. More information on label can be found in this documentation section.