11-07-2020 08:48 AM
Using NXG.
Using a chart or graph I want to label the chart or graph programmatically according to conditions I set in my code. I know how to set my conditions. I can't seem to find a property for "Label" value in any of the properties.
Is there a way to set the label text programmatically?
Solved! Go to Solution.
11-07-2020 10:14 PM
Hey flycast,
You should be able to use the Label property's text to set the name of graphs and charts programmatically. Please note the text will just change while the GVI is running.
All the best,
11-08-2020 01:34 PM
Thanks for that! I keep forgetting that read only properties can have read/write properties of their own.
11-09-2020 01:49 AM
Hi all,
Can we change the label of the axis in runtime too?
11-13-2020 11:49 AM
Currently, there is no way to programmatically change the axis labels, but it is a feature request that should be implemented soon.
As a workaround, you could create your own labels using string indicators, and then write to the value of the strings with whatever you want the labels to be. However, I don't think NXG will allow you to rotate the string indicators at all, so the Y axis label will be horizontal.