Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

How to perform the streaming smooth horizontal slide #95

Open
iXo opened this issue Aug 6, 2019 · 0 comments
Open

How to perform the streaming smooth horizontal slide #95

iXo opened this issue Aug 6, 2019 · 0 comments

Comments

@iXo
Copy link

iXo commented Aug 6, 2019

Hello, I would like to build a chart with smooth transition like in this demo :

https://nagix.github.io/chartjs-plugin-streaming/samples/annotation.html

I switched the dataset from linedataset to timelinedataset, but I think that this animation is performed by using the "push" function call on the dataset, and I don't know how to perform this.

So far I created something that may be more or less what I want, in a thread I remove the first value of the dataset list, and add a new value at the end, but this is not smooth. In the link you will see that the X labels are mooving. And I think that the x axis is of time realtime might also be what makes it works.

Is it actually possible to do it or does it needs a modification ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant