Sha256: 721714f82ee461712b4244ab6097a001e6bfd65bb86084fe9ddda26d29d3fe6c
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
/* Highcharts JS v7.0.3 (2019-02-06) CurrentDateIndicator (c) 2010-2019 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 e=a.addEvent,h=a.PlotLineOrBand,f=a.merge,g={currentDateIndicator:!0,color:"#ccd6eb",width:2,label:{format:"%a, %b %d %Y, %H:%M",formatter:void 0,rotation:0,style:{fontSize:"10px"}}};e(a.Axis,"afterSetOptions",function(){var a=this.options,b=a.currentDateIndicator; b&&("object"===typeof b?(b.label&&b.label.format&&(b.label.formatter=void 0),b=f(g,b)):b=f(g),b.value=new Date,a.plotLines||(a.plotLines=[]),a.plotLines.push(b))});e(h,"render",function(){var c=this.options,b,d;c.currentDateIndicator&&c.label&&(b=c.label.format,d=c.label.formatter,c.value=new Date,c.label.text="function"===typeof d?d(this):a.dateFormat(b,new Date),this.label&&this.label.attr({text:c.label.text}))})})(a)}); //# sourceMappingURL=current-date-indicator.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/current-date-indicator.js |