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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Pri_07_03
Partner - Contributor
Partner - Contributor

Qlik bar chart legends

 

Issue with legend when using color expressions in Qlik Sense bar chart

I have a requirement from the client to use specific color combinations for Judgement categories in a stacked bar chart.

I successfully achieved the required colors by using a color expression. However, after applying the color expression, the legend disappears from the bar chart.

On the other hand, when I use a dimension-based legend, the legend appears correctly, but the colors do not match the client’s required color combination.

Is there any way to apply custom colors using an expression and still display the legend correctly in a Qlik Sense bar chart?

Any suggestions or workarounds would be appreciated.

 

 

  1. ⁠Bar chart by using expression. Colors are matching as per client requirement but legends is missing. 
     

     

    1.png2.png

    2. By using dimensions. Legends is showing but colors not matching with client given requirements.
     

     

Labels (1)
2 Replies
robert_mika

Try to change to Combo Chart,

You can specify a colour per measure

Maybe that will help

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I believe this is still a documented limitation https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Legend-will-be-disabled-when-The-...

A workaround may be to assign the color in a master dimension and then use the "Library colors" option in the chart. 

-Rob