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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Two different color in single bar in barchart

Dear All,

My requirement is, i want to show two values in single bar chart with different colors like below.

I have two expression fields capacity &used and single dimension field container.

Say for example the container A ( My dimension ) of capacity 100% is filled with 30%.I want to differentiate the bar in two colors.

100 should be in one color and in that 30 should be in an another color ( like color in color in single bar ) Like below.

Thanks in advance

Comm.jpg

11 Replies
sunny_talwar

May be it would be easier to understand what you are trying to do if you can share a sample? Because as per your description, it seems like what I have proposed seem to work. I don't know how would it matter if we use one way or the other if the final output looks the same. But I may be missing something important

Not applicable
Author

send me code this process