From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-11-2013 06:05 AM
Hello. Simple question: How programmatically set a graph positon on panel ? I change size and I want alligne all graphs toogether.
06-11-2013 06:17 AM - edited 06-11-2013 06:18 AM
Somehow, your question already contains the answer.
The only step you are missing: you are talking about a property.
hope this helps,
Norbert
06-11-2013 07:42 AM
Yea.. great. I found it, but how to set sizes and position... this is a magic. Nothing work correctly... In other langages is simply... left, top, width, ...here.."bound" - cannot use is read only, using plot area... everything is in chaos... Position something in labview is like a horror....Now I lost about 3 hours and nothing....
06-11-2013 07:46 AM
You are correct that resizing graph elements isn't very easy in LV. Maybe you want to file a product suggestion for it (if not already available....)?
Nevertheless, you can use the PlotAreaSize to resize the graph.
Norbert
06-13-2013 01:41 AM
Take a look on graph "kanal 1". I try set size, position, but results... I cant set position of graph, only a plot area. But then graph background is going to be much bigger. How set size and position of graphs ?? anybody ?
06-13-2013 02:14 AM
You CAN set the position of the graph itself. The property "position" can be changed to "Write".
Resizing of the graph cannot be done on the graph itself as "Bounds" is a read-only property.
For resizing, you have to use the property "PlotAreaSize" which is the height and width of the plot area. You have to offset spaces for axis (labels?) if you want to make sure that the GRAPH gets a certain size rather the plot area.
Default offset for a modern graph with a singel X and a single Y axis are: 94 width (Y axis), 70 height (X axis).
hope this helps,
Norbert