How to perform the streaming smooth horizontal slide
iXo opened this issue · 0 comments
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 ?