I have a vertical bar chart with chartjs and each bar have in the top a label of 100% but the value of the bar is not 100%, that is a wrong value, i need to remove that label.
I tried to put label display in false and remove extra code to see if the label disappear but nothing happens.
javascript
var myBarChart = new Chart(barChartCanvas,{
type: 'bar',
data: {
labels: ['satisfaccion', 'insatisfaccion'],
datasets: [
{
data: [35, 57],
backgroundColor: [
'#7eb902',
'#f15021'
]
}
]
},
options: {
legend: {
display: false,
},
plugins: {
colorschemes: {
scheme: 'tableau.Tableau10'
},
},
scales:{
yAxes:[
{
ticks:{
beginAtZero:true,
suggestedMax: 100
}
}
],
xAxes:[
{
barThickness : 73
}
]
}
}
});