Sha256: 347bbb99da87f10cdded9385ae76ae8319b8327a87455dd57ae52f255ae1593a

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

/*
  Highcharts JS v7.0.3 (2019-02-06)

 Item series type for Highcharts

 (c) 2010-2019 Torstein Honsi

 License: www.highcharts.com/license
*/
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define(function(){return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){(function(b){var x=b.extend,u=b.pick,r=b.seriesType;r("item","column",{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}},{drawPoints:function(){var c=this,k=c.chart.renderer,l=this.options.marker,m=this.yAxis.transA*c.options.itemPadding,n=this.borderWidth%2?
.5:1;this.points.forEach(function(a){var d,e,f,g,h;d=a.marker||{};var v=d.symbol||l.symbol,r=u(d.radius,l.radius),p,t,w="rect"!==v,q;a.graphics=f=a.graphics||{};h=a.pointAttr?a.pointAttr[a.selected?"selected":""]||c.pointAttr[""]:c.pointAttribs(a,a.selected&&"select");delete h.r;c.chart.styledMode&&(delete h.stroke,delete h["stroke-width"]);if(null!==a.y)for(a.graphic||(a.graphic=k.g("point").add(c.group)),g=a.y,t=u(a.stackY,a.y),p=Math.min(a.pointWidth,c.yAxis.transA-m),d=t;d>t-a.y;d--)e=a.barX+
(w?a.pointWidth/2-p/2:0),q=c.yAxis.toPixels(d,!0)+m/2,c.options.crisp&&(e=Math.round(e)-n,q=Math.round(q)+n),e={x:e,y:q,width:Math.round(w?p:a.pointWidth),height:Math.round(p),r:r},f[g]?f[g].animate(e):f[g]=k.symbol(v).attr(x(e,h)).add(a.graphic),f[g].isActive=!0,g--;b.objectEach(f,function(a,b){a.isActive?a.isActive=!1:(a.destroy(),delete a[b])})})}});b.SVGRenderer.prototype.symbols.rect=function(c,k,l,m,n){return b.SVGRenderer.prototype.symbols.callout(c,k,l,m,n)}})(b)});
//# sourceMappingURL=item-series.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/item-series.js