Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop CWGraph from drawing line from baseline to data.

In real time display of data say at 1 data point per second CWGraph draws a line from the baseline and displays the baseline ahead of the data. Can this be turned off?
0 Kudos
Message 1 of 5
(3,546 Views)
I think you just need to uncheck "fill to base" from the "plots" tab of the property page for the CWGraph.

regards,
Eric Meyer
National Instruments
0 Kudos
Message 2 of 5
(3,546 Views)
Sorry Eric - I think I mustn't have explained the problem well enough - it's not a "fill to base" problem - if I generated an "instant" graph of the data array I would not see any lines or fill to base, as these options are disabled - the line occurs as I have a loop plotting the data array as it is filled, so the graph develops at say 1 datapoint/sec. The leading dge of this graph rises from the baseline to the graph - the baseline is plotted ahead of the graph and rises (or falls) to the new data as it is plotted.
0 Kudos
Message 3 of 5
(3,546 Views)
I think more information is still needed to answer this question. What method are you calling to do the graphing? From the description of your application, I would recommend using the "ChartY" method with a single point. Also, I would check the scaling settings for the axis.

I'm still having difficulty picturing the behavior you are seeing. I assume by baseline, you mean the x-axis.
Perahaps, if ChartY does not fix the problem, you could attach a small example project demonstrating the "rise from the baseline to the graph"?

regards,
Eric Meyer
National Instruments
0 Kudos
Message 4 of 5
(3,546 Views)
Thanks Eric - I've resolved my "problem". It was not with the component, but with the code I had copied from a sample program, which I had not studied carefully enough. The graph is now behaving the way I would like it to.
0 Kudos
Message 5 of 5
(3,546 Views)