Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar Chart colour consistency

Hi there

How do I assign a specific colour to a specific dimension on my chart ?  For some reason they keep on changing.  Dont know if it has something to do with the sort order, but the colours keep on swapping out.

Awaiting Information dimension should ALWAYS be white.  Danger dimension should always be amber, etc......

Capture.PNG

12 Replies
Anonymous
Not applicable
Author

On the Colors tab <tick> Persistent Colors

Not applicable
Author

It's checked.  Still throws my colours around....

datanibbler
Champion
Champion

Hi,

the colours are defined on the "Colour" tab of the dialog. However, they are dynamically assigned in sequence, so whenever a new expression comes along or the order of the existing ones is changed, colours change.

There is an alternative: Define a set of colours using the RGB() functions (do that in a qvs file to INCLUDE in all of your apps so it will be consistent), then click on the little cross beside each expression on the "formulas" tab and assign a specific colour to them. That will override the "colours" tab.

HTH

awhitfield
Partner - Champion
Partner - Champion

Hi Bradley,

Have you tried changing the background colour for each dimension?

Andy

Not applicable
Author

No.  How would I do that?

i know how to change the background all ALL dimensions together, but not individually

awhitfield
Partner - Champion
Partner - Champion

159249.png

In here on the dimensions tab

Not applicable
Author

You mean with an IF statement ?

kavita25
Partner - Specialist
Partner - Specialist

Hi,

Kindly post a sample application

Not applicable
Author

Find reduced data app attached....

When I check Persistent colours, then everything changes.