Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set the Waveform Graoh X and Y axis range programmatically?

Solved!
Go to solution

I am using my new Measurement Studio 2010 and VB.Net . After sending data to a Waveform Graph, I want to reset the range (minimum and maximum) of the X and Y axis when the user clicks a button. I think the help is telling me that I can't use what I am previously used to in Measurement Studio and that I have to use a constructor to set the ranges. I see the Range constructor Range Constructor (Double, Double) but I don't understand the code sample given for VB. Any direction would be appreciated.

0 Kudos
Message 1 of 3
(4,543 Views)

Graph that is!

0 Kudos
Message 2 of 3
(4,542 Views)
Solution
Accepted by topic author VBRules

Necessity is the mother of invention!

 

Graph1.XAxes(0).Range = New Range (0,100)

 

Beautiful. Thank you for listening Mother.

 

0 Kudos
Message 3 of 3
(4,540 Views)