LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scale Fit Not Working Correctly

Hello, I have a front panel with a tab control containing 12 tabs. Each tab contains a cluster with one of the controls as an XY Graph. When I populate each of the graphs with data, I want to set the "Scale Fit"  or "ScaleFit" property to 1 so that each graph is autoscaled 1 time. The problem I am running into is that only the graph that is shown is scaled correctly. The other 11 plots do not get scaled at all even if I set the "Autoscale" property to "On". This looks like a bug of some sort. Has anyone found a workaround? I tried turning on/off "Loose Fit" and this does not help. 

 

I am running LV 8.5 on a WinXP machine.

 

Michael

0 Kudos
Message 1 of 3
(2,750 Views)

Hi Michael,

i think only the visible page will be updated. To get what you need you can create a value change event of the tab page and autoscale the xy graph if the tab is visible.

 

Hope it helps.

Mike 

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

Hi Mike,

 

Updating only 1 tab out of 12 doesn;t work, however, I guess I can do a single scale fit to other tabs if there has not been a scale fit done on the page before. Kind of a lot of work but I can swing it. Seems like NI should get this fixed.

 

Mike 2

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