You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This little program looks fun. But I just want to let you know that there's an memory issue with the js code. I am really not a js expert but you can check it in chrome using snapshots or other tools. In dashboard.js you keep create charts but you never delete them. I think it would be better to use the update method of Chart.js. You declare the charts in main.html and you update them in dashboard.js using the data returned by the usage/views.py functions.
The text was updated successfully, but these errors were encountered:
Hi,
This little program looks fun. But I just want to let you know that there's an memory issue with the js code. I am really not a js expert but you can check it in chrome using snapshots or other tools. In dashboard.js you keep create charts but you never delete them. I think it would be better to use the update method of Chart.js. You declare the charts in main.html and you update them in dashboard.js using the data returned by the usage/views.py functions.
The text was updated successfully, but these errors were encountered: