NI Home > Community > NI Discussion Forums

Measurement Studio for VB6

Showing results for 
Search instead for 
Do you mean 
Reply
Member
bartinoregon
Posts: 19
0 Kudos

How do you hide a graph trace

Hello,

 

Am using a measurement studio graph (strip chart)(cwui.ocx) in a vb.net project. I want to be able to "turn off" a trace on a multi trace graph. If I set a particular trace color to the graph background color (white), it hides other traces at points of intersect. If I set the trace to be off screen, you see the vertical portions of that trace as it goes off screen. Is there another way to "turn off" a trace and not have it be visible.

 

Thanks,

Bart

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: How do you hide a graph trace

Hi bartinoregon,

 

What version of mesurement studio are you using? What version of VB are you using? Can you upload a screen shot of what you have so that I could see what you arte working with?

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
Member
bartinoregon
Posts: 19
0 Kudos

Re: How do you hide a graph trace

Perry,

 

I found a solution...but it was too obvious. I did not see the .trace.visible property originally. Now all OK.

 

BTW was using verion 6 of measurement studio with VB.net 2008.

 

Thanks,

Bart J

 

 

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: How do you hide a graph trace

Hi bartinoregon,

 

Thanks for letting me know. I am happy that you found a solution.

 

Perry S.

Applications Engineer
National Instruments