Chartjs-In chart.js , change color of chart by clicking button

1👍

You can make a new chart or update your chart with the new colors in the options or in your dataset. There’s no function with changes all colors to a dark mode, you have to change all colors on your own.

I can’t give you all the possible color options, there’s simply too many. Just look at the docs or maybe here for a few examples. You can for sure change e.g. all the dataset and background colors.

Leave a comment