LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why with double x-axis graph the scroll-bar move only the first

Solved!
Go to solution

Hi,

I'm using a Graph with more than one plots and 2 x-axis. Some plots  are connected with the first x-axis the others to the second one.

When I use the scroll-bar the graph show me the movement only for the plots connected to the first axis. Can someone tell me why?

What can i do to move all the plots toghether with x-scroll-bar?

greetings

 

0 Kudos
Message 1 of 3
(3,300 Views)
Solution
Accepted by topic author PincoG

Hi,

I did some tests confirming your behaviour: I think that the X scrollbar that can be made visible for waveform graphs is only associated to the first X scale.

To scroll all the traces, I found this possible solution: mimic the behaviour of the scrollbar with a slide control and property nodes to set the range of the X scale to be visible, as described here. Using the graph property "Active X Scale", you can set which scale is active and so to which scale the different other properties must be applied.

I modified the example to add this functionality: in this way, both plots are scrolled when the avlue of the slide is changed.

I hope this can be a solution for you!

Bye!

 

Licia

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

ThankYou a lot for the idea, now i have to work around it, beacouse  it's too easy in that way, (what use can have a graph with two scales with the same value?). I have to try, in the while thanks a lot.

Bye

0 Kudos
Message 3 of 3
(3,273 Views)