Sha256: 136d4ce4ea09dfdf091666229aba0a6ed843b0c9141daaed3135a133e39abcc5

Contents?: true

Size: 1.33 KB

Versions: 13

Compression:

Stored size: 1.33 KB

Contents

/*
 Highcharts JS v3.0.6 (2013-10-04)
 Plugin for displaying a message when there is no data visible in chart.

 (c) 2010-2013 Highsoft AS
 Author: Øystein Moseng

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

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
activeadmin_ueditor-0.2.0 public/assets/ueditor/third-party/highcharts/modules/no-data-to-display.js
neditor_rails-0.1.0 vendor/assets/javascripts/neditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails5-0.3.1 app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails5-0.3.0 app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.2.3 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.2.2 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.2.1 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.2.0 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.1.0 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.0.5 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.0.4 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
baidu_ueditor_rails-0.0.3 vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js
highcharts-rails-3.0.6 app/assets/javascripts/highcharts/modules/no-data-to-display.js