})}this.storyLabel.transition().duration(.2*a).attr("opacity",0),this.storyLabel.transition().delay(.2*a).text(this.categoryFields.join("\\")+": "+this.getFrameValue()).transition().duration(.8*a).attr("opacity",1)},this._getCategories=function(){returnthis._categoryFields!==this._cachedCategoryFields&&(this._categories=[],this.chart._getAllData().forEach(function(a){varb=-1,c="";null!==this.categoryFields&&(this.categoryFields.forEach(function(b,d){d>0&&(c+="/"),c+=a[b]},this),b=this._categories.indexOf(c),-1===b&&(this._categories.push(c),b=this._categories.length-1))},this),this._cachedCategoryFields=this._categoryFields),this._categories},this._goToFrameIndex=function(a){this._frame=a%this._getCategories().length,this.chart.draw(this.frameDuration/2)},this.addOrderRule=function(a,b){this._orderRules.push({ordering:a,desc:b})},this.getFrameValue=function(){vara=null;returnthis._frame>=0&&this._getCategories().length>this._frame&&(a=this._getCategories()[this._frame]),a},this.goToFrame=function(a){if(this._getCategories().length>0){varb=this._getCategories().indexOf(a);this._goToFrameIndex(b)}},this.pauseAnimation=function(){null!==this._animationTimer&&(window.clearInterval(this._animationTimer),this._animationTimer=null)},this.startAnimation=function(){null===this._animationTimer&&(null!==this.onTick&&this.onTick(this.getFrameValue()),this._animationTimer=window.setInterval(function(a){returnfunction(){a._goToFrameIndex(a._frame+1),null!==a.onTick&&a.onTick(a.getFrameValue()),a._drawText(a.frameDuration/2)}}(this),this.frameDuration))},this.stopAnimation=function(){null!==this._animationTimer&&(window.clearInterval(this._animationTimer),this._animationTimer=null,this._frame=0)}},dimple.aggregateMethod.avg=function(a,b){returna.value=null===a.value||void0===a.value?0:parseFloat(a.value),a.count=null===a.count||void0===a.count?1:parseFloat(a.count),b.value=null===b.value||void0===b.value?0:parseFloat(b.value),b.count=null===b.count||void0===b.count?1:parseFloat(b.count),(a.value*a.count+b.value*b.count)/(a.count+b.count)},dimple.aggregateMethod.count=function(a,b){returna.count=null===a.count||void0===a.count?0:parseFloat(a.count),b.count=null===b.count||void0===b.count?0:parseFloat(b.count),a.count+b.count},dimple.aggregateMethod.max=function(a,b){returna.value=null===a.value||void0===a.value?0:parseFloat(a.value),b.value=null===b.value||void0===b.value?0:parseFloat(b.value),a.value>b.value?a.value:b.value},dimple.aggregateMethod.min=function(a,b){returnnull===a.value?parseFloat(b.value):parseFloat(a.value)<parseFloat(b.value)?parseFloat(a.value):parseFloat(b.value)},dimple.aggregateMethod.sum=function(a,b){returna.value=null===a.value||void0===a.value?0:parseFloat(a.value),b.value=null===b.value||void0===b.value?0:parseFloat(b.value),a.value+b.value},dimple.plot.area={stacked:!0,supportedAxes:["x","y","c"],draw:function(a,b,c){vard,e,f,g=this,h=b._positionData,i=[],j=1,k=!1,l="series"+a.series.indexOf(b),m={};null!==a._tooltipGroup&&void0!==a._tooltipGroup&&a._tooltipGroup.remove(),(b.x._hasCategories()||b.y._hasCategories())&&(j=0),h.forEach(function(a){varb,c=[],d=!1;for(b=j;b<a.aggField.length;b+=1)c.push(a.aggField[b]);i.forEach(function(a){d=d||a===c.join("/")},this),d||i.push(c.join("/"))},this),null!==b.c&&void0!==b.c&&(b.x._hasCategories()&&b.y._hasMeasure()||b.y._hasCategories()&&b.x._hasMeasure())&&(k=!0,i.forEach(function(d){dimple._addGradient(d,"fill-area-gradient-"+d.join("_").replace(" ",""),b.x._hasCategories()?b.x:b.y,h,a,c,"fill"),dimple._addGradient(d,"stroke-area-gradient-"+d.join("_").replace(" ",""),b.x._hasCategories()?b.x:b.y,h,a,c,"stroke")},this)),d=d3.svg.line().x(function(c){returndimple._helpers.cx(c,a,b)}).y(function(c){returndimple._helpers.cy(c,a,b)}),(null===b.shapes||void0===b.shapes)&&(b.shapes=a._group.selectAll(".area."+l).data(i).enter().append("svg:path").attr("opacity",function(b){returna.getColor(b).opacity})),b.shapes.data(i).transition().duration(c).attr("class",function(a){returnl+" series area "+a.split(" ").join("_")}).attr("d",function(c){v