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