Qlik Community

Qlik Sense App Development

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

Uploads getting stuck in the virus scanner. We are investigating.
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?


3 Replies

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

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

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.


Could you attached your qvf?