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:

Oh yes thank you.

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