[Chartjs]-Chart looks only grey, does not show the color – Chartjs,discordjs

1👍

The color you’re getting now is the default color the library has set rgba(0, 0, 0, 0.1), and this is because you’re giving an array instead of a string or a canvas pattern/gradient object borderColor: [].concat(dataColors). General stats command line 97

For more info you can check here
https://www.chartjs.org/docs/latest/general/colors.html

Leave a comment