Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Change background color

Hi guys,

I have a bar chart with background color expression. I want to when I click on any bar, this bar changes color from RGB to ARGB (RGB(255,51,51) to ARGB(100,255,51,51)) and others bars keep the same RGB colors.

The names of bars are different all the time. How to dynamically define what I click?

Please find attached file.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

oh i see...i think i had the opposite of your requirement. we just need to modify the conditions.

check this attachment, this should work for your requirement. all bars are rgb and when there are selections, the selections become argb and the rest stay rgb.

View solution in original post

8 Replies
Anonymous
Not applicable
Author

if you are trying to figure out which bar you click, may be you can check for

getfieldselections(VariableName)

it will return the VariableName that is clicked on.

if this is not what you are looking for, may be a little bit more elaboration with an example of what it should look like will help!

Anonymous
Not applicable
Author

is this what you are looking for?

Anonymous
Not applicable
Author

Hi my friend,

Thanks for your suggestions.

Yes, I want if nothing is selected, showed RGB colors, if I selected something, only what I selected ARGB color, other bars the same RGB colors.

I played with your file. Please find my file.

I miss something. It works, but when I select any bar, that's bar is ARGB, but others is first color from color tab.

I need to modify condition, if selected something, it should change the color.

Anonymous
Not applicable
Author

I can't find right condition for selected and others bar.

Please help me this idea,

When nothing is selected, shows RGB colors.

When I selected something, my selection is changed from RGB to ARGB color, but other bars keep the same RGB color.

Thanks,

Qlikview Notes: A Color Trick

Anonymous
Not applicable
Author

here you go!

Anonymous
Not applicable
Author

oh i see...i think i had the opposite of your requirement. we just need to modify the conditions.

check this attachment, this should work for your requirement. all bars are rgb and when there are selections, the selections become argb and the rest stay rgb.

Anonymous
Not applicable
Author

Thanks, I changed myself it.

Thank you again.

Anonymous
Not applicable
Author


great!