LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Bar Plot stacked with multiple runs

Hi does anybody know of a way to use the 3D Bar plot to show multiple graphs, each with stacked bars for complex trending?  I have mutliple datasets which count numbers of detailed tests that passed and failed for each test run and want to see them stacked for each dataset but also want to see the next record on the same chart.  Basically, my x axis is the detailed test number, the y axis is the test run, and the z axis is a stacked bar illustration of how many times this test passed or failed.

0 Kudos
Message 1 of 6
(3,404 Views)

Hi id, 

 

Is this what you are looking for?

 

  IMAGE$31ACF86FE09B5127.jpg

 

 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvpict/3d_bar_plot_vi/

 

You can find an example using the 3D Bar Plot VI in the labview\examples\Math Plots\3D Math Plots directory.

 

Is this what you meant by stacked bars for complex trending?

Peter T
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,376 Views)

Thanks but No.  I am looking for the ability to have a stacked bars with 2 colors - green for pass and red for fail.  Each bar represents the number of tests using a resource (some tests pass, some fail).  Each X axis grouping represents a specific test run. There will be multiple resources for each test and multiple tests for each run. 

 

 

A picture example is attached as to show the flexibility in the object that I would need. 

0 Kudos
Message 3 of 6
(3,371 Views)

Hi id,

 

The 3D Bar Plot.VI is not designed for that functionality, that would be something to add to the Idea Exchange to be considered for future versions of LabVIEW:

 

http://forums.ni.com/t5/ideas/v2/ideaexchangepage/blog-id/labviewideas

 

You might look into using an ActiveX container with a Microsoft Excel graph embedded into it.  Here is a link to using ActiveX in LabVIEW:

 

http://www.ni.com/white-paper/2983/en/

Peter T
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,334 Views)

Thanks Pete,  Do you know where I can get an example of an Excel stacked bar graph object inserted into Labview?

0 Kudos
Message 5 of 6
(3,319 Views)

Hi id,

 

I can't find a clear cut example on that particular case, but if you can make a graph in Excel you should be to embed it in an ActiveX container on the front panel.  Here is the instruction how to do this:

 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/creating_new_controls_in_a/

 

I would recommend posting in a new thred on the discussion forums under one of our ActiveX categories since the solution is not clear cut from the initial question.  You will get more user traffic this way to answer your question.

Peter T
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,304 Views)