nagix/chartjs-plugin-colorschemes

how add bordercolor?

0x14Rp opened this issue · 2 comments

if i use
colorschemes: { scheme: 'brewer.Paired12', }
how can add bordercolor to my graphic?

ger82 commented
let chartColorsBlue = 'rgb(54, 162, 235)';
....
datasets: [{
    label: "foo",
    fill: false,
    backgroundColor: [chartColorsBlue],
    borderColor: [chartColorsBlue],
    ...
]}

https://www.chartjs.org/docs/latest/
https://nagix.github.io/chartjs-plugin-colorschemes/

thanks this works fine! 🤘