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

How to set this colour set up with custom colours on a line graph

Hey There,

I have a line graph, similar to the above in an important QlikSense app. I want to have this same effect with the number greater than zero being a different colour than when below 0. Except with green and red rather than this orange and blue. Anyone have any ideas on an expression that would make this work?

Cheers

3 Replies
robert_mika
Master III
Master III

Go to Appearance-->Colors and Legend-->Colors-->Custom-->By Expression...

if(your expression<0,red(),green())

Not applicable
Author

Hey There Robert, I have already tried this expression but it ends up looking like this due to it starting at the parameters not above 0.

robert_mika
Master III
Master III

Could you attached your qvf?