text: /*
  YUI 3.13.0 (build 508226d)
  Copyright 2013 Yahoo! Inc. All rights reserved.
  Licensed under the BSD License.
  http://yuilibrary.com/license/
  */
  
  if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/series-column-stacked/series-column-stacked.js']) {
     __coverage__['build/series-column-stacked/series-column-stacked.js'] = {"path":"build/series-column-stacked/series-column-stacked.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,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":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],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":52}}},"2":{"name":"(anonymous_2)","line":29,"loc":{"start":{"line":29,"column":13},"end":{"line":30,"column":1}}},"3":{"name":"(anonymous_3)","line":206,"loc":{"start":{"line":206,"column":23},"end":{"line":207,"column":4}}},"4":{"name":"(anonymous_4)","line":254,"loc":{"start":{"line":254,"column":22},"end":{"line":255,"column":4}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":351,"column":64}},"2":{"start":{"line":9,"column":0},"end":{"line":9,"column":20}},"3":{"start":{"line":22,"column":0},"end":{"line":347,"column":3}},"4":{"start":{"line":31,"column":8},"end":{"line":34,"column":9}},"5":{"start":{"line":33,"column":12},"end":{"line":33,"column":19}},"6":{"start":{"line":35,"column":8},"end":{"line":63,"column":52}},"7":{"start":{"line":64,"column":8},"end":{"line":67,"column":9}},"8":{"start":{"line":66,"column":12},"end":{"line":66,"column":51}},"9":{"start":{"line":68,"column":8},"end":{"line":71,"column":9}},"10":{"start":{"line":70,"column":12},"end":{"line":70,"column":55}},"11":{"start":{"line":72,"column":8},"end":{"line":72,"column":34}},"12":{"start":{"line":73,"column":8},"end":{"line":78,"column":9}},"13":{"start":{"line":75,"column":12},"end":{"line":75,"column":49}},"14":{"start":{"line":76,"column":12},"end":{"line":76,"column":23}},"15":{"start":{"line":77,"column":12},"end":{"line":77,"column":31}},"16":{"start":{"line":79,"column":8},"end":{"line":95,"column":9}},"17":{"start":{"line":81,"column":12},"end":{"line":81,"column":57}},"18":{"start":{"line":82,"column":12},"end":{"line":82,"column":74}},"19":{"start":{"line":83,"column":12},"end":{"line":83,"column":74}},"20":{"start":{"line":84,"column":12},"end":{"line":89,"column":13}},"21":{"start":{"line":86,"column":16},"end":{"line":86,"column":33}},"22":{"start":{"line":87,"column":16},"end":{"line":87,"column":40}},"23":{"start":{"line":88,"column":16},"end":{"line":88,"column":40}},"24":{"start":{"line":93,"column":12},"end":{"line":93,"column":36}},"25":{"start":{"line":94,"column":12},"end":{"line":94,"column":36}},"26":{"start":{"line":96,"column":8},"end":{"line":96,"column":59}},"27":{"start":{"line":97,"column":8},"end":{"line":97,"column":59}},"28":{"start":{"line":98,"column":8},"end":{"line":180,"column":9}},"29":{"start":{"line":100,"column":12},"end":{"line":100,"column":30}},"30":{"start":{"line":101,"column":12},"end":{"line":101,"column":29}},"31":{"start":{"line":103,"column":12},"end":{"line":112,"column":13}},"32":{"start":{"line":105,"column":16},"end":{"line":109,"column":17}},"33":{"start":{"line":107,"column":20},"end":{"line":107,"column":63}},"34":{"start":{"line":108,"column":20},"end":{"line":108,"column":63}},"35":{"start":{"line":110,"column":16},"end":{"line":110,"column":41}},"36":{"start":{"line":111,"column":16},"end":{"line":111,"column":25}},"37":{"start":{"line":113,"column":12},"end":{"line":148,"column":13}},"38":{"start":{"line":115,"column":16},"end":{"line":115,"column":55}},"39":{"start":{"line":116,"column":16},"end":{"line":131,"column":17}},"40":{"start":{"line":118,"column":20},"end":{"line":118,"column":48}},"41":{"start":{"line":119,"column":20},"end":{"line":119,"column":63}},"42":{"start":{"line":121,"column":21},"end":{"line":131,"column":17}},"43":{"start":{"line":123,"column":20},"end":{"line":123,"column":63}},"44":{"start":{"line":124,"column":20},"end":{"line":124,"column":48}},"45":{"start":{"line":125,"column":20},"end":{"line":125,"column":29}},"46":{"start":{"line":129,"column":20},"end":{"line":129,"column":48}},"47":{"start":{"line":130,"column":20},"end":{"line":130,"column":48}},"48":{"start":{"line":135,"column":16},"end":{"line":147,"column":17}},"49":{"start":{"line":137,"column":20},"end":{"line":137,"column":72}},"50":{"start":{"line":138,"column":20},"end":{"line":138,"column":52}},"51":{"start":{"line":139,"column":20},"end":{"line":139,"column":48}},"52":{"start":{"line":140,"column":20},"end":{"line":140,"column":29}},"53":{"start":{"line":142,"column":21},"end":{"line":147,"column":17}},"54":{"start":{"line":144,"column":20},"end":{"line":144,"column":77}},"55":{"start":{"line":145,"column":20},"end":{"line":145,"column":52}},"56":{"start":{"line":146,"column":20},"end":{"line":146,"column":48}},"57":{"start":{"line":149,"column":12},"end":{"line":179,"column":13}},"58":{"start":{"line":151,"column":16},"end":{"line":151,"column":28}},"59":{"start":{"line":152,"column":16},"end":{"line":174,"column":17}},"60":{"start":{"line":154,"column":20},"end":{"line":154,"column":44}},"61":{"start":{"line":155,"column":20},"end":{"line":155,"column":45}},"62":{"start":{"line":156,"column":20},"end":{"line":156,"column":39}},"63":{"start":{"line":157,"column":20},"end":{"line":157,"column":38}},"64":{"start":{"line":161,"column":20},"end":{"line":161,"column":36}},"65":{"start":{"line":162,"column":20},"end":{"line":162,"column":37}},"66":{"start":{"line":163,"column":20},"end":{"line":163,"column":35}},"67":{"start":{"line":164,"column":20},"end":{"line":164,"column":34}},"68":{"start":{"line":165,"column":20},"end":{"line":168,"column":21}},"69":{"start":{"line":167,"column":24},"end":{"line":167,"column":77}},"70":{"start":{"line":169,"column":20},"end":{"line":172,"column":21}},"71":{"start":{"line":171,"column":24},"end":{"line":171,"column":83}},"72":{"start":{"line":173,"column":20},"end":{"line":173,"column":66}},"73":{"start":{"line":176,"column":17},"end":{"line":179,"column":13}},"74":{"start":{"line":178,"column":15},"end":{"line":178,"column":40}},"75":{"start":{"line":181,"column":8},"end":{"line":195,"column":9}},"76":{"start":{"line":183,"column":12},"end":{"line":190,"column":15}},"77":{"start":{"line":194,"column":12},"end":{"line":194,"column":37}},"78":{"start":{"line":208,"column":8},"end":{"line":244,"column":9}},"79":{"start":{"line":210,"column":12},"end":{"line":217,"column":28}},"80":{"start":{"line":218,"column":12},"end":{"line":218,"column":47}},"81":{"start":{"line":219,"column":12},"end":{"line":219,"column":40}},"82":{"start":{"line":220,"column":12},"end":{"line":220,"column":104}},"83":{"start":{"line":221,"column":12},"end":{"line":221,"column":55}},"84":{"start":{"line":222,"column":12},"end":{"line":222,"column":51}},"85":{"start":{"line":223,"column":12},"end":{"line":223,"column":45}},"86":{"start":{"line":224,"column":12},"end":{"line":224,"column":47}},"87":{"start":{"line":225,"column":12},"end":{"line":225,"column":48}},"88":{"start":{"line":226,"column":12},"end":{"line":226,"column":52}},"89":{"start":{"line":227,"column":12},"end":{"line":234,"column":13}},"90":{"start":{"line":229,"column":16},"end":{"line":229,"column":74}},"91":{"start":{"line":233,"column":16},"end":{"line":233,"column":89}},"92":{"start":{"line":235,"column":12},"end":{"line":242,"column":13}},"93":{"start":{"line":237,"column":16},"end":{"line":237,"column":80}},"94":{"start":{"line":241,"column":16},"end":{"line":241,"column":93}},"95":{"start":{"line":243,"column":12},"end":{"line":243,"column":37}},"96":{"start":{"line":256,"column":8},"end":{"line":278,"column":10}},"97":{"start":{"line":279,"column":8},"end":{"line":279,"column":80}},"98":{"start":{"line":280,"column":8},"end":{"line":280,"column":84}},"99":{"start":{"line":281,"column":8},"end":{"line":281,"column":20}}},"branchMap":{"1":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":31,"column":8}},{"start":{"line":31,"column":8},"end":{"line":31,"column":8}}]},"2":{"line":64,"type":"if","locations":[{"start":{"line":64,"column":8},"end":{"line":64,"column":8}},{"start":{"line":64,"column":8},"end":{"line":64,"column":8}}]},"3":{"line":68,"type":"if","locations":[{"start":{"line":68,"column":8},"end":{"line":68,"column":8}},{"start":{"line":68,"column":8},"end":{"line":68,"column":8}}]},"4":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":8},"end":{"line":73,"column":8}},{"start":{"line":73,"column":8},"end":{"line":73,"column":8}}]},"5":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":8}},{"start":{"line":79,"column":8},"end":{"line":79,"column":8}}]},"6":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":12},"end":{"line":84,"column":12}},{"start":{"line":84,"column":12},"end":{"line":84,"column":12}}]},"7":{"line":84,"type":"binary-expr","locations":[{"start":{"line":84,"column":15},"end":{"line":84,"column":34}},{"start":{"line":84,"column":38},"end":{"line":84,"column":57}}]},"8":{"line":103,"type":"if","locations":[{"start":{"line":103,"column":12},"end":{"line":103,"column":12}},{"start":{"line":103,"column":12},"end":{"line":103,"column":12}}]},"9":{"line":103,"type":"binary-expr","locations":[{"start":{"line":103,"column":15},"end":{"line":103,"column":29}},{"start":{"line":103,"column":33},"end":{"line":103,"column":48}}]},"10":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":16},"end":{"line":105,"column":16}},{"start":{"line":105,"column":16},"end":{"line":105,"column":16}}]},"11":{"line":113,"type":"if","locations":[{"start":{"line":113,"column":12},"end":{"line":113,"column":12}},{"start":{"line":113,"column":12},"end":{"line":113,"column":12}}]},"12":{"line":116,"type":"if","locations":[{"start":{"line":116,"column":16},"end":{"line":116,"column":16}},{"start":{"line":116,"column":16},"end":{"line":116,"column":16}}]},"13":{"line":121,"type":"if","locations":[{"start":{"line":121,"column":21},"end":{"line":121,"column":21}},{"start":{"line":121,"column":21},"end":{"line":121,"column":21}}]},"14":{"line":135,"type":"if","locations":[{"start":{"line":135,"column":16},"end":{"line":135,"column":16}},{"start":{"line":135,"column":16},"end":{"line":135,"column":16}}]},"15":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":21},"end":{"line":142,"column":21}},{"start":{"line":142,"column":21},"end":{"line":142,"column":21}}]},"16":{"line":149,"type":"if","locations":[{"start":{"line":149,"column":12},"end":{"line":149,"column":12}},{"start":{"line":149,"column":12},"end":{"line":149,"column":12}}]},"17":{"line":149,"type":"binary-expr","locations":[{"start":{"line":149,"column":15},"end":{"line":149,"column":24}},{"start":{"line":149,"column":28},"end":{"line":149,"column":33}}]},"18":{"line":152,"type":"if","locations":[{"start":{"line":152,"column":16},"end":{"line":152,"column":16}},{"start":{"line":152,"column":16},"end":{"line":152,"column":16}}]},"19":{"line":165,"type":"if","locations":[{"start":{"line":165,"column":20},"end":{"line":165,"column":20}},{"start":{"line":165,"column":20},"end":{"line":165,"column":20}}]},"20":{"line":169,"type":"if","locations":[{"start":{"line":169,"column":20},"end":{"line":169,"column":20}},{"start":{"line":169,"column":20},"end":{"line":169,"column":20}}]},"21":{"line":176,"type":"if","locations":[{"start":{"line":176,"column":17},"end":{"line":176,"column":17}},{"start":{"line":176,"column":17},"end":{"line":176,"column":17}}]},"22":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":8},"end":{"line":181,"column":8}},{"start":{"line":181,"column":8},"end":{"line":181,"column":8}}]},"23":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":8},"end":{"line":208,"column":8}},{"start":{"line":208,"column":8},"end":{"line":208,"column":8}}]},"24":{"line":208,"type":"binary-expr","locations":[{"start":{"line":208,"column":11},"end":{"line":208,"column":24}},{"start":{"line":208,"column":28},"end":{"line":208,"column":44}}]},"25":{"line":220,"type":"cond-expr","locations":[{"start":{"line":220,"column":63},"end":{"line":220,"column":78}},{"start":{"line":220,"column":81},"end":{"line":220,"column":103}}]},"26":{"line":220,"type":"binary-expr","locations":[{"start":{"line":220,"column":27},"end":{"line":220,"column":42}},{"start":{"line":220,"column":46},"end":{"line":220,"column":60}}]},"27":{"line":227,"type":"if","locations":[{"start":{"line":227,"column":12},"end":{"line":227,"column":12}},{"start":{"line":227,"column":12},"end":{"line":227,"column":12}}]},"28":{"line":235,"type":"if","locations":[{"start":{"line":235,"column":12},"end":{"line":235,"column":12}},{"start":{"line":235,"column":12},"end":{"line":235,"column":12}}]}},"code":["(function () { YUI.add('series-column-stacked', function (Y, NAME) {","","/**"," * Provides functionality for creating a stacked column series."," *"," * @module charts"," * @submodule series-column-stacked"," */","var Y_Lang = Y.Lang;","","/**"," * The StackedColumnSeries renders column chart in which series are stacked vertically to show"," * their contribution to the cumulative total."," *"," * @class StackedColumnSeries"," * @extends ColumnSeries"," * @uses StackingUtil"," * @constructor"," * @param {Object} config (optional) Configuration parameters."," * @submodule series-column-stacked"," */","Y.StackedColumnSeries = Y.Base.create(\"stackedColumnSeries\", Y.ColumnSeries, [Y.StackingUtil], {","    /**","     * Draws the series.","     *","     * @method drawSeries","\t * @protected","\t */","\tdrawSeries: function()","\t{","        if(this.get(\"xcoords\").length < 1)","        {","            return;","        }","        var isNumber = Y_Lang.isNumber,","            style = Y.clone(this.get(\"styles\").marker),","            w = style.width,","            h = style.height,","            xcoords = this.get(\"xcoords\"),","            ycoords = this.get(\"ycoords\"),","            i = 0,","            len = xcoords.length,","            top = ycoords[0],","            seriesCollection = this.get(\"seriesTypeCollection\"),","            ratio,","            order = this.get(\"order\"),","            graphOrder = this.get(\"graphOrder\"),","            left,","            marker,","            fillColors,","            borderColors,","            lastCollection,","            negativeBaseValues,","            positiveBaseValues,","            useOrigin = order === 0,","            totalWidth = len * w,","            dimensions = {","                width: [],","                height: []","            },","            xvalues = [],","            yvalues = [],","            groupMarkers = this.get(\"groupMarkers\");","        if(Y_Lang.isArray(style.fill.color))","        {","            fillColors = style.fill.color.concat();","        }","        if(Y_Lang.isArray(style.border.color))","        {","            borderColors = style.border.color.concat();","        }","        this._createMarkerCache();","        if(totalWidth > this.get(\"width\"))","        {","            ratio = this.get(\"width\")/totalWidth;","            w *= ratio;","            w = Math.max(w, 1);","        }","        if(!useOrigin)","        {","            lastCollection = seriesCollection[order - 1];","            negativeBaseValues = lastCollection.get(\"negativeBaseValues\");","            positiveBaseValues = lastCollection.get(\"positiveBaseValues\");","            if(!negativeBaseValues || !positiveBaseValues)","            {","                useOrigin = true;","                positiveBaseValues = [];","                negativeBaseValues = [];","            }","        }","        else","        {","            negativeBaseValues = [];","            positiveBaseValues = [];","        }","        this.set(\"negativeBaseValues\", negativeBaseValues);","        this.set(\"positiveBaseValues\", positiveBaseValues);","        for(i = 0; i < len; ++i)","        {","            left = xcoords[i];","            top = ycoords[i];","","            if(!isNumber(top) || !isNumber(left))","            {","                if(useOrigin)","                {","                    negativeBaseValues[i] = this._bottomOrigin;","                    positiveBaseValues[i] = this._bottomOrigin;","                }","                this._markers.push(null);","                continue;","            }","            if(useOrigin)","            {","                h = Math.abs(this._bottomOrigin - top);","                if(top < this._bottomOrigin)","                {","                    positiveBaseValues[i] = top;","                    negativeBaseValues[i] = this._bottomOrigin;","                }","                else if(top > this._bottomOrigin)","                {","                    positiveBaseValues[i] = this._bottomOrigin;","                    negativeBaseValues[i] = top;","                    top -= h;","                }","                else","                {","                    positiveBaseValues[i] = top;","                    negativeBaseValues[i] = top;","                }","            }","            else","            {","                if(top > this._bottomOrigin)","                {","                    top += (negativeBaseValues[i] - this._bottomOrigin);","                    h = top - negativeBaseValues[i];","                    negativeBaseValues[i] = top;","                    top -= h;","                }","                else if(top <= this._bottomOrigin)","                {","                    top = positiveBaseValues[i] - (this._bottomOrigin - top);","                    h = positiveBaseValues[i] - top;","                    positiveBaseValues[i] = top;","                }","            }","            if(!isNaN(h) && h > 0)","            {","                left -= w/2;","                if(groupMarkers)","                {","                    dimensions.width[i] = w;","                    dimensions.height[i] = h;","                    xvalues.push(left);","                    yvalues.push(top);","                }","                else","                {","                    style.width = w;","                    style.height = h;","                    style.x = left;","                    style.y = top;","                    if(fillColors)","                    {","                        style.fill.color = fillColors[i % fillColors.length];","                    }","                    if(borderColors)","                    {","                        style.border.color = borderColors[i % borderColors.length];","                    }","                    marker = this.getMarker(style, graphOrder, i);","                }","            }","            else if(!groupMarkers)","            {","               this._markers.push(null);","            }","        }","        if(groupMarkers)","        {","            this._createGroupMarker({","                fill: style.fill,","                border: style.border,","                dimensions: dimensions,","                xvalues: xvalues,","                yvalues: yvalues,","                shape: style.shape","            });","        }","        else","        {","            this._clearMarkerCache();","        }","    },","","    /**","     * Resizes and positions markers based on a mouse interaction.","     *","     * @method updateMarkerState","     * @param {String} type state of the marker","     * @param {Number} i index of the marker","     * @protected","     */","    updateMarkerState: function(type, i)","    {","        if(this._markers && this._markers[i])","        {","            var styles,","                markerStyles,","                state = this._getState(type),","                xcoords = this.get(\"xcoords\"),","                marker = this._markers[i],","                offset = 0,","                fillColor,","                borderColor;","            styles = this.get(\"styles\").marker;","            offset = styles.width * 0.5;","            markerStyles = state === \"off\" || !styles[state] ? Y.clone(styles) : Y.clone(styles[state]);","            markerStyles.height = marker.get(\"height\");","            markerStyles.x = (xcoords[i] - offset);","            markerStyles.y = marker.get(\"y\");","            markerStyles.id = marker.get(\"id\");","            fillColor = markerStyles.fill.color;","            borderColor = markerStyles.border.color;","            if(Y_Lang.isArray(fillColor))","            {","                markerStyles.fill.color = fillColor[i % fillColor.length];","            }","            else","            {","                markerStyles.fill.color = this._getItemColor(markerStyles.fill.color, i);","            }","            if(Y_Lang.isArray(borderColor))","            {","                markerStyles.border.color = borderColor[i % borderColor.length];","            }","            else","            {","                markerStyles.border.color = this._getItemColor(markerStyles.border.color, i);","            }","            marker.set(markerStyles);","        }","    },","","    /**","     * Gets the default values for the markers.","     *","     * @method _getPlotDefaults","     * @return Object","     * @protected","     */","    _getPlotDefaults: function()","    {","        var defs = {","            fill:{","                type: \"solid\",","                alpha: 1,","                colors:null,","                alphas: null,","                ratios: null","            },","            border:{","                weight: 0,","                alpha: 1","            },","            width: 24,","            height: 24,","            shape: \"rect\",","","            padding:{","                top: 0,","                left: 0,","                right: 0,","                bottom: 0","            }","        };","        defs.fill.color = this._getDefaultColor(this.get(\"graphOrder\"), \"fill\");","        defs.border.color = this._getDefaultColor(this.get(\"graphOrder\"), \"border\");","        return defs;","    }","}, {","    ATTRS: {","        /**","         * Read-only attribute indicating the type of series.","         *","         * @attribute type","         * @type String","         * @default stackedColumn","         */","        type: {","            value: \"stackedColumn\"","        },","","        /**","         * @attribute negativeBaseValues","         * @type Array","         * @default null","         * @private","         */","        negativeBaseValues: {","            value: null","        },","","        /**","         * @attribute positiveBaseValues","         * @type Array","         * @default null","         * @private","         */","        positiveBaseValues: {","            value: null","        }","","        /**","         * Style properties used for drawing markers. This attribute is inherited from `ColumnSeries`. Below are the default values:","         *  <dl>","         *      <dt>fill</dt><dd>A hash containing the following values:","         *          <dl>","         *              <dt>color</dt><dd>Color of the fill. The default value is determined by the order of the series on the graph. The color","         *              will be retrieved from the below array:<br/>","         *              `[\"#66007f\", \"#a86f41\", \"#295454\", \"#996ab2\", \"#e8cdb7\", \"#90bdbd\",\"#000000\",\"#c3b8ca\", \"#968373\", \"#678585\"]`","         *              </dd>","         *              <dt>alpha</dt><dd>Number from 0 to 1 indicating the opacity of the marker fill. The default value is 1.</dd>","         *          </dl>","         *      </dd>","         *      <dt>border</dt><dd>A hash containing the following values:","         *          <dl>","         *              <dt>color</dt><dd>Color of the border. The default value is determined by the order of the series on the graph. The color","         *              will be retrieved from the below array:<br/>","         *              `[\"#205096\", \"#b38206\", \"#000000\", \"#94001e\", \"#9d6fa0\", \"#e55b00\", \"#5e85c9\", \"#adab9e\", \"#6ac291\", \"#006457\"]`","         *              <dt>alpha</dt><dd>Number from 0 to 1 indicating the opacity of the marker border. The default value is 1.</dd>","         *              <dt>weight</dt><dd>Number indicating the width of the border. The default value is 1.</dd>","         *          </dl>","         *      </dd>","         *      <dt>width</dt><dd>indicates the width of the marker. The default value is 24.</dd>","         *      <dt>over</dt><dd>hash containing styles for markers when highlighted by a `mouseover` event. The default","         *      values for each style is null. When an over style is not set, the non-over value will be used. For example,","         *      the default value for `marker.over.fill.color` is equivalent to `marker.fill.color`.</dd>","         *  </dl>","         *","         * @attribute styles","         * @type Object","         */","    }","});","","","","}, '3.13.0', {\"requires\": [\"series-stacked\", \"series-column\"]});","","}());"]};
  }
  var __cov_7x2LFE8bQZTlQq2LPZnKuQ = __coverage__['build/series-column-stacked/series-column-stacked.js'];
  __cov_7x2LFE8bQZTlQq2LPZnKuQ.s['1']++;YUI.add('series-column-stacked',function(Y,NAME){__cov_7x2LFE8bQZTlQq2LPZnKuQ.f['1']++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['2']++;var Y_Lang=Y.Lang;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['3']++;Y.StackedColumnSeries=Y.Base.create('stackedColumnSeries',Y.ColumnSeries,[Y.StackingUtil],{drawSeries:function(){__cov_7x2LFE8bQZTlQq2LPZnKuQ.f['2']++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['4']++;if(this.get('xcoords').length<1){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['1'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['5']++;return;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['1'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['6']++;var isNumber=Y_Lang.isNumber,style=Y.clone(this.get('styles').marker),w=style.width,h=style.height,xcoords=this.get('xcoords'),ycoords=this.get('ycoords'),i=0,len=xcoords.length,top=ycoords[0],seriesCollection=this.get('seriesTypeCollection'),ratio,order=this.get('order'),graphOrder=this.get('graphOrder'),left,marker,fillColors,borderColors,lastCollection,negativeBaseValues,positiveBaseValues,useOrigin=order===0,totalWidth=len*w,dimensions={width:[],height:[]},xvalues=[],yvalues=[],groupMarkers=this.get('groupMarkers');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['7']++;if(Y_Lang.isArray(style.fill.color)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['2'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['8']++;fillColors=style.fill.color.concat();}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['2'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['9']++;if(Y_Lang.isArray(style.border.color)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['3'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['10']++;borderColors=style.border.color.concat();}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['3'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['11']++;this._createMarkerCache();__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['12']++;if(totalWidth>this.get('width')){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['4'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['13']++;ratio=this.get('width')/totalWidth;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['14']++;w*=ratio;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['15']++;w=Math.max(w,1);}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['4'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['16']++;if(!useOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['5'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['17']++;lastCollection=seriesCollection[order-1];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['18']++;negativeBaseValues=lastCollection.get('negativeBaseValues');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['19']++;positiveBaseValues=lastCollection.get('positiveBaseValues');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['20']++;if((__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['7'][0]++,!negativeBaseValues)||(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['7'][1]++,!positiveBaseValues)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['6'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['21']++;useOrigin=true;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['22']++;positiveBaseValues=[];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['23']++;negativeBaseValues=[];}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['6'][1]++;}}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['5'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['24']++;negativeBaseValues=[];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['25']++;positiveBaseValues=[];}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['26']++;this.set('negativeBaseValues',negativeBaseValues);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['27']++;this.set('positiveBaseValues',positiveBaseValues);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['28']++;for(i=0;i<len;++i){__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['29']++;left=xcoords[i];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['30']++;top=ycoords[i];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['31']++;if((__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['9'][0]++,!isNumber(top))||(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['9'][1]++,!isNumber(left))){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['8'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['32']++;if(useOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['10'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['33']++;negativeBaseValues[i]=this._bottomOrigin;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['34']++;positiveBaseValues[i]=this._bottomOrigin;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['10'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['35']++;this._markers.push(null);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['36']++;continue;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['8'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['37']++;if(useOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['11'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['38']++;h=Math.abs(this._bottomOrigin-top);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['39']++;if(top<this._bottomOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['12'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['40']++;positiveBaseValues[i]=top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['41']++;negativeBaseValues[i]=this._bottomOrigin;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['12'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['42']++;if(top>this._bottomOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['13'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['43']++;positiveBaseValues[i]=this._bottomOrigin;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['44']++;negativeBaseValues[i]=top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['45']++;top-=h;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['13'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['46']++;positiveBaseValues[i]=top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['47']++;negativeBaseValues[i]=top;}}}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['11'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['48']++;if(top>this._bottomOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['14'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['49']++;top+=negativeBaseValues[i]-this._bottomOrigin;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['50']++;h=top-negativeBaseValues[i];__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['51']++;negativeBaseValues[i]=top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['52']++;top-=h;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['14'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['53']++;if(top<=this._bottomOrigin){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['15'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['54']++;top=positiveBaseValues[i]-(this._bottomOrigin-top);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['55']++;h=positiveBaseValues[i]-top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['56']++;positiveBaseValues[i]=top;}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['15'][1]++;}}}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['57']++;if((__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['17'][0]++,!isNaN(h))&&(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['17'][1]++,h>0)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['16'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['58']++;left-=w/2;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['59']++;if(groupMarkers){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['18'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['60']++;dimensions.width[i]=w;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['61']++;dimensions.height[i]=h;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['62']++;xvalues.push(left);__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['63']++;yvalues.push(top);}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['18'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['64']++;style.width=w;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['65']++;style.height=h;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['66']++;style.x=left;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['67']++;style.y=top;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['68']++;if(fillColors){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['19'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['69']++;style.fill.color=fillColors[i%fillColors.length];}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['19'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['70']++;if(borderColors){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['20'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['71']++;style.border.color=borderColors[i%borderColors.length];}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['20'][1]++;}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['72']++;marker=this.getMarker(style,graphOrder,i);}}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['16'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['73']++;if(!groupMarkers){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['21'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['74']++;this._markers.push(null);}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['21'][1]++;}}}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['75']++;if(groupMarkers){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['22'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['76']++;this._createGroupMarker({fill:style.fill,border:style.border,dimensions:dimensions,xvalues:xvalues,yvalues:yvalues,shape:style.shape});}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['22'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['77']++;this._clearMarkerCache();}},updateMarkerState:function(type,i){__cov_7x2LFE8bQZTlQq2LPZnKuQ.f['3']++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['78']++;if((__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['24'][0]++,this._markers)&&(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['24'][1]++,this._markers[i])){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['23'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['79']++;var styles,markerStyles,state=this._getState(type),xcoords=this.get('xcoords'),marker=this._markers[i],offset=0,fillColor,borderColor;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['80']++;styles=this.get('styles').marker;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['81']++;offset=styles.width*0.5;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['82']++;markerStyles=(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['26'][0]++,state==='off')||(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['26'][1]++,!styles[state])?(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['25'][0]++,Y.clone(styles)):(__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['25'][1]++,Y.clone(styles[state]));__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['83']++;markerStyles.height=marker.get('height');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['84']++;markerStyles.x=xcoords[i]-offset;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['85']++;markerStyles.y=marker.get('y');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['86']++;markerStyles.id=marker.get('id');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['87']++;fillColor=markerStyles.fill.color;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['88']++;borderColor=markerStyles.border.color;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['89']++;if(Y_Lang.isArray(fillColor)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['27'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['90']++;markerStyles.fill.color=fillColor[i%fillColor.length];}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['27'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['91']++;markerStyles.fill.color=this._getItemColor(markerStyles.fill.color,i);}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['92']++;if(Y_Lang.isArray(borderColor)){__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['28'][0]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['93']++;markerStyles.border.color=borderColor[i%borderColor.length];}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['28'][1]++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['94']++;markerStyles.border.color=this._getItemColor(markerStyles.border.color,i);}__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['95']++;marker.set(markerStyles);}else{__cov_7x2LFE8bQZTlQq2LPZnKuQ.b['23'][1]++;}},_getPlotDefaults:function(){__cov_7x2LFE8bQZTlQq2LPZnKuQ.f['4']++;__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['96']++;var defs={fill:{type:'solid',alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:'rect',padding:{top:0,left:0,right:0,bottom:0}};__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['97']++;defs.fill.color=this._getDefaultColor(this.get('graphOrder'),'fill');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['98']++;defs.border.color=this._getDefaultColor(this.get('graphOrder'),'border');__cov_7x2LFE8bQZTlQq2LPZnKuQ.s['99']++;return defs;}},{ATTRS:{type:{value:'stackedColumn'},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}});},'3.13.0',{'requires':['series-stacked','series-column']});
  