Chart.js
Chart.js copied to clipboard
Bottom line under 0 (zero) is drawn in line chart but shouldn't if tick beginAtZero is set to 0
Expected behavior
If a dataset lowest value is 0, the line under 0 should not be drawn with settings:
scales: {
y:{
ticks:{ beginAtZer: true, min: 0}
}
}
Current behavior
Line below 0 is shown but lowest value in data is 0.
Maybe i understand something wrong and its not a bug, but how can i get rid of this line ? Sorry if so , any help would be great if its not a bug.
Reproducible sample
master
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v4.4.0
Browser name and version
Safari & Firefox
Link to your project
No response