LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bar graph in 2 dimension

Solved!
Go to solution

I want to display bar graph in 2 dimension. Each bar should represent one channel value.

In another post I did find how to change the x scale from number to strings.

TIA.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 13
(7,060 Views)

What are you having problems with? Do you know how to make a bar graph? If not, have you looked at the examples that ship with LabVIEW.

0 Kudos
Message 2 of 13
(7,055 Views)

 

Yes I did see the examples for multiplot (XY graph). I cannot find any specific example just for making bar graph. Although I did find that Bar plots can be selected from Plot legend. I do want to display multiple channels as a bar graph. DAQ device returns data as 2D array with each channel stored as a column. Please see the attached jpg of how the channels are to be displayed.

*************************************************
CLD
*************************************************
0 Kudos
Message 3 of 13
(7,014 Views)

Please see the attached vi. Each bar shows value of all channels and I want it not to be represented in a stack format. Any suggestions?

*************************************************
CLD
*************************************************
0 Kudos
Message 4 of 13
(7,008 Views)

What about this guy? You can get more help by searching "bar" in example finder.

 

undefined

0 Kudos
Message 5 of 13
(6,995 Views)

Yes I saw this but do not want the 3 dimension dispaly. Someway of plotting so that each bar shows just one channel value and multichannels can be displayed. Please see the image in the previous post.

*************************************************
CLD
*************************************************
0 Kudos
Message 6 of 13
(6,988 Views)

You can view the 3D dimension in 2D. Shortcut->Visible Items->Projection Palette

 

undefined

 

I do not know if the XY Graph is able to change the bar width.

0 Kudos
Message 7 of 13
(6,981 Views)

Thanks I did not know that 3D could be changed to 2D. Bar 1, Bar2 and Bar 3 are repeating in groups for different values and the requirement is to only show it as channel on X axis and their values would change along Y axis. The width of bars is not of concern. Did you do any other change in the code? When I change to 2D I see a stacked representation of the channels/Bars.

 

Another thing I tried was to plot the values once and clear the chart and then plot the next value but that of course did not create the bar appearance. It should be like  a wave plotted on the graph and as the values change is minimal it will be a smooth wave display.

 

*************************************************
CLD
*************************************************
0 Kudos
Message 8 of 13
(6,951 Views)

The 3D Bar has 3 mode: detach, group and stack. What you want is group mode. Check it out from Shortcut->3D Plot Properties->Bar (page).

Message 9 of 13
(6,934 Views)

Thanks.

Seems like 3 D bar graph still does not help achieve the display format that is needed 😞 Are there any other suggestions?

*************************************************
CLD
*************************************************
0 Kudos
Message 10 of 13
(6,923 Views)