Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar chart- colors get reversed/Mixed up

Hi Experts,

I am facing a weird problem where the colors of bar chart reversed automatically ( in long period) and then it get fixed too.

Below are the two screen shot where you can see the issue. Please help me if you have any tips for this.

4 Replies
Not applicable
Author

Are you using any expression /condition for the bar colors?

Not applicable
Author

Hi Sana,

Nope.

From chat properties , It is default to pick color 1 ,color 2 ...

Color.JPG

Best Regards,

Rahul Pathak

Not applicable
Author

Try using the background colour definition to stick on a particular colour.

IF(Expression='Yes',Green(),Red())

Background_def.JPG

Anonymous
Not applicable
Author

Hi Rahul,

Try like that as Sandeep mentioned it will work. Use the expression

If(Expression = 'Yes', Green(),Red())