LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the ATTR_XAXIS_OFFSET and ATTR_XAXIS_GAIN for the top x axis

I would like to set the value label for both bottom and top x axis. When I use ATTR_XAXIS_OFFSET and ATTR_XAXIS_GAIN, the bottom axis is affected. How do I change the value label of the top x axis?
Thanks.
0 Kudos
Message 1 of 2
(2,992 Views)
Hi Lam,

You have to set the active axis to be able to modify the top axis. Something like this:
SetCtrlAttribute (panelHandle, PANEL_GRAPH, ATTR_ACTIVE_XAXIS, VAL_TOP_XAXIS);

I hope this helps.

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,992 Views)