### TreeMap

Important! This feature requires the wijmo.chart.hierarchical extension module.

The TreeMap chart control has five basic properties that allow you to customize its layout and appearance:

- type: Specifies the type of the TreeMap control.
- maxDepth: Specifies the maximum number of node levels to show in the current view.
- palette: Specifies an array of default colors to be used when rendering TreeMap.

The example below allows you to see what happens when you change these properties.

Max Depth
Squarified Horizontal Vertical
Default Custom1 Custom2