Flask & Chart.js - data on charts doesn't refresh
Has anyone tried to put together charts with Flask and Chart.js on replit?
I am having troubles in updating the chart I've created. It kind of works but is temperamental in the way that if I change the data in the "data" list, it doesn't get reflected on the chart.
Any help would be very appreciated!
Is it because you only have 9 data things for both
backgroundColor
andlabels
?Thanks for your answer! It appears that when I open the app in new window and refresh it, the chart adjusts and incorporates the new data. So it kind of works although seems a bit temperamental.