LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when scaling graph with legend

Hi!

 

In LV 2012 I have the follwing front panel layout:

On the right: A waveform graph

On the left: The cursor legend and the graph palette that belong to the graph + other front panel controls

Now I want to make the graph to fit to the main window whenever the window is resized.

 

Unfortunately, it turned out that I cannot use panes (left and right) as I am not allowed to put the legend and the palette into a pane that is different from the graph's pane.


If I work without panes and select "Scale object with pane" for the graph, it seems to scale ok but unfortunately its palette and legend start to vertically overlap with the other controls on the left and sometimes even the graph's legend and palette start overlapping with each other when I resize the main window.

 

Any workarounds and tips are welcome.

 

Regards,

Anguel

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

Yes, there are a lot of problems with that. 

Tip: LabVIEW is not for advanced user interface, especially in resizing. Fonts do not resize, some elements can not be controlled independently, manual change is not smooth, etc. Limit the designer imagination. 

Workaround: Remove autosize plot. Capture event This VI -> Panel resize and recalculate property Plot Area -> Size

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

Thanks for the hint Alexander. In the meantime I set some minimum window size for my VI and this seems to work ok for now. But the UI behavior is far from professional. Really annoying. And unfortunately it is not only the UI...

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