Create a Button on a Visualization as View Selector
Dragon1 supports creating buttons on visualizations as view selectors.
Placing a Button on a Visualization
If you want to place a button onto a visualization, select a rounded rectangle shape and place it on a canvas. Next, you style it with a gradient or shadow to a button shape.
Create a Button on a Visualization.
Configuring a Button Click
To make a button act on a click, we need to configure a rule. A rule consists of a Rule Event, Rule Condition, and Rule Action.
The rule must add a data attribute to the button. To add attributes, select the button shape, right-click the mouse, and select Edit Data.
Below is a screenshot of where and how to configure a rule on a shape.
The example rule will show all shapes with Process for an entity class. You will get the opposite behavior if you change 'show' into 'hide'.
Configure a Button Click on a Visualization.