How to Highlight a Bar when Selecting

Sometimes there is a desire to select a bar and highlight the bar selected.

In this case, every time a sub category is selected, the corresponding bar turns to a color that distinguishes it from the other bars.

To make this, we will use parameter actions.

First, make a parameter for the sub category.

Next, make a calculated field to make a boolean value:

Then drag the calculated field onto color.

Finally, make a parameter action to change the sub category parameter every time one is selected.

Now every time a bar is clicked, the bar will be highlighted.

Author:
Calvin Gao
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2025 The Information Lab