Radar charts always filled
KermitPPI opened this issue · 2 comments
KermitPPI commented
Greetings,
I'm trying to use the datasetFill option for radar charts and set it to no filling; however, when I set the datasetFill option to no, the chart is always filled. This option works for line charts but not for radar charts. Is this an issue with the widget or does it have anything to do with chartjs? Thank you for your help.
KermitPPI commented
Hello, I actually just figured out that there was a bug with the ChartJS library, it has been fixed here https://github.com/nnnick/Chart.js/pull/1127/files , if you update the charts.js file in the widget with the three lines of code below, the datasetFill option will work. @GREdens
ctx.fillStyle = dataset.fillColor;
if(this.options.datasetFill)
{
ctx.fill();
}