Skip to main content
IPrin.1
Associate III
March 7, 2025
Solved

Pause or stop dynamic graph

  • March 7, 2025
  • 1 reply
  • 517 views

I am trying to pause or stop a dynamic graph when data has scrolled to the right hand side once.  I will then use a second and third etc., dynamic graph on top to display further 'screen shots' of data, to create a stack of overlays.

Is it possible to stop the graph scrolling after a given time, or number of data samples?

Thanks

Ian

Best answer by GaetanGodart

Hello @IPrin.1 ,

 

The data will only scroll to the right if a new value is added.

I think that what you want is that if your graph width is 100 values, you want to show a total of 200 values so that it scroll to the right for a whole data's worth of length.

To do so you would simply have to add a number of data that is twice your graph's width (in terms of data points, not pixels).

Please find attached an example where I add 200 data points to a graph that can display 100 data points, with this amount of data, the graph scroll once to the right then stops.

 

I hope this helps!
If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

1 reply

GaetanGodart
GaetanGodartBest answer
Technical Moderator
March 10, 2025

Hello @IPrin.1 ,

 

The data will only scroll to the right if a new value is added.

I think that what you want is that if your graph width is 100 values, you want to show a total of 200 values so that it scroll to the right for a whole data's worth of length.

To do so you would simply have to add a number of data that is twice your graph's width (in terms of data points, not pixels).

Please find attached an example where I add 200 data points to a graph that can display 100 data points, with this amount of data, the graph scroll once to the right then stops.

 

I hope this helps!
If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

IPrin.1
IPrin.1Author
Associate III
March 13, 2025

Thanks so much, I was continuing to pass data to the graph causing it to continuously scroll.  All sorted now. 

GaetanGodart
Technical Moderator
March 13, 2025

My pleasure, I am glad I was able to help you!

Regards,