Dynamically link widgets across different layers

AIV application allows its users to dynamically link widgets that are present across different layers and tabs.

For instance, if a table and chart are linked dynamically, then on the click of any cell in the table, detail of that particular cell will be displayed in the chart.

In this example, we will dynamically link table widget displaying sales of products in first layer with the pie chart depicting the percentage of sale of products based on line of products in the second layer which we had created in the previous chapter.

In order to learn how to create multiple layers, visit the previous chapter by clicking on button.

In order to dynamically link widgets accross different layers follow the steps below:-

  1. As seen in the previous session, our first layer contains a table widget shown in the figure below:-



  2. Similarly, we had created the following pie chart displaying line of products in the second layer.



  3. Now we will create a dynamic link between the table in the first layer and pie chart in the second layer as follows:-
  4. Click on the side ellipsis in your table widget which displays sales of products in the first layer.
  5. This will open the following menu:-



  6. Click on Dynamic Link and following configuration box will be opened.



  7. Select productLine in Linked Column, Layer as layer2 and Tab as tab1 from the dropdown menu.
  8. Check the Line of Products checkbox and select productLine column from dropdown as follows:-



  9. Finally, click on the to apply the dynamic link on productLine.
  10. Now if the user clicks on any productLine, say Vintage Cars in the first layer, the pie chart in the second layer will display data only for that particular line of products.



  11. You can check the output by going to layer two by clicking on the topmost icon which will open a dropdown as follows:-



  12. The chart in the second layer will be displayed as follows:-



  13. As the user had clicked on vintage cars, the chart displays data related to that product line only.
  14. The user can also add a layer widget in order to check the changes reflected on both the widgets simultaneously
  15. Click on the Component icon from the top right corner menu, a list of the available component will open up as follows:



  16. Click on Component Icon from the list of the component into the dashboard, a configuration box would open as follows:



  17. Provide name as shown in the figure and select layer2 from the dropdown menu.

  18. Now the user can click on any cell in table to reflect changes in the chart or vice versa.



In the similar manner, the user can dynamically link widgets spread accross multiple tabs in different layers of the AIV dashboard.