mje Posted March 17, 2014 Report Share Posted March 17, 2014 I'm on day two of dealing with LabVIEW's poor ability to make a good scalable UI. While trying to deal with automatic scaling issues I've decided to completely bypass and control my layout programmatically. Yep, apparently it's 1999 again... Anyway's today's UI issue du jour is if I set my graph size programmatically via the Plot Area Bounds property, the scales fail to expand beyond their initial size. They will get smaller, and can then grow back up to their original bounds as set in the development environment, but can never grow beyond their initial dimensions: Is there a "proper" way of setting the size of a graph control? Near as I can tell the plot area is the only writable sizing property that can be used. Quote Link to comment
mgunning Posted March 17, 2014 Report Share Posted March 17, 2014 I usually use "Plot Area" >> "Size" rather then "Plot bounds" to resize graphs, but I have no idea if this will fix your issue. Quote Link to comment
Jordan Kuehn Posted March 17, 2014 Report Share Posted March 17, 2014 I usually use "Plot Area" >> "Size" rather then "Plot bounds" to resize graphs, but I have no idea if this will fix your issue. Same here. Quote Link to comment
mje Posted March 18, 2014 Author Report Share Posted March 18, 2014 I usually use "Plot Area" >> "Size" rather then "Plot bounds" to resize graphs, but I have no idea if this will fix your issue. Cheers! So apparently setting the plot area "size" forces the graph to recalculate all of its elements, but setting the "bounds" does not. So there's that. Part of me is very happy you two pointed that out. Part of me is also very sad (though not surprised) at the inconsistency. Quote Link to comment
shoneill Posted March 18, 2014 Report Share Posted March 18, 2014 I have had cases in the past where I explicitly wanted the plot bounds larger than the plot size. I can't remember what it was but it had something to do with using plot images I think. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.