LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get my graph to stop auto-scaling?

I am not a new programmer and I know how to make a graph auto-scale... IF I want it to.  However, I have a cluster of graphs (strip charts and waveform graphs act the same) that take in values and update each time.  My issue is that I have a static window size and all of the graph start out 'square' with each other.  Then based on how large the y-axis numbers of each different graph get the whole graph grows and shrinks accordingly.  So it kind of makes my graphs look like a sideways equilizer settings type thing from my stereo.
 
I'd like to keep the x-axis from changing size based on the y-axis number size.  If anyone can help it would be greatly appreciated.  I can send a sample of the problem if necessary.
 
Thanks,
Barney
0 Kudos
Message 1 of 9
(5,955 Views)
Just right-click the graph and deselect auto-scale.
PaulG.
Retired
0 Kudos
Message 2 of 9
(5,951 Views)
That does not work.  Like I said, I'm not a new programmer.  That would seem like the most simple solution however, every time a new point is written to the graph it returns to auto-scaling.  That being said... I would like it to auto-scale to the value ranges.  That is a feature that I'd like to maintain, however I don't want the x-axis length to grow and shrink based on the size of the numbers displayed on the y-axis. 
0 Kudos
Message 3 of 9
(5,943 Views)
My apologies. I didn't read your post carefully enough. Have you tried assigning values to your x scale using property nodes?
PaulG.
Retired
0 Kudos
Message 4 of 9
(5,925 Views)
Perhaps the easiest solution is to go to an SI scale and set the number of significant digits constant.  Therefore there are the same number of digits (with an E+) but they represent different numbers.  This solution probably doesn't warrant an example, but I attached one anyway.

Cheers.
0 Kudos
Message 5 of 9
(5,916 Views)

Please check this thread.

http://forums.ni.com/ni/board/message?board.id=170&message.id=106639&requireLogin=False

This sounds a lot like a collection of bugs that CC found with scaling of the charts and graphs.

Under exactly the wrong conditions, it was possible to get a graph to re-size itself right off the edge of the screen.

 

Please let us know if this thread and its realted links fits this scenario your are seeing.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 9
(5,903 Views)

This link was ok... but it still did not solve my problem.  I saw the 'Advanced... Reset Scale Layout' but that made my graphs larger than I'd like them.  So when I resized them the problem persisted.  Also, I don't really have the option to swap sides on my y-axis. 

It worked fine in LabVIEW version 6.1 but since the upgrade to LabVIEW 7.1 it hasn't worked.

I've attached a VI.  Note how the left side of the graph grows and shrinks as the graph progresses. 

Any ideas?

0 Kudos
Message 7 of 9
(5,883 Views)

Yes that looks like another manifestation of the bugs CC was chasing last year.

 

The only advise I can offer is try setting the font of the "Y-scale" to "Left justify". Provided the scale changes do not demand more room than is available, this may work for you.

 

I am linking this thread to the bug list.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 9
(5,879 Views)

This thread has been linked into the bug thread.

http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=1260

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 9
(5,875 Views)