Black Lives Matter. Please consider donating to Black Girls Code today.

Get sample of streaming data on graph after clearInterval is called

How are the datapoints on a current streaming graph stored in plotly? Is there a way to access all the points currently plotted on a graph after it is paused?

They are stored on the graph div directly, So

var gd = document.getElementById(/*your graph div id */)

gd.data[0].x // => x coordinates of the 1st trace
gd.data[0].y // => y coordinates ...

should do the trick.