From: Leigh Quince Date: Wed, 20 May 2015 19:43:29 +0000 (+0200) Subject: fix for radar chart ignoring datasetFill option X-Git-Tag: v1.1.0~64^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1127%2Fhead;p=thirdparty%2FChart.js.git fix for radar chart ignoring datasetFill option --- diff --git a/src/Chart.Radar.js b/src/Chart.Radar.js index 00da8f663..6d00eeb12 100644 --- a/src/Chart.Radar.js +++ b/src/Chart.Radar.js @@ -320,8 +320,9 @@ ctx.stroke(); ctx.fillStyle = dataset.fillColor; - ctx.fill(); - + if(this.options.datasetFill){ + ctx.fill(); + } //Now draw the points over the line //A little inefficient double looping, but better than the line //lagging behind the point positions