• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
Essential JS 2
All Controls

Example for RTL in ASP.NET Core TreeMap Control

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


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.