!function(e){"object"==typeof module&&"undefined"!=typeof module.exports?module.exports=e:e()}(function(){"use strict";(self.webpackChunkFusionCharts=self.webpackChunkFusionCharts||[]).push([[9],{1660:(e,t,l)=>{var a=l(272);t.__esModule=!0,t["default"]=void 0;var n=a(l(1661));t.OverlapperColumn2D=n["default"];var o=a(l(1501));t["default"]={name:"overlappedcolumn2d",type:"package",requiresFusionCharts:!0,extension:function(e){e.addDep(o["default"]),e.addDep(n["default"])}}},1661:(e,t,l)=>{var a=l(272);t.__esModule=!0,t["default"]=void 0;var n=a(l(1662));t["default"]=n["default"]},1662:(e,t,l)=>{var a=l(272);t.__esModule=!0,t["default"]=void 0;var n=a(l(295)),o=a(l(652)),i=a(l(1663)),r=a(l(1659)),u=a(l(654)),s=function(e){function t(){var t;return(t=e.call(this)||this).eiMethods={},t.registerFactory("dataset",u["default"],["vCanvas"]),t}(0,n["default"])(t,e);var l=t.prototype;return l.getName=function(){return"OverlappedColumn2D"},t.getName=function(){return"OverlappedColumn2D"},l.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this),this.config.friendlyName="Multi-series Overlapped Column Chart",this.config.defaultDatasetType="column",this.config.enablemousetracking=!0},l.getDSdef=function(){return i["default"]},l.getDSGroupdef=function(){return r["default"]},t}(o["default"]);t["default"]=s},1663:(e,t,l)=>{var a=l(272);t.__esModule=!0,t["default"]=void 0;var n,o=a(l(295)),i=l(281);function r(e,t){var l,a,n,o,i=e.y,r=e.height;for(l=0,a=t.length;l<a;l++)if(o=t[l].height,n=t[l].y,t[l].labelShown&&i+r>=n&&n+o>=i)return!0;return!1}var u=function(e){function t(){var t;return(t=e.call(this)||this)._labeldimensionMap={},t}return(0,o["default"])(t,e),t.prototype.drawLabel=function(e,t){var l,a,o,u,s,f,p,d,b,c,h,g,m,v=this,y=v.getFromEnv("chart"),S=v.getFromEnv("animationManager"),_=v.getFromEnv("toolTipController"),w=y.config,k=v.getFromEnv("xAxis"),x=v.getFromEnv("paper"),C=v.getState("visible"),D=y.getFromEnv("smartLabel"),M=y.config.dataLabelStyle,F=v.config,O=k.getTicksLen(),E=v.components,N=E.data,L=E.pool,T=w.rotatevalues?270:0,A={},I=v.getJSONIndex(),V=v.getSkippingInfo&&v.getSkippingInfo(),W=V&&V.skippingApplied,G=V&&V.labelDraw||[],z=G.length,J=(0,i.pluckNumber)(e,0),R=(0,i.pluckNumber)(t,W?z:O),j=z===Math.abs(R-(J+1)),q=function(){this.attr({"text-bound":[]}),this.hide()},B=function(){this.show()};for((m=v.getContainer("labelGroup")).css({fontFamily:M.fontFamily,fontSize:M.fontSize,fontWeight:M.fontWeight,fontStyle:M.fontStyle}),m.show(),D.useEllipsesOnOverflow(y.config.useEllipsesWhenOverflow),D.setStyle(M),s=J;s<R;s++)p=(d=(a=N[u=W&&j?G[s]:s])&&a.config)&&d.setValue,a!==n&&p!==n&&null!==p&&!0!==d.labelSkip?(f=a.graphics)&&(b=d.showValue,g=y.getDatasets().map(function(e){return e.getJSONIndex()<I&&e._labeldimensionMap[s]}).filter(Boolean),F.showValues&&d.showValue&&(l=r(A={x:d.props.label.attr.x,y:d.props.label.attr.y,width:d._state.labelWidth,height:d._state.labelHeight},g)),v._labeldimensionMap[s]=A,b&&null!==p&&!l?((o=d.props.label.attr).transform=x.getSuggestiveRotation(T,o.x,o.y),(c=f.label)||L&&L.label[0]&&(c=f.label=L.label[0],L.label.splice(0,1)),(c=S.setAnimation({el:f.label||"text",attr:o,component:v,label:"plotLabel",index:u,container:m,callback:C?B:q}))&&c.outlineText(F.showTextOutline,o.fill),w.showtooltip&&c.abbrArr&&c.abbrArr.length&&_.enableToolTip(c,n),v._labeldimensionMap[s].labelShown=!!C,f.label||(f.label=v.addGraphicalElement("plotLabel",c,!0))):(f.label&&S.setAnimation({el:f.label,component:v,doNotRemove:!0,callback:q,label:"plotLabel"}),v._labeldimensionMap[s].labelShown=!1)):(d&&delete d.labelSkip,(h=a&&a.graphics)&&h.label&&h.label.hide());F.labelDrawn=!0},t}(a(l(624))["default"]);t["default"]=u}}])});
//# sourceMappingURL=http://localhost:3052/4.2.0/map/eval/fusioncharts.overlappedcolumn2d.js.map