Wyn Enterprise User Guide

Wyn Enterprise: 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 can set the click action command by adding 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

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.

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 at the click of the Image component.
  • Delay(s):
  • Duration(s):
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 at 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):
  • Duration(s):
Switch Page Page: This refers to the page where the user is directed to after clicking on the Image component.
Switch Tab
  • Container
  • Tab

Steps for Customizing the dashboard scenarios.

Listed below are a few examples for customizing the dashboard scenarios:

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

  • Create a Dashboard.

Add Column Chart Scenario

  1. From the Data Visualization tab on the left of the dashboard designer, drag and drop a Column Chart on the design area.
  2. 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.
  3. 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.

  1. 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 in 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

  1. 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.

  • Show or hide a component when clicking on a 'Hyperlink' on the rich text

  • Create a Dashboard.

Add Column Chart Scenario

  1. From the Data Visualization tab on the left of the dashboard designer, drag and drop a Column Chart on the design area.
  2. 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.
  3. Drag and drop the data fields as follows and see how the chart title is automatically generated.
Data Binding Property Fields
Values Quantity
Axis (Category) Retailer Country
Legend (Series) Product line

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 True under Appearance. Set Visibility To True

    The Chart scenario will be visible on Preview.

Add a Rich Text Component

  1. Edit the Rich Text component and add the text to be hyperlinked. Rich Text Component

  2. Select the text and click the "Insert Jump" icon.

    Click Insert Jump

    Jump To dialog box is displayed.

    Jump To Dialog Box

  3. Click the Add Settings button and specify the details.

    Click Ok On Jump To

  4. Click the OK button.

  5. Save the dashboard and click Preview.

    Only the Column Chart and the Hyperlink is displayed.

    Jump To Initial Preview

  6. Click the hyperlink. The dashboard scenario that was linked in the “Jump To” dialog box will be displayed. Jump To Final Preview

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.