[]
        
(Showing Draft Content)

Dynamic Display of Components

You can control the Visibility of the scenarios while designing the dashboard and you can change their visibility on the viewer using the Click Action commands. So, you can display and hide some components dynamically.


Like, while creating a dashboard, you might want to include too many charts, like the summary data and the detailed data, and show the details data when clicking on a button or clicking on a component. So, you can Control the Scenario Visibility on the designer and customize the scenarios based on the Click Action Commands

Control the Scenario Visibility in the Designer

Add a dashboard scenario. We are taking a Column Chart in this example. Go to the Inspector tab and set the Visibility to True under Appearance.


Set Visibility to True


The Chart scenario will be visible on Preview.

Note: From the Inspector tab, if the Visibility is set to False under Appearance, then the Chart Scenario will not be visible on Preview.

Customize the scenarios based on the Click Action Commands.

You can change the visibility of the scenario in the viewer, like showing the details data when clicking on a button or clicking on a component. For this, you need to set the Click Action Commands. You need to add an Image Component and on the Inspector tab, set the Image Click Action as Command.


Click Add Command Icon to add the command.


Command Setting dialog box is displayed.


Command Setting Dialog Box


The following commands are displayed on the Command Setting dialog box.

Command

Description

Show

This will show the hidden scenario on the Image click.

Hide

This will hide the scenario on the Image click.

Toggle

When this option is selected, the Image will work as a Toggle button to Show and Hide the scenario.

Switch Page

This command is used to Switch from one page to another.

Switch Tab

This command is used to Switch from one tab to another in the tab container.

Close Jump Dialog

This command is used to close the jump dialog.

Each command listed above in the table has some properties as listed below:

Command

Property

Show

Scenario: This is the scenario for which the command is set to show.

Entrance Animation: Show command supports the following Entrance animations None\Fade In\From Top\From Bottom\From Left\From Right. This is the entrance animation for the scenario that is hidden and will be displayed on the click of the Image component.

Delay(s): This sets the delay time for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'.

Duration(s): This sets the duration it takes for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'.

Hide

Scenario: This is the scenario for which the command is set.

Entrance Animation: Show command supports the following Entrance animations None\Fade In\From Top\From Bottom\From Left\From Right. This is the entrance animation for the scenario that is hidden and will be displayed on the click of the Image component.

Exit Animation: Show command supports the following Exit animations None\Fade out\To Top\To Bottom\To Left\To Right. This is the exit animation for the scenario that will be hidden on the click of the Image component.

Delay(s): This sets the delay time for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'.

Duration(s): This sets the duration it takes for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'.

Toggle

Scenario: This is the scenario for which the command is set.

Entrance Animation: Show command supports the following Entrance animations None\Fade In\From Top\From Bottom\From Left\From Right. This is the entrance animation for the scenario that is hidden and will be displayed on the click of the Image component.

Exit Animation: Show command supports the following Exit animations None\Fade out\To Top\To Bottom\To Left\To Right. This is the exit animation for the scenario that will be hidden on the click of the Image component.

Delay(s): This sets the delay time for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'

Duration(s): This sets the duration it takes for the scenario to enter or exit at the click of the image. This property is not shown when the Entrance and Exit animation is set to 'None'.

Switch Page

Page: This refers to the page where the user is directed to, after clicking the Image component.

Switch Tab

Container: Select a particular TabContainer from the dropdown list as per your requirement.

Tab: Select the particular tab of the TabContainer on which you want to go by clicking the image.

Applying Animation for the show\hide component command

You can provide the animation effect for the show, hide, and toggle command components. You can also set the Delay and loading Duration (in seconds) for the selected animation.

The default value for Delay(s) is 0 seconds, and the default value for Duration(s) is 1.8 seconds.

Listed below are the available Entrance and Exit animations.

Entrance Animation

Exit Animation

backInDown, backInLeft, backInRight, backInUp

backOutDown, backOutLeft, backOutRight, backOutUp

bounceIn, bounceInDown, bounceInLeft, bounceInRight, bounceInUp

bounceOut, bounceOutDown, bounceOutLeft, bounceOutRight, bounceOutUp

fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp

fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp

slideInDown, slideInLeft, slideInRight, slideInUp

slideOutDown, slideOutLeft, slideOutRight, slideOutUp

lightSpeedInRight, lightSpeedInLeft

lightSpeedOutRight, lightSpeedOutLeft

rotateIn, rotateInDownLeft, rotateInDownRight, rotateInUpLeft, rotateInUpRight

rotateOut, rotateOutDownLeft, rotateOutDownRight, rotateOutUpLeft, rotateOutUpRight

zoomIn, zoomInDown, zoomInLeft, zoomInRight, zoomInUp

zoomOut, zoomOutDown, zoomOutLeft, zoomOutRight, zoomOutUp

Customize using the Toggle Command to toggle the visibility of the scenario.

Perform the following steps to customize using the Toggle command.


Add Column Chart Scenario

  1. Create a Dashboard.

  2. From the Data Visualization tab on the left of the dashboard designer, drag and drop a Column Chart on the design area.

  3. From the Data Binding tab on the right, select Retail Dataset, which is already available to us. We will use this chart to analyze the revenue generated vs year.

  4. Drag and drop the data fields as follows and see how the chart title is automatically generated.

Data Binding Property

Fields

Values

Revenue

Axis (Category)

Retailer Country

Legend (Series)

Year

You can add aggregations or other functions to the field in Values, in addition to renaming or adding filters.

5. From the Inspector tab, set the Visibility to True under Appearance.

Set Visibility To True


Add a Label Slicer

  1. From the Data Visualization tab on the left of the dashboard designer, drag and drop a Label Slicer on the design area.

  2. From the Data Binding tab on the right, select Retail Dataset.

  3. Drag and drop the data fields as follows.

Data Binding Property

Fields

Columns

Retailer Country

You can add aggregations or other functions to the field in Values, in addition to renaming or adding filters.

  1. From the Inspector tab, set the Visibility to False under Appearance.

  2. Now, add an Image Component (we have taken a "View More" image in this example), as shown below.


    Add View More Image Component

  3. Now, on the Inspector tab, set the Image Click Action as Command.


    Click Action As Command

  4. Click Add Command Icon to add the command.


    Command Setting dialog box is displayed. Select the Toggle command from the dropdown list.


    Select Toggle Command


    Properties related to the Toggle command are displayed.

  5. Enter the details on the Command Setting dialog box.


    Click OK

  6. Click the OK button.

  7. Click Save to save the dashboard and then click Preview.


    You will see only one Column Chart (for which the visibility was set to True) and the View More image.



    Initail Preview

  8. Click the View More image, the Label Slicer scenario will also be displayed along with the entrance animation.


    Click View More Icon For Final Preview


    You can now filter the data based on the Slicer condition as well. Like here in this example, you can show the Sum of Revenue based on the selected Retailer Country from the Slicer. Select Australia to display detail only for Australia.


    Preview Slicer On Selection Criteria

  9. Click again on the View More image, the Slicer Retailer Country will be hidden.

So, the click on the View More image will Toggle the Slicer visibility on Preview.

Customize using the Close Jump Dialog Command

To customize the dashboard using the Close Jump Dialog command, perform the following steps.

In this example, we will add an Image component to the target jump dashboard, and the jump dialog will be closed when the image is clicked.

  1. Create 2 dashboards: Dashboard 1 and Dashboard 2.

    Dashboard 1 and 2


  2. Add a Jump To in Dashboard 1, to Jump to the target dashboard (Dashboard 2). In this example, we have kept the Dialog Header and Close Button to false.

    Add Jump to in Dashboard 1


  3. In the Dashboard 2, add an Image component and set the Click Action to Command.

    add an image


  4. Click the Plus icon plus icon to add the command. The Command Setting dialog box is displayed. Select the Close Jump Dialog command and click OK.

    command settings dialog box


  5. Now, preview Dashboard 1. Right-click and select the Jump To option. It will navigate to the Dashboard 2.


  6. On Dashboard 2, there will be no Header and no Close Button to close the Jump Dialog. But you can click the Image component to close the Jump To dialog and navigate back to Dashboard 1.

    close jump

Few More Cases to customize the dashboard scenarios

  • You can show or hide a component or a group of a component when clicking on a 'data point' on a component.

  • You can click on a button to trigger to show or hide a group of the components when previewing the dashboard.