//>>built
define("dojox/charting/themes/gradientGenerator","dojo/_base/lang dojo/_base/array dojo/_base/Color ../Theme dojox/color/_base ./common".split(" "),function(b,e,f,g,h,k){b=b.getObject("gradientGenerator",!0,k);b.generateFills=function(a,b,d,c){return e.map(a,function(a){return g.generateHslGradient(a,b,d,c)})};b.updateFills=function(a,b,d,c){e.forEach(a,function(a){a.fill&&!a.fill.type&&(a.fill=g.generateHslGradient(a.fill,b,d,c))})};b.generateMiniTheme=function(a,b,d,c,f){return e.map(a,function(a){a=
new h.Color(a);return{fill:g.generateHslGradient(a,b,d,c),stroke:{color:g.generateHslColor(a,f)}}})};b.generateGradientByIntensity=function(a,b){a=new f(a);return e.map(b,function(b){var c=b.i/255;return{offset:b.o,color:new f([a.r*c,a.g*c,a.b*c,a.a])}})};return b});