From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to move x scroll bar automatically in the graph?

i want to use x scroll bar for watching all data with fixed x scale.

 

but when over x scale, I should use mouse to show current data.

It means , x scroll is fixed at left.

I want to fix x scroll at right.

how can i do that?

please reply for this.

thank you

0 Kudos
Message 1 of 3
(2,972 Views)

Hi q,

 

set the X axis min/max so it shows the latest data: the scrollbar will move to the right…

 

I want to fix x scroll at right.

Why do you use the scrollbar when you want to have it fixed? What's the sense in this?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,954 Views)

You need to set X axis limits programmatically every time when you update graph data

Property node -> X-scale -> Range -> Maximum, minimum

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