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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Color bars (in chart) that are negative

Using a simple bar chart, with a few values that are negative.

All bars are the same color since i am using 1 expression. But i want the bars below 0 (negative) to be Red.

Could not see a setting for this!

thanks,

1 Reply
Not applicable
Author

bernardrg,

It's possible char properties -> Expression -> (into the expression, open the tree) Background color -> edit the follow:

if(sum(Value) < 0, red())

Regards,