From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lab VIEW's bar graph

Solved!
Go to solution

If we create a bar graph that represents negative values in Lab VIEW, it will be drawn in a form that extends downward from the vertical axis 0.

Is it possible to draw a bar graph that extends upward from -100, for example?

0 Kudos
Message 1 of 3
(626 Views)
Solution
Accepted by lesprs

If you don't mind connected bars and want to stop at a minimum value that isn't the bottom of the display, set to the midpoint nearest interpolation and set a second plot to the minimum value you want to fill to. You can then set the fill baseline option to the other plot:

bargraph.png

 

 

If you want separated bars then you can just set fill baseline option to -Infinity and it'll fill to the bottom of the display, not to zero:

 

bars.png

 

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
Message 2 of 3
(612 Views)

Dear lluminatedG

 

thank you for your prompt answer!

I understand the content.

0 Kudos
Message 3 of 3
(594 Views)