💸 Reduce costs by consolidating proprietary analytics & reporting software to open-source & Dash.
Challenge us to replace your analytics with Dash and reduce costs.

Streaming in plotly.js

Hi all, I am looking for a way to draw new points on an existing visualization as become available. I think this would be called streaming. I have looked through the function reference and didn’t find anything that looked appropriate.

I could use the addtraces method, but really what I want to do is append new values to the x and/or y arrays in an existing trace.

Any suggestions on how to do this efficiently in plotly.js?


Use Plotly.extendTraces.

More info: http://stackoverflow.com/questions/34345026/visualising-data-with-javascript-graphs-dynamically/34345451?noredirect=1#comment56435810_34345451

Oh yes thank you.

I stumbled upon your same comment in a githun issue also.