@syncfusion/ej2-charts
Version:
Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.
10 lines • 1.76 MB
JavaScript
/*!
* filename: ej2-charts.min.js
* version : 30.2.4
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionBase"),require("SyncfusionSvgBase"),require("SyncfusionData"),require("SyncfusionPdfExport"),require("SyncfusionExcelExport"),require("SyncfusionNavigations"),require("SyncfusionCalendars"),require("SyncfusionSplitbuttons")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionSvgBase","SyncfusionData","SyncfusionPdfExport","SyncfusionExcelExport","SyncfusionNavigations","SyncfusionCalendars","SyncfusionSplitbuttons"],t):"object"==typeof exports?exports.SyncfusionCharts=t(require("SyncfusionBase"),require("SyncfusionSvgBase"),require("SyncfusionData"),require("SyncfusionPdfExport"),require("SyncfusionExcelExport"),require("SyncfusionNavigations"),require("SyncfusionCalendars"),require("SyncfusionSplitbuttons")):e.SyncfusionCharts=t(e.SyncfusionBase,e.SyncfusionSvgBase,e.SyncfusionData,e.SyncfusionPdfExport,e.SyncfusionExcelExport,e.SyncfusionNavigations,e.SyncfusionCalendars,e.SyncfusionSplitbuttons)}(self,(e,t,i,o,r,n,a,l)=>(()=>{"use strict";var s={766:t=>{t.exports=e},570:e=>{e.exports=a},74:e=>{e.exports=i},437:e=>{e.exports=r},215:e=>{e.exports=n},461:e=>{e.exports=o},295:e=>{e.exports=l},727:e=>{e.exports=t}},h={};function c(e){var t=h[e];if(void 0!==t)return t.exports;var i=h[e]={exports:{}};return s[e](i,i.exports,c),i.exports}c.d=(e,t)=>{for(var i in t)c.o(t,i)&&!c.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{c.r(d),c.d(d,{AccPointData:()=>qi,AccPoints:()=>fa,Accessibility:()=>a,AccumulationAnnotation:()=>Ga,AccumulationAnnotationSettings:()=>ga,AccumulationChart:()=>Ma,AccumulationDataLabel:()=>Ba,AccumulationDataLabelSettings:()=>ma,AccumulationDistributionIndicator:()=>yn,AccumulationHighlight:()=>Ua,AccumulationLegend:()=>Oa,AccumulationSelection:()=>Wa,AccumulationSeries:()=>va,AccumulationTooltip:()=>Va,Animation:()=>y,AreaSeries:()=>dr,AtrIndicator:()=>vn,Axis:()=>Xe,AxisLine:()=>He,AxisRenderer:()=>id,AxisSettings:()=>tc,BarSeries:()=>ur,BarSeries3D:()=>Xd,BinaryTreeBuilder:()=>Xc,BollingerBands:()=>Pn,Border:()=>u,BoxAndWhiskerSeries:()=>Kn,BubbleSeries:()=>Jr,BulletChart:()=>ss,BulletChartLegend:()=>ds,BulletChartLegendSettings:()=>rs,BulletDataLabel:()=>os,BulletLabelStyle:()=>ts,BulletTooltip:()=>hs,BulletTooltipSettings:()=>is,CandleSeries:()=>Fr,CartesianAxisLayoutPanel:()=>Ic,Category:()=>Qo,Category3D:()=>Id,CenterLabel:()=>p,Chart:()=>Uo,Chart3D:()=>Rd,Chart3DAxis:()=>ud,Chart3DColumn:()=>sd,Chart3DDataLabelSettings:()=>fd,Chart3DEmptyPointSettings:()=>vd,Chart3DLegendSettings:()=>Ad,Chart3DMajorGridLines:()=>hd,Chart3DMajorTickLines:()=>dd,Chart3DMinorGridLines:()=>cd,Chart3DMinorTickLines:()=>pd,Chart3DPoint:()=>bd,Chart3DRender:()=>Nc,Chart3DRow:()=>ld,Chart3DSeries:()=>xd,Chart3DTextFont:()=>Tc,Chart3DTooltipSettings:()=>Fd,ChartAnnotation:()=>Qn,ChartAnnotationSettings:()=>Pe,ChartArea:()=>L,ChartLocation:()=>Ui,ChartSegment:()=>xo,ChartTransform3D:()=>jc,CircleOption:()=>Wi,CircularChart3D:()=>_p,CircularChart3DConnector:()=>tp,CircularChart3DDataLabelFont:()=>ep,CircularChart3DDataLabelSettings:()=>ip,CircularChart3DEmptyPointSettings:()=>lp,CircularChart3DLegendSettings:()=>Lp,CircularChart3DPointData:()=>Dp,CircularChart3DPoints:()=>ap,CircularChart3DSeries:()=>sp,CircularChart3DTooltipSettings:()=>kp,CircularChartDataLabel3D:()=>op,CircularChartExport3D:()=>Ip,CircularChartHighlight3D:()=>Np,CircularChartLegend3D:()=>Pp,CircularChartSelection3D:()=>zp,CircularChartTooltip3D:()=>Rp,ClosestPoint:()=>Ps,CoefficientToVector:()=>bt,ColorValue:()=>Yi,Column:()=>Be,ColumnSeries:()=>lr,ColumnSeries3D:()=>Wd,Connector:()=>r,ContainerArea:()=>Kh,ContainerPadding:()=>S,ControlPoints:()=>$i,CornerRadius:()=>x,Crosshair:()=>kn,CrosshairSettings:()=>Wo,CrosshairTooltip:()=>Ue,CustomizeOption:()=>Bi,DataEditing:()=>Vn,DataLabel:()=>Un,DataLabel3D:()=>Gd,DataLabelSettings:()=>go,DataLabelTextOptions:()=>ks,DataPoint:()=>Ka,DateTime:()=>Zo,DateTime3D:()=>zd,DateTimeCategory:()=>er,DateTimeCategory3D:()=>Nd,Direction:()=>Ds,Double:()=>E,Double3D:()=>rd,DragSettings:()=>P,EmaIndicator:()=>pn,EmptyPointSettings:()=>v,ErrorBar:()=>Xn,ErrorBarCapSettings:()=>bo,ErrorBarSettings:()=>So,Export:()=>da,Export3D:()=>$d,Font:()=>s,FunnelSeries:()=>Ta,Graphics3D:()=>Uc,GridArcPoints:()=>Es,Highlight:()=>Wn,Highlight3D:()=>Qd,HiloOpenCloseSeries:()=>Gr,HiloSeries:()=>Ur,HistogramSeries:()=>rn,HorizontalLabelCollection:()=>Ss,ImageOption:()=>Hi,Index:()=>k,Indexes:()=>b,LabelBorder:()=>Ae,LabelCollection:()=>vs,LabelLocation:()=>Xi,LabelOffset:()=>rc,LabelOption:()=>Rs,LabelRegion:()=>xs,LastValueLabel:()=>jn,LastValueLabelSettings:()=>uo,Legend:()=>Yn,Legend3D:()=>Md,LegendBorder:()=>nh,LegendItemStyle:()=>rh,LegendItemStyleBorder:()=>oh,LegendLocation:()=>ih,LegendSeries:()=>bs,LegendTitle:()=>th,LineSegment:()=>Fs,LineSeries:()=>rr,LineSettings:()=>Jh,Location:()=>n,Logarithmic:()=>Ko,Logarithmic3D:()=>Hd,MacdIndicator:()=>Mn,MajorGridLines:()=>Ne,MajorTickLines:()=>We,MajorTickLinesSettings:()=>Jl,Margin:()=>m,MarkerOptions:()=>As,MarkerSettings:()=>mo,Matrix3D:()=>Wc,Mean:()=>St,MinorGridLines:()=>Ve,MinorTickLines:()=>je,MinorTickLinesSettings:()=>es,MomentumIndicator:()=>xn,MultiColoredAreaSeries:()=>ea,MultiColoredLineSeries:()=>ia,MultiColoredSeries:()=>hr,MultiLevelCategories:()=>Me,MultiLevelLabel:()=>oa,MultiLevelLabels:()=>ke,NiceInterval:()=>Go,NiceIntervals:()=>Ed,Offset:()=>g,Padding:()=>ic,ParetoOptions:()=>yo,ParetoSeries:()=>la,PeriodSelector:()=>ul,PeriodSelectorSettings:()=>M,Periods:()=>A,PieCenter:()=>ya,PieSeries:()=>La,PieSeries3D:()=>hp,Point:()=>Ls,Point3D:()=>Qi,PointData:()=>Zi,PointRegion:()=>ws,Points:()=>fo,PolarArc:()=>Ct,PolarSeries:()=>fr,Polygon3D:()=>Yc,PolygonOption:()=>ji,PyramidSeries:()=>_a,RadarSeries:()=>br,RadialLabelCollections:()=>Cs,Range:()=>Kl,RangeAreaSeries:()=>Zr,RangeBandSettings:()=>ec,RangeColorSetting:()=>Ho,RangeColumnSeries:()=>Br,RangeNavigator:()=>yl,RangeNavigatorAxis:()=>il,RangeNavigatorSeries:()=>nl,RangeSeries:()=>el,RangeSlider:()=>hl,RangeStepAreaSeries:()=>Vr,RangeTooltip:()=>Yl,RangeTooltipSettings:()=>sl,RectOption:()=>Vi,Row:()=>ze,RsiIndicator:()=>Cn,ScatterSeries:()=>Or,ScrollBar:()=>na,ScrollbarSettings:()=>Te,ScrollbarSettingsRange:()=>Re,Selection:()=>En,Selection3D:()=>Zd,Series:()=>Fo,SeriesAccessibility:()=>l,SeriesBase:()=>Co,SeriesMarker:()=>Lh,SeriesMarkerBorder:()=>Sh,SeriesMarkerDataLabel:()=>wh,SeriesMarkerDataLabelBorder:()=>Ch,SeriesMarkerDataLabelConnectorLine:()=>Fh,SeriesTooltip:()=>xh,SeriesTooltipBorder:()=>bh,SmaIndicator:()=>cn,Smithchart:()=>jh,SmithchartAxis:()=>ph,SmithchartAxisLine:()=>dh,SmithchartBorder:()=>ys,SmithchartFont:()=>gs,SmithchartLabelPosition:()=>Ms,SmithchartLegend:()=>Xh,SmithchartLegendSettings:()=>ah,SmithchartMajorGridLines:()=>hh,SmithchartMargin:()=>ms,SmithchartMinorGridLines:()=>ch,SmithchartRect:()=>fs,SmithchartSeries:()=>Ph,SmithchartSize:()=>Ts,Sparkline:()=>Ac,SparklineBorder:()=>Zh,SparklineDataLabelSettings:()=>nc,SparklineFont:()=>qh,SparklineMarkerSettings:()=>oc,SparklineTooltip:()=>Dc,SparklineTooltipSettings:()=>$h,SplineAreaSeries:()=>an,SplineRangeAreaSeries:()=>Kr,SplineSeries:()=>tn,StackLabelSettings:()=>_e,StackLabelsFont:()=>h,StackValues:()=>Ni,StackingAreaSeries:()=>Rr,StackingBarSeries:()=>Sr,StackingBarSeries3D:()=>Ud,StackingColumnSeries:()=>Lr,StackingColumnSeries3D:()=>jd,StackingLineSeries:()=>Ir,StackingStepAreaSeries:()=>Er,StepAreaSeries:()=>Dr,StepLineSeries:()=>Ar,StochasticIndicator:()=>wn,StockChart:()=>Gl,StockChartAnnotationSettings:()=>Il,StockChartArea:()=>Ll,StockChartAxis:()=>Tl,StockChartBorder:()=>wl,StockChartConnector:()=>Dl,StockChartFont:()=>Fl,StockChartIndexes:()=>Ol,StockChartIndicator:()=>Rl,StockChartLegendSettings:()=>Wl,StockChartRow:()=>El,StockChartStripLineSettings:()=>Al,StockChartTrendline:()=>_l,StockEmptyPointSettings:()=>Ml,StockEventsSettings:()=>zl,StockLegend:()=>jl,StockMargin:()=>Pl,StockSeries:()=>kl,StockTooltipSettings:()=>D,StripLine:()=>tr,StripLineSettings:()=>De,StyleSettings:()=>ll,Subtitle:()=>mh,Svg3DRenderer:()=>Gc,TechnicalIndicator:()=>zo,Thickness:()=>Gi,ThumbSettings:()=>al,Title:()=>yh,TitleBorder:()=>Ec,TitleSettings:()=>_c,TitleStyleSettings:()=>w,TmaIndicator:()=>gn,ToolbarPosition:()=>Ee,Tooltip:()=>zn,Tooltip3D:()=>wd,TooltipRender:()=>Uh,TooltipSettings:()=>f,TrackLineSettings:()=>Qh,TransformToVisible:()=>ft,Trendline:()=>vo,Trendlines:()=>Dn,Vector3D:()=>Hc,Visible3DLabels:()=>gd,VisibleLabels:()=>Ge,WallRenderer:()=>td,WaterfallSeries:()=>Wr,Zoom:()=>Nn,ZoomSettings:()=>jo,accReactTemplate:()=>$t,afterExport:()=>Se,animateAddPoints:()=>Bt,animateRectElement:()=>Ot,animateRedrawElement:()=>Ai,animateTextElement:()=>Mi,animationComplete:()=>z,annotationRender:()=>he,appendChildElement:()=>ni,appendClipElement:()=>Nt,appendElement:()=>ri,applyZLight:()=>xi,axisLabelClick:()=>U,axisLabelRender:()=>j,axisMultiLabelRender:()=>G,axisRangeCalculated:()=>X,beforeExport:()=>xe,beforePrint:()=>se,beforeResize:()=>le,blazorTemplatesReset:()=>zi,bulletChartMouseClick:()=>Ce,calculateLegendShapes:()=>Ci,calculateRect:()=>ui,calculateScrollbarOffset:()=>$e,calculateShapes:()=>Gt,calculateSize:()=>ki,chartDoubleClick:()=>Q,chartMouseClick:()=>q,chartMouseDown:()=>te,chartMouseLeave:()=>ee,chartMouseMove:()=>Z,chartMouseUp:()=>ie,chartReactTemplate:()=>Kt,checkBounds:()=>li,checkColorFormat:()=>vi,colorNameToHex:()=>fi,componentToHex:()=>mi,containsRect:()=>pi,convertHexToColor:()=>yi,convertToHexCode:()=>gi,createSvg:()=>Ri,createTemplate:()=>Jt,createTooltip:()=>Ft,createZoomingLabels:()=>wt,degreeToLocation:()=>ct,degreeToRadian:()=>dt,drag:()=>ye,dragComplete:()=>re,dragEnd:()=>fe,dragStart:()=>me,drawSymbol:()=>Xt,findClipRect:()=>Dt,findCrosshairDirection:()=>Lt,findlElement:()=>ii,firstToLowerCase:()=>kt,get3DSeriesColor:()=>zc,get3DThemeColor:()=>Oc,getActualDesiredIntervalsCount:()=>jt,getAngle:()=>gt,getAnimationFunction:()=>Et,getBulletThemeColor:()=>ns,getColorByValue:()=>Ki,getDraggedRectLocation:()=>ai,getElement:()=>qt,getExactData:()=>Qa,getFontStyle:()=>ei,getGradientColor:()=>Ji,getLabelText:()=>si,getMedian:()=>Si,getMinPointsDelta:()=>Tt,getMinPointsDeltaValue:()=>Jc,getNearestValue:()=>$a,getPercentage:()=>to,getPercentageColor:()=>eo,getPoint:()=>oi,getRangeThemeColor:()=>cl,getRangeValueXByPoint:()=>qa,getRectLocation:()=>Yt,getRotatedRectangleCoordinates:()=>pt,getSaturationColor:()=>bi,getScrollbarThemeColor:()=>ao,getSeriesColor:()=>ro,getSeriesFromIndex:()=>ba,getTemplateFunction:()=>Qt,getTextAnchor:()=>io,getThemeColor:()=>no,getTitle:()=>Ti,getTransform:()=>Rt,getUnicodeText:()=>Oi,getValueXByPoint:()=>At,getValueYByPoint:()=>Mt,getVisiblePoints:()=>Qe,getXLocation:()=>Za,indexFinder:()=>vt,inside:()=>it,isBreakLabel:()=>qe,isCollide:()=>ci,isOverlap:()=>di,isRotatedRectIntersect:()=>ut,isZoomSet:()=>Wt,legendClick:()=>I,legendRender:()=>B,lineBreakLabelTrim:()=>wi,linear:()=>_t,load:()=>O,loaded:()=>_,logBase:()=>et,logWithIn:()=>rt,markerAnimate:()=>It,measureElementRect:()=>ti,minMax:()=>Zt,multiLevelLabelClick:()=>ge,onZooming:()=>Fe,pathAnimation:()=>zt,pointByIndex:()=>xa,pointClick:()=>$,pointDoubleClick:()=>K,pointMove:()=>J,pointRender:()=>V,rangeValueToCoefficient:()=>Ya,redrawElement:()=>Pi,regSub:()=>ve,regSup:()=>be,removeElement:()=>Je,resized:()=>ae,rotateTextSize:()=>Ke,scrollChanged:()=>pe,scrollEnd:()=>de,scrollStart:()=>ce,selectionComplete:()=>ne,seriesRender:()=>W,setRange:()=>Ht,sharedTooltipRender:()=>H,showTooltip:()=>tt,smithchartBeforePrint:()=>Nh,sort:()=>Ze,stockEventFont:()=>oo,stockEventRender:()=>ue,stopTimer:()=>hi,stringToNumber:()=>Li,subArray:()=>mt,subArraySum:()=>lt,subtractRect:()=>ht,subtractThickness:()=>st,sum:()=>at,templateAnimate:()=>Ut,textElement:()=>Di,textRender:()=>N,textTrim:()=>Fi,textWrap:()=>_i,textWrapAnyWhere:()=>Ii,titleBorder:()=>C,titlePositionX:()=>Ei,titleSettings:()=>F,tooltipRender:()=>Y,triggerLabelRender:()=>Vt,valueToCoefficient:()=>yt,valueToCoefficients:()=>ed,valueToPolarCoefficient:()=>xt,withIn:()=>ot,withInBounds:()=>Pt,withInRange:()=>nt,zoomComplete:()=>oe});var e,t=c(766),i=(e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},e(t,i)},function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),o=function(e,t,i,o){var r,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(n<3?r(a):n>3?r(t,i,a):r(t,i))||a);return n>3&&a&&Object.defineProperty(t,i,a),a},r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Line")],r.prototype,"type",void 0),o([(0,t.Property)(null)],r.prototype,"color",void 0),o([(0,t.Property)(1)],r.prototype,"width",void 0),o([(0,t.Property)(null)],r.prototype,"length",void 0),o([(0,t.Property)("")],r.prototype,"dashArray",void 0),r}(t.ChildProperty),n=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(0)],r.prototype,"x",void 0),o([(0,t.Property)(0)],r.prototype,"y",void 0),r}(t.ChildProperty),a=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(null)],r.prototype,"accessibilityDescription",void 0),o([(0,t.Property)(null)],r.prototype,"accessibilityRole",void 0),o([(0,t.Property)(!0)],r.prototype,"focusable",void 0),o([(0,t.Property)(0)],r.prototype,"tabIndex",void 0),r}(t.ChildProperty),l=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(null)],r.prototype,"accessibilityDescriptionFormat",void 0),r}(a),s=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Normal")],r.prototype,"fontStyle",void 0),o([(0,t.Property)("16px")],r.prototype,"size",void 0),o([(0,t.Property)("Normal")],r.prototype,"fontWeight",void 0),o([(0,t.Property)("")],r.prototype,"color",void 0),o([(0,t.Property)("Center")],r.prototype,"textAlignment",void 0),o([(0,t.Property)("Segoe UI")],r.prototype,"fontFamily",void 0),o([(0,t.Property)(1)],r.prototype,"opacity",void 0),o([(0,t.Property)("Wrap")],r.prototype,"textOverflow",void 0),r}(t.ChildProperty),h=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Normal")],r.prototype,"fontStyle",void 0),o([(0,t.Property)("16px")],r.prototype,"size",void 0),o([(0,t.Property)("Normal")],r.prototype,"fontWeight",void 0),o([(0,t.Property)("")],r.prototype,"color",void 0),o([(0,t.Property)("Center")],r.prototype,"textAlignment",void 0),o([(0,t.Property)("Segoe UI")],r.prototype,"fontFamily",void 0),o([(0,t.Property)(1)],r.prototype,"opacity",void 0),r}(t.ChildProperty),p=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(null)],r.prototype,"text",void 0),o([(0,t.Complex)({fontFamily:null,size:"16px",fontStyle:"Normal",fontWeight:"600",color:null},s)],r.prototype,"textStyle",void 0),o([(0,t.Property)(null)],r.prototype,"hoverTextFormat",void 0),r}(t.ChildProperty),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("")],r.prototype,"color",void 0),o([(0,t.Property)(1)],r.prototype,"width",void 0),o([(0,t.Property)("")],r.prototype,"dashArray",void 0),r}(t.ChildProperty),g=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(0)],r.prototype,"x",void 0),o([(0,t.Property)(0)],r.prototype,"y",void 0),r}(t.ChildProperty),m=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(t.Browser.isDevice?5:10)],r.prototype,"left",void 0),o([(0,t.Property)(t.Browser.isDevice?5:10)],r.prototype,"right",void 0),o([(0,t.Property)(t.Browser.isDevice?5:10)],r.prototype,"top",void 0),o([(0,t.Property)(t.Browser.isDevice?5:10)],r.prototype,"bottom",void 0),r}(t.ChildProperty),y=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(!0)],r.prototype,"enable",void 0),o([(0,t.Property)(1e3)],r.prototype,"duration",void 0),o([(0,t.Property)(0)],r.prototype,"delay",void 0),r}(t.ChildProperty),f=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(!1)],r.prototype,"enable",void 0),o([(0,t.Property)(!0)],r.prototype,"enableMarker",void 0),o([(0,t.Property)(!1)],r.prototype,"shared",void 0),o([(0,t.Property)(null)],r.prototype,"fill",void 0),o([(0,t.Property)(null)],r.prototype,"header",void 0),o([(0,t.Property)(null)],r.prototype,"opacity",void 0),o([(0,t.Complex)({fontFamily:null,size:null,fontStyle:"Normal",fontWeight:null,color:null},s)],r.prototype,"textStyle",void 0),o([(0,t.Property)(null)],r.prototype,"format",void 0),o([(0,t.Property)(null)],r.prototype,"template",void 0),o([(0,t.Property)(!0)],r.prototype,"enableAnimation",void 0),o([(0,t.Property)(300)],r.prototype,"duration",void 0),o([(0,t.Property)(1e3)],r.prototype,"fadeOutDuration",void 0),o([(0,t.Property)("Move")],r.prototype,"fadeOutMode",void 0),o([(0,t.Property)(!1)],r.prototype,"enableTextWrap",void 0),o([(0,t.Property)(!0)],r.prototype,"showNearestPoint",void 0),o([(0,t.Complex)({color:null,width:null},u)],r.prototype,"border",void 0),o([(0,t.Complex)({x:null,y:null},n)],r.prototype,"location",void 0),o([(0,t.Property)(!1)],r.prototype,"enableHighlight",void 0),o([(0,t.Property)(!1)],r.prototype,"showNearestTooltip",void 0),o([(0,t.Property)(!0)],r.prototype,"showHeaderLine",void 0),r}(t.ChildProperty),v=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(null)],r.prototype,"fill",void 0),o([(0,t.Complex)({color:"",width:0},u)],r.prototype,"border",void 0),o([(0,t.Property)("Gap")],r.prototype,"mode",void 0),r}(t.ChildProperty),b=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(0)],r.prototype,"series",void 0),o([(0,t.Property)(0)],r.prototype,"point",void 0),r}(t.ChildProperty),x=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(0)],r.prototype,"topLeft",void 0),o([(0,t.Property)(0)],r.prototype,"topRight",void 0),o([(0,t.Property)(0)],r.prototype,"bottomLeft",void 0),o([(0,t.Property)(0)],r.prototype,"bottomRight",void 0),r}(t.ChildProperty),S=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(0)],r.prototype,"left",void 0),o([(0,t.Property)(0)],r.prototype,"right",void 0),o([(0,t.Property)(0)],r.prototype,"top",void 0),o([(0,t.Property)(0)],r.prototype,"bottom",void 0),r}(t.ChildProperty),C=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("transparent")],r.prototype,"color",void 0),o([(0,t.Property)(0)],r.prototype,"width",void 0),o([(0,t.Property)(.8)],r.prototype,"cornerRadius",void 0),r}(t.ChildProperty),F=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Normal")],r.prototype,"fontStyle",void 0),o([(0,t.Property)("15px")],r.prototype,"size",void 0),o([(0,t.Property)("500")],r.prototype,"fontWeight",void 0),o([(0,t.Property)("")],r.prototype,"color",void 0),o([(0,t.Property)("Center")],r.prototype,"textAlignment",void 0),o([(0,t.Property)("Segoe UI")],r.prototype,"fontFamily",void 0),o([(0,t.Property)(1)],r.prototype,"opacity",void 0),o([(0,t.Property)("Wrap")],r.prototype,"textOverflow",void 0),o([(0,t.Property)("Top")],r.prototype,"position",void 0),o([(0,t.Property)(0)],r.prototype,"x",void 0),o([(0,t.Property)(0)],r.prototype,"y",void 0),o([(0,t.Property)("transparent")],r.prototype,"background",void 0),o([(0,t.Complex)({},C)],r.prototype,"border",void 0),o([(0,t.Complex)({},a)],r.prototype,"accessibility",void 0),r}(t.ChildProperty),w=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Top")],r.prototype,"position",void 0),o([(0,t.Property)(0)],r.prototype,"x",void 0),o([(0,t.Property)(0)],r.prototype,"y",void 0),r}(s),L=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Complex)({},u)],r.prototype,"border",void 0),o([(0,t.Property)("transparent")],r.prototype,"background",void 0),o([(0,t.Property)(1)],r.prototype,"opacity",void 0),o([(0,t.Property)(null)],r.prototype,"backgroundImage",void 0),o([(0,t.Property)(null)],r.prototype,"width",void 0),o([(0,t.Complex)({left:0,right:0,top:0,bottom:0},m)],r.prototype,"margin",void 0),r}(t.ChildProperty),P=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(!1)],r.prototype,"enable",void 0),o([(0,t.Property)(null)],r.prototype,"minY",void 0),o([(0,t.Property)(null)],r.prototype,"maxY",void 0),o([(0,t.Property)(null)],r.prototype,"fill",void 0),r}(t.ChildProperty),A=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)("Years")],r.prototype,"intervalType",void 0),o([(0,t.Property)(1)],r.prototype,"interval",void 0),o([(0,t.Property)(null)],r.prototype,"text",void 0),o([(0,t.Property)(!1)],r.prototype,"selected",void 0),r}(t.ChildProperty),M=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(43)],r.prototype,"height",void 0),o([(0,t.Property)("Bottom")],r.prototype,"position",void 0),o([(0,t.Collection)([],A)],r.prototype,"periods",void 0),r}(t.ChildProperty),D=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),o([(0,t.Property)(!1)],r.prototype,"enable",void 0),o([(0,t.Property)(!0)],r.prototype,"enableMarker",void 0),o([(0,t.Property)(!1)],r.prototype,"shared",void 0),o([(0,t.Property)(null)],r.prototype,"fill",void 0),o([(0,t.Property)(null)],r.prototype,"header",void 0),o([(0,t.Property)(.75)],r.prototype,"opacity",void 0),o([(0,t.Complex)({fontFamily:null,size:"12px",fontStyle:"Normal",fontWeight:null,color:null},s)],r.prototype,"textStyle",void 0),o([(0,t.Property)(null)],r.prototype,"format",void 0),o([(0,t.Property)(null)],r.prototype,"template",void 0),o([(0,t.Property)(!0)],r.prototype,"enableAnimation",void 0),o([(0,t.Property)(300)],r.prototype,"duration",void 0),o([(0,t.Property)(1e3)],r.prototype,"fadeOutDuration",void 0),o([(0,t.Property)("Move")],r.prototype,"fadeOutMode",void 0),o([(0,t.Property)(!1)],r.prototype,"enableTextWrap",void 0),o([(0,t.Property)(!0)],r.prototype,"showNearestPoint",void 0),o([(0,t.Complex)({color:null,width:null},u)],r.prototype,"border",void 0),o([(0,t.Property)("Fixed")],r.prototype,"position",void 0),o([(0,t.Property)(!1)],r.prototype,"showNearestTooltip",void 0),o([(0,t.Property)(!0)],r.prototype,"showHeaderLine",void 0),r}(t.ChildProperty),k=function(e,t){this.series=e,this.point=t},R=c(727),T=function(){function e(e,t){e<t?(this.mStart=e,this.mEnd=t):(this.mStart=t,this.mEnd=e)}return Object.defineProperty(e.prototype,"start",{get:function(){return this.mStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this.mEnd},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delta",{get:function(){return this.mEnd-this.mStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"median",{get:function(){return this.mStart+(this.mEnd-this.mStart)/2},enumerable:!0,configurable:!0}),e}(),E=function(){function e(e){this.isColumn=0,this.isStacking=!1,this.chart=e}return e.prototype.calculateNumericNiceInterval=function(e,i,o){var r=jt(o,e),n=i/r;if(!(0,t.isNullOrUndefined)(e.desiredIntervals)&&this.isAutoIntervalOnBothAxis(e))return n;for(var a=Math.pow(10,Math.floor(et(n,10))),l=0,s=e.intervalDivs;l<s.length;l++){var h=a*s[l];if(r<i/h)break;n=h}return n},e.prototype.isAutoIntervalOnBothAxis=function(e){return!(e.zoomFactor<1||e.zoomPosition>0)||!e.enableAutoIntervalOnZooming},e.prototype.getActualRange=function(e,t){this.initializeDoubleRange(e),!e.startFromZero&&this.isColumn>0?(e.actualRange.interval=e.interval||this.calculateNumericNiceInterval(e,e.doubleRange.delta,t),e.actualRange.max=e.doubleRange.end+e.actualRange.interval,e.doubleRange.start-e.actualRange.interval<0&&e.doubleRange.start>0?e.actualRange.min=0:e.actualRange.min=e.doubleRange.start-(this.isStacking?0:e.actualRange.interval)):(e.actualRange.interval=e.interval||this.calculateNumericNiceInterval(e,e.doubleRange.delta,t),e.actualRange.min=e.doubleRange.start,e.actualRange.max=e.doubleRange.end)},e.prototype.initializeDoubleRange=function(e){null!==e.minimum?this.min=e.minimum:null!==this.min&&this.min!==Number.POSITIVE_INFINITY||(this.min=0),null!==e.maximum?this.max=e.maximum:null!==this.max&&this.max!==Number.NEGATIVE_INFINITY||(this.max=5),this.min===this.max&&(this.max=e.valueType.indexOf("Category")>-1?this.max:this.min+1),e.doubleRange=new T(this.min,this.max),e.actualRange={}},e.prototype.calculateRangeAndInterval=function(e,t){this.calculateRange(t),this.getActualRange(t,e),this.applyRangePadding(t,e),this.calculateVisibleLabels(t,this.chart)},e.prototype.calculateRange=function(e){if(this.min=null,this.max=null,!Ht(e))for(var i=0,o=e.series;i<o.length;i++){var r=o[i];r.visible&&(this.paddingInterval=0,(0,t.isNullOrUndefined)(r.points)||(e.maxPointLength=r.points.length),e.maxPointLength=r.points.length,((r.type.indexOf("Column")>-1||r.type.indexOf("Histogram")>-1)&&"Horizontal"===e.orientation||r.type.indexOf("Bar")>-1&&"Vertical"===e.orientation)&&("Double"!==r.xAxis.valueType&&"DateTime"!==r.xAxis.valueType||"Auto"!==r.xAxis.rangePadding||(this.paddingInterval=.5*Tt(r.xAxis,e.series))),"Horizontal"===e.orientation&&(this.chart.requireInvertedAxis?this.yAxisRange(e,r):this.findMinMax(r.xMin-this.paddingInterval,r.xMax+this.paddingInterval)),"Vertical"===e.orientation&&(this.isColumn+=-1!==r.type.indexOf("Column")||-1!==r.type.indexOf("Bar")||"Column"===r.drawType?1:0,this.isStacking=-1!==r.type.indexOf("Stacking"),this.chart.requireInvertedAxis?this.findMinMax(r.xMin-this.paddingInterval,r.xMax+this.paddingInterval):this.yAxisRange(e,r)))}},e.prototype.yAxisRange=function(e,t){if(t.dragSettings.enable&&this.chart.dragY&&(this.chart.dragY>=e.visibleRange.max&&(t.yMax=this.chart.dragY+e.visibleRange.interval),this.chart.dragY<=e.visibleRange.min&&(t.yMin=this.chart.dragY-e.visibleRange.interval)),"Waterfall"===t.type){for(var i=0,o=0,r=0;r<t.yData.length;r++)t.intermediateSumIndexes&&-1!==t.intermediateSumIndexes.indexOf(r)||t.sumIndexes&&-1!==t.sumIndexes.indexOf(r)||(o+=t.yData[r]),o>i&&(i=o);this.findMinMax(t.yMin,i)}else this.findMinMax(t.yMin,t.yMax)},e.prototype.findMinMax=function(e,t){(null===this.min||this.min>e)&&(this.min=e),(null===this.max||this.max<t)&&(this.max=t),this.max===this.min&&this.max<0&&this.min<0&&(this.max=0)},e.prototype.applyRangePadding=function(e,t){var i=e.actualRange.min,o=e.actualRange.max;if(!Ht(e)){var r=e.actualRange.interval,n=e.getRangePadding(this.chart);"Additional"===n||"Round"===n?this.findAdditional(e,i,o,r,t):"Normal"===n?this.findNormal(e,i,o,r,t):this.updateActualRange(e,i,o,r)}e.actualRange.delta=e.actualRange.max-e.actualRange.min,this.calculateVisibleRange(t,e)},e.prototype.updateActualRange=function(e,t,i,o){e.actualRange={min:null!=e.minimum?e.minimum:t,max:null!=e.maximum?e.maximum:i,interval:null!=e.interval?e.interval:o,delta:e.actualRange.delta}},e.prototype.findAdditional=function(e,i,o,r,n){var a,l;if(a=Math.floor(i/r)*r,l=Math.ceil(o/r)*r,"Additional"===e.rangePadding&&(a-=r,l+=r),!(0,t.isNullOrUndefined)(e.desiredIntervals)){var s=l-a;r=this.calculateNumericNiceInterval(e,s,n)}this.updateActualRange(e,a,l,r)},e.prototype.findNormal=function(e,t,i,o,r){var n,a,l=t;t<0?(l=0,.365*o>=o+(n=t+.05*t)%o&&(n-=o),n%o<0&&(n=n-o-n%o)):(n=t<5/6*i?0:t-.5*(i-t))%o>0&&(n-=n%o),.365*o>=o-(a=i>0?i+.05*(i-l):i-.05*(i-l))%o&&(a+=o),a%o>0&&(a=a+o-a%o),e.doubleRange=new T(n,a),(0===n||n<0&&a<0)&&(o=this.calculateNumericNiceInterval(e,e.doubleRange.delta,r),a=Math.ceil(a/o)*o),this.updateActualRange(e,n,a,o)},e.prototype.calculateVisibleRange=function(e,i){if(i.visibleRange={max:i.actualRange.max,min:i.actualRange.min,delta:i.actualRange.delta,interval:i.actualRange.interval},"Cartesian"===this.chart.chartAreaType){var o=!(0,t.isNullOrUndefined)(i.zoomingScrollBar)&&i.zoomingScrollBar.isLazyLoad;(i.zoomFactor<1||i.zoomPosition>0)&&!o&&(i.calculateVisibleRangeOnZooming(),i.visibleRange.interval=i.enableAutoIntervalOnZooming?this.calculateNumericNiceInterval(i,i.doubleRange.delta,e):i.visibleRange.interval)}var r=(i.visibleRange.max-i.visibleRange.min)%i.visibleRange.interval;if(0!==r&&!isNaN(r)&&"Double"===i.valueType&&"Vertical"===i.orientation&&"Auto"===i.rangePadding){for(var n=void 0,a=i.visibleRange.min;a<=i.visibleRange.max&&n!==a;a+=i.visibleRange.interval)n=a;n<i.visibleRange.max&&(i.visibleRange.max=n+i.visibleRange.interval)}i.triggerRangeRender(this.chart,i.visibleRange.min,i.visibleRange.max,i.visibleRange.interval)},e.prototype.calculateVisibleLabels=function(e,i){e.visibleLabels=[];var o,r=e.visibleRange.min;!("chart"===i.getModuleName()&&"PolarRadar"===i.chartAreaType)&&(e.zoomFactor<1||e.zoomPosition>0||this.paddingInterval)&&(r=e.visibleRange.min-e.visibleRange.min%e.visibleRange.interval);var n,a=this.getFormat(e),l=null!==a.match("{value}"),s=0,h=0;for(e.labelFormat&&e.labelFormat.indexOf("n")>-1&&(h=parseInt(e.labelFormat.substring(1,e.labelFormat.length),10)),e.format=i.intl.getNumberFormat({format:l?"":a,useGrouping:i.useGroupingSeparator}),e.startLabel=e.format(e.visibleRange.min),e.endLabel=e.format(e.visibleRange.max),e.visibleRange.interval&&(e.visibleRange.interval+"").indexOf(".")>=0&&(s=(e.visibleRange.interval+"").split(".")[1].length);r<=e.visibleRange.max&&n!==r;r+=e.visibleRange.interval)n=r,o=(0,t.extend)({},(0,t.getValue)("properties",e.labelStyle),null,!0),ot(r,e.visibleRange)&&Vt(i,r,this.formatValue(e,l,a,r),o,e);r&&(r+"").indexOf(".")>=0&&(r+"").split(".")[1].length>10&&(r=(r+"").split(".")[1].length>(h||s)?+r.toFixed(h||s):r)<=e.visibleRange.max&&Vt(i,r,this.formatValue(e,l,a,r),o,e),e.getMaxLabelWidth&&e.getMaxLabelWidth(this.chart)},e.prototype.getFormat=function(e){return e.labelFormat?0===e.labelFormat.indexOf("p")&&-1===e.labelFormat.indexOf("{value}")&&e.isStack100?"{value}%":e.labelFormat:e.isStack100?"{value}%":""},e.prototype.formatValue=function(e,t,i,o){var r=o%1?Number(o.toLocaleString("en-US").split(",").join("")):o;return t?i.replace("{value}",e.format(r)):i?e.format(o):e.format(r)},e.prototype.getModuleName=function(){return"Double"},e.prototype.destroy=function(){},e}(),_="loaded",I="legendClick",O="load",z="animationComplete",B="legendRender",N="textRender",V="pointRender",H="sharedTooltipRender",W="seriesRender",j="axisLabelRender",U="axisLabelClick",X="axisRangeCalculated",G="axisMultiLabelRender",Y="tooltipRender",Z="chartMouseMove",q="chartMouseClick",Q="chartDoubleClick",$="pointClick",K="pointDoubleClick",J="pointMove",ee="chartMouseLeave",te="chartMouseDown",ie="chartMouseUp",oe="zoomComplete",re="dragComplete",ne="selectionComplete",ae="resized",le="beforeResize",se="beforePrint",he="annotationRender",ce="scrollStart",de="scrollEnd",pe="scrollChanged",ue="stockEventRender",ge="multiLevelLabelClick",me="dragStart",ye="drag",fe="dragEnd",ve=/~\d+~/g,be=/\^\d+\^/g,xe="beforeExport",Se="afterExport",Ce="bulletChartMouseClick",Fe="onZooming",we=function(){var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},e(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),Le=function(e,t,i,o){var r,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(n<3?r(a):n>3?r(t,i,a):r(t,i))||a);return n>3&&a&&Object.defineProperty(t,i,a),a},Pe=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)("0")],i.prototype,"x",void 0),Le([(0,t.Property)("0")],i.prototype,"y",void 0),Le([(0,t.Property)(null)],i.prototype,"content",void 0),Le([(0,t.Property)("Center")],i.prototype,"horizontalAlignment",void 0),Le([(0,t.Property)("Pixel")],i.prototype,"coordinateUnits",void 0),Le([(0,t.Property)("Chart")],i.prototype,"region",void 0),Le([(0,t.Property)("Middle")],i.prototype,"verticalAlignment",void 0),Le([(0,t.Property)(null)],i.prototype,"xAxisName",void 0),Le([(0,t.Property)(null)],i.prototype,"yAxisName",void 0),Le([(0,t.Property)(null)],i.prototype,"description",void 0),Le([(0,t.Complex)({},a)],i.prototype,"accessibility",void 0),i}(t.ChildProperty),Ae=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)("")],i.prototype,"color",void 0),Le([(0,t.Property)(1)],i.prototype,"width",void 0),Le([(0,t.Property)("Rectangle")],i.prototype,"type",void 0),i}(t.ChildProperty),Me=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)(null)],i.prototype,"start",void 0),Le([(0,t.Property)(null)],i.prototype,"end",void 0),Le([(0,t.Property)("")],i.prototype,"text",void 0),Le([(0,t.Property)(null)],i.prototype,"maximumTextWidth",void 0),Le([(0,t.Property)(null)],i.prototype,"customAttributes",void 0),Le([(0,t.Property)("")],i.prototype,"type",void 0),i}(t.ChildProperty),De=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)(!0)],i.prototype,"visible",void 0),Le([(0,t.Property)(!1)],i.prototype,"startFromAxis",void 0),Le([(0,t.Property)(null)],i.prototype,"start",void 0),Le([(0,t.Property)(null)],i.prototype,"end",void 0),Le([(0,t.Property)(null)],i.prototype,"size",void 0),Le([(0,t.Property)("#808080")],i.prototype,"color",void 0),Le([(0,t.Property)(null)],i.prototype,"dashArray",void 0),Le([(0,t.Property)("Auto")],i.prototype,"sizeType",void 0),Le([(0,t.Property)(!1)],i.prototype,"isRepeat",void 0),Le([(0,t.Property)(null)],i.prototype,"repeatEvery",void 0),Le([(0,t.Property)(null)],i.prototype,"repeatUntil",void 0),Le([(0,t.Property)(!1)],i.prototype,"isSegmented",void 0),Le([(0,t.Property)(null)],i.prototype,"segmentStart",void 0),Le([(0,t.Property)(null)],i.prototype,"segmentEnd",void 0),Le([(0,t.Property)(null)],i.prototype,"segmentAxisName",void 0),Le([(0,t.Complex)({color:"transparent",width:1},u)],i.prototype,"border",void 0),Le([(0,t.Property)("")],i.prototype,"text",void 0),Le([(0,t.Property)(null)],i.prototype,"rotation",void 0),Le([(0,t.Property)("Middle")],i.prototype,"horizontalAlignment",void 0),Le([(0,t.Property)("Middle")],i.prototype,"verticalAlignment",void 0),Le([(0,t.Complex)({size:"12px",color:null,fontStyle:"Normal",fontWeight:"400",fontFamily:null},s)],i.prototype,"textStyle",void 0),Le([(0,t.Property)("Behind")],i.prototype,"zIndex",void 0),Le([(0,t.Property)(1)],i.prototype,"opacity",void 0),Le([(0,t.Property)("")],i.prototype,"imageUrl",void 0),i}(t.ChildProperty),ke=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)("Center")],i.prototype,"alignment",void 0),Le([(0,t.Property)("Wrap")],i.prototype,"overflow",void 0),Le([(0,t.Complex)({fontFamily:null,size:"12px",fontStyle:"Normal",fontWeight:"400",color:null},s)],i.prototype,"textStyle",void 0),Le([(0,t.Complex)({color:null,width:1,type:"Rectangle"},Ae)],i.prototype,"border",void 0),Le([(0,t.Collection)([],Me)],i.prototype,"categories",void 0),i}(t.ChildProperty),Re=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)(null)],i.prototype,"minimum",void 0),Le([(0,t.Property)(null)],i.prototype,"maximum",void 0),i}(t.ChildProperty),Te=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)(!1)],i.prototype,"enable",void 0),Le([(0,t.Property)(null)],i.prototype,"pointsLength",void 0),Le([(0,t.Complex)({},Re)],i.prototype,"range",void 0),Le([(0,t.Property)(null)],i.prototype,"trackColor",void 0),Le([(0,t.Property)(0)],i.prototype,"scrollbarRadius",void 0),Le([(0,t.Property)(null)],i.prototype,"scrollbarColor",void 0),Le([(0,t.Property)(0)],i.prototype,"trackRadius",void 0),Le([(0,t.Property)(null)],i.prototype,"gripColor",void 0),Le([(0,t.Property)(16)],i.prototype,"height",void 0),Le([(0,t.Property)(!0)],i.prototype,"enableZoom",void 0),Le([(0,t.Property)("PlaceNextToAxisLine")],i.prototype,"position",void 0),i}(t.ChildProperty),Ee=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)("Far")],i.prototype,"horizontalAlignment",void 0),Le([(0,t.Property)("Top")],i.prototype,"verticalAlignment",void 0),Le([(0,t.Property)(0)],i.prototype,"x",void 0),Le([(0,t.Property)(0)],i.prototype,"y",void 0),Le([(0,t.Property)(!1)],i.prototype,"draggable",void 0),i}(t.ChildProperty),_e=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return we(i,e),Le([(0,t.Property)(!1)],i.prototype,"visible",void 0),Le([(0,t.Property)("transparent")],i.prototype,"fill",void 0),Le([(0,t.Property)(null)],i.prototype,"format",void 0),Le([(0,t.Property)(0)],i.prototype,"angle",void 0),Le([(0,t.Property)(5)],i.prototype,"rx",void 0),Le([(0,t.Property)(5)],i.prototype,"ry",void 0),Le([(0,t.Complex)({left:5,right:5,top:5,bottom:5},m)],i.prototype,"margin",void 0),Le([(0,t.Complex)({width:null,color:null},u)],i.prototype,"border",void 0),Le([(0,t.Complex)({size:null,color:null,fontStyle:null,fontWeight:"Bold",fontFamily:null},h)],i.prototype,"font",void 0),i}(t.ChildProperty),Ie=function(){var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},e(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),Oe=function(e,t,i,o){var r,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(n<3?r(a):n>3?r(t,i,a):r(t,i))||a);return n>3&&a&&Object.defineProperty(t,i,a),a},ze=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.axes=[],t.nearSizes=[],t.farSizes=[],t.insideFarSizes=[],t.insideNearSizes=[],t}return Ie(i,e),i.prototype.computeSize=function(e,t,i,o){var r=0;e.visible&&e.internalVisibility&&(r+=e.findTickSize(e.crossInAxis)+("Right"===e.scrollbarSettings.position||"Left"===e.scrollbarSettings.position?0:t)+e.findLabelSize(e.crossInAxis,5,i,o)+.5*e.lineStyle.width),e.isAxisOpposedPosition?this.farSizes.push(r):this.nearSizes.push(r)},Oe([(0,t.Property)("100%")],i.prototype,"height",void 0),Oe([(0,t.Complex)({},u)],i.prototype,"border",void 0),i}(t.ChildProperty),Be=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.axes=[],t.nearSizes=[],t.farSizes=[],t.insideFarSizes=[],t.insideNearSizes=[],t.padding=0,t}return Ie(i,e),i.prototype.computeSize=function(e,t,i,o){var r=0;e.visible&&e.internalVisibility&&(r+=e.findTickSize(e.crossInAxis)+("Top"===e.scrollbarSettings.position||"Bottom"===e.scrollbarSettings.position?0:t)+e.findLabelSize(e.crossInAxis,5,i,o)+.5*e.lineStyle.width),e.isAxisOpposedPosition?this.farSizes.push(r):this.nearSizes.push(r)},Oe([(0,t.Property)("100%")],i.prototype,"width",void 0),Oe([(0,t.Complex)({},u)],i.prototype,"border",void 0),i}(t.ChildProperty),Ne=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(1)],i.prototype,"width",void 0),Oe([(0,t.Property)("")],i.prototype,"dashArray",void 0),Oe([(0,t.Property)(null)],i.prototype,"color",void 0),i}(t.ChildProperty),Ve=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(.7)],i.prototype,"width",void 0),Oe([(0,t.Property)("")],i.prototype,"dashArray",void 0),Oe([(0,t.Property)(null)],i.prototype,"color",void 0),i}(t.ChildProperty),He=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(1)],i.prototype,"width",void 0),Oe([(0,t.Property)("")],i.prototype,"dashArray",void 0),Oe([(0,t.Property)(null)],i.prototype,"color",void 0),i}(t.ChildProperty),We=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(1)],i.prototype,"width",void 0),Oe([(0,t.Property)(5)],i.prototype,"height",void 0),Oe([(0,t.Property)(null)],i.prototype,"color",void 0),i}(t.ChildProperty),je=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(.7)],i.prototype,"width",void 0),Oe([(0,t.Property)(5)],i.prototype,"height",void 0),Oe([(0,t.Property)(null)],i.prototype,"color",void 0),i}(t.ChildProperty),Ue=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Ie(i,e),Oe([(0,t.Property)(!1)],i.prototype,"enable",void 0),Oe([(0,t.Property)(null)],i.prototype,"fill",void 0),Oe([(0,t.Complex)({fontFamily:null,size:null,fontStyle:null,fontWeight:null,color:null},s)],i.prototype,"textStyle",void 0),i}(t.ChildProperty),Xe=function(e){function i(t,i,o,r){var n=e.call(this,t,i,o,r)||this;return n.visibleLabels=[],n.series=[],n.rect=new R.Rect(void 0,void 0,0,0),n.axisBottomLine=null,n.intervalDivs=[10,5,2,1],n.isStack100=!1,n.crossAt=null,n.updatedRect=null,n.multiLevelLabelHeight=0,n.isChart=!0,n.isIntervalInDecimal=!0,n.titleCollection=[],n.titleSize=new R.Size(0,0),n.internalVisibility=!0,n.isRTLEnabled=!1,n.angle=n.labelRotation,n}return Ie(i,e),i.prototype.findTickSize=function(e){return"Inside"===this.tickPosition?0:!e||e.visibleRange&&!this.isInside(e.visibleRange)?this.majorTickLines.height:0},i.prototype.isInside=function(e){return it(this.crossAt,e)||!this.isAxisOpposedPosition&&this.crossAt>=e.max||this.isAxisOpposedPosition&&this.crossAt<=e.min},i.prototype.findLabelSize=function(e,i,o,r){var n,a,l=0,s="Horizontal"===this.orientation;if(this.title){var h=this.titleRotation;if((0,t.isNullOrUndefined)(h)?(this.titleSize=(0,R.measureText)(this.title,this.titleStyle,r.themeStyle.axisTitleFont),l=this.titleSize.height+i):(this.titleSize=Ke(this.titleStyle,this.title,h,r,r.themeStyle.axisTitleFont),l=("Vertical"===this.orientation?this.titleSize.width:this.titleSize.height)+i),this.rect.width||this.rect.height){var c=s?this.rect.width:this.rect.height;this.titleCollection=Ti(this.title,this.titleStyle,c,r.enableRtl,r.themeStyle.axisTitleFont),l*=this.titleCollection.length}}var d=l+i+this.titlePadding+this.labelPadding+("Vertical"===this.orientation?this.maxLabelSize.width:this.maxLabelSize.height)+this.multiLevelLabelHeight;if(e&&this.placeNextToAxisLine){var p=e.visibleRange,u="Horizontal"===e.orientation?e.rect.width:e.rect.height;if(!p||!u)return 0;this.isInside(p)&&(d=(n=(a=this.findDifference(e))*((u-((n=a*(u/p.delta))<d?d-n:0))/p.delta))<d?d-n:0)}var g=""!==this.title&&5!==this.titlePadding?this.titlePadding:0;return this.isAxisOpposedPosition?o.insideFarSizes.push(d):o.insideNearSizes.push(d),"Inside"===this.labelPosition?this.isAxisOpposedPosition&&o.farSizes.length<1||!this.isAxisOpposedPosition&&o.nearSizes.length<1?l+(i="Inside"===this.labelPosition&&r.axes.indexOf(this)>-1?-5:5)+g:l+i+g+this.labelPadding+("Vertical"===this.orientation?this.maxLabelSize.width:this.maxLabelSize.height)+this.multiLevelLabelHeight:d},i.prototype.updateCrossValue=function(){var e=this.crossAt;if(null===e||!this.isInside(this.crossInAxis.visibleRange))return this.updatedRect=this.rect,null;var i=this.crossInAxis.visibleRange;this.isAxisOpposedPosition?this.crossAt<i.min&&(e=i.min):this.crossAt>i.max&&(e=i.max),this.updatedRect=(0,t.extend)({},this.rect,null,!0),"Horizontal"===this.orientation?(e=this.crossInAxis.rect.height-yt(e,this.crossInAxis)*this.crossInAxis.rect.height,this.updatedRect.y=this.crossInAxis.rect.y+e):(e=yt(e,this.crossInAxis)*this.crossInAxis.rect.width,this.updatedRect.x=this.crossInAxis.rect.x+e)},i.prototype.findDifference=function(e){var t=0;return t=this.isAxisOpposedPosition?e.isAxisInverse?e.visibleRange.min:e.visibleRange.max:e.isAxisInverse?e.visibleRange.max:e.visibleRange.min,Math.abs(this.crossAt-t)},i.prototype.calculateVisibleRangeOnZooming=function(){if(Wt(this)){var e=this.actualRange,t=void 0,i=void 0;i=this.isAxisInverse?(t=this.actualRange.max-this.zoomPosition*this.actualRange.delta)-this.zoomFactor*this.actualRange.delta:(t=this.actualRange.min+this.zoomPosition*this.actualRange.delta)+this.zoomFactor*this.actualRange.delta,t<e.min&&(i+=e.min-t,t=e.min),i>e.max&&(t-=i-e.max,i=e.max),this.doubleRange=new T(t,i),this.visibleRange={min:this.doubleRange.start,max:this.doubleRange.end,delta:this.doubleRange.delta,interval:this.visibleRange.interval}}},i.prototype.triggerRangeRender=function(e,t,i,o){var r={cancel:!1,name:X,axis:this,minimum:t,maximum:i,interval:o};e.trigger(X,r),r.cancel||(this.visibleRange={min:r.minimum,max:r.maximum,interval:r.interval,delta:r.maximum-r.minimum})},i.prototype.getRangePadding=function(e){var t=this.rangePadding;if("Auto"!==t)return t;switch(this.orientation){case"Horizontal":t=e.requireInvertedAxis?this.isStack100||this.baseModule.chart.stockChart?"Round":"Normal":"None";break;case"Vertical":t=e.requireInvertedAxis?"None":this.isStack100||this.baseModule.chart.stockChart?"Round":"Normal"}return t},i.prototype.getMaxLabelWidth=function(e){var i,o,r=this,n=0,a=!1;this.angle=this.labelRotation,this.maxLabelSize=new R.Size(0,0);for(var l,s=this.labelIntersectAction,h=function(t,h){if(l=c.visibleLabels[t],o=qe(l.originalText))l.size=(0,R.measureText)(l.originalText.replace(/<br>/g," "),c.labelStyle,e.themeStyle.axisLabelFont),l.breakLabelSize=(0,R.measureText)(c.enableTrim?l.text.join("<br>"):l.originalText,c.labelStyle,e.themeStyle.axisLabelFont);else if(c.enableWrap){var d=e.initialClipRect.height/c.visibleLabels.length;l.text=_i(l.text,c.maximumLabelWidth,c.labelStyle,e.enableRtl,null,null,e.themeStyle.axisLabelFont,"Vertical"===c.orientation?d:null);var p=0,u=0;l.text.forEach(function(t){var i=(0,R.measureText)(t,r.labelStyle,e.themeStyle.axisLabelFont);p=Math.max(p,i.width),u+=i.height}),l.size.width=p,l.size.height=u}else-90!==c.angle&&90!==c.angle&&270!==c.angle&&-270!==c.angle||"Vertical"!==c.orientation?l.size=(0,R.measureText)(l.text,c.labelStyle,e.themeStyle.axisLabelFont):l.size=Ke(c.labelStyle,l.text,c.angle,e,e.themeStyle.axisLabelFont);var g=o?l.breakLabelSize.width:l.size.width;g>c.maxLabelSize.width&&(c.maxLabelSize.width=g,c.rotatedLabel=l.text);var m=o?l.breakLabelSize.height:l.size.height;if(m>c.maxLabelSize.height&&(c.maxLabelSize.height=m),o&&(l.text=c.enableTrim?l.text:l.originalText.split("<br>")),"None"===s||"Hide"===s||"Trim"===s)return"continue";if(("None"!==s||c.angle%360==0)&&"Horizontal"===c.orientation&&c.rect.width>0&&!a){var y=o?l.breakLabelSize.width:l.size.width;switch(i=yt(l.value,c)*c.rect.width+c.rect.x,i-=y/2,"Shift"===c.edgeLabelPlacement&&(0===t&&i<c.rect.x&&(i=c.rect.x),t===c.visibleLabels.length-1&&i+y>c.rect.x+c.rect.width&&(i=c.rect.x+c.rect.width-y)),s){case"MultipleRows":t>0&&c.findMultiRows(t,i,l,o);break;case"Rotate45":case"Rotate90":t>0&&(c.isAxisInverse?i+y>=n:i<=n)&&(c.angle="Rotate45"===s?45:90,a=!0);break;default:if(o){for(var f=void 0,v=[],b=void 0,x=0;x<l.text.length;x++)if((f=_i(l.text[x],c.rect.width/c.visibleLabels.length,c.labelStyle,e.enableRtl,null,null,e.themeStyle.axisLabelFont)).length>1)for(var S=0;S<f.length;S++)b=f[S],v.push(b);else v.push(f[0]);l.text=v}else l.text=_i(l.text,c.rect.width/c.visibleLabels.length,c.labelStyle,e.enableRtl,null,null,e.themeStyle.axisLabelFont);var C=l.size.height*l.text.length;C>c.maxLabelSize.height&&(c.maxLabelSize.height=C)}n=c.isAxisInverse?i:i+y}},c=this,d=0,p=this.visibleLabels.length;d<p;d++)h(d);if(0!==this.angle&&"Horizontal"===this.orientation){this.rotatedLabel=(0,t.isNullOrUndefined)(this.rotatedLabel)?"":this.rotatedLabel;var u=-360===this.angle||0===this.angle||-180===this.angle||180===this.angle||360===this.angle;"Outside"===this.labelPosition&&!u&&qe(this.rotatedLabel)?this.maxLabelSize=new R.Size(this.maxLabelSize.height,this.maxLabelSize.width):this.maxLabelSize=Ke(this.labelStyle,this.rotatedLabel,this.angle,e,e.themeStyle.axisLabelFont)}else if(0!==this.angle&&"Vertical"===this.orientation){this.rotatedLabel=(0,t.isNullOrUndefined)(this.rotatedLabel)?"":this.rotatedLabel;u=-360===this.angle||0===this.angle||-180===this.angle||180===this.angle||360===this.angle;"Outside"===this.labelPosition&&!u&&qe(this.rotatedLabel)?this.maxLabelSize=new R.Size(this.maxLabelSize.height,this.maxLabelSize.width):this.maxLabelSize=Ke(this.labelStyle,this.rotatedLabel,this.angle,e,e.themeStyle.axisLabelFont)}e.multiLevelLabelModule&&this.multiLevelLabels.length>0&&e.multiLevelLabelModule.getMultilevelLabelsHeight(this)},i.prototype.findMultiRows=function(e,t,i,o){for(var r,n,a,l=[],s=e-1;