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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
robin_heijt
Creator
Creator

How to color by dimension with the BarsPlus extension

Hi,

I am very glad to have found the BarsPlus extension, as it seems to be the only way of showing percentages within the bars.

The only issue that I am running into now is that I do not understand how to specify the coloring.

I tried following the guide on GitHub, but it doesn't really make sense to me when I have to color a stacked bar chart.

Single dimensions coloring works fine, but is somebody able to explain me how to color a stacked bar chart where the dimension: Gender (Male/Female) has to be red/yellow respectively. I know it has to be done in the dimension attribute, just don't know how to specify 2 different colors.

Thanks.

2 Replies
sibin_jacob
Creator III
Creator III

Create Master Dimension for Gender.

Then click on Edit (Gender Master Dimension) -> Then click on Value colors.

Then select each value (Male/Female) then give  # color code for each value.

Use this Gender Master Dimension into your Chart Dimension.

Please refer the below link for more details.

https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Colors/assigning-colors-to-dimensi...

robin_heijt
Creator
Creator
Author

Thank you for your message!

However I forgot to mention that master item coloring does not have an effect on the BarsPlus extension, as coloring is not done through an direct expression, but through an attribute expression.