10-11-2010 03:27 AM
Hello,
I don't understand how is defined the position of the legend of a graph.
After compiling the program, when i execute it on different screens the position is never the same.
For example :
On my screen :
On another screen :
I really dont understand. Someone has an idea ?
Thanks
10-11-2010 04:20 AM
Hi fredmazet,
There is a way to lock your legend to a graph.
Hope this helps!
Regards,
10-11-2010 06:09 AM
Hi JohnMc19,
I thought that your solution was OK, but it seems that the result depends on the resolution of the screen :
The computer under which i develop has a wide 22" screen of 1680*1050. The different legends are correctly placed under this computer.
After a new compilation, on this same computer everything is all right.
On a 19 " screen (1280*1024 resolution), it works perfectly but on a 17" notebook (1440*900 resolution) the result (see under) is bad :
I really dont understand.
Thank you very much for your help.
F.Mazet
10-11-2010 07:09 AM
Hi,
You might also want to try setting the window location.
You can do this by opening your VI, go to:
File>VI properties>>click Windows Run Time Position
Then customise the settings, apart from these ideas i'm not sure how else you could adapt your front panel for varying resolutions.
I will keep looking into this for you!
Regards,
10-11-2010 07:25 AM
It's anchored at the right side of the legend. If you get the right side of the legend attached to the graph, it'll look fine. So either top or bottom right or at the left of the graph.
Felix
10-13-2010 02:48 AM
Thank you F Schubert and JohnMc19.
Well,for the "File>VI properties>>click Windows Run Time Position" panel, i tried but it doesn't works.
Felix, your solution works. But i wanted to place my legend at the right side of the graph because i d'ont have place enough under or above the graph.
So i don't know what to do...
Thank you very much.
F.Mazet