- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
-
Working with Dashboards
- Dashboard Designer
- Selecting a Dataset
- Data Attributes
- Dashboard Scenarios
- Dashboard Templates
- Component Templates
- 3D Scene
- Explorer
- Visualization Wizard
- Data Analysis and Interactivity
- Dashboard Appearance
- Preview Dashboard
- Export Dashboard
- Dashboard Lite Viewer
- Using Dashboard Designer
- Animating Dashboard Components
- Document Binder
- Dashboard Insights
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Treemap Chart
A Treemap Chart is used to display hierarchical data as a set of nested rectangles organized in a tree-like structure. Data, organized as branches and sub-branches, is depicted with the help of rectangles. With Treemap charts, you can easily drill down huge data to an unlimited number of levels.
The following is a treemap chart where rectangles represent the sales revenue for retailers in various countries. The rectangles are sized according to the sales revenue corresponding to each country.
Design a Treemap Chart in Wyn Enterprise
From the Dashboard Toolbox, open the Data Visualization node and drag-drop the Treemap Chart scenario onto the design area.
Bind Dataset to Chart Scenario
With the scenario selected, from the Data Binding tab, select the dataset. Once the dataset is successfully loaded in the designer, the data binding panel automatically expands and displays the data attributes available in the dataset.
The following image shows the chart scenario bound to the 'RetailDataset' dataset.
On dragging and dropping the data attributes to the data binding area of the scenario, the chart is plotted accordingly, with a default chart title on the design area.
By default, the data labels in the chart scenario are hidden. You can display the data labels in the scenario by setting the Show Data Label property to 'True', with the Value property set to 'True'. To show labels for data attributes bound to 'Details', set Details property to 'True'.
Format Data Attributes
You can format the data attributes and control the display of data by performing a variety of operations such as renaming, modifying data format and display unit, creating a hierarchy field, applying an aggregation method, etc. Using these operations, you can control the display of data attributes in a scenario.
For more information about these operations, see Data Attributes.
In the following image, the data format for the data attribute is modified to display the sales revenue in 'currency'.
Analyze Data
Wyn Dashboards scenarios support rich data analysis and exploration capabilities that can help analyze massive amounts of information and make data-driven decisions. For example, adding filters to scenarios, sorting data, applying conditional formatting, etc. Note that you can apply all these operations using the Action Bar corresponding to each scenario in the designer.
For more information, see Data Analysis and Interactivity in Dashboards.
In the following chart scenario, the filter is applied to show data for all the countries, except Netherlands, Sweden, and Finland.
Customize Chart Appearance
You can customize the default chart appearance by setting properties in the Inspector tab of the scenario such as adding a border, modifying data labels, setting chart style, renaming chart title, etc.
Add Click Action
Use the Click Action property to trigger specific dashboard commands like showing or hiding other dashboard scenarios. From the Interaction section of the Inspector Panel, search the Click Action property and choose a trigger command option from the following:
None: To disable any interaction on click.
Show Tooltip: To display the tooltip on click action.
Keep: To filter the data view by applying a condition on the data points.
Exclude: To remove or hide the selected data points from the current view.
Drill Down: To display more detailed information using the Wyn Drill Down feature.
Jump: To redirect to another dashboard, report, or external URL. See the Jump To article for more information.
Command: To trigger specific dashboard commands like show, hide, or switch. Click + Add to access the Command Settings popup and select a command from the Command dropdown.
Show: To display the scenario on click.
Hide: To hide the scenario on click.
Toggle: To toggle the selected scenario on click action.
Switch Page: To switch pages on click.
Switch Tab: To switch the tab on click.
3D Scene Custom Script: To pass the selected data point as a parameter to the 3D scene script. This script creates specific UI effects in 3D scenes such as highlighting objects or changing the camera angle.
Drill Down: To drill down detailed information on the selected data point. See the Drill Down article for more details.
Jump: To create a redirection to another dashboard, report, or external URL. See the Jump To article for more information.
Show/Hide Combined Map Layer: To show or hide the layer of combined maps.
Set Chart Style
Customize the chart colors in the scenario by using the Palette property in the Inspector tab. Set the property to a suitable color palette from the list.
Item Space
The Item Space property of the Treemap charts allows you to add padding between the visual elements to meet your design guidelines. This property controls the spaces between individual shapes within a visual scenario ensuring that the visual representation aligns with the desired aesthetic and improves readability.
Locate the Item Space property under the Chart Style section of the Inspector Panel and use the + or - buttons to increase or decrease the item space. You can also enter a numeric value in the input box. The default value of this property is set to 0.
The below image shows a Treemap chart with the Item Space property set to 5.
Note: When the value of the Item Space property is large and data points are fewer, the data display will be incomplete.
Enable Automatic Carousel
Enable the automatic carousel effect in the scenario by using the Automatic Carousel property to create a highly interactive and effective dashboard. The automatic carousel effect when enabled, highlights the rectangles one by one. You can specify the time interval for the automatic carousel by using the Interval (seconds) property.
You can see this effect when previewing the dashboard in the Dashboard Viewer.
Data Labels
You can display the data labels in the scenario by setting the Show Data Label property to 'True', with the Value property set to 'True'. To show labels for data attributes bound to 'Details', set the Details property to 'True'.
Data Label Font Setting
You can set the data label font color by using the Data Label Font Setting.
Example: In this example, we have selected the Palette as shown below.
Under Data Label Font Setting, we have selected the font color as green. The data labels will be displayed as per the Font Color selected under Data Label Font Setting as shown below.
Auto Font Color: Please note that if you want to adjust the data label font color automatically based on the light/dark colors in the Palette selected (under Chart Style) for clear visibility, then set the Auto Font Color to True. By default, this property is set to False.
Example: If you select the font color under Data Label Font Setting, and also set the Auto Font Color to True, then the font color of the data labels will be adjusted automatically based on the light/dark colors in the selected palette for clear visibility as shown below.
Data Labels - Display Pattern
The treemap chart supports the line break (, \n()) in the data label, and you can add a line break between Value and Details, by using the Display Pattern property for the data labels. If you hide some parts of the label, like the value, and detail the part will be removed from the pattern, and the related connector (the prefix**, \n ()**) will also be removed.
By default, the display pattern selected is Detail(Value) as shown below.
You can select any pattern from the dropdown list.
Preview the chart, the data labels will be shown as per the display pattern selected in the designer.