

I really don’t want to display value on the bar…how can I get rid of it?
this.painChart = new Chart(this.painCanvas.nativeElement, {
plugin: [ChartDataLabels],
type: 'bar',
data: {
labels: [1,2,3,4,5,6,7,8,9,10],
datasets: [{
data: [this.onecount,this.twocount,this.thirdcount,this.fourcount,this.fivecount,this.sixcount,this.sevencount,this.eightcount,this.ninecount,this.tencount],
backgroundColor: "#ced0d6",
borderWidth: 3,
}]
},
options: {
legend: {
display: false
},
scales: {
xAxes: [{
categoryPercentage:1.0,
barPercentage: 0.2,
barThickness: 10,
maxBarThickness: 10,
minBarLength: 5,
gridLines: {
drawOnChartArea: false,
offsetGridLines: true
}
}],
yAxes: [{
gridLines: {
offsetGridLines: false
},
ticks: {
beginAtZero:true,
max:30
}
}]
}
}
});