var options = {
scales: {
xAxes: [{
barPercentage: 0.9
}]
}
}
/* Try setting the barThickness:'flex' in the datasets: */
datasets: [{
label: 'Total Views',
data: mydata,
backgroundColor:'rgba(0, 0, 0, 1)',
barThickness:'flex'
}]