lollipop.js 3.0 KB

1234567891011121314
  1. /*
  2. Highcharts JS v10.3.3 (2023-01-20)
  3. (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski
  4. License: www.highcharts.com/license
  5. */
  6. (function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts"],function(d){b(d);b.Highcharts=d;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function d(b,c,d,a){b.hasOwnProperty(c)||(b[c]=a.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:c,module:b[c]}})))}b=b?b._modules:{};d(b,
  7. "Series/Lollipop/LollipopPoint.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,c){var d=this&&this.__extends||function(){var b=function(a,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var h in a)a.hasOwnProperty(h)&&(b[h]=a[h])};return b(a,e)};return function(a,e){function c(){this.constructor=a}b(a,e);a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}(),a=b.seriesTypes,k=a.scatter.prototype.pointClass;
  8. a=a.dumbbell.prototype.pointClass;c=c.extend;b=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.series=void 0;a.plotX=void 0;return a}d(a,b);return a}(b.series.prototype.pointClass);c(b.prototype,{destroy:a.prototype.destroy,pointSetState:k.prototype.setState,setState:a.prototype.setState});return b});d(b,"Series/Lollipop/LollipopSeries.js",[b["Series/Lollipop/LollipopPoint.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],
  9. function(b,c,d,a){var k=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return b(a,c)};return function(a,c){function d(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),g=c.seriesTypes,f=g.column.prototype;g=g.dumbbell.prototype;var e=a.extend,l=a.merge;a=function(b){function a(){var a=null!==
  10. b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(a,b);a.prototype.drawPoints=function(){var a=this.points.length,c=0;for(b.prototype.drawPoints.apply(this,arguments);c<a;){var d=this.points[c];this.drawConnector(d);c++}};a.defaultOptions=l(d.defaultOptions,{threshold:0,connectorWidth:1,groupPadding:.2,pointPadding:.1,states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}},lineWidth:0,dataLabels:{align:void 0,verticalAlign:void 0},pointRange:1});return a}(d);
  11. e(a.prototype,{alignDataLabel:f.alignDataLabel,crispCol:f.crispCol,drawConnector:g.drawConnector,drawDataLabels:f.drawDataLabels,getColumnMetrics:f.getColumnMetrics,getConnectorAttribs:g.getConnectorAttribs,pointClass:b,translate:f.translate});c.registerSeriesType("lollipop",a);"";return a});d(b,"masters/modules/lollipop.src.js",[],function(){})});
  12. //# sourceMappingURL=lollipop.js.map