The Treemap is a multi-dimensional widget that displays hierarchical data in the form of nested rectangles. This type of chart can be used in different scenarios, for example, instead of a column chart if you have to compare too many categories and sub-categories.
Designing the Treemap
Fine-tune the appearance of the Treemap widget, using the following tools.
- Captions: Control which info is presented in the treemap. A checkbox will be visible for each field that is used in the Categories panel. Turning a field on/off will determine if the field member name will be visible inside the treemap. Note that this info will always be available in the tooltip when hovering over a rectangle, regardless of the on/off setting.
- Tooltip: Select whether to show the actual value or contribution in the rectangle tooltip when hovering over it.
Treemap Selector
The Treemap can also serve a dual purpose in the form of a selector and contribution visualization.
The Treemap can be used as a selector to filter the dashboard by Product Category and show the contribution of that Product Category by number of orders.
Note: If you choose to use a value in the Treemap with many categories, the Treemap sizes the smaller categories by contribution and this may cause them to be too small to see or select. If you still want to use the Treemap for a selector, just remove the value. The Treemap will show evenly spaced categories.
To create a Treemap selector:
| Create an Indicator widget. | |
| Set the height of the Indicator widget for the Treemap. | |
| Edit the Indicator widget. In the Widget Editor, switch the widget type to Treemap. | |
| Select Apply. The Treemap will now fit within the bounds of the previously created Indicator Widget. |