LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Bar chart (sideways histogram) in CVI?

Has anyone ever seen a histogram rotated 90deg in LabWindows/CVI? In Excel, this is called a bar chart, if that is a more familiar description.
thanks
bill
0 Kudos
Message 1 of 2
(3,872 Views)
Try using the PlotX function, passing it a Plot Style of VAL_HORIZONTAL_BAR. As long as you want the values in the Y axis to be uniformly spaced, this plot type should do the trick. (If you don't want the Y values to be 0...n-1, then use the ATTR_YAXIS_OFFSET and ATTR_YAXIS_GAIN attributes to modify them.)

Luis Gomes
NI
0 Kudos
Message 2 of 2
(3,872 Views)