LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change the text size of the legend of an XY graph programmatically?

umm.. I think the subject asks it all. I looked at the property list of an XY graph but couldn't find the right attribute.
 
Thank you.
 
Jae Ho Jeon
LV7.1
0 Kudos
Message 1 of 5
(3,838 Views)
You don't use the property node at all.  Just highlight the text, then go up to the font toolbar.  Pull down the font sizes and click the one you want.
 
eric
0 Kudos
Message 2 of 5
(3,830 Views)
Yes, that's right. But I was tyring to do it programmatically. But I guess there really isn't a reason for changing the font size of the legend when the programming is running.
 
Thanks anyway.
 
Jae Ho
0 Kudos
Message 3 of 5
(3,822 Views)
Hi Jae,
 
There is no easy way to do this programmatically.  If you really want to however, you could put a string indicator (w/ transparent background) on top of your plot legend and use this instead.  This way you could resize the text in the string indicator (which is pretty straight forward).  I've attached a small example that shows how to do this.
 
I hope this helps,
Justin D
Message 4 of 5
(3,800 Views)
Some time ago there was a discussion about undocumented property node values for chart cursor pallettes,... I think Ben was involved in it. I searched but can't find it. I don't think it talked about the plot legend.
0 Kudos
Message 5 of 5
(3,778 Views)