Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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

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