How can i create a persistent data chart with Flask and Javascript?
You can try to store the data in a database and or in a file and extract from there .
You can also try to use dash or you can make on the right side a menu with dates like 21 september and see the chart from that day .
For dash you can look on YouTube at Sentdex
I want to add a real-time chart to my Flask webapp. This chart, other than current updated data, should contain historical data too.
At the moment i can create the chart and i can make it real time but i have no idea how to make the data 'persistent', so i can't see what the chart looked like days or weeks ago.
I'm using a Javascript charting library, while Data is being sent from my Flask script, but what it's not really clear is how i can "store" my data on Javascript. At the moment, indeed, the chart will reset each time the page is loaded.
How would it be possible to accomplish that? Is there an example for it?