LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling editable graph axes from the UIR editor

Solved!
Go to solution

Hi, everyone!

 

This feels like a silly question, but I cannot find what I'm looking for, or I don't understand my problem. I want to make the axes of a graph editable, so the user can enter a value directly to change the range displayed in the graph. I want to do this from the UIR editor, but I can't seem to manage...

 

I found this command: https://zone.ni.com/reference/en-XX/help/370051AG-01/cvi/uiref/cviattrenableeditableaxes/, which sounds like what I want to do.

 

What I have found so far: If I edit my graph, I can check "Editable graph axes" and set my graph control mode to hot. This does not seem to be enough. The link above speaks of a setting called "axis mode", which should be set to VAL_MANUAL or VAL_LOCK. This could be my problem - because I cannot find this setting in the UIR editor.

 

Help?

0 Kudos
Message 1 of 3
(1,106 Views)
Solution
Accepted by guybrush_threepwood

Setting an axis graph to manual scaling simply means to uncheck autoscale attribute on that axis, this way:

 

axis scaling.png



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(1,075 Views)

Aha! Thank you very much! 😄

0 Kudos
Message 3 of 3
(1,052 Views)