01-04-2006 05:13 PM
01-04-2006 07:45 PM
Hi jspaarg,
You only need to tweek your code a bit to make this work!
Instead of displaying the Array label, you want to hide the label, but display the "Caption". The caption can be changed.
01-05-2006 08:30 AM
Thanks!
Worked perfectly for exactly what I wanted.
I haven't tried too much yet, but the other problem that I am having is that I am trying to change the label on the Y Axis of a waveform graph.
It says "Amplitude" by default, and I can't seem to change it. The only thing that I have tried is a property node -> YScale.UnitLabel.Text.
Any other ideas.
All help is appreciated.
01-05-2006 02:54 PM
Hi,
If you wish to change the label programmatically (during runtime), choose YScale.NameLbl.Text from the graph property node. However, if you want to do it during edit time, you can simply click on the label itself, and edit it using the "edit text" tool.
Regards,
AG
01-05-2006 03:04 PM
Thanks, NameLbl is exactly what I needed.
I need to change programatically because I use the same graph for different measurements based on other user selections.
Now all I need to do is find out what UnitLabel changes.
01-06-2006 10:40 AM
No Problem. Whenever you need to find out about a certain property (or anything else as a matter of fact) just Open Context Help (Ctrl+H) and hover over the desired object. The explanation will appear in the context help window, and will refer you to more help pages if those are necessary.
In the unit label case: "You can associate physical units of measure, such as degrees Fahrenheit or kilometers/second, with any numeric control or indicator that has floating-point representation."
Best of luck!
AG