highcharts
Version:
JavaScript charting framework
14 lines (12 loc) • 3 kB
JavaScript
/*
Highcharts JS v10.0.0 (2022-03-07)
(c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski
License: www.highcharts.com/license
*/
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts"],function(c){b(c);b.Highcharts=c;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function c(b,d,f,c){b.hasOwnProperty(d)||(b[d]=c.apply(null,f),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:d,module:b[d]}})))}b=b?b._modules:{};c(b,
"Series/Lollipop/LollipopPoint.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,d){var f=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var a in e)e.hasOwnProperty(a)&&(b[a]=e[a])};return b(e,a)};return function(e,a){function d(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),c=b.series.prototype.pointClass,a=
b.seriesTypes;b=a.area.prototype;var g=d.isObject;d=d.extend;a=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.series=void 0;a.options=void 0;return a}f(a,b);return a}(a.dumbbell.prototype.pointClass);d(a.prototype,{pointSetState:b.pointClass.prototype.setState,isValid:c.prototype.isValid,init:function(b,a,d){g(a)&&"low"in a&&(a.y=a.low,delete a.low);return c.prototype.init.apply(this,arguments)}});return a});c(b,"Series/Lollipop/LollipopSeries.js",[b["Series/Lollipop/LollipopPoint.js"],
b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,d,c){var f=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)}}(),a=d.seriesTypes,g=a.area.prototype,h=a.column.prototype,e=a.dumbbell,
k=c.pick,l=c.merge;c=c.extend;a=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}f(a,b);a.prototype.toYData=function(a){return[k(a.y,a.low)]};a.defaultOptions=l(e.defaultOptions,{lowColor:void 0,threshold:0,connectorWidth:1,groupPadding:.2,pointPadding:.1,states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}},tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>'}});
return a}(e);c(a.prototype,{pointArrayMap:["y"],pointValKey:"y",translatePoint:g.translate,drawPoint:g.drawPoints,drawDataLabels:h.drawDataLabels,setShapeArgs:h.translate,pointClass:b});d.registerSeriesType("lollipop",a);"";return a});c(b,"masters/modules/lollipop.src.js",[],function(){})});
//# sourceMappingURL=lollipop.js.map