apertureless / vue-chartjs

📊 Vue.js wrapper for Chart.js
https://vue-chartjs.org
MIT License
5.49k stars 831 forks source link

[Bug]: Fill property is ignored in Line Chart #1077

Closed maxchak closed 6 months ago

maxchak commented 6 months ago

Would you like to work on a fix?

Current and expected behavior

Current behavior is: image

However, the expected behavior is that the area below the graph will be filled with the passed backgroundColor: image

Reproduction

Pass this object to a line chart: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ label: 'My First Dataset', data: [65, 59, 80, 81, 56, 55, 40], fill: true, borderColor: 'rgb(75, 192, 192)', backgroundColor: 'rgb(75, 192, 192, 0.5)', }] }

chart.js version

v4.4.1

vue-chartjs version

v5.3.0

Possible solution

No response

maxchak commented 6 months ago

My bad, had to register Filler from Chart JS