From: Christopher Weiss Date: Tue, 21 Oct 2014 17:32:45 +0000 (-0400) Subject: Update Chart.Doughnut.js X-Git-Tag: v2.0-alpha~47^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73faf3413bbcc0819c02e84b87b206c653887ce0;p=thirdparty%2FChart.js.git Update Chart.Doughnut.js --- diff --git a/src/Chart.Doughnut.js b/src/Chart.Doughnut.js index b3ab6ebfc..f1dcaf1c1 100644 --- a/src/Chart.Doughnut.js +++ b/src/Chart.Doughnut.js @@ -152,7 +152,7 @@ value : segment.value, outerRadius : (this.options.animateScale) ? 0 : this.outerRadius, innerRadius : (this.options.animateScale) ? 0 : (this.outerRadius/100) * this.options.percentageInnerCutout, - fillColor : segment.color || hue(index, this.segments.length), + fillColor : segment.color, highlightColor : segment.highlight || segment.color, showStroke : this.options.segmentShowStroke, strokeWidth : this.options.segmentStrokeWidth,