Closed
Description
Expected behavior
Fill area should be clipped to the top/bottom of the scale that the dataset is associated to.
Current behavior
Fill area is drawn on full chart area, regardless the scale boundaries.
Reproducible sample
https://codepen.io/ZielaA/pen/XJWoJEw
Optional extra steps/info to reproduce
No response
Possible solution
In file filler.drawing.js in function clipBounds
change the drawing area
from
const {top, bottom} = scale.chart.chartArea;
to
const {top, bottom} = scale;
Context
No response
chart.js version
4.4.0
Browser name and version
No response
Link to your project
No response