For 4.4.4 it is:
```
options: {
scales:{
x: {
border: {
display: false,
}
},
y: {
border: {
display: false,
}
}
}
}
**For Chartjs version 3.3.2 this works for me**
var barChart = new Chart(ctx,{
type: 'bar',
data: data,
options: {
scales:
{
y: {
grid: {
drawBorder: false, // <-- this removes y-axis line
lineWidth: 0.5,
}
}
}
}
});