Sha256: 53e7fd63585598ab41bcc08cec522ebbc0a492084b76810fe7b898800b678fbe
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
/* Highcharts JS v7.0.3 (2019-02-06) StaticScale (c) 2016-2019 Torstein Honsi, Lars A. V. Cabrera License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define(function(){return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){(function(a){var d=a.Chart,g=a.pick;a.addEvent(a.Axis,"afterSetOptions",function(){this.horiz||!a.isNumber(this.options.staticScale)||this.chart.options.chart.height||(this.staticScale=this.options.staticScale)});d.prototype.adjustHeight=function(){"adjustHeight"!==this.redrawTrigger&& ((this.axes||[]).forEach(function(b){var c=b.chart,d=!!c.initiatedScale&&c.options.animation,e=b.options.staticScale,f;b.staticScale&&a.defined(b.min)&&(f=g(b.unitLength,b.max+b.tickInterval-b.min)*e,f=Math.max(f,e),e=f-c.plotHeight,1<=Math.abs(e)&&(c.plotHeight=f,c.redrawTrigger="adjustHeight",c.setSize(void 0,c.chartHeight+e,d)),b.series.forEach(function(a){(a=a.sharedClipKey&&c[a.sharedClipKey])&&a.attr({height:c.plotHeight})}))}),this.initiatedScale=!0);this.redrawTrigger=null};a.addEvent(d,"render", d.prototype.adjustHeight)})(a)}); //# sourceMappingURL=static-scale.js.map
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aw-highstock_rails-7.0.3 | vendor/assets/javascripts/highstock/modules/static-scale.js |