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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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.

Labels (1)
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())