LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with stacked bar charts

Help..................
 
I am definitely missing something.
 
I want to do something like the attached, stacked bar chart example.  This is pretty much
one of the examples.
 
What I need is for a horizontal chart instead of a vertical.  When I right click the legend and
chose bar charts, it only shows vertical.  After messing with this for a couple of hours,
I give.
 
Any suggestions would be much appreciated.
 
0 Kudos
Message 1 of 6
(3,977 Views)

Your sub VI " draw stacked Graph.vi" is missing

 

0 Kudos
Message 2 of 6
(3,965 Views)

I believe that you can only have horizontal bars when using an "XY Graph".

Check that you are using an "XY Graph" (not a "Waveform Graph" or "Waveform Chart").

The XY graph requires a different data type that includes both the X and Y coordinate values - I've attached an example based on the "Stacked Bar Graph" example.

Mark.

Message 3 of 6
(3,962 Views)

P.S. "Untitled 2" is the "top level VI" in the LLB file.

(50:50 chance of confusion there).

0 Kudos
Message 4 of 6
(3,955 Views)
Another stacked bar graph plea for help!
 
My scenario: I am recording 3ph current values (red, yellow, blue) on multiple circuits for some electrical tests we do.
 
I want to present this data on a screen that is most visible from a distance, so the approach I have taken when I last wrote the software in Delphi was to have each 3 ph circuit represented by a 3 channel bar chart where the three channels are stacked front to back in order of magnitude. This allowed me to add multiple 3 channel circuits next to these to fill the screen from left to right.
 
See attached Excel file to make it clear. I hope! Smiley Very Happy
 
The main issue I see is that the colour of plot needs to move front to back with the magnitude. ie Red is not always the front plot, it is the 'smallest' of the three plots that stays at the front.
 
Some tests we do, may have 12 x 3ph circuits of this type which fills the screen up and can make it very busy. Rather than having 36 plots left to right, by stacking them in groups of three, I reduce the left to right number to 12 plots. The screen can then be viewed from a distance much easier.
 
Any suggestions? I am expecting I will need to write my own routine for this, which if I do, i am quite happy to share when complete.
 
See (and run) the attached LabVIEW code of my progress so far.
 
thanks  Adam

Message Edited by tca-adam on 11-16-2006 01:27 PM

Download All
0 Kudos
Message 5 of 6
(3,797 Views)
0 Kudos
Message 6 of 6
(3,768 Views)