LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the number and width of divs of Graph?

Hi, everyone.
As the title, I want to design a virtual scope. And there is something I don't know
how to set about Graph. That is I want to set the number of divs of X-axis and Y-
axis with 10 divs of Y-axis and 8 divs ofX-axis. Additon, i also want to set the
width of each divs. How can I do the setup?
Thanks in advance!
0 Kudos
Message 1 of 3
(2,772 Views)
There are two ways of doing it.
First, to do it offline, right click on the graph in front panel>> dropdown Menu select 'properties'>> Go to Tab 'Scales' and select relevant values for each axis
 
Or to do it programatically, create a property node ( as shown in attached pic)>> select property>> x scale range / y scale range>> change it to write>> create a control to it and you can set following attributes: Minimum, Maximum, Increment, Minor Increment, and Start of that particular axis
 
Hope this helps
 
Regards,
 
Dev
Message 2 of 3
(2,765 Views)
Thank you very much for your instruction and your diagram.
0 Kudos
Message 3 of 3
(2,755 Views)