The attached .vi should do exactly what you described in terms of inteded behaviour. It is impossible to make one trace multiple colors (to my knowledge anyway), so to have three colors, you need three traces. The method I used (pre-initializing the array) is the most efficient way of doing this. Every trace has 5 values, but whenever a trace is not supposed to show up (because you obviously only want one colour for each value) it is given a value of NaN so it is not drawn. Try to understand the vi and ask any questions you might have. There may be more efficient ways of doing this, so if anyone else sees errors, let me know. You may need to play around with the max and min of the graph to show everything fully.
![](http://forums.ni.com/attachments/ni/170/284551/1/multi_bar.PNG)
Message Edited by jrpe on
11-15-2007 11:08 AM
Jeff
Using Labview 7 Express