LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

histogram

Hi all,
somebody could explain me, why the size of colums change.
if you look the VI, you see that i don't change the size.
thank
0 Kudos
Message 1 of 4
(2,794 Views)
ooup sorry i forgot to send you the VI
0 Kudos
Message 2 of 4
(2,794 Views)
Apparently, the default behavior for an XY bar graph is to vary the width of the bar depending on how much room each point has in the X direction. It's possible that there's a way to override this, but I can't see a way to force the bars to be fixed-width.

I modified this example to accomplish what you want, though the underlying data had to be expanded in order to do so. The attached library has a top-level example VI that shows how the process works on one of your datasets. You can modify your code to use my example by using two of the "XY Data to Fixed-Width Bar Graph" VIs to operate on your datasets.

Hope it helps,
John
Message 3 of 4
(2,775 Views)
thanks a lot to your answer
0 Kudos
Message 4 of 4
(2,751 Views)