text: /* YUI 3.9.0pr1 (build 202) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
  YUI.add("series-histogram-base",function(e,t){function r(){}var n=e.Lang;r.prototype={drawSeries:function(){if(this.get("xcoords").length<1)return;var t=e.clone(this.get("styles").marker),r=this.get("graphic"),i,s,o=this.get("xcoords"),u=this.get("ycoords"),a=0,f=o.length,l=u[0],c=this.get("type"),h=this.get("seriesTypeCollection"),p=h.length||0,d=0,v=0,m=0,g,y,b=this.get("order"),w=this.get("graphOrder"),E,S,x,T,N,C=null,k=null,L=[],A=[],O,M,_,D,P={width:[],height:[]},H=[],B=[],j=this.get("groupMarkers");n.isArray(t.fill.color)&&(C=t.fill.color.concat()),n.isArray(t.border.color)&&(k=t.border.color.concat()),this.get("direction")=="vertical"?(x="height",T="width"):(x="width",T="height"),i=t[x],s=t[T],this._createMarkerCache();for(;a<p;++a)y=h[a],d+=y.get("styles").marker[x],b>a&&(m=d);v=f*d,this._maxSize=r.get(x),v>this._maxSize&&(g=r.get(x)/v,d*=g,m*=g,i*=g,i=Math.max(i,1),this._maxSize=i),m-=d/2;for(a=0;a<f;++a){O=o[a]-d/2,M=O+d,_=u[a]-d/2,D=_+d,L.push({start:O,end:M}),A.push({start:_,end:D});if(isNaN(o[a])||isNaN(u[a])){this._markers.push(null);continue}N=this._getMarkerDimensions(o[a],u[a],s,m),!isNaN(N.calculatedSize)&&N.calculatedSize>0?(l=N.top,E=N.left,j?(P[x][a]=i,P[T][a]=N.calculatedSize,H.push(E),B.push(l)):(t[x]=i,t[T]=N.calculatedSize,t.x=E,t.y=l,C&&(t.fill.color=C[a%C.length]),k&&(t.border.color=k[a%k.length]),S=this.getMarker(t,w,a))):j||this._markers.push(null)}this.set("xMarkerPlane",L),this.set("yMarkerPlane",A),j?this._createGroupMarker({fill:t.fill,border:t.border,dimensions:P,xvalues:H,yvalues:B,shape:t.shape}):this._clearMarkerCache()},_defaultFillColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getPlotDefaults:function(){var e={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:12,height:12,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};return e.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill"),e.border.color=this._getDefaultColor(this.get("graphOrder"),"border"),e}},e.Histogram=r},"3.9.0pr1",{requires:["series-marker"]});
  