LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem facing when change the scaling of graph control

Hi,
 
I am drawing two plots, one is with respect to left Y axis and anothor one is with respect to right Y axis. I am able to draw the plots as per my requirement. But when I changed the scaling of left Y axis, it applies to both plots.  I think it is because of LEFT Y-axis is active that time. But logically it should not happen. For me only option is redraw plots once scaling is changed. I just wanted to know is this bug in CVI or it is like this only.
 
Gajanan
0 Kudos
Message 1 of 3
(2,724 Views)
Gajanan,
 
if you set the active y-axis BEFORE plotting the diagram, the plot should not be changed resizing the other axis. Look at the sample project attached: press "Plot" button to draw something on the screen and the "Change right" button setting axis to 0 ÷ 1000: the plot related to left y-axis remains unchanged.


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?
0 Kudos
Message 2 of 3
(2,720 Views)

Hi Roberto,

Now I got it.

Thanks

Gajanan

0 Kudos
Message 3 of 3
(2,710 Views)