From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set name of X and Y in Graph?

Solved!
Go to solution

Hello,

what is the property name to set the name of the x and y at the border of a graph?

The good souding property XScale.Name.Label.text is not working (or is doing something different 🙂

Thanks

best regards

TM

0 Kudos
Message 1 of 7
(1,396 Views)

For me the "X Scale.Name Label.Text" works as expected: it changes the scale label…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(1,379 Views)

Perhaps you should share some code and/or give a better explanation of what you were expecting. My suspicion is that the Xscale.Name Label.text is working properly but your code is not giving it the value that you think it is giving - but I'm only guessing since I have not seen the code.

0 Kudos
Message 3 of 7
(1,370 Views)

Attached a screenshot with marked text that i want to change.

0 Kudos
Message 4 of 7
(1,362 Views)
Solution
Accepted by topic author OnlyOne


If you want to change the Y axis label then you should change Yscale, not Xscale.

0 Kudos
Message 5 of 7
(1,344 Views)

head->table

0 Kudos
Message 6 of 7
(1,341 Views)

Hi One,

 


@OnlyOne wrote:

head->table


Lesson learned: always provide code right from the beginning!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(1,298 Views)