[]
        
(Showing Draft Content)

TreeMap EChart

A TreeMap EChart is a visualization tool 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 ECharts, you can easily drill down large sets of data to an unlimited number of levels.

Create a TreeMap EChart

To create a TreeMap EChart in Wyn Enterprise, navigate to the dashboard designer page and follow the instructions below,

  1. On the left-side menu, select the Custom Visualization icon to open the ECharts menu. customVisualizationIcon

  2. Find the TreeMap EChart from the menu and drag and drop it onto the dashboard designer.

addTreemapEChart

  1. Your initial TreeMap EChart should look like the image below.

treeMapEChartInitial

  1. On the right-hand side, you will find that this action has opened the Data Binding tab. Select Add to select the data you want to bind to your EChart.

addButtonDataBindingTab

  1. Upon selecting the data you want to use in the menu, drag and drop the values onto the binding slots for Values and Details and Distribution. You are going to want to drop your quantitative data into the Values slot and your categorical data into the Details slot.

dataBindingTreemapEChart


In this case, I have created a scenario using the RetailDataset, that shows the Revenue by Retailer country.

  1. To display your chart values, click on the gear icon gearIcon next to the Data Binding tab to open the inspector panel.

From there, navigate to the Data Labels property and set the Show Data Label toggle icon to True. This will display your dataset values on the TreeMap branches.


dataLabels

  1. To display details, again from the Data Labels property, switch the Details toggle item to true.

showDataLabels

  1. Click Preview on the top ribbon. Screenshot 2025-01-15 at 3.15.57 PM Now you have your Treemap EChart.

Screenshot 2025-01-20 at 12.54.52 PM

Format Data Attributes

You can perform various operations in a TreeMap EChart to format the data attributes and control data display. Use the settings icon in the Data Field containers to format data attributes. The following operations are included in the TreeMap EChart scenario;

  • Aggregation Method: Use the Aggregation Method option to display a summarized value by aggregating multiple values of a data attribute. Aggregation Method supports Sum, Average, Max, Min, Count, and Distinct Count methods. See the Aggregation Method help article for more information.

  • Quick Functions: Use the Quick Functions option to highlight key indicators in your chart scenario by applying powerful calculations on measures. Quick Functions in Wyn Enterprise support Date Based Functions, Ranking Calculation, Percentile Calculation, Running Calculation, Moving Calculation, and Original Value. See the Quick Functions help article for more information.

  • Filter: Use the Filter option to display relevant data in your chart scenario. See the Filter Data help article for more information.

  • Rename: Use the Rename option to change the name of a data attribute to make it comprehensible and meaningful. See the Rename a Data Attribute help article for more information.

  • Remove: Use the Remove option to remove a data attribute from the chart scenario.

  • Tooltip Setting: Use the tooltip setting to customize the tooltips. You can customize the background image, color, and font style, add new data fields, modify the data fields, and modify expressions for data binding.

Analyze Data

Wyn dashboard scenarios support rich data analysis and exploration capabilities to help you analyze massive amounts of information and make data-driven decisions. The following analysis operations are available in the Action Bar corresponding to each scenario in the designer;

  • Filter: To filter out relevant data in your chart scenario. See the Filter Data help article, for information on using the filter options in a dashboard scenario.

  • Sort: To arrange the chart data in a more meaningful order. See the Sort help article for information on using the sort options in a dashboard scenario.

  • Conditional Visualization: To filter, compare, and rant the data in a dashboard scenario. See the Conditional Visualization help article for information on using various visualization options.

  • Data Binding: To modify the data binding of the dashboard scenario with new attributes use the Data Binding option. See the Modify Data Binding help article for more information.

  • Reference Line: To add a static line as a reference line on the chart use the Reference Line option. See the Reference Line help article for information on using various formatting options.

Customize Appearance

Under the Inspector Panel you will find the EChart settings. Modify them per your requirements. The properties of the Column EChart are listed and described below.

CHART STYLE

Property

Description

Maintain Color Assignments

Set this property to True if you would like your chart to maintain the color assigned by your dashboard theme. If you would like to set the colors of your chart, set this value to True.

Palette

Use this to set the colors for the chart.

Graph Opacity

Allows you to set the opacity level of the EChart. Its value ranges from 0% to 100%.

Auto Gradient

To set the automatic color gradient in the chart, set the toggle item to True. By default, the value of this property is set to False.

Canvas Padding

To create space around the chart, set a padding value.

Custom ECharts Option

Use the Custom ECharts Option to customize the chart using JavaScript code.

Custom Behavior

Use the Custom Behavior option to directly write JavaScript code and use setTimeout/setInterval/myChart (echart instance), etc., to customize the behavior of the chart, to dynamically change the chart content in real-time. Refer to the section ECharts Custom Behavior for more details.

Item Space

Use this property to increase the space between your chart branches.

Animation

Property

Description

Entrance Animation

Select an option from the dropdown to set the animation style of the appearance of the chart scenario. After selecting an option from the dropdown, set the delay and duration of the animation using the Delay(s) and Duration(s) properties respectively.

Automatic Carousel

To highlight the segments one at a time and display the tooltip, set the Automatic Carousel property to True. By default, this property is set to False.

Interval(s)

Set the time interval (interval) between the segments being highlighted and the tooltip being displayed.

INTERACTION

Property

Description

Scenario Name

Add a name to the chart scenario using this property.

Cross Filter

To reflect the filtered data throughout the dashboard, set this property to True. Cross filters provide a simplified and deeper analysis of what you want to observe.

Jump To

To create a shortcut to another dashboard scenario, report, or URL use this property. See the Jump To help article for more information.

Auto Refresh

Set None, Polling, or Real Time option from the dropdown to refresh the chart data. Dropdown options are described below, None - Select None to disable auto-refresh of the chart data. Polling - Select Polling to enable auto refresh and set an interval to refresh chart data in the Refresh Interval property.

Visible Menu Items

Select the filtering and sorting options you wish to display on the chart scenario from the dropdown.

Pin Annotation

To pin the annotation to the chart scenario, set this property to True. By default, this property is set as False.

Context Menu Actions

Select multiple Context Menu Options from the dropdown. Context Menu Options include - Keep, Exclude, Jump, and Add Data Monitoring.

Click Action

Select None, Show Tooltip, Keep, Exclude, or Jump option from the dropdown to perform an action on click.

Single Selection

Set to True if you want users to select only one parameter at a time for your dashboard.

TITLE

Property

Description

Show Title

To hide the title of the chart set this property to False. By default, this property is set as True.

Title

Add or edit the title of the chart using this property.

Alignment

Select the Left, Center, or Right alignment of the title.

Title Font Setting

Set the font family, size, color, weight, and style of the title using the Title Font Setting options.

Padding

To create space around the title of the chart use the Padding property. It supports Padding Left, Padding Top, Padding Right, and Padding Bottom. Their values can be different.

TOOLTIP

Property

Description

Tooltip Mode

Set this property to Data Point to display the tooltip in the preview.

The tooltip is a feature that allows you to display a certain values when you hover over your chart in the preview. In this case, you can display information about the Retailer country. For more information on setting up a tooltip, read the Customize Dashboard Tooltip help doc.

DRILL DOWN SETTING

These are properties to customize the dashboard drill down. For more information on creating a drill down scenario, refer to the Drill Down help article.

Property

Description

Position

Use this property to set the position of the Home button.

Home Name

Use this property to set an alternate Home button. This button will allow you to navigate to the original chart display prior to drilling down.

Font

Use this property to set the font of the Home button.

Current Level Font Color

Use this to set the color of the Home button.

Other Levels Font Color

Use this to set the color of the buttons preceding the Home button. These buttons will be labeled and will navigate you to, the data you have drilled down to.

SPECIAL DATA

Property

Description

Show Null As

Allows you to replace missing or undefined values with a placeholder.

Show Blank As

Allows you to replace values left empty with a placeholder.

NO DATA CONTENT

Property

Description

Content

Set the display content in case no data is found in the chart scenario.

Text Align

Select the Left, Right, or Center option from the dropdown to align the no data content text.

Vertical Align

Set the vertical alignment of the no-data content.

Font

Set the font family, size, color, weight, and style of the no-data content using this property option.

Background Image

Add an embedded, shared, or external image as a background image for the no-data content.

LAYOUT

Property

Description

X Position

Set the horizontal position of the chart scenario using the X Position property.

Y Position

Set the vertical position of the chart scenario using the Y Position property.

Width

Set the width of the chart scenario using this property.

Height

Set the height of the chart scenario using this property.

APPEARANCE

Property

Description

Background Color

Set a background color of the chart scenario using this property.

Padding

To create space around the chart scenario, set a padding value.

Margin

Set the margin value for the chart scenario using this property.

Visibility

To hide the chart from the dashboard scenario, set this property to False . By default, the Visibility property is set as True.

Background Image

Add an embedded, shared, or external image as a background image to the chart scenario.

Border Color

Set the border color using this property.

Border Width

Set the border width using this property.

Border Radius

Set the border radius using this property.

Shadow

Add a shadow using this property.