LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

using CWgraph for bar graph with labwindows

Hello,
i'm trying to use the activeX control CWgraph in Labwindows for displaying a bar graph but I don't understand how this control works. In my bar graph, I want that each bar have the same size and have the same space between them and all I obtain is a graph with bars of decreasing size with no space between them. Can anybody help me on this? Thanks.
0 Kudos
Message 1 of 2
(2,915 Views)

Hello,

To display a bard graph, you have to configure the plot attributes. The attribute LineStyle must be set to LineStepXY to have steps. The attributes FillToBase and LineToBase must be set to VTRUE.
There is no way to insert space between each bar, nevertheless ou can insert values in your data array.
You will find an example attached to this thread.

Regards,

0 Kudos
Message 2 of 2
(2,872 Views)