You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a graph displaying real-time data. Over time the number of data points grows impractical to manage, so I have tried to "shave off" the invisible ones. Unfortunately, the animation isn't working right.
Desired outcome:
Actual outcome ("notice how the library thinks that the new data is unrelated to the old one, resulting in the points moving vertically, not horizontally):
@KaappoRaivio Do you have a sharable reproduction of this?
I understand why this would happen, (which is nicely described in this blog), however in my own tests I am seeing a nice horizontal scrolling.
Here is the code that I used to generate that gif.
I have a graph displaying real-time data. Over time the number of data points grows impractical to manage, so I have tried to "shave off" the invisible ones. Unfortunately, the animation isn't working right.
Desired outcome:
![desired](https://user-images.githubusercontent.com/33051516/83755898-e9f94280-a676-11ea-9795-d91a0ceda05a.gif)
Actual outcome ("notice how the library thinks that the new data is unrelated to the old one, resulting in the points moving vertically, not horizontally):
![derpy](https://user-images.githubusercontent.com/33051516/83755980-0ac19800-a677-11ea-8897-5188798578a6.gif)
This is the code that removes the old data:
Is there a way to get rid of the derpiness?
The text was updated successfully, but these errors were encountered: