Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

log scale and bar-offset in bar chart

i have created a bar chart that is also known as the bridge chart or waterfall chart.

some steps in the bridge are negative values, some are positive.

the bridge goes from actual to forcast. the steps of the bridge are certain segmemts.

I use the bar-offset settings to make my bridge . .works perfectly.

the y-axis goes from 0 till 150. i dont want the y-axis to start at 0 because otherwise the steps look very small..

therefore i checked 'Log Scale' .. now the chart starts at 108 .. perfect!

only problem is that some steps in the bridge are negative. Checking 'Log Scale' will have the effect that those steps are gone.

How can i use the Log scale option, but still show the negative values in the chart?

1 Solution

Accepted Solutions
amien
Specialist
Specialist
Author

i unchecked force 0 and for some reason it worked

View solution in original post

4 Replies
johnw
Champion III
Champion III

Can you post an example?

My guess is that it's a bug, or as QlikTech might reply, working as designed (but the design is poor and should be improved).

Normally, you couldn't have positive and negative values on the same log scale chart.  The reason is that the distance from the positive values to the negative values is infinite.  So I'm guessing that QlikView was coded to simply exclude the negatives as a way of avoiding that problem.

But with a waterfall chart, as long as all the values remain above the 0 axis, there's no fundamental reason you couldn't display the negatives.  I suspect QlikView's code is merely not sophisticated enough to recogize the difference between having data at or below the axis and simply having negative data in a waterfall chart that remains above the axis.

amien
Specialist
Specialist
Author

i unchecked force 0 and for some reason it worked

johnw
Champion III
Champion III

Hah!  I didn't even think of that.  On a logarithmic chart, 0 is also infinitely far away from any positive value.  So I guess QlikView is smarter than I thought with the handling of negatives, and it was the forced zero causing the problem.  Anyway, good job figuring it out.  I'm glad I was wrong about the cause of the problem.

amien
Specialist
Specialist
Author

Thanks for your reply btw ..

i dont full understand the logic about this issue, but it works and that whats count at this moment