text: if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/axis-stacked-base/axis-stacked-base.js']) {
     __coverage__['build/axis-stacked-base/axis-stacked-base.js'] = {"path":"build/axis-stacked-base/axis-stacked-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0]},"f":{"1":0,"2":0,"3":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":48}}},"2":{"name":"StackedImpl","line":21,"loc":{"start":{"line":21,"column":0},"end":{"line":22,"column":0}}},"3":{"name":"(anonymous_3)","line":43,"loc":{"start":{"line":43,"column":22},"end":{"line":44,"column":4}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":133,"column":53}},"2":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"3":{"start":{"line":25,"column":0},"end":{"line":25,"column":33}},"4":{"start":{"line":27,"column":0},"end":{"line":116,"column":2}},"5":{"start":{"line":45,"column":8},"end":{"line":55,"column":40}},"6":{"start":{"line":57,"column":8},"end":{"line":63,"column":9}},"7":{"start":{"line":59,"column":12},"end":{"line":62,"column":13}},"8":{"start":{"line":61,"column":16},"end":{"line":61,"column":54}},"9":{"start":{"line":64,"column":8},"end":{"line":103,"column":9}},"10":{"start":{"line":66,"column":12},"end":{"line":66,"column":20}},"11":{"start":{"line":67,"column":12},"end":{"line":67,"column":20}},"12":{"start":{"line":68,"column":12},"end":{"line":86,"column":13}},"13":{"start":{"line":70,"column":16},"end":{"line":85,"column":17}},"14":{"start":{"line":72,"column":20},"end":{"line":72,"column":39}},"15":{"start":{"line":73,"column":20},"end":{"line":76,"column":21}},"16":{"start":{"line":75,"column":24},"end":{"line":75,"column":33}},"17":{"start":{"line":77,"column":20},"end":{"line":84,"column":21}},"18":{"start":{"line":79,"column":24},"end":{"line":79,"column":35}},"19":{"start":{"line":83,"column":24},"end":{"line":83,"column":35}},"20":{"start":{"line":87,"column":12},"end":{"line":94,"column":13}},"21":{"start":{"line":89,"column":16},"end":{"line":89,"column":41}},"22":{"start":{"line":93,"column":16},"end":{"line":93,"column":41}},"23":{"start":{"line":95,"column":12},"end":{"line":102,"column":13}},"24":{"start":{"line":97,"column":16},"end":{"line":97,"column":41}},"25":{"start":{"line":101,"column":16},"end":{"line":101,"column":41}},"26":{"start":{"line":104,"column":8},"end":{"line":104,"column":34}},"27":{"start":{"line":105,"column":8},"end":{"line":105,"column":34}},"28":{"start":{"line":106,"column":8},"end":{"line":109,"column":9}},"29":{"start":{"line":108,"column":12},"end":{"line":108,"column":35}},"30":{"start":{"line":110,"column":8},"end":{"line":113,"column":9}},"31":{"start":{"line":112,"column":12},"end":{"line":112,"column":35}},"32":{"start":{"line":114,"column":8},"end":{"line":114,"column":55}},"33":{"start":{"line":118,"column":0},"end":{"line":118,"column":28}},"34":{"start":{"line":130,"column":0},"end":{"line":130,"column":89}}},"branchMap":{"1":{"line":59,"type":"if","locations":[{"start":{"line":59,"column":12},"end":{"line":59,"column":12}},{"start":{"line":59,"column":12},"end":{"line":59,"column":12}}]},"2":{"line":70,"type":"if","locations":[{"start":{"line":70,"column":16},"end":{"line":70,"column":16}},{"start":{"line":70,"column":16},"end":{"line":70,"column":16}}]},"3":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":20},"end":{"line":73,"column":20}},{"start":{"line":73,"column":20},"end":{"line":73,"column":20}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":20},"end":{"line":77,"column":20}},{"start":{"line":77,"column":20},"end":{"line":77,"column":20}}]},"5":{"line":87,"type":"if","locations":[{"start":{"line":87,"column":12},"end":{"line":87,"column":12}},{"start":{"line":87,"column":12},"end":{"line":87,"column":12}}]},"6":{"line":95,"type":"if","locations":[{"start":{"line":95,"column":12},"end":{"line":95,"column":12}},{"start":{"line":95,"column":12},"end":{"line":95,"column":12}}]},"7":{"line":106,"type":"if","locations":[{"start":{"line":106,"column":8},"end":{"line":106,"column":8}},{"start":{"line":106,"column":8},"end":{"line":106,"column":8}}]},"8":{"line":110,"type":"if","locations":[{"start":{"line":110,"column":8},"end":{"line":110,"column":8}},{"start":{"line":110,"column":8},"end":{"line":110,"column":8}}]}},"code":["(function () { YUI.add('axis-stacked-base', function (Y, NAME) {","","/**"," * Provides core functionality for the handling of stacked numeric axis data for a chart."," *"," * @module charts"," * @submodule axis-stacked-base"," */","","/**"," * StackedImpl contains logic for managing stacked numeric data. StackedImpl is used by the following classes:"," * <ul>"," *      <li>{{#crossLink \"StackedAxisBase\"}}{{/crossLink}}</li>"," *      <li>{{#crossLink \"StackedAxis\"}}{{/crossLink}}</li>"," *  </ul>"," *"," * @submodule axis-stacked-base"," * @class StackedImpl"," * @constructor"," */","function StackedImpl()","{","}","","StackedImpl.NAME = \"stackedImpl\";","","StackedImpl.prototype = {","    /**","     * Type of data used in `Data`.","     *","     * @property _type","     * @readOnly","     * @private","     */","    _type: \"stacked\",","","    /**","     * Calculates the maximum and minimum values for the `Data`.","     *","     * @method _updateMinAndMax","     * @private","     */","    _updateMinAndMax: function()","    {","        var max = 0,","            min = 0,","            pos = 0,","            neg = 0,","            len = 0,","            i = 0,","            key,","            num,","            keys = this.get(\"keys\"),","            setMin = this.get(\"setMin\"),","            setMax = this.get(\"setMax\");","","        for(key in keys)","        {","            if(keys.hasOwnProperty(key))","            {","                len = Math.max(len, keys[key].length);","            }","        }","        for(; i < len; ++i)","        {","            pos = 0;","            neg = 0;","            for(key in keys)","            {","                if(keys.hasOwnProperty(key))","                {","                    num = keys[key][i];","                    if(isNaN(num))","                    {","                        continue;","                    }","                    if(num >= 0)","                    {","                        pos += num;","                    }","                    else","                    {","                        neg += num;","                    }","                }","            }","            if(pos > 0)","            {","                max = Math.max(max, pos);","            }","            else","            {","                max = Math.max(max, neg);","            }","            if(neg < 0)","            {","                min = Math.min(min, neg);","            }","            else","            {","                min = Math.min(min, pos);","            }","        }","        this._actualMaximum = max;","        this._actualMinimum = min;","        if(setMax)","        {","            max = this._setMaximum;","        }","        if(setMin)","        {","            min = this._setMinimum;","        }","        this._roundMinAndMax(min, max, setMin, setMax);","    }","};","","Y.StackedImpl = StackedImpl;","","/**"," * StackedAxisBase manages stacked numeric data for an axis."," *"," * @class StackedAxisBase"," * @constructor"," * @extends AxisBase"," * @uses StackedImpl"," * @param {Object} config (optional) Configuration parameters."," * @submodule axis-stacked-base"," */","Y.StackedAxisBase = Y.Base.create(\"stackedAxisBase\", Y.NumericAxisBase, [Y.StackedImpl]);","","","}, 'patched-v3.18.1', {\"requires\": [\"axis-numeric-base\"]});","","}());"]};
  }
  var __cov_BTDwNZmEFlYnSFZLWdhBMQ = __coverage__['build/axis-stacked-base/axis-stacked-base.js'];
  __cov_BTDwNZmEFlYnSFZLWdhBMQ.s['1']++;YUI.add('axis-stacked-base',function(Y,NAME){__cov_BTDwNZmEFlYnSFZLWdhBMQ.f['1']++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['2']++;function StackedImpl(){__cov_BTDwNZmEFlYnSFZLWdhBMQ.f['2']++;}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['3']++;StackedImpl.NAME='stackedImpl';__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['4']++;StackedImpl.prototype={_type:'stacked',_updateMinAndMax:function(){__cov_BTDwNZmEFlYnSFZLWdhBMQ.f['3']++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['5']++;var max=0,min=0,pos=0,neg=0,len=0,i=0,key,num,keys=this.get('keys'),setMin=this.get('setMin'),setMax=this.get('setMax');__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['6']++;for(key in keys){__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['7']++;if(keys.hasOwnProperty(key)){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['1'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['8']++;len=Math.max(len,keys[key].length);}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['1'][1]++;}}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['9']++;for(;i<len;++i){__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['10']++;pos=0;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['11']++;neg=0;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['12']++;for(key in keys){__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['13']++;if(keys.hasOwnProperty(key)){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['2'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['14']++;num=keys[key][i];__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['15']++;if(isNaN(num)){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['3'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['16']++;continue;}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['3'][1]++;}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['17']++;if(num>=0){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['4'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['18']++;pos+=num;}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['4'][1]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['19']++;neg+=num;}}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['2'][1]++;}}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['20']++;if(pos>0){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['5'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['21']++;max=Math.max(max,pos);}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['5'][1]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['22']++;max=Math.max(max,neg);}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['23']++;if(neg<0){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['6'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['24']++;min=Math.min(min,neg);}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['6'][1]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['25']++;min=Math.min(min,pos);}}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['26']++;this._actualMaximum=max;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['27']++;this._actualMinimum=min;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['28']++;if(setMax){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['7'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['29']++;max=this._setMaximum;}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['7'][1]++;}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['30']++;if(setMin){__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['8'][0]++;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['31']++;min=this._setMinimum;}else{__cov_BTDwNZmEFlYnSFZLWdhBMQ.b['8'][1]++;}__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['32']++;this._roundMinAndMax(min,max,setMin,setMax);}};__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['33']++;Y.StackedImpl=StackedImpl;__cov_BTDwNZmEFlYnSFZLWdhBMQ.s['34']++;Y.StackedAxisBase=Y.Base.create('stackedAxisBase',Y.NumericAxisBase,[Y.StackedImpl]);},'patched-v3.18.1',{'requires':['axis-numeric-base']});
  