Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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!
is this what you are looking for?
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.
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,
here you go!
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.
Thanks, I changed myself it.
Thank you again.
great!