highcharts
Version:
JavaScript charting framework
11 lines • 3.28 kB
JavaScript
!/**
* Highcharts JS v12.6.0 (2026-04-13)
* @module highcharts/modules/lollipop
* @requires highcharts
*
* (c) 2009-2026 Highsoft AS
* Author: Sebastian Bochan, Rafał Sebestjański
*
* A commercial license may be required depending on use.
* See www.highcharts.com/license
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series):"function"==typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Series)}):"object"==typeof exports?exports["highcharts/modules/lollipop"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Series)}("u"<typeof window?this:window,(t,e,r)=>(()=>{"use strict";var o={512:t=>{t.exports=e},820:t=>{t.exports=r},944:e=>{e.exports=t}},s={};function i(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return o[t](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};i.d(n,{default:()=>H});var a=i(944),l=i.n(a),p=i(512),c=i.n(p);let{doc:h,win:d}=l();function u(t,e){let r;for(r in t||(t={}),e)t[r]=e[r];return t}function y(t){return f(t)&&"number"==typeof t.nodeType}function f(t,e){let r;return!!t&&"object"==typeof t&&(!e||"[object Array]"!==(r=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==r)}Array.prototype.find;let{series:{prototype:{pointClass:g}},seriesTypes:{scatter:{prototype:{pointClass:b}},dumbbell:{prototype:{pointClass:x}}}}=c();class S extends g{}u(S.prototype,{destroy:x.prototype.destroy,pointSetState:b.prototype.setState,setState:x.prototype.setState});var m=i(820),v=i.n(m);let{seriesTypes:{column:{prototype:w},dumbbell:{prototype:C},scatter:j}}=c();class _ extends v(){drawPoints(){let t=this.points.length,e=0,r;for(super.drawPoints.apply(this,arguments);e<t;)r=this.points[e],this.drawConnector(r),e++}translate(){for(let t of(w.translate.apply(this,arguments),this.points)){let{pointWidth:e,shapeArgs:r}=t;r?.x&&(r.x+=e/2,t.plotX=r.x||0)}}}_.defaultOptions=function(t,...e){let r,o=[t,...e],s={},i=function(t,e){return"object"!=typeof t&&(t={}),function(t,e,r){for(let r in t)Object.hasOwnProperty.call(t,r)&&e.call((0,t[r]),t[r],r,t)}(e,function(r,o){if("__proto__"!==o&&"constructor"!==o){let s;!f(r,!0)||(s=r?.constructor,f(r,!0)&&!y(r)&&s?.name&&"Object"!==s.name)||y(r)?t[o]=e[o]:t[o]=i(t[o]||{},r)}}),t};!0===t&&(s=o[1],o=Array.prototype.slice.call(o,2));let n=o.length;for(r=0;r<n;r++)s=i(s,o[r]);return s}(v().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}),u(_.prototype,{alignDataLabel:w.alignDataLabel,crispCol:w.crispCol,drawConnector:C.drawConnector,drawDataLabels:w.drawDataLabels,getColumnMetrics:w.getColumnMetrics,getConnectorAttribs:C.getConnectorAttribs,pointClass:S}),c().registerSeriesType("lollipop",_);let H=l();return n.default})());