From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Yaxis maximum and minimum values

Dear All,
 
 I try to set maximum and minimum values of Xaxis for scatterPlot object but I failed.
It returns an error "it is read only", to set the maximum value use the constructor.
 
I look inside the help file but there is no example code.
 
Any help?
 
Regards
Cengiz EKEN
Test Engineer
0 Kudos
Message 1 of 2
(3,048 Views)

In VB2005 you can set the YAxis range as follows: -

NameOfPlot.YAxes.Item(0).Range =New NationalInstruments.UI.Range(minimumvalue,maximumvalue) 

StevieB

0 Kudos
Message 2 of 2
(3,038 Views)