danionescu0 / docker-flask-mongodb-example

Uses docker compose with a python flask microservice and MongoDB instance to make a sample application
GNU General Public License v3.0
99 stars 41 forks source link

Use Dash framework to plot a live graph #93

Closed danionescu0 closed 3 years ago

danionescu0 commented 3 years ago

A live graph may be usable for plotting mqtt sensor data

https://github.com/plotly/dash/

neelabalan commented 3 years ago

Hi. I've worked on this before. Is it possible to have live graph plotting with dash? I had to refresh the browser everytime to get the latest data.

danionescu0 commented 3 years ago

Hello I found something in the documentation, which might be use for "live" data: https://dash.plotly.com/live-updates

neelabalan commented 3 years ago

Hi. I tried the sample code from the link you have shared and I noticed that the browser title bar has this nagging "updating..." everytime an update was made. I came across this issue in their repo and they seem to have put an update for this in dash==1.14.0.

https://github.com/plotly/dash/issues/732

danionescu0 commented 3 years ago

Closing because dash does not have a true live update