LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Scale

Has the scaling method changed for an XY graph between LabVIEW 7 and LabVIEW 2014? I have a program from LabVIEW 7 that I'm upgrading to LabVIEW 2014 and the scaling behavior is different. I'm trying to determine the reason and wondered if there was some change that I can't find documented. 

0 Kudos
Message 1 of 12
(4,176 Views)
There have been numerous changes since version 7 but you don't mention the method you were using or how the behaviour is different. Attach some code or at least provide some detailed information. My magic eight ball is on the fritz today.
0 Kudos
Message 2 of 12
(4,166 Views)

Dennis,

 

I don't have version 7 so I can't provide an example. The x-scale is a date code. When I put the same data into the 2014 version the data is plotted correctly, but the axis max and min are different. The desire is that the upgraded version display the data exactly like the previous version. The scale is set to autoscale. 

 

Thanks for your help.

0 Kudos
Message 3 of 12
(4,127 Views)

There is a setting called Loose Fit that I believe was added sometime after LV 7.  Perhaps that is the difference in your case.

0 Kudos
Message 4 of 12
(4,122 Views)
But you would have 2014 so there is no reason you can't provide an example and explain why you think there is a difference.
0 Kudos
Message 5 of 12
(4,113 Views)

I can't show the difference with only 2014. I'm going to see if I can take a screen shot from the executable from 7 and from 2014 and crop so only the chart shows, getting rid of any proprietary info.

0 Kudos
Message 6 of 12
(4,107 Views)
And you are unwilling to show your 2014 code?
0 Kudos
Message 7 of 12
(4,102 Views)

Yes.There is extremely too much proprietary information in the code. 

 

I have attached the screenshots to this post. I believe that they show the problem. In this case Loose Fit is unchecked.

Download All
0 Kudos
Message 8 of 12
(4,097 Views)

And here it is with Loose Fit checked.

0 Kudos
Message 9 of 12
(4,093 Views)

The graph looks the same.  It takes looking closely to notice the dates are off by a day.  Odds are, something changed in the past ten years with whatever algorithm you're using to set the date.  Take a look at that.

0 Kudos
Message 10 of 12
(4,056 Views)