YUI.add("axis-category-base",function(t,e){var s=t.Lang;function a(){}a.NAME="categoryImpl",a.ATTRS={labelFormat:{value:null},calculateEdgeOffset:{value:!0}},a.prototype={formatLabel:function(t){return t},_indices:null,GUID:"yuicategoryaxis",_type:"category",_updateMinAndMax:function(){this._dataMaximum=Math.max(this.get("data").length-1,0),this._dataMinimum=0},_getKeyArray:function(t,e){var a,i=0,n=[],r=[],s=e.length;for(this._indices||(this._indices={});i<s;++i)a=e[i],r[n[i]=i]=a[t];return this._indices[t]=n,r},getDataByKey:function(t){this._indices||this.get("keys");var e=this._indices;return e&&e[t]?e[t]:null},getTotalMajorUnits:function(){return this.get("data").length},_getCoordFromValue:function(t,e,a,i,n){var r=s.isNumber(i)?n+(r=(i-t)*(a/(e-t))):NaN;return r},getKeyValueAt:function(t,e){var a=NaN,i=this.get("keys");return a=i[t]&&i[t][e]?i[t][e]:a}},t.CategoryImpl=a,t.CategoryAxisBase=t.Base.create("categoryAxisBase",t.AxisBase,[t.CategoryImpl])},"patched-v3.18.7",{requires:["axis-base"]});