LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stacked bar graph

I'm trying to make a 'bar graph' that'll show movement real time.  This if for an application showing fluids moving in a pipe, and the attached image is what I'd like to end up with. 

At Time0, you can see that there are 4 fluids in the pipe.  At a later time (Time1) the fluids have moved down the pipe, and in the last frame at Time2, the orange fluid has moved completely out of the pipe.

 

I'm thinking that I can use stacked bar graphs to do this, and thought I'd post the question to the forum to see if anyone's already tackled this problem and can give me a head start.

 

Steve

 

0 Kudos
Message 1 of 2
(3,033 Views)

Hi Steve,

 

Thanks for the post and I hope your well today.

 

There is an example in the LabVIEW Example Finder (Help>>Find Examples..). It is titled, Stacked Bar Graph. You can search for it if you switch tab in the Example Finder window. 

 

The VI uses a Waveform Graph to plot several waveform. In the example, each colour is a different waveform, and by altering the representation of the data point i.e. a x etc you can acheieve the block of colour affect.

 

Note: the names on each bar are just labels.

 

Please let me know how this example finds you, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 2
(2,995 Views)