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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar chart going below '0'

Hello there,

is there a way to show this graph with all the red columns (minus 0) to be graphically below '0' and only the 2 green columns as they are right now.

thanks for your help

JP

2015-11-10_14h22_13.png

Labels (1)
1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi,

It should be possible. Are you using the FABS() function to make the values all Positive?

If so you could add a expression to the background colour.

In the chart properties > expressions. Press the little plus symbol click on the Background colour

Add the below in the definition

IF(SUM(Value) > 0, Red(), Green())

You could change the colour to RGB values.

Mark

View solution in original post

2 Replies
Mark_Little
Luminary
Luminary

Hi,

It should be possible. Are you using the FABS() function to make the values all Positive?

If so you could add a expression to the background colour.

In the chart properties > expressions. Press the little plus symbol click on the Background colour

Add the below in the definition

IF(SUM(Value) > 0, Red(), Green())

You could change the colour to RGB values.

Mark

Not applicable
Author

Thanks Mark, it was the Fabs

now it is ok