I am streaming data from a websocket server (python software) to a webpage. When I access the webpage the websocket connection is made and I have some HTML code that starts plotting the data. As a new messages come in the graph updates.
Currently, when I refresh the page all the incoming data is lost, the plot empties and has to wait for a new message to come in before it starts plotting again.
Ideally I would like the client to always be listening to the server and saving the data somewhere so that when I access the page I can see a plot for the entire day rather than from when I loaded the site and when I refresh the page the graph does not reset. Is this possible? Any help or guidance in the right direction would be greatly appreciated,
Thanks