Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding Colors in a Bar Chart

Hi,

I have a small query - can I have differnt colors in a bar chart depending on the value of the dimension?

FIRM REVENUE

A 100

B 110

Client 98

D 95

If I present this data with a bar chart, Can I have a different color for 'Client'?

1 Solution

Accepted Solutions
Not applicable
Author

hi,

pls check the attached application

hope this works for u

thanks

View solution in original post

6 Replies
Not applicable
Author

hi umang,

in the expressions tab use

if(firm='client',green()) in case u have firm as dimension

thanks

Not applicable
Author

hi umang,

in the expressions tab under background colour use

if(firm='client',green()) in case u have firm as dimension

thanks



sathishkumar_go
Partner - Specialist
Partner - Specialist

Hi

go to Chart --> Properties-->Expression-->BackgroundColour

In BackGroundColour write if(FIRM = 'Client',rgb(198,222,255))

-Sathish

Not applicable
Author

Hi and thanks to all for quick responses,

But I still can't get it Embarrassed

I have attached a file if someone will be kind enough to update it and tell me

THANKS

Not applicable
Author

hi,

pls check the attached application

hope this works for u

thanks

Not applicable
Author

Thanks a lot tauqueer - you saved my day as usual Big Smile