YUI.add("axis-stacked-base",function(t,a){function e(){}e.NAME="stackedImpl",e.prototype={_type:"stacked",_updateMinAndMax:function(){var t,a,e=0,i=0,s=0,n=0,m=0,h=0,M=this.get("keys"),c=this.get("setMin"),r=this.get("setMax");for(t in M)M.hasOwnProperty(t)&&(m=Math.max(m,M[t].length));for(;h<m;++h){for(t in n=s=0,M)M.hasOwnProperty(t)&&(a=M[t][h],isNaN(a)||(0<=a?s+=a:n+=a));e=0<s?Math.max(e,s):Math.max(e,n),i=n<0?Math.min(i,n):Math.min(i,s)}this._actualMaximum=e,this._actualMinimum=i,r&&(e=this._setMaximum),c&&(i=this._setMinimum),this._roundMinAndMax(i,e,c,r)}},t.StackedImpl=e,t.StackedAxisBase=t.Base.create("stackedAxisBase",t.NumericAxisBase,[t.StackedImpl])},"patched-v3.18.7",{requires:["axis-numeric-base"]});