Thanks @kikon for the answer (upvoted it). The final resolution as he mentioned was the ticks still having space to e drawn even though we were not drawing them.
scales.y.grid.drawticks = false
was the final option that did it for us.
Thanks!
scales: {
x: {
stacked: true,
min: 0,
max: total.value,
beginAtZero: true,
grid: { display: false, drawBorder: false },
ticks: { display: false },
border: { display: false },
barPercentage: 1.0,
categoryPercentage: 1.0,
},
y: {
stacked: true,
beginAtZero: true,
grid: { display: false, drawBorder: false, drawTicks: false },
ticks: { display: false },
border: { display: false },
barPercentage: 1.0,
categoryPercentage: 1.0,
},
},