/
/
Customization

This sample depicts the gold medal categories of the 2016 U.S. Summer Olympics. Each category is denoted with label template.

More Details...

Loading....
Description

In this example, you can see how to place custom HTML templates in the TreeMap items. The default text of the labels also have been formatted.

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.