11-10-2008 11:01 PM
11-10-2008 11:30 PM - edited 11-10-2008 11:33 PM
Create a Property Node of the Graph indicator
Right-click the property node > Properties > X Scale > Scale Fit
You will get XScale.ScaleFit property of the graph
Set it to 1 (Autoscale Once)
Place it in a case (TRUE) which is executed by a boolean button (your separate Auto-Scale button)
Likewise for Y Scale.
11-11-2008 12:08 PM
Ian,
Thanks a lot for the help.
I was hoping there is a way to use the built-in autoscale control, since it works outside of the main program loop, for example even when the vi is not running, and doesn't require any additional code. Is there no way to customize the scale legend in this way?
11-11-2008 06:09 PM
11-11-2008 06:16 PM
Vince,
I suspected that was the answer since what you described was the best I was able to do when customizing the graph control. I was hoping some trick existed that I hadn't discovered yet. Oh well. I will follow Ian's advice, and that will be good enough.
Thanks,
Eric
11-12-2008 11:59 AM
Hi,
I saw that you were going to use Ian's advice to help you with you issue. Just wanted to remind you to select his post as the "accepted solution".
11-12-2008 12:19 PM
Claire,
While I appreciate Ian's suggestion, I feel it is more of a work-around rather than a solution to the question I posed. The real question is whether or not the controls built in to LabView graphs are truly customizable, and apparently the answer is no. Therefore I don't believe this thread deserves a bright green Solved! next to it in the thread list. I would rather leave it open-ended for any other tricks or suggestions that other users may be able to offer, and as an indication for NI that the customization of controls and indicators is one area where LabView could use some improvement.
Eric
11-17-2008 10:11 AM
11-17-2008
10:16 AM
- last edited on
04-30-2025
03:58 PM
by
Content Cleaner
Have you look at Customizing Graphs and Charts ?
11-17-2008 11:53 AM