-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do data from column data swap position in certain row and / How to update data effectively while streaming #1054
Comments
Thanks @stevedanOgochu for the bug report and reproduction.
Perspective does not know anything about your data's "alignment". If you want to see a line chart on a time axis, you need to tell it this explicitly by making While
Remove
This is just a bug in A note for future contributions:
|
I am currently working on a project that uses perspective to stream data in real-time. The data is created and update every x milliseconds. As I was streaming the data I notice that some column data change position in some certain role but weirdly enough does not affect the visualization. This brings me to think, it has something to do with synchronitzation. This can be seen in the following image. How can I solve this issue?
.
The second issue I am having is when I try to update the data, since the new data is not at the exact position as the old data, it produces a weird misalignment.
This effect can be seen in the following image.
I have two questions with respect to this second problem.
1- How do I stop that from happening
2- How to maintain fix the length of the x axis and the y axis. What I mean is how to like for example fix x length to go from 0 to 9 or y from -5 to 5. Also, since the data is constantly updating, I want the new data to move while the view (x-axis and x-axis) remains static.
This is the code in case you want to reproduce the result
`
The text was updated successfully, but these errors were encountered: