NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
bartinoregon
Posts: 11
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: 11
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
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page