//>>built
define("dojox/charting/plot3d/Cylinders","dojox/gfx3d/matrix dojo/_base/declare dojo/_base/Color dojo/_base/kernel dojo/has ./Base".split(" "),function(l,m,n,p,q,r){return m("dojox.charting.plot3d.Cylinders",r,{constructor:function(b,d,a){this.depth="auto";this.gap=0;this.data=[];this.material={type:"plastic",finish:"shiny",color:"lime"};this.outline=null;a&&("depth"in a&&(this.depth=a.depth),"gap"in a&&(this.gap=a.gap),"material"in a&&(b=a.material,"string"==typeof b||b instanceof n?this.material.color=
b:this.material=b),"outline"in a&&(this.outline=a.outline))},getDepth:function(){if("auto"==this.depth){var b=this.width;this.data&&this.data.length&&(b/=this.data.length);return b-2*this.gap}return this.depth},generate:function(b,d){if(!this.data)return this;var a=this.width/this.data.length,g=0,h=this.height,c=this.data,t=Math.max,e=void 0;c="string"==typeof c?c.split(""):c;e=e||p.global;for(var f=c[0],k=1;k<c.length;f=t.call(e,f,c[k++]));h/=f;d||(d=b.view);for(c=0;c<this.data.length;++c,g+=a)d.createCylinder({center:{x:g+
a/2,y:0,z:0},radius:a/2-this.gap,height:this.data[c]*h}).setTransform(l.rotateXg(-90)).setFill(this.material).setStroke(this.outline);q("dojo-bidi")&&this._checkOrientation(b)}})});