2👍
Set drawTicks: false
to fix it. Those lines are meant to act as pointers to the ticks.
// Chart.js v3.9.1
options.scales.x.grid.drawTicks = false;
-1👍
you need to disabled it , try this
var options = {
scales: {
xAxes: [{
gridLines: {
display: false,
}
}],
yAxes: [{
gridLines: {
display: false,
}
}]
}
}
- Chartjs-Programmatically change to another key in object
- Chartjs-I need help on Optimization of Laravel Controller
Source:stackexchange.com