Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Setting Transparency

Hi,

I have a couple of variables set in place (vIdentifier1 and vIdentifier2). What I would like to happen is that when the user activates the button that sets vIdentifier to 1, I want vIdentifier2 (a seperate button) to have a low transparency. The two variables can't be set to the same value at the same time.

Is this something that Qlik can do?

4 Replies
rubenmarin

Hi Andrew, you can set a calculated color using ARBG(), ie:

If(vIdentifier1=1, ARGB(64,0,0,255), ARGB(255,0,0,255))

The first paremeter is transparency

timanshu
Creator III
Creator III

Hi Andrew,

use trigger to do this.

Not applicable
Author

Hi Andrew,

Use Rubens solution to manipulate the colours but to expand, you'll have to create the variable in the Variable output (Ctrl + Alt + V) or Script Editor and add an action to each button (External - Set Variable) i.e. vIdentifier1 = 1 vIdentifier1 = 0.

avinashelite

Hi Andrew,

You can set both the variables at a time.

1. create  variables

2.Create a button

3.Go to properties and action > add 2 action i.e one for each variable and then use the RGB concept