//>>built
define("dojox/charting/Theme","dojo/_base/lang dojo/_base/declare dojo/_base/Color ./SimpleTheme dojox/color/_base dojox/color/Palette dojox/gfx/gradutils".split(" "),function(k,m,l,h,g,n){var e=m("dojox.charting.Theme",h,{});k.mixin(e,{defineColors:function(a){a=a||{};var c=[],b=a.num||5;if(a.colors){var f=a.colors.length;for(var d=0;d<b;d++)c.push(a.colors[d%f]);return c}return a.hue?n.generate(g.fromHsv(a.hue,a.saturation||100,((a.high||90)+(a.low||30))/2),"monochromatic").colors:a.generator?g.Palette.generate(a.base,
a.generator).colors:c},generateGradient:function(a,c,b){a=k.delegate(a);a.colors=[{offset:0,color:c},{offset:1,color:b}];return a},generateHslColor:function(a,c){a=new l(a);var b=a.toHsl();b=g.fromHsl(b.h,b.s,c);b.a=a.a;return b},generateHslGradient:function(a,c,b,f){a=new l(a);var d=a.toHsl();b=g.fromHsl(d.h,d.s,b);f=g.fromHsl(d.h,d.s,f);b.a=f.a=a.a;return e.generateGradient(c,b,f)}});e.defaultMarkers=h.defaultMarkers;e.defaultColors=h.defaultColors;e.defaultTheme=h.defaultTheme;return e});