I\'m trying to update chartjs datasets using js functions. The issue is that I have a varying number of charts based on the returned values from my database. So when I send