• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

This sample orders the countries based on the unemployment rate by rendering TreeMap in the right-to-left (RTL) direction

DEMO
SOURCE

In this example, you can see how to render a TreeMap from the right-to-left direction.

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.