]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fix for radar chart ignoring datasetFill option 1127/head
authorLeigh Quince <leighquince@quincewebdesign.com>
Wed, 20 May 2015 19:43:29 +0000 (21:43 +0200)
committerLeigh Quince <leighquince@quincewebdesign.com>
Wed, 20 May 2015 19:53:30 +0000 (21:53 +0200)
src/Chart.Radar.js

index 00da8f6631ea2183d707a018bc5131cf1bc176db..6d00eeb12b7e7af83802a5f855144b137c7b2d46 100644 (file)
                                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