4๐
You can configure the borderwidht per dataset as axtck pointed out in his example. You can also set the default to 1 like this, this will change it for all of your charts: Chart.defaults.global.elements.rectangle.borderWidth = 1;
.
You will have to put this line before you create your chart.
EDIT:
If you want to make it different for only 1 of your charts you can configure the rectangle element in the options and set the borderWidth
like this:
options: {
elements: {
rectangle: {
borderWidth: 15
}
}
}
3๐
You should set the border width for the dataset you would like to apply it to.
Try this:
data: {
datasets: [{
borderWidth: 1,
data: [this.app.malwareSiteCountWeekly, this.app.phishingSiteCountWeekly]
}]
};
Source:stackexchange.com