Chartjs-Where do I use chartjs's destroy function?

1👍

You should call the .destroy() on your myBarChart variable when you change the selection in the dropdown box.

Leave a comment