I'm using angular 6 and I have a vertical bar chart. I want to make the bar's corners rounded! How can I do it?
Here is part of the code:
.ts
ngAfterViewInit() {
this.canvas = document.getElementById('barChart');
this.ctx = this.canvas.getContext('2d');
let myChart = new Chart(this.ctx, {
type: 'bar',
data: {
labels: this.my_labels,
datasets: [
{
label: '',
fill: false,
backgroundColor: [
'#2699fb',
'#2699fb',
'#2699fb',
],
borderWidth: 1,
data: [12000, 18000, 65000],
}
]
},
options: {
responsive: false,
legend: {
display: false
}
}
});
}