!function(t){var a=t.seriesTypes,o=t.Chart.prototype,n=t.getOptions(),e=t.extend;function i(){return!!this.points.length}function s(){this.hasData()?this.hideNoData():this.showNoData()}e(n.lang,{noData:"No data to display"}),n.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}},a.pie.prototype.hasData=i,a.gauge&&(a.gauge.prototype.hasData=i),a.waterfall&&(a.waterfall.prototype.hasData=i),t.Series.prototype.hasData=function(){return void 0!==this.dataMax&&void 0!==this.dataMin},o.showNoData=function(t){var a=this.options,o=t||a.lang.noData,n=a.noData;this.noDataLabel||(this.noDataLabel=this.renderer.label(o,0,0,null,null,null,null,null,"no-data").attr(n.attr).css(n.style).add(),this.noDataLabel.align(e(this.noDataLabel.getBBox(),n.position),!1,"plotBox"))},o.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())},o.hasData=function(){for(var t=this.series,a=t.length;a--;)if(t[a].hasData()&&!t[a].options.isInternal)return!0;return!1},o.callbacks.push(function(a){t.addEvent(a,"load",s),t.addEvent(a,"redraw",s)})}(Highcharts);