Design Dashboards

Learn to design dashboard charts on Tenant Manager

Last published at: August 12th, 2024

This function lets you design dashboard charts for data visualization. 

You must navigate to the Administration - Dashboards menu option. The Manage Dashboard is rendered on a new page, as shown below. Click on the Help icon for more information on the context. 

 

 

How to design a dashboard using System widgets?

Select the Actions—Create menu option. A popup is rendered for configuration. Provide the dashboard name and display order number. Select the checkbox to Open Designer. Click on the Create button to start. The sample reference image is shown below. 

 

The dashboard designer canvas is shown below. The left pane contains the dashboard widgets categorized as Bar chart, Line chart, Numbers, Pie chart, SQL widgets (bar, line, pie, numbers), Custom, and System. The top menu bar has functions to create, edit, remove, save, preview, and export dashboards as XML files. The culture flag on the top right corner helps translate the text information into a different language. 

Note: System widgets are pre-configured to fetch certain types of data related to definitions, instances, errors, etc. Some widgets are customizable with a data connection, SQL query, and background colors. 

 

Expand the System category and drag the Number widgets to the designer canvas, as shown below. Then, save the report configuration. 

 

Click on the UI - Preview menu option to view the dashboard on a new page. 

 

 

How to design a dashboard using custom SQL widgets with a date filter?

These are the following SQL custom dashboard widgets available in the System category.

  1. SQL Bar Chart
  2. SQL Line Chart
  3. SQL Pie Chart
  4. SQL Number Widget

Expand the System category and drag the custom bar chart widget to the designer canvas. Then, as shown below, drag the handles to expand the widget to a larger area. Finally, click on the Edit icon in the top right corner. 

 

The Configure Widget UI properties popup window is rendered for configuration. The sample image is included below for reference. Provide a new title to the chart. Select the database connection from the dropdown list. Provide the SQL query to fetch a result set using the DB connection. Include the custom syntax $dateFilter in the Where condition. Provide the table column name (with alias if required) in the date filter column field, as shown below. Configure the bar chart orientation between horizontal and vertical. Configure the bar chart result type between numbers and percentages. Configure the colors for the background and the text. Click to save the configuration.  

 

Navigate to the Manage Dashboard page. Select Utils - Date Filter On/Off menu option to toggle the date filter status.  

 

An alert notification is displayed in the top right corner. When the report is generated, the Date Filter is now enabled for the dashboard.  

 

Select Utils - Preview menu option to generate the report.