fusioncharts
Version:
FusionCharts JavaScript charting framework
1 lines • 431 kB
JavaScript
!function(e){"object"==typeof module&&"undefined"!=typeof module.exports?module.exports=e:e()}(function(){(window.webpackJsonpFusionCharts=window.webpackJsonpFusionCharts||[]).push([[4],{832:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(648));t.Spline=r["default"];var i=o(a(833));t.Logmscolumn2d=i["default"];var n=o(a(838));t.Logmsline=n["default"];var l=o(a(840));t.LogStackedColumn2d=l["default"];var s=o(a(651));t.Splinearea=s["default"];var c=o(a(653));t.Msspline=c["default"];var d=o(a(656));t.MSSplineDy=d["default"];var h=o(a(658));t.Mssplinearea=h["default"];var u=o(a(842));t.Errorbar2d=u["default"];var p=o(a(846));t.Errorline=p["default"];var g=o(a(851));t.Errorscatter=g["default"];var f=o(a(856));t.Inversemsarea=f["default"];var m=o(a(858));t.Inversemscolumn2d=m["default"];var v=o(a(860));t.Inversemsline=v["default"];var b=o(a(862));t.Dragcolumn2d=b["default"];var x=o(a(874));t.Dragline=x["default"];var k=o(a(881));t.Kagi=k["default"];var y=o(a(888));t.WaterFall2D=y["default"];var C=o(a(889));t.SelectScatter=C["default"];var w=o(a(893));t.MultilevelPie=w["default"];var N=o(a(898));t.MultiAxisLine=N["default"];var A=o(a(906));t.MSStepLine=A["default"];var S=o(a(910));t.DragNode=S["default"];var D=o(a(921));t.CandleStick=D["default"];var L=o(a(934));t.BoxAndWhisker2D=L["default"];var E=o(a(943));t.HeatMap=E["default"];var T=o(a(955));t.Radar=T["default"];var _=o(a(968));t.DragArea=_["default"];var V=o(a(969)),P=o(a(970)),F={name:"powercharts",type:"package",requiresFusionCharts:!0,extension:function(e){e.addDep(V["default"]),e.addDep(P["default"]),e.addDep(r["default"]),e.addDep(i["default"]),e.addDep(l["default"]),e.addDep(n["default"]),e.addDep(s["default"]),e.addDep(d["default"]),e.addDep(c["default"]),e.addDep(h["default"]),e.addDep(u["default"]),e.addDep(p["default"]),e.addDep(g["default"]),e.addDep(f["default"]),e.addDep(m["default"]),e.addDep(v["default"]),e.addDep(b["default"]),e.addDep(x["default"]),e.addDep(k["default"]),e.addDep(y["default"]),e.addDep(C["default"]),e.addDep(w["default"]),e.addDep(N["default"]),e.addDep(A["default"]),e.addDep(S["default"]),e.addDep(D["default"]),e.addDep(L["default"]),e.addDep(E["default"]),e.addDep(T["default"]),e.addDep(_["default"])}};t["default"]=F},833:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(834))["default"];t["default"]=r},834:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(835)),n=o(a(566)),l=o(a(481)),s=function(e){function t(){return e.apply(this,arguments)||this}(0,r["default"])(t,e),t.getName=function(){return"LogMSColumn2d"};var a=t.prototype;return a.getName=function(){return"LogMSColumn2d"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.defaultDatasetType="column",t.enablemousetracking=!0},a.getDSGroupdef=function(){return n["default"]},a.getDSdef=function(){return l["default"]},t}(i["default"]);t["default"]=s},835:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(508)),n=o(a(836)),l=a(187),s=o(a(479)),c=function(e){function t(){var t;return(t=e.call(this)||this).registerFactory("axis",n["default"],["canvas"]),t}(0,r["default"])(t,e),t.getName=function(){return"MsLog"};var a=t.prototype;return a._feedAxesRawData=function(){var e,t,a=this.getFromEnv("dataSource"),o=this.getFromEnv("chart-attrib");return e=this.getSpecificxAxisConf(),"1"===(t=this.getSpecificyAxisConf()).base&&(t.base=10,t.logBase=10),t.minorDivlinecolor=(0,l.pluck)(o.minordivlinecolor,t.divLineColor),t.minorDivLineThickness=(0,l.pluck)(o.minordivlinethickness,1),t.minorDivLineAlpha=(0,l.pluck)(o.minordivlinealpha,t.divLineAlpha/2),e.vtrendlines=a.vtrendlines,t.trendlines=a.trendlines,{yAxisConf:[t],xAxisConf:[e]}},a.getSpecificxAxisConf=function(){var e=this.getFromEnv("chart-attrib"),t=this.getBasexAxisConf();return t.showZeroPlane=e.showvzeroplane,t.zeroPlaneThickness=e.vzeroplanethickness,t.zeroPlaneAlpha=e.vzeroplanealpha,t.showAxisLine=(0,l.pluckNumber)(e.showxaxisline,e.showaxislines,e.drawAxisLines,0),t.axisLineColor=(0,l.pluck)(e.xaxislinecolor,e.axislinecolor,"#000000"),t.isReverse=!1,t.showAlternateGridColor=(0,l.pluckNumber)(e.showalternatevgridcolor,0),t.numDivLines=e.numvdivlines,t.maxLabelHeight=e.maxlabelheight,t.axisName=e.xaxisname,t.setAdaptiveMin=e.setadaptivexmin,t.showLimits=e.showvlimits,t.showDivLineValues=(0,l.pluckNumber)(e.showvdivlinevalues,e.showvdivlinevalues),t},a.getSpecificyAxisConf=function(){var e=this.getFromEnv("chart-attrib"),t=this.config.is3D?l.chartPaletteStr.chart3D:l.chartPaletteStr.chart2D,a=!!(0,l.pluckNumber)(e.invertyaxis,0),o=this.getFromEnv("color-manager");return{isVertical:!0,isReverse:!a,isOpposit:(0,s["default"])(e.yaxisposition,"right"),outCanfontFamily:(0,l.pluck)(e.outcnvbasefont,e.basefont,"Verdana,sans"),outCanfontSize:(0,l.pluckFontSize)(e.outcnvbasefontsize,e.basefontsize,10),outCancolor:(0,l.pluck)(e.outcnvbasefontcolor,e.basefontcolor,o.getColor(t.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:e.yaxisnamepadding,axisValuePadding:e.yaxisvaluespadding,axisNameFont:e.yaxisnamefont,axisNameFontSize:e.yaxisnamefontsize,axisNameFontColor:e.yaxisnamefontcolor,axisNameFontBold:e.yaxisnamefontbold,axisNameFontItalic:e.yaxisnamefontitalic,axisNameBgColor:e.yaxisnamebgcolor,axisNameBorderColor:e.yaxisnamebordercolor,axisNameAlpha:e.yaxisnamealpha,axisNameFontAlpha:e.yaxisnamefontalpha,axisNameBgAlpha:e.yaxisnamebgalpha,axisNameBorderAlpha:e.yaxisnameborderalpha,axisNameBorderPadding:e.yaxisnameborderpadding,axisNameBorderRadius:e.yaxisnameborderradius,axisNameBorderThickness:e.yaxisnameborderthickness,axisNameBorderDashed:e.yaxisnameborderdashed,axisNameBorderDashLen:e.yaxisnameborderdashlen,axisNameBorderDashGap:e.yaxisnameborderdashgap,axisNameWidth:e.yaxisnamewidth,useEllipsesWhenOverflow:e.useellipseswhenoverflow,rotateAxisName:(0,l.pluckNumber)(e.rotateyaxisname,1),axisName:e.yaxisname,divLineColor:(0,l.pluck)(e.divlinecolor,o.getColor(t.divLineColor)),divLineAlpha:(0,l.pluck)(e.divlinealpha,o.getColor("divLineAlpha")),divLineThickness:(0,l.pluckNumber)(e.divlinethickness,2),divLineIsDashed:Boolean((0,l.pluckNumber)(e.divlinedashed,e.divlineisdashed,0)),divLineDashLen:(0,l.pluckNumber)(e.divlinedashlen,4),divLineDashGap:(0,l.pluckNumber)(e.divlinedashgap,2),showAlternateGridColor:(0,l.pluckNumber)(e.showalternatehgridcolor,1),alternateGridColor:(0,l.pluck)(e.alternatehgridcolor,o.getColor("altHGridColor")),alternateGridAlpha:(0,l.pluck)(e.alternatehgridalpha,o.getColor("altHGridAlpha")),numDivLines:e.numdivlines,axisMinValue:e.yaxisminvalue,axisMaxValue:e.yaxismaxvalue,setAdaptiveMin:e.setadaptiveymin,adjustDiv:e.adjustdiv,labelStep:e.yaxisvaluesstep,showAxisValues:(0,l.pluckNumber)(e.showyaxisvalues,e.showyaxisvalue),showLimits:(0,l.pluckNumber)(e.showyaxislimits,e.showlimits,this.showLimits),showDivLineValues:(0,l.pluckNumber)(e.showdivlinevalues,e.showdivlinevalue),showZeroPlane:e.showzeroplane,zeroPlaneColor:e.zeroplanecolor,zeroPlaneThickness:e.zeroplanethickness,zeroPlaneAlpha:e.zeroplanealpha,showZeroPlaneValue:e.showzeroplanevalue,trendlineColor:e.trendlinecolor,trendlineToolText:e.trendlinetooltext,trendlineThickness:e.trendlinethickness,trendlineAlpha:e.trendlinealpha,showTrendlinesOnTop:e.showtrendlinesontop,showAxisLine:(0,l.pluckNumber)(e.showyaxisline,e.showaxislines,e.drawAxisLines,0),axisLineThickness:(0,l.pluckNumber)(e.yaxislinethickness,e.axislinethickness,1),axisLineAlpha:(0,l.pluckNumber)(e.yaxislinealpha,e.axislinealpha,100),base:e.base,logBase:e.logbase,axisLineColor:(0,l.pluck)(e.yaxislinecolor,e.axislinecolor,"#000000"),showMinorDivLineValues:(0,l.pluckNumber)(e.showminordivlinevalues,0),numMinorDivLines:e.numminordivlines,labelFont:e.yaxisvaluefont,labelFontSize:e.yaxisvaluefontsize,labelFontColor:e.yaxisvaluefontcolor,labelAlpha:e.yaxisvaluealpha,labelFontBold:e.yaxisvaluefontbold,labelFontItalic:e.yaxisvaluefontitalic,labelBdrColor:e.yaxisvaluebordercolor,labelBdrAlpha:e.yaxisvalueborderalpha,labelBgAlpha:e.yaxisvaluebgalpha,labelLink:e.yaxisvaluelink,labelBgColor:e.yaxisvaluebgcolor,labelBdrThickness:e.yaxisvalueborderthickness,labelBdrPadding:e.yaxisvalueborderpadding,labelBdrRadius:e.yaxisvalueborderradius,labelBdrDashed:e.yaxisvalueborderdashed,labelBdrDashLen:e.yaxisvalueborderdashlen,labelBdrDashGap:e.yaxisvalueborderdashgap}},t}(i["default"]);t["default"]=c},836:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=function(e){var t,a,o=e.getChildren("canvas")[0],l=o.getChildren("axisRefVisualCartesian")[0],s={zoomable:!0,pannable:!0},c=e._feedAxesRawData(),d=function(){return l.asyncDraw()};(0,r.componentFactory)(e,i["default"],"yAxis",1,c.yAxisConf),(0,r.componentFactory)(e,n["default"],"xAxis",1,c.xAxisConf),t=e.getChildren("yAxis")[0],a=e.getChildren("xAxis")[0],t.setLinkedItem("canvas",o),a.setLinkedItem("canvas",o),l.setLinkedItem(t.getId(),t),l.setLinkedItem(a.getId(),a),l.addExtEventListener("visiblerangeset",d,a),l.addExtEventListener("visiblerangeset",d,t),o.attachAxis(a,!1,e.zoomX?s:{}),o.attachAxis(t,!0,e.zoomY?s:{}),e._setCategories()};var r=a(187),i=o(a(837)),n=o(a(470))},837:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(719)),n=o(a(455)),l=o(a(423)),s=o(a(452)),c=a(187),d=a(458),h=function(e){return null!==e&&e!==c.UNDEF&&""!==e&&!isNaN(e)},u={wrtVisible:!0},p=c.preDefStr.POSITION_START,g=c.preDefStr.POSITION_TOP,f=c.preDefStr.POSITION_BOTTOM,m=c.preDefStr.POSITION_END,v=function(e,t){if(void 0===e&&(e=[]),void 0===t&&(t=[]),0===e.length)return[];var a=e.length-1,o=t.length-1,r=[e[a]];for(a--;a>=0;)t[o]>e[a]?(r.push(t[o]),o--):(r.push(e[a]),a--);return r},b=function(e){function t(){var t;return(t=e.call(this)||this).config.scale=new i["default"],t.config.labelMap=[],t}(0,r["default"])(t,e);var a=t.prototype;return a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.base=10,t.showMinorDivLineValues=1,t.numMinorDivLines=c.UNDEF},a.getName=function(){return"log"},a.configureAttributes=function(t){var a,o=this.config,r=this.getFromEnv("number-formatter"),i=this.getFromEnv("color-manager");e.prototype.configureAttributes.call(this,t),a=o.rawAttr,o.minorDivlinecolor=(0,c.convertColor)((0,c.pluck)(a.minorDivlinecolor,i.getColor("divLineColor")),(0,c.pluckNumber)(a.minorDivLineAlpha,i.getColor("divLineAlpha")/2)),o.axisMinValue=r.getCleanValue(a.axisMinValue),o.axisMaxValue=r.getCleanValue(a.axisMaxValue),o.minorTicks=[],o.axisMinValue<=0&&(o.axisMinValue=c.UNDEF),o.axisMaxValue<=0&&(o.axisMaxValue=c.UNDEF),this.getScale().setBase(o.base),o.minorDivLineThickness=(0,c.pluckNumber)(a.minorDivLineThickness,1),o.band.isDraw=0},a.generateTicks=function(){var e=this.getScale().ticks();return this.config._allTicks=e.slice(),e},a.generateMinorTicks=function(){return this.getScale().minorTicks(this.config.numMinorDivLines)},a._setAxisRange=function(e){var t=e.min,a=void 0===t?.1:t,o=e.max,r=void 0===o?1:o,i=this.getScale().setDomain([a,r]).nice(),n=this.config,l=n.axisRange;n.ticks=this.generateTicks(),n.minorTicks=this.generateMinorTicks();var s=i.getDomain();a=s[0],r=s[1],l.max=r,l.min=a,this.setVisibleConfig(a,r)},a.setDataLimit=function(e,t){var a,o,r=e,i=t,n=this.config,s=n.axisMaxValue,c=n.axisMinValue;h(c)&&Number(c)<=i&&(i=c),h(s)&&Number(s)>=r&&(r=s),0===i&&(i=1),0===r&&(r=n.base);var d=this.getTrendLineLimits();a=d[0],o=d[1];var u=(0,l["default"])([a,o,i,r],function(e){return Number(e)});i=u[0],r=u[1],this._setAxisRange({min:i,max:r})},a._parseLabel=function(){var e,t,a,o,r,i,n,l,s,d,h,b,x,k,y,C,w=this.config,N=this.getFromEnv("chart").config,A=w.axisRange,S=w.isOpposit,D=w.labels,L=D.style,E=w.isVertical,T=A.max,_=A.min,V=N.canvasBottom,P=N.canvasLeft,F=N.canvasRight,B=N.canvasTop,I=w.labelPadding,M=this.getFromEnv("number-formatter"),R=w.labelMaxH,O=w.labelMaxW,G=w.axisStartPosition,H=this.components,W=w.minorTicks;if(L.lineHeight&&-1!==(i=L.lineHeight).indexOf("px")&&(i=i.replace("px",""),i=parseFloat(i)),w.labels.isDraw)for(C=1!==this.getZoom(),y=H.labels,e=w.labels.step?A.tickInterval*w.labels.step:A.tickInterval,r=w.labels.rotation,o=this.getVisibleConfig(),H.labelIndexArr=[],w.allTicks=s=v(w.ticks,w.minorTicks),k=E?R:O,d=s.length,t=0;t<d;t++)if(h=s[t],b=this.getPixel(h,u),(!(W.indexOf(h)>=0)||w.showMinorDivLineValues)&&!(x&&b>x-k&&b<x+k)&&(!C||!(h<o.minValue||h>o.maxValue))&&(w.labels.drawNormalVal||w.labels.drawLimitVal&&(h===_||h===T))&&(w.labels.drawNormalVal||h===_||h===T)&&(w.labels.drawLimitVal||h!==_&&h!==T)&&(0!==w.showZeroPlaneValue||0!==w.showZeroPlane||0!==h)){if(1===w.showZeroPlane&&1===w.showZeroPlaneValue&&(h<0&&h+e>0||h>0&&h-e<0))if(E){if(b+R>=this.getPixel(0,u)&&this.getPixel(0,u)>=b-R)continue}else if(b+O>=this.getPixel(0,u)&&this.getPixel(0,u)>=b-O)continue;l={fill:L.color,"font-size":L.fontSize,cursor:L.labelLink?"pointer":""},E?(a=""+(w.numberFormatterFn?M[w.numberFormatterFn]:w.isPercent?M.percentValue:M.yAxis).call(M,h),n=w.hasCategory&&w.categories.category[t].labelPadding||0,l["text-anchor"]=S?p:m,l.text=a,l.x=S?(G||F)+I:(G||P)-I,l.y=n?b+n:b,x=l.y):(a=""+(w.numberFormatterFn?M[w.numberFormatterFn]:w.isPercent?M.percentValue:M.xAxis).call(M,h),n=w.hasCategory&&Number(w.categories.category[t].labelPadding)||0,l.text=a,l.x=b,l.y=S?(G||B)-I:(G||V)+I,n&&(l.y+=n),r?(l["text-anchor"]=S?p:m,l["vertical-align"]="middle"):l["vertical-align"]=S?f:g,x=l.x),D.shiftX&&(l.x+=D.shiftX),D.shiftY&&(l.y+=D.shiftY),l.transform=(0,c.getSuggestiveRotation)(r,l.x,l.y),H.labelIndexArr.push(t),y[t]=y[t]||{config:{props:{label:{}}}},l["text-bound"]=void 0===h?[]:[(0,c.pluck)(L.backgroundColor,""),(0,c.pluck)(L.borderColor,""),(0,c.pluck)(L.borderThickness,""),(0,c.pluck)(L.borderPadding,0),(0,c.pluck)(L.borderRadius,0),(0,c.pluck)(L.borderDash,"none")],y[t].config.props.label.attr=l,y[t].config.props.label.css=a.css,y[t].config.value=h}},a._drawLabel=function(){var e,t,a,o,r,i,l,s,c,d=this,h=d.config,u=d.getFromEnv("animationManager"),p=d.getFromEnv("chart"),g=h.labels.style,f=h.axisContainer,m=[],v=d.components,b=v.labelIndexArr,x={fontFamily:g.fontFamily,fontSize:g.fontSize,fontWeight:g.fontWeight,fontStyle:g.fontStyle,lineHeight:g.lineHeight},k=function(e){return function(t){p.plotEventHandler(this,t,e)}};if(h.labels.isDraw){for(c=v.labels,f.css(x),l=b.length,t=0;t<l;t++)a=(s=c[e=b[t]].config.value)+"_label",i=d.getGraphicalElement(a),m.push(a),(i=this.addGraphicalElement(a,u.setAnimation({container:f,el:i||"text",attr:c[e].config.props.label.attr,data:{value:s},component:this,label:"text",css:c[e].config.props.label.css}))).on("fc-click",k("dataLabelClick")).hover(k("dataLabelRollOver"),k("dataLabelRollOut")),i.data("eventArgs",{link:g.labelLink,text:c[e].config.props.label.attr.text,index:e});o=(0,n["default"])(h.labelMap,m)}else o=h.labelMap;h.labelMap=m,function(t){for(e=0;e<t.length;++e)(r=d.getGraphicalElement(t[e]))&&d.removeGraphicalElement(r)}(o)},a._getVMaxLabelDimention=function(){var e,t,a,o,r,i,n,l,s=this.config,c=this.getFromEnv("chart"),d=this.getFromEnv("smartLabel"),h=this.getFromEnv("number-formatter"),u=s.labels.style,p=0;for(d.useEllipsesOnOverflow(c.config.useEllipsesWhenOverflow),d.setStyle({fontSize:u.fontSize,fontFamily:u.fontFamily,lineHeight:u.lineHeight,fontWeight:u.fontWeight}),n=s.isPercent?h.percentValue:h.xAxis,s.allTicks=e=v(s.ticks,s.minorTicks),t=e.length,o=0;o<t;o++)l=e[o],r=""+n.call(h,l),i=d.getOriSize(r),this.components.labels[o]={config:{width:i.width,height:i.height,props:{label:{}}}},r.length>p&&(a=i,p=r.length);return a},a._getHMaxLabelDimention=function(){return this._getVMaxLabelDimention()},a.getCleanValue=function(e){var t=e,a=null;return(t=Math.abs(t))>0&&(a=this.getFromEnv("number-formatter").getCleanValue(t)),a},t}(s["default"]);b.prototype.getTrendLineLimits=d.getTrendLineLimits;var x=b;t["default"]=x},838:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(839))["default"];t["default"]=r},839:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(835)),n=o(a(498)),l=a(601),s=function(e){function t(){var t;return(t=e.call(this)||this).defaultPlotShadow=1,t}(0,r["default"])(t,e),t.getName=function(){return"LogMSLine"};var a=t.prototype;return a.getName=function(){return"LogMSLine"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.defaultDatasetType="line",t.zeroplanethickness=1,t.enablemousetracking=!0,t.zeroplanealpha=40,t.showzeroplaneontop=0,t.enablemousetracking=!0,t.defaultcrosslinethickness=1,l._setDefaultConfig.call(this)},a.getDSGroupdef=function(){},a.getDSdef=function(){return n["default"]},t}(i["default"]);t["default"]=s},840:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(841))["default"];t["default"]=r},841:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(834)),n=o(a(575)),l=function(e){function t(){return e.apply(this,arguments)||this}(0,r["default"])(t,e),t.getName=function(){return"LogStackedColumn2d"};var a=t.prototype;return a.getName=function(){return"LogStackedColumn2d"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this),this.config.isstacked=!0},a.getDSGroupdef=function(){return n["default"]},t}(i["default"]);t["default"]=l},842:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(843))["default"];t["default"]=r},843:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(508)),n=o(a(566)),l=o(a(844)),s=function(e){function t(){var t;return(t=e.call(this)||this).showValues=0,t.isErrorChart=!0,t.eiMethods={},t}(0,r["default"])(t,e),t.getName=function(){return"ErrorBar2D"};var a=t.prototype;return a.getName=function(){return"ErrorBar2D"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.hasLegend=!0,t.defaultDatasetType="errorbar2d",t.enablemousetracking=!0},a.getDSGroupdef=function(){return n["default"]},a.getDSdef=function(){return l["default"]},t}(i["default"]);t["default"]=s},844:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=t._checkPointerOverPlot=t._checkPointerOverErrorBar=t._firePlotEvent=t._rolloutResponseSetter=t._rolloverResponseSetter=t.removePlots=t._getHoveredPlot=void 0;var r,i,n,l,s,c=o(a(201)),d=a(187),h=o(a(481)),u=a(195),p=o(a(845)),g=d.preDefStr.colors.AAAAAA,f=d.preDefStr.ROUND,m=d.preDefStr.PERCENTAGESTRING,v=d.preDefStr.pStr,b=d.preDefStr.sStr,x=function(e,t,a,o){var r=t.graphics,i=r&&r.element,n=e.getFromEnv("animationManager");!t.errorBarHovered&&i&&0!==i.getData().showHoverEffect&&(n.setAnimationState("mouseOver"),n.setAnimation({el:i,label:"rect",component:o,attr:i.getData().setRolloverAttr,doNotRemove:!0})),i&&e.plotEventHandler(i,a,"DataPlotRollOver")},k=function(e,t,a,o){var r=t.graphics,i=r&&r.element,n=e.getFromEnv("animationManager");!t.errorBarHovered&&i&&0!==i.getData().showHoverEffect&&(n.setAnimationState("mouseOut"),n.setAnimation({el:i,label:"rect",component:o,attr:i.getData().setRolloutAttr,doNotRemove:!0})),i&&e.plotEventHandler(i,a,"DataPlotRollOut")};t._rolloutResponseSetter=k,t._rolloverResponseSetter=x,t._checkPointerOverErrorBar=s,t._checkPointerOverPlot=l,t._firePlotEvent=n,t._getHoveredPlot=i,t.removePlots=r,(0,u.addDep)({name:"errorbar2DColumnAnimation",type:"animationRule",extension:p["default"].column}),(0,u.addDep)({name:"errorbar2DErrorAnimation",type:"animationRule",extension:p["default"].error});var y=function(e){function t(){var t;return(t=e.call(this)||this).drawCallBackFn=function(e){return function(){"disappearing"===e?this.hide():this.show()}},t}(0,c["default"])(t,e);var a=t.prototype;return a.getType=function(){return"dataset"},a.getName=function(){return"errorBar2D"},a.ErrorValueConfigure=function(){var e,t,a,o,r,i,n,l,s,c,h,u,p,f,x,k,y,C,w,N,A,S,D,L,E,T,_,V,P=this.config,F=P.JSONData,B=F.data,I=this.getFromEnv("chart-attrib"),M=this.components.data,R=(0,d.pluckNumber)(I.seriesnameintooltip,1),O=(0,d.parseUnsafeString)((0,d.pluck)(I.tooltipsepchar,", ")),G=this.getFromEnv("number-formatter"),H=-Infinity,W=Infinity,z=this.getFromEnv("xAxis").getTicksLen(),U=Math.min(z,B&&B.length),J=function(t){var o;return P.showTooltip?null===u?o=!1:void 0!==t?(n=[1,2,3,4,5,6,7,99,100,101,102,120,121],l={yaxisName:(0,d.parseUnsafeString)(I.yaxisname),xaxisName:(0,d.parseUnsafeString)(I.xaxisname),formattedValue:a.toolTipValue,errorValue:h,errorDataValue:a.errorToolTipValue,errorPercentValue:a.errorPercentValue,errorPercentDataValue:a.errorPercentValue,positiveErrorValue:a.positiveErrorToolTipValue,negativeErrorValue:a.negativeErrorToolTipValue,label:a.label},o=(0,d.parseTooltext)(t,n,l,e,I,F)):(R&&(r=(0,d.getFirstValue)(F&&F.seriesname)),o=r?r+O:"",o+=a.label?a.label+O:""):o=!1,o};for(P.showTooltip=(0,d.pluckNumber)(I.showtooltip,1),P.errorInPercent=i=(0,d.pluckNumber)(F.errorinpercent,I.errorinpercent),P.showValues=(0,d.pluckNumber)(F.showvalues,I.showvalues,0),P.errorBarShadow=f=(0,d.pluckNumber)(I.errorbarshadow,I.showshadow,1),P.ignoreEmptyDatasets=(0,d.pluckNumber)(F.ignoreemptydatasets,0),N=(0,d.pluckNumber)(I.halferrorbar,1),P.notHalfErrorBar=!(0,d.pluckNumber)(I.halferrorbar,1),c=(0,d.getFirstAlpha)((0,d.pluck)(F.errorbaralpha,I.errorbaralpha,P.plotfillalpha)),P.errorBarWidthPercent=(0,d.pluckNumber)(F.errorbarwidthpercent,I.errorbarwidthpercent,70),P.errorBarColor=(0,d.convertColor)((0,d.getFirstColor)((0,d.pluck)(F.errorbarcolor,I.errorbarcolor,g)),c),P.errorBarThickness=(0,d.pluckNumber)(F.errorbarthickness,I.errorbarthickness,1),P.shadowOpacity=f?c/250:0,P.parentYAxis=x=(0,d.pluck)(F.parentyaxis&&F.parentyaxis.toLowerCase(),v)===b?1:0,P.cumulativeValueOnErrorBar=(0,d.pluckNumber)(F.cumulativevalueonerrorbar,I.cumulativevalueonerrorbar,1),V=0;V<U;V++)(t=M[V])&&(e=B&&B[V],a=t&&t.config,T=void 0,_=void 0,void 0!==(0,d.pluckNumber)(e.value)&&(t||(t=M[V]={graphics:{}}),t.config||(a=M[V].config={}),k=a.setValue,a.setErrorValue=h=G.getCleanValue(e.errorvalue),a.errorInPercent=(0,d.pluckNumber)(e.errorinpercent,i,0),a.errorInPercent&&(a.setErrorValue=h=(0,d.pluckNumber)((h/100*k).toFixed(2))),a.cumulativeValueOnErrorBar=(0,d.pluckNumber)(e.cumulativevalueonerrorbar,P.cumulativeValueOnErrorBar,1),a.positiveErrorValue=G.getCleanValue((0,d.pluckNumber)(e.positiveerrorvalue,e.errorvalue)),a.errorInPercent&&a.positiveErrorValue&&(a.positiveErrorValue=(0,d.pluckNumber)((a.positiveErrorValue/100*k).toFixed(2))),a.positiveCumulativeErrorValue=k+(0,d.pluckNumber)(a.positiveErrorValue,a.setErrorValue),a.negativeErrorValue=G.getCleanValue((0,d.pluckNumber)(e.negativeerrorvalue,e.errorvalue)),a.errorInPercent&&a.negativeErrorValue&&(a.negativeErrorValue=(0,d.pluckNumber)((a.negativeErrorValue/100*k).toFixed(2))),a.negativeCumulativeErrorValue=k-(0,d.pluckNumber)(a.negativeErrorValue,a.setErrorValue),a.errorToolTipValue=G.dataLabels(h,x),a.negativeErrorToolTipValue=G.dataLabels(a.negativeErrorValue,x),a.negativeCumulativeErrorTooltipValue=G.dataLabels(a.negativeCumulativeErrorValue,x),a.positiveErrorToolTipValue=G.dataLabels(a.positiveErrorValue,x),a.positiveCumulativeErrorTooltipValue=G.dataLabels(a.positiveCumulativeErrorValue,x),a.errorPercentValue=Math.round(h/k*d.HUNDREDSTRING*d.HUNDREDSTRING)/d.HUNDREDSTRING+m,D=a.cumulativeValueOnErrorBar,a.notHalfErrorBar=P.notHalfErrorBar,a.halfErrorBar=N,a.showValue=(0,d.pluckNumber)(e.showvalue,P.showValues),a.hasErrorValue=void 0!==(0,d.pluckNumber)(e.errorvalue)?1:0,y=a.errorValue=h,s=a.errorToolTipValue,u=s,o=J(p=(0,d.getValidValue)((0,d.parseUnsafeString)((0,d.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,u)))),T=_=void 0,(p=(0,d.getValidValue)((0,d.parseUnsafeString)((0,d.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.positiveErrorToolTipValue))))&&a.positiveErrorToolTipValue&&(T=J(p)),(p=(0,d.getValidValue)((0,d.parseUnsafeString)((0,d.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.negativeErrorToolTipValue))))&&a.negativeErrorToolTipValue&&(_=J(p)),D&&((p=(0,d.getValidValue)((0,d.parseUnsafeString)((0,d.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.positiveCumulativeErrorTooltipValue))))&&a.positiveCumulativeErrorTooltipValue&&(L=J(p)),(p=(0,d.getValidValue)((0,d.parseUnsafeString)((0,d.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.negativeCumulativeErrorTooltipValue))))&&a.negativeCumulativeErrorTooltipValue&&(E=J(p))),A=a.positiveErrorValue,S=a.negativeErrorValue,(e.positiveerrorvalue||e.negativeerrorvalue)&&(a.halfErrorBar=0,a.notHalfErrorBar=!0),C=k+(null!==A?A:h),w=k-(a.halfErrorBar?0:S<0&&k<0?0:null!==S?S:h),H=Math.max(H,C,w),W=Math.min(W,C,w),a.errorValueArr=[],null===a.positiveErrorValue&&(a.positiveErrorValue=void 0),y=-a.positiveErrorValue,a.errorValueArr.push({errorValue:y,tooltext:D?L:T||o,errorEdgeBar:!0}),a.errorValueArr.push({errorValue:y,tooltext:T||o}),a.notHalfErrorBar&&(y=a.negativeErrorValue,a.errorValueArr.push({errorValue:y,tooltext:D?E:_||o,errorEdgeBar:!0}),a.errorValueArr.push({errorValue:y,tooltext:_||o})),a.toolText=J(a.setTooltext)));P.maxValue=H,P.minValue=W},a.drawErrorValue=function(){var e,t,a,o,r,i,n,l,s,c,h,u,p,g,m,v,b,x,k,y,C,w,N,A,S,D,L,E,T,_,V,P,F=this.config,B=this.getState("visible"),I=this.getFromEnv("yAxis"),M=F.errorBarThickness,R=F.errorBarColor,O=F.scrollMaxVal,G=this.getFromEnv("animationManager");for(t=F.scrollMinVal;t<O;t++)if((n=this.components.data[t])&&(_=n.trackerConfig,(P=n.errorTrackerConfig={}).errorTrackerArr=[],l=(s=n&&n.config)&&s.setValue,void 0!==n))if(n&&(null==l||""===s.errorValue||void 0===s.errorValue||null===s.errorValue&&null===s.positiveErrorValue&&null===s.negativeErrorValue))for(y=n.graphics.error&&n.graphics.error.length,a=0;a<y;a++)n.graphics.error&&n.graphics.error[a]&&(G.setAnimation({el:n.graphics.error[a],label:"path",callback:this.drawCallBackFn("disappearing")}),n.graphics.error[a].shadow({opacity:0}));else{for(n.errorBar&&delete n.errorBar,v=s.errorValueArr,P.errorLen=y=v.length,!n.graphics.error&&(n.graphics.error=[]),w=this.getJSONIndex()+"_"+t,o=s.setLink,A=l<0,S=n._xPos,D=n._yPos,L=n._width,E=n._height,i=A?D+E:D,r=S+L/2,n.errorBar||(n.errorBar=[]);y--;)N=null,P.errorTrackerArr[y]={},b=v[y],P.errorTrackerArr[y].tooltext=b.tooltext,T=b.errorStartValue,k=isNaN(T)?i:I.getPixel(T),null===(x=b.errorValue)||isNaN(x)?n.graphics.error&&n.graphics.error[y]&&G.setAnimation({el:n.graphics.error[y],label:"path",doNotRemove:!0,callback:this.drawCallBackFn("disappearing")}).shadow({opacity:0}):(C=L*(F.errorBarWidthPercent/100)/2,m=B?-1:0,g=I.getPixel(I.getValue(isNaN(T)?D:k)+x*m,{wrtVisible:!0}),A&&(g+=E),g,r,V=(M=(0,d.pluckNumber)(b.errorBarThickness,M))>5?M/2:2.5,h=Math.round(g)+M%2/2,u=Math.round(r)+M%2/2,n.errorBar[y]||(n.errorBar[y]=[]),b.errorEdgeBar?(p=["M",u-C,h,"H",u+C],n.errorBar[y][1]={_xPos:u-C-V,_yPos:h-V,_height:2*V,_width:2*(C+V),_toolText:b.tooltext}):(p=["M",u,k,"V",h],n.errorBar[y][0]={_xPos:u-V,_yPos:h<k?h:k,_height:Math.abs(k-h),_width:2*V,_toolText:b.tooltext}),e={path:p,stroke:R=(0,d.pluck)(b.errorBarColor,R),"stroke-width":M,cursor:o?"pointer":"","stroke-linecap":f},c=!n.graphics.error[y]&&B?"appearing":B?"updating":"disappearing",N=n.graphics.error[y]=G.setAnimation({el:n.graphics.error[y]||"path",container:this.getContainer("errorPlotGroup"),component:this,attr:e,label:"path",state:c,callback:this.drawCallBackFn(c)}).shadow({opacity:F.shadowOpacity},this.getContainer("errorShadowGroup")),this.getFromEnv("chartConfig").enablemousetracking&&N.data("groupId",w).data("eventArgs",_.eventArgs));if(!s.notHalfErrorBar)for(a=2;a<4;a++)n.graphics.error&&n.graphics.error[a]&&G.setAnimation({el:n.graphics.error[a],label:"path",doNotRemove:!0,callback:this.drawCallBackFn("disappearing")}).shadow({opacity:0})}},a._firePlotEvent=function(e,t,a){var o=this.getFromEnv("chart"),r=this.components.data[t],i=r.graphics.element,n=r.errorBarHovered,l=r.config.setLink;if(i)switch(e){case"fc-mouseover":this._decideTooltipType(t,a),x(o,r,a,this),l&&(i.node.style.cursor="pointer");break;case"fc-mouseout":this.getFromEnv("toolTipController").hide(this.config.currentToolTip),k(o,r,a,this),l&&(i.node.style.cursor="default");break;case"fc-click":o.plotEventHandler(i,a);break;case"fc-mousemove":this._decideTooltipType(t,a),n&&!r._isRollover?(0!==i.showHoverEffect&&i.attr(i.getData().setRolloutAttr),r._isRollover=!0,r._isRollout=!1):n||r._isRollout||(0!==i.showHoverEffect&&i.attr(i.getData().setRolloverAttr),r._isRollover=!1,r._isRollout=!0)}},a._checkPointerOverErrorBar=function(e,t,a){var o,r,i,n,l,s,c,d,h,u,p=this.components.data,g=p[e];if(g&&(r=g.errorBar))for(n=r&&r.length;n--;)for(l=(i=r[n])&&i.length;l--;)if(i[l]&&i[l]._xPos&&(c=i[l]._xPos,d=i[l]._yPos,h=i[l]._height,u=i[l]._width,s=i[l]._toolText,o=t>=c&&t<=c+u&&a>=d&&a<=d+h))return{pointIndex:e,hovered:o,pointObj:p[e],toolText:s}},a._checkPointerOverPlot=function(e,t,a){var o,r,i=this.components.data[e],n=i&&i.config;if(i)return o=this.config.JSONData.plottooltext||this.getFromEnv("chart-attrib").plottooltext?"":n.toolTipValue,(r=this._checkPointerOverErrorBar(e,t,a))?(i.errorBarHovered=!0,n.finalTooltext=r.toolText):(r=this._checkPointerOverColumn(e,t,a),i.errorBarHovered=!1,r&&(n.finalTooltext=!1!==n.toolText&&n.toolText+o)),r},a._getHoveredPlot=function(e,t){var a,o;return a=this.getFromEnv("xAxis").getValue(e),(o=Math.round(a))-a>0?this._checkPointerOverPlot(o,e,t)||this._checkPointerOverPlot(o-1,e,t):this._checkPointerOverPlot(o+1,e,t)||this._checkPointerOverPlot(o,e,t)},a.removePlots=function(){var e,t,a,o,r=this.components,i=r.removeDataArr,n=r.pool||(r.pool={element:[],hotElement:[],label:[]}),l=i.length;for(a=0;a<l;a++)if(e=i[0],i.splice(0,1),e&&e.graphics){for((t=e.graphics).element&&t.element.hide()&&t.element.shadow({opacity:0}),o=0;o<4;o++)t.error&&t.error[o]&&this.getFromEnv("animationManager").setAnimation({el:t.error[o],label:"path"});e.graphics.element&&(n.element=n.element.concat(e.graphics.element)),e.graphics.hotElement&&(n.hotElement=n.hotElement.concat(e.graphics.hotElement)),e.graphics.label&&(n.label=n.label.concat(e.graphics.label))}r.pool=n},t}(h["default"]);t.removePlots=r=y.prototype.removePlots,t._getHoveredPlot=i=y.prototype._getHoveredPlot,t._firePlotEvent=n=y.prototype._firePlotEvent,t._checkPointerOverPlot=l=y.prototype._checkPointerOverPlot,t._checkPointerOverErrorBar=s=y.prototype._checkPointerOverErrorBar;var C=y;t["default"]=C},845:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r={column:{"initial.dataset.errorBar2D":o(a(482))["default"]["initial.dataset.column"]},error:{"initial.dataset.errorBar2D":function(){return{"path.appearing":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]}}}};t["default"]=r},846:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(847))["default"];t["default"]=r},847:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(508)),n=a(601),l=o(a(848)),s=function(e){function t(){var t;return(t=e.call(this)||this).useErrorGroup=!0,t.isErrorChart=!0,t.hasAnchor=!0,t.defaultPlotShadow=1,t.axisPaddingLeft=0,t.axisPaddingRight=0,t.canvasPaddingModifiers=["anchor","errorbar"],t}(0,r["default"])(t,e),t.getName=function(){return"ErrorLine"};var a=t.prototype;return a.getName=function(){return"ErrorLine"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.defaultDatasetType="errorline",n._setDefaultConfig.call(this),this.zeroplanethickness=1,this.zeroplanealpha=40,t.showzeroplaneontop=0,t.defaultcrosslinethickness=1,t.enablemousetracking=!0},a.getDSGroupdef=function(){},a.getDSdef=function(){return l["default"]},t}(i["default"]);t["default"]=s},848:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=a(187),n=a(844),l=o(a(498)),s=a(195),c=o(a(849)),d=o(a(850)),h=i.preDefStr.colors.AAAAAA,u=i.preDefStr.ROUND,p=i.preDefStr.PERCENTAGESTRING,g="rgba(192,192,192,"+(i.isIE?.002:1e-6)+")",f=Math,m=f.round,v=f.min,b=f.max,x=f.abs,k=i.hasTouch?i.TOUCH_THRESHOLD_PIXELS:i.CLICK_THRESHOLD_PIXELS;(0,s.addDep)({name:"errorlineErrorAnimation",type:"animationRule",extension:c["default"]}),(0,s.addDep)({name:"errorlineLineAnimation",type:"animationRule",extension:d["default"]});var y=function(e){function t(){var t;return(t=e.call(this)||this).drawCallbackFn=function(e){return function(){"disappearing"===e&&this.hide()}},t}(0,r["default"])(t,e);var a=t.prototype;return a.getType=function(){return"dataset"},a.getName=function(){return"errorLine"},a.ErrorValueConfigure=function(){var e,t,a,o,r,n,l,s,c,d,u,g,f,x,k,y,C,w,N,A,S,D,L,E,T,_=this.getFromEnv("chart"),V=this.config,P=V.parentYAxis,F=V.JSONData,B=F.data,I=_.getFromEnv("dataSource").chart,M=this.getFromEnv("xAxis").getTicksLen(),R=this.components.data,O=this.getFromEnv("number-formatter"),G=V.linethickness,H=-Infinity,W=Infinity,z=(0,i.pluck)(I.tooltipsepchar,", "),U=(0,i.pluckNumber)(I.seriesnameintooltip,1),J=function(t){var o;return _.config.showtooltip?null===s?o=!1:void 0!==t?(A=[1,2,3,4,5,6,7,99,100,101,102],S={yaxisName:(0,i.parseUnsafeString)(I.yaxisname),xaxisName:(0,i.parseUnsafeString)(I.xaxisname),formattedValue:a.toolTipValue,errorValue:l,errorDataValue:a.errorToolTipValue,errorPercentValue:a.errorPercentValue,errorPercentDataValue:a.errorPercentValue,label:a.label},o=(0,i.parseTooltext)(t,A,S,e,I,F)):(U&&(D=(0,i.getFirstValue)(F&&F.seriesname)),o=D?D+z:"",o+=a.label?a.label+z:""):o=!1,o};for(V.errorBarShadow=x=(0,i.pluckNumber)(I.errorbarshadow,I.showshadow,1),V.ignoreEmptyDatasets=(0,i.pluckNumber)(F.ignoreemptydatasets,0),V.notHalfErrorBar=!(0,i.pluckNumber)(I.halferrorbar,1),r=(0,i.getFirstAlpha)((0,i.pluck)(F.errorbaralpha,I.errorbaralpha,V.alpha)),V.errorBarWidth=(0,i.pluckNumber)(F.errorbarwidth,I.errorbarwidth,5),V.errorBarColor=(0,i.convertColor)((0,i.getFirstColor)((0,i.pluck)(F.errorbarcolor,I.errorbarcolor,h)),r),n=(0,i.pluckNumber)(F.errorbarthickness,I.errorbarthickness,1),V.errorBarThickness=n>G?G:n,V.shadowOpacity=x?r/250:0,V.errorInPercent=L=(0,i.pluckNumber)(F.errorinpercent,I.errorinpercent),V.cumulativeValueOnErrorBar=(0,i.pluckNumber)(F.cumulativevalueonerrorbar,I.cumulativevalueonerrorbar,1),T=0;T<M;T++)e=B&&B[T],B&&e&&(t=R[T],a=t&&t.config,t||(t=R[T]={graphics:{}}),t.config||(a=R[T].config={}),C=a.setValue,a.notHalfErrorBar=V.notHalfErrorBar,l=O.getCleanValue(e.errorvalue),a.errorToolTipValue=O.dataLabels(l,P),a.setErrorValue=a.errorValue=w=l,a.hasErrorValue=void 0!==(0,i.pluckNumber)(e.errorvalue)?1:0,o=a.errorToolTipValue,s=o,E=J(c=(0,i.getValidValue)((0,i.parseUnsafeString)((0,i.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,s)))),a.errorInPercent=(0,i.pluckNumber)(e.errorinpercent,L,0),a.errorInPercent&&(a.setErrorValue=l=(0,i.pluckNumber)((l/100*C).toFixed(2))),a.cumulativeValueOnErrorBar=N=(0,i.pluckNumber)(e.cumulativevalueonerrorbar,V.cumulativeValueOnErrorBar,1),a.positiveErrorValue=O.getCleanValue((0,i.pluckNumber)(e.positiveerrorvalue,e.errorvalue)),a.errorInPercent&&a.positiveErrorValue&&(a.positiveErrorValue=(0,i.pluckNumber)((a.positiveErrorValue/100*C).toFixed(2))),a.positiveCumulativeErrorValue=C+(0,i.pluckNumber)(a.positiveErrorValue,a.setErrorValue),a.negativeErrorValue=O.getCleanValue((0,i.pluckNumber)(e.negativeerrorvalue,e.errorvalue)),a.errorInPercent&&a.negativeErrorValue&&(a.negativeErrorValue=(0,i.pluckNumber)((a.negativeErrorValue/100*C).toFixed(2))),a.negativeCumulativeErrorValue=C-(0,i.pluckNumber)(a.negativeErrorValue,a.setErrorValue),a.errorToolTipValue=O.dataLabels(l,P),a.negativeErrorToolTipValue=O.dataLabels(a.negativeErrorValue,P),a.negativeCumulativeErrorTooltipValue=O.dataLabels(a.negativeCumulativeErrorValue,P),a.positiveErrorToolTipValue=O.dataLabels(a.positiveErrorValue,P),a.positiveCumulativeErrorTooltipValue=O.dataLabels(a.positiveCumulativeErrorValue,P),a.errorPercentValue=m(l/C*i.HUNDREDSTRING*i.HUNDREDSTRING)/i.HUNDREDSTRING+p,g=f=void 0,(c=(0,i.getValidValue)((0,i.parseUnsafeString)((0,i.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.positiveErrorToolTipValue))))&&a.positiveErrorToolTipValue&&(g=J(c)),(c=(0,i.getValidValue)((0,i.parseUnsafeString)((0,i.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.negativeErrorToolTipValue))))&&a.negativeErrorToolTipValue&&(f=J(c)),(e.positiveerrorvalue||e.negativeerrorvalue)&&(a.halfErrorBar=0,a.notHalfErrorBar=!0),N&&((c=(0,i.getValidValue)((0,i.parseUnsafeString)((0,i.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.positiveCumulativeErrorTooltipValue))))&&a.positiveCumulativeErrorTooltipValue&&(d=J(c)),(c=(0,i.getValidValue)((0,i.parseUnsafeString)((0,i.pluck)(e.errorplottooltext,F.errorplottooltext,I.errorplottooltext,a.negativeCumulativeErrorTooltipValue))))&&a.negativeCumulativeErrorTooltipValue&&(u=J(c))),k=C+(null!==a.positiveErrorValue?a.positiveErrorValue:l),y=C-(a.halfErrorBar?0:a.negativeErrorValue<0&&C<0?0:null!==a.negativeErrorValue?a.negativeErrorValue:l),H=b(H,k,y),W=v(W,k,y),null===l&&(l=void 0),a.errorValueArr=[],null===a.positiveErrorValue&&(a.positiveErrorValue=void 0),w=-a.positiveErrorValue,a.errorValueArr.push({errorValue:w,tooltext:N?d:g||E,errorEdgeBar:!0}),a.errorValueArr.push({errorValue:w,tooltext:g||E}),a.notHalfErrorBar&&(w=a.negativeErrorValue,a.errorValueArr.push({errorValue:w,tooltext:N?u:f||E,errorEdgeBar:!0}),a.errorValueArr.push({errorValue:w,tooltext:f||E})),a.toolText=J(a.setTooltext));V.maxValue=H,V.minValue=W},a._show=function(){var e=this.chart,t=this.graphics&&this.graphics.container,a=this.graphics&&this.graphics.dataLabelContainer,o=this.graphics&&this.graphics.errorGroupContainer,r=this.graphics&&this.graphics.errorShadowContainer;e._chartAnimation(),t.lineGroup.show(),t.anchorGroup.show(),t.anchorShadowGroup.show(),t.lineShadowGroup.show(),a.show(),this.setState("visible",!0),o&&o.show(),r&&r.show(),this._conatinerHidden=!1,e._setAxisLimits(),this.yAxis.draw(),e._drawDataset()},a._hide=function(){var e=this.chart;e._chartAnimation(),this.setState("visible",!1),e._setAxisLimits(),this.yAxis.draw(),e._drawDataset()},a.draw=function(){e.prototype.draw.call(this),this.drawErrorValue()},a.drawErrorValue=function(){var e,t,a,o,r,i,n,l,s,c,d,h,p,f,v,b,y,C,w,N,A,S,D,L,E,T,_=this.config,V=this.getFromEnv("xAxis").getTicksLen(),P=this.getState("visible"),F=this.getFromEnv("yAxis"),B=this.components.data,I=_.errorBarThickness,M=I>5?I/2:2.5,R=this.getFromEnv("animationManager");for(t=0;t<V;t++)if(c=(d=(s=B[t])&&s.config)&&d.setValue,void 0!==s&&null!=c)if((T=s.errorTrackerConfig={}).errorTrackerArr=[],y=d.errorValueArr,T.errorLen=A=y.length,!s.graphics.error&&(s.graphics.error=[]),!s.graphics.errorTracker&&(s.graphics.errorTracker=[]),""===d.errorValue||void 0===d.errorValue||null===d.errorValue&&null===d.positiveErrorValue&&null===d.negativeErrorValue)for(o=0;o<A;o++)s.graphics.error&&s.graphics.error[o]&&R.setAnimation({el:s.graphics.error[o]||"path",label:"path",component:this,callback:this.drawCallbackFn("disappearing")}).shadow({opacity:0});else{for(i=d.setLink,L=s._xPos,l=E=s._yPos,n=L,s.errorBar&&delete s.errorBar,s.errorBar=[];A--;)D=null,T.errorTrackerArr[A]={},C=y[A],T.errorTrackerArr[A].tooltext=C.tooltext,N=l,null===(w=C.errorValue)||isNaN(w)?s.graphics.error&&s.graphics.error[A]&&(s.graphics.error[A].hide(),s.graphics.error[A].shadow({opacity:0})):(S=_.errorBarWidth/2,b=P?1:0,v=E+(F.getPixel(0)-F.getPixel(1))*w*b,n,h=m(v)+I%2/2,p=m(n)+I%2/2,s.errorBar[A]||(s.errorBar[A]=[]),C.errorEdgeBar?(f=["M",p-S,h,"H",p+S],s.errorBar[A][1]={_xPos:p-S-M,_yPos:h-M,_height:2*M,_width:2*(S+M),_toolText:C.tooltext}):(f=["M",p,N,"V",h],s.errorBar[A][0]={_xPos:p-M,_yPos:h<N?h:N,_height:x(N-h),_width:2*M,_toolText:C.tooltext}),e={path:f,stroke:_.errorBarColor,"stroke-width":I,cursor:i?"pointer":"","stroke-linecap":u},r=!s.graphics.error[A]&&P?"appearing":P?"updating":"disappearing",D=s.graphics.error[A]=R.setAnimation({el:s.graphics.error[A]||"path",state:r,attr:e,label:"path",component:this,container:this.getContainer("errorPlotGroup"),callback:this.drawCallbackFn(r)}),"disappearing"!==r&&D.show(),D&&D.shadow({opacity:_.shadowOpacity},this.getContainer("errorShadowGroup")),T.errorTrackerArr[A].attr={path:f,stroke:g,"stroke-width":I<k?k:I,cursor:i?"pointer":""});if(!d.notHalfErrorBar)for(o=2;o<4;o++)s.graphics.error&&s.graphics.error[o]&&R.setAnimation({el:s.graphics.error[o]||"path",label:"path",component:this,doNotRemove:!0,callback:this.drawCallbackFn("disappearing")}).shadow({opacity:0})}else if(s&&s.graphics.error)for(a=0;a<s.graphics.error.length;a++)s.graphics.error&&s.graphics.error[a]&&R.setAnimation({el:s.graphics.error[a]||"path",label:"path",component:this,doNotRemove:!0,callback:this.drawCallbackFn("disappearing")}).shadow({opacity:0})},a._firePlotEvent=function(e,t,a){n._firePlotEvent.call(this,e,t,a)},a._checkPointerOverErrorBar=function(e,t,a){return n._checkPointerOverErrorBar.call(this,e,t,a)},a._checkPointerOverPlot=function(e,t,a){var o,r=this.components.data[e],i=r&&r.config;if(r)return(o=this.isWithinShape(r,e,t,a))?(r.errorBarHovered=!1,i.finalTooltext=!1!==i.toolText&&i.toolText):(o=this._checkPointerOverErrorBar(e,t,a))&&(r.errorBarHovered=!0,i.finalTooltext=o.toolText),o},a._getHoveredPlot=function(e,t){return n._getHoveredPlot.call(this,e,t)},a.getCanvasPadding=function(){var e,t,a,o,r,n,l=.5*this.config.errorBarWidth,s=this.getFromEnv("chart"),c=s.config.dataLabelStyle,d=this.components&&this.components.data||[],h=d[0],u=d[d.length-1],p={},g=s.getFromEnv("smartLabel"),f={paddingLeft:0,paddingRight:0};return h&&(n=(e=h.config).showValue,a=e&&e.anchorProps||{},n&&(t=e.displayValue,g.useEllipsesOnOverflow(s.config.useEllipsesWhenOverflow),g.setStyle(c),p=g.getOriSize(t)),e.setValue&&(o=b((0,i.pluckNumber)(a.radius,0),l)+(0,i.pluckNumber)(a.borderThickness,0),r=(p.width||0)/2),f.paddingLeft=b(o,r)),u&&(n=(e=u.config).showValue,a=e&&e.anchorProps||{},n&&(t=e.displayValue,g.setStyle(c),p=g.getOriSize(t)),e.setValue&&(o=b((0,i.pluckNumber)(a.radius,0),l)+(0,i.pluckNumber)(a.borderThickness,0),r=(p.width||0)/2),f.paddingRight=b(o,r)),f},a.removePlots=function(){n.removePlots.call(this)},t}(l["default"]);t["default"]=y},849:function(e,t,a){"use strict";t.__esModule=!0,t["default"]=void 0;t["default"]={"initial.dataset.errorLine":function(){return{"path.appearing":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}]},"*":null}}}},850:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r={"*.dataset.errorLine":o(a(501))["default"]["*.dataset.line"]};t["default"]=r},851:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(852))["default"];t["default"]=r},852:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(584)),n=o(a(853)),l=function(e){function t(){var t;return(t=e.call(this)||this).isXY=!0,t.defaultZeroPlaneHighlighted=!1,t.useErrorGroup=!0,t.isErrorChart=!0,t.hasAnchor=!0,t.initAnimation=!0,t}(0,r["default"])(t,e),t.getName=function(){return"ErrorScatter"};var a=t.prototype;return a.getName=function(){return"ErrorScatter"},a.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.defaultDatasetType="errorscatter",t.enablemousetracking=!0},a.getDSGroupdef=function(){},a.getDSdef=function(){return n["default"]},t}(i["default"]);t["default"]=l},853:function(e,t,a){"use strict";var o=a(181);t.__esModule=!0,t["default"]=void 0;var r=o(a(201)),i=o(a(588)),n=a(187),l=o(a(589)),s=a(195),c=o(a(854)),d=o(a(855)),h=n.preDefStr.colors.AAAAAA,u=n.preDefStr.ROUND,p=n.preDefStr.PERCENTAGESTRING,g="M";(0,s.addDep)({name:"errorscatterAnimation",type:"animationRule",extension:c["default"]}),(0,s.addDep)({name:"errorscatterErrorAnimation",type:"animationRule",extension:d["default"]});var f=function(e){function t(){var t;return(t=e.call(this)||this).drawCallbackFn=function(e){return function(){"disappearing"===e&&this.hide()}},t.removeCallbackFn=function(){this.hide(),this.shadow({opacity:0})},t}(0,r["default"])(t,e);var a=t.prototype;return a.getType=function(){return"dataset"},a.getName=function(){return"errorScatter"},a.ErrorValueConfigure=function(){var e,t,a,o,r,i,l,s,c,d,u,g,f,m,v,b,x,k,y,C,w,N,A,S,D,L,E,T,_,V,P,F,B,I,M,R,O,G,H,W,z,U,J,j,K,q,Y,X,Q,Z,$,ee,te,ae=this.config,oe=ae.JSONData,re=this.getFromEnv("dataSource").categories&&this.getFromEnv("dataSource").categories[0].category,ie=this.getFromEnv("chart-attrib"),ne=oe.data,le=ne&&ne.length||0,se=this.components.data,ce=this.getFromEnv("number-formatter"),de=(0,n.pluck)(ie.tooltipsepchar,", "),he=(0,n.parseUnsafeString)(ie.yaxisname),ue=(0,n.parseUnsafeString)(ie.xaxisname),pe=ae.parentYAxis,ge=-Infinity,fe=+Infinity,me=ge,ve=fe,be=fe,xe=ge,ke=function(t,o){var r;return ae.showTooltip?null===w?r=!1:void 0!==t?(D=[1,2,3,4,5,6,7,8,9,10,11,99,100,101,102,103,104,105,106,107,109],L={yaxisName:he,xaxisName:ue,yDataValue:w,xDataValue:a.label,formattedValue:a.toolTipValue,horizontalErrorValue:b,horizontalErrorDataValue:k,verticalErrorValue:x,verticalErrorDataValue:y,horizontalErrorPercentValue:A,verticalErrorPercentValue:S,label:a.label,errorValue:o,errorDataValue:o,errorPercentValue:a.errorPercentValue,errorPercentDataValue:a.errorPercentValue},r=(0,n.parseTooltext)(t,D,L,e,ie,oe)):null===w?r=!1:(ae.seriesNameInTooltip&&(E=(0,n.getFirstValue)(oe&&oe.seriesname)),r=E?E+de:"",r+=C.x?ce.xAxis(C.x)+de:"",r+=a.toolTipValue):r=!1,r};for(ae.errorBarShadow=r=(0,n.pluckNumber)(ie.errorbarshadow,ie.showshadow,0),ae.ignoreEmptyDatasets=(0,n.pluckNumber)(oe.ignoreemptydatasets,0),ae.notHalfErrorBar=!(0,n.pluckNumber)(ie.halferrorbar,1),ae.errorBarAlpha=(0,n.getFirstAlpha)((0,n.pluck)(oe.errorbaralpha,ie.errorbaralpha)),ae.errorBarWidth=i=(0,n.pluckNumber)(oe.errorbarwidth,ie.errorbarwidth,5),ae.errorBarColor=l=(0,n.convertColor)((0,n.getFirstColor)((0,n.pluck)(oe.errorbarcolor,ie.errorbarcolor,h)),void 0),ae.errorBarThickness=o=(0,n.pluckNumber)(oe.errorbarthickness,ie.errorbarthickness,1),ae.shadowOpacity=r?NaN:0,ae.halfHorizontalErrorBar=s=(0,n.pluckNumber)(ie.halfhorizontalerrorbar,1),ae.halfVerticalErrorBar=c=(0,n.pluckNumber)(ie.halfverticalerrorbar,1),void 0===ae.initAnimation&&(ae.initAnimation=this.getFromEnv("chart").initAnimation),d=(0,n.pluck)(oe.horizontalerrorbaralpha,oe.errorbaralpha,ie.horizontalerrorbaralpha,void 0),u=(0,n.pluckNumber)(oe.verticalerrorbaralpha,oe.errorbaralpha,ie.verticalerrorbaralpha,void 0),g=(0,n.convertColor)((0,n.pluck)(oe.horizontalerrorbarcolor,oe.errorbarcolor,ie.horizontalerrorbarcolor,l),d),f=(0,n.convertColor)((0,n.pluck)(oe.verticalerrorbarcolor,oe.errorbarcolor,ie.verticalerrorbarcolor,l),u),m=(0,n.pluckNumber)(oe.horizontalerrorbarthickness,oe.errorbarthickness,ie.horizontalerrorbarthickness,o),v=(0,n.pluckNumber)(oe.verticalerrorbarthickness,oe.errorbarthickness,ie.verticalerrorbarthickness,o),ae.horizontalErrorBarWidth=(0,n.pluckNumber)(oe.horizontalerrorbarwidth,ie.horizontalerrorbarwidth,i),ae.verticalErrorBarWidth=(0,n.pluckNumber)(oe.verticalerrorbarwidth,ie.verticalerrorbarwidth,i),ae.cumulativeValueOnErrorBar=(0,n.pluckNumber)(oe.cumulativevalueonerrorbar,ie.cumulativevalueonerrorbar,1),te=0;te<le;te++)ne&&(e=ne&&ne[te],t=se[te],a=t&&t.config,t||(t=se[te]={graphics:{}}),t.config||(a=se[te].config={}),C=a.setValue,a.errorValue=e.errorvalue,a.cumulativeValueOnErrorBar=Z=(0,n.pluckNumber)(e.cumulativevalueonerrorbar,ae.cumulativeValueOnErrorBar,1),a.hErrorValue=b=ce.getCleanValue((0,n.pluck)(e.horizontalerrorvalue,e.errorvalue)),k=ce.xAxis(b),a.vErrorValue=x=ce.getCleanValue((0,n.pluck)(e.verticalerrorvalue,e.errorvalue)),y=ce.dataLabels(x),a.hPositiveErrorValue=I=ce.getCleanValue((0,n.pluck)(e.horizontalpositiveerrorvalue,e.positiveerrorvalue,b)),a.hNegativeErrorValue=B=ce.getCleanValue((0,n.pluck)(e.horizontalnegativeerrorvalue,e.negativeerrorvalue,b)),a.vPositiveErrorValue=F=ce.getCleanValue((0,n.pluck)(e.verticalpositiveerrorvalue,e.positiveerrorvalue,x)),a.vNegativeErrorValue=j=ce.getCleanValue((0,n.pluck)(e.verticalnegativeerrorvalue,e.negativeerrorvalue,x)),A=Math.round(b/C.x*n.HUNDREDSTRING*n.HUNDREDSTRING)/n.HUNDREDSTRING+p,S=Math.round(x/C.y*n.HUNDREDSTRING*n.HUNDREDSTRING)/n.HUNDREDSTRING+p,R=ce.dataLabels(I,pe),M=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,R))),H=ce.dataLabels(B,pe),U=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,H))),z=ce.dataLabels(F,pe),Y=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,z))),ee=ce.dataLabels(j,pe),$=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,ee))),O=X=Q=K=void 0,Z&&(G=ce.dataLabels(C.x+I,pe),O=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,G))),W=ce.dataLabels(C.x-B,pe),X=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,W))),J=ce.dataLabels(C.y+F,pe),Q=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,J))),q=ce.dataLabels(C.y-j,pe),K=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(e.errorplottooltext,oe.errorplottooltext,ie.errorplottooltext,q)))),re&&re[te]&&(a.label=(0,n.getValidValue)((0,n.parseUnsafeString)((0,n.pluck)(re[te].tooltext,re[te].label)))),e.horizontalpositiveerrorvalue||e.positiveerrorvalue||e.horizontalnegativeerrorvalue||e.negativeerrorvalue?a.halfHorizontalErrorBar=s=0:a.halfHorizontalErrorBar=