From: Damian Silbergleith Cunniff Date: Sat, 26 Dec 2015 16:09:43 +0000 (-0700) Subject: Add default global values for Color and Highlight color X-Git-Tag: v1.1.0~24^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a868a2f61eff3853e8e0777f17334a5e10f22e37;p=thirdparty%2FChart.js.git Add default global values for Color and Highlight color --- diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 952c887a8..31a29f155 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -173,6 +173,12 @@ // String - Colour behind the legend colour block multiTooltipKeyBackground: '#fff', + // Array - A list of colors to use as the defaults + segmentColorDefault: ["#668CFF", "#8C66FF", "#D966FF", "#FF66D9", "#FF668C", "#FF8C66", "#FFD966", "#D9FF66", "#8CFF66", "#66FF8C", "#66FFD9", "#66D9FF", "#295EFF", "#003BEB", "#FFC929"], + + // Array - A list of highlight colors to use as the defaults + segmentHighlightColorDefaults: ["#6633FF", "#CC33FF", "#FF33CC", "#FF3366", "#FF6633", "#FFCC33", "#CCFF33", "#66FF33", "#33FF66", "#33FFCC", "#33CCFF", "#003DF5", "#002EB8", "#F5B800", "#B88A00"], + // Function - Will fire on animation progression. onAnimationProgress: function(){},