LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I programatically change x-axis maximum in a PLOTY graph?

the x-axis maximum seems to be established in the uir file only, but if conditions in the program change, I would like to re-layout the graph with a new maximum.
Thanks
0 Kudos
Message 1 of 3
(2,708 Views)
To set the X-axis of a graph you can use

SetAxisScalingMode (panel, control, VAL_XAXIS, VAL_MANUAL, min, max);

Roberto


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
(2,708 Views)
well that was easy. I swear that I searched all over the site for this answer. I guess that I didn't choose my keywords very well.
thanks very much
0 Kudos
Message 3 of 3
(2,708 Views)