Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Uploads getting stuck in the virus scanner. We are investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted

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

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

Highlighted
Not applicable

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.

Highlighted

Could you attached your qvf?