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: 
jmonroe918
Creator II
Creator II

Multiple Colored Bars in Dual Axis Chart

I have created a Chart that uses both Y-axes. Left axis is Complaints (bar chart) and Right axis is Defect Rate % (Diamonds). By using this feature I no longer have the ability to select "Mulitcolored" for the bars (they are all blue). I would like them to be multicolored.

I have created conditions in the past based on > or < certain % would be represented by a certain color, but the bar charts are based on numbers and I don't want them colored based on their number. Just random.

Does anyone know of an expression that will give each bar its own color?

Thanks.

Jeff

1 Solution

Accepted Solutions
MarcoWedel

Hi,

the reason for the "Multicolored" being greyed out is your two expressions rather than the separate axes.

To multicolor the bars you could use a background color expression like:

QlikCommunity_Thread_181027_Pic1.JPG

QlikCommunity_Thread_181027_Pic2.JPG

hope this helps

regards

Marco

View solution in original post

2 Replies
MarcoWedel

Hi,

the reason for the "Multicolored" being greyed out is your two expressions rather than the separate axes.

To multicolor the bars you could use a background color expression like:

QlikCommunity_Thread_181027_Pic1.JPG

QlikCommunity_Thread_181027_Pic2.JPG

hope this helps

regards

Marco

jmonroe918
Creator II
Creator II
Author

Marco:

Worked like a charm!

Thanks so much.

Jeff