06-14-2012 07:49 AM
I would like to know if there is a way to control the name of the x and y axis labels programmatically on an xy graph. I have a case statement that has 4 different cases, and I would like the label of the y axis to change and correspond with the case that is chosen. I'm using volts, volts squared rms, dBV, and dBFS, and I want the y axis to reflect which case I'm doing by changing it accordingly. The way I want to go about it (if this is possible) is delete the axis title each run and within each case I would program the correct axis label. (Volts for volts, dB for dBFS and so on...)
Thanks
Solved! Go to Solution.
06-14-2012 07:57 AM - edited 06-14-2012 07:58 AM
Yes you can use the property node of the XY Graph (YScale.NameLabel.Text and XScale.NameLabel.Text).
06-14-2012 08:00 AM
You will need to use propery nodes to do this. If you look on the tool palete you you find them here:
Then you will need to find this property
06-14-2012 08:12 AM
Yes this is exactly what I needed. My case statement only needed to be around the property node. I made 4 different graphs the first time I ran it. But yes thank you much