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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Negative value with different Color in Gauge Chart

HI All,

Trying to display Bar chart in a straight table.

Is there any possibility to display positive value and negative value in the same side with different Colors.

3 Replies
adamdavi3s
Master
Master

yes using the background formula of the expression (click the + next to the expression on the expressions tab)

if(yourexpression <=0,lightred(),green())

or insert your own rgb colours in there

stephenedberkg
Creator III
Creator III

HI,

For the percentage values use this formula  as background color

if(yourexpression <=0,red(),green())


for the linear gauge chart set the lower bound is -1 and lower bound color is red

upper bound is 0 and color is green


Frank_Hartmann
Master II
Master II

attached sample might be helpful