LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the graph margin width?

Hi All, I need to show multiple graphs on my panel and having all graphs consistantly showing same size and margine width on its left.  I like to do it with property note, anyone knows how? Thanks. -Bryan
0 Kudos
Message 1 of 5
(2,995 Views)
Hi,
 
You can use the plot area property nodes to set the same width of for multiple graphs programatically
Look at this attached VI to get an idea.
 
As such there is no property node to set the margin width.
Hope this helps
Regards
 
Dev
 
0 Kudos
Message 2 of 5
(2,987 Views)
Hi Dev,
 
Thanks for your vi, but it is critical for me to set the margin width, as it will change whenever the Y scale marker changes in number of digits depending on the data values such as from 0-9 type of data to 100-900 type of values.
 
I am surprised that LV does not provide such a property. I wonder if there is a way to get around this?
 
Bryan.
0 Kudos
Message 3 of 5
(2,984 Views)
You just need to disable the auto resizing depending on the scale. 😉
 
Right-click on your graphs and unselect "advanced...auto adjust scales". Now the graph area will remain fixed. 🙂
Message 4 of 5
(2,979 Views)
Thanks Altenbach, it worked out great! Time for me to review the basics...
0 Kudos
Message 5 of 5
(2,963 Views)