/*!@license * Infragistics.Web.ClientUI infragistics.datachart_annotation.js 19.1.20191.172 * * Copyright (c) 2011-2019 Infragistics Inc. * * http://www.infragistics.com/ * * Depends: * jquery-1.4.4.js * jquery.ui.core.js * jquery.ui.widget.js * infragistics.util.js * infragistics.ext_core.js * infragistics.ext_collections.js * infragistics.dv_core.js * infragistics.dv_geometry.js * infragistics.datachart_core.js * infragistics.ext_ui.js */ (function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_geometry","./infragistics.datachart_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$e=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$j=$.ig.globalDefs.$$j;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["CategoryToolTipLayer:a","CategoryToolTipLayerView:f","ItemToolTipLayer:g","ItemToolTipLayerView:j","PointerTooltip:k","PointerTooltipView:m","AnnotationLayer:q","CalloutAnnotation:t","CalloutAnnotationWrapper:v","CategoryHighlightLayer:y","CalloutLayer:z","CalloutContentUpdatingEventHandler:ab","CalloutLabelUpdatingEventHandler:ad","CalloutSeriesSelectingEventHandler:af","FinalValueLayer:al","CategoryItemHighlightLayer:as","CrosshairLayer:at","AnnotationLayerView:av","CalloutLayerView:aw","CalloutView:ax","CategoryHighlightLayerView:ay","CategoryItemHighlightLayerView:az","FinalValueLayerView:a0","CrosshairLayerView:a1"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$d("CategoryItemHighlightType:aq",false,false,{Auto:0,Marker:1,Shape:2});$d("FinalValueSelectionMode:am",false,false,{Auto:0,FinalVisible:1,FinalVisibleInterpolated:2,"Final:$final":3});$d("CalloutCollisionMode:ag",false,false,{Auto:0,SimulatedAnnealing:1,Greedy:2,GreedyCenterOfMass:3});$d("PointerTooltipPointerLocation:l",false,false,{Auto:0,TopLeft:1,TopMiddle:2,TopRight:3,RightTop:4,RightMiddle:5,RightBottom:6,BottomRight:7,BottomMiddle:8,BottomLeft:9,LeftBottom:10,LeftMiddle:11,LeftTop:12});$d("CategoryTooltipLayerPosition:c",false,false,{Auto:0,OutsideStart:1,InsideStart:2,InsideEnd:3,OutsideEnd:4});$c("AnnotationLayer:q","Series",{init:function(){this.mr={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.lw=false;$.ig.Series.prototype.init.call(this);this._mt={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},bf:function(){return new $$t.av(this)},im:function(a){$.ig.Series.prototype.im.call(this,a);this._ls=a},ly:function(a){if(a==null){return false}if(a.isAnnotationLayer()){return false}if(a==this){return false}return a.dv(a.view().br(),a.view().bs(),a.view())},_ls:null,useIndex:function(a){if(arguments.length===1){this.h($$t.$q.useIndexProperty,a);return a}else{return this.c($$t.$q.useIndexProperty)}},useLegend:function(a){if(arguments.length===1){this.h($$t.$q.useLegendProperty,a);return a}else{return this.c($$t.$q.useLegendProperty)}},cursorPosition:function(a){if(arguments.length===1){this.h($$t.$q.cursorPositionProperty,a);return a}else{return this.c($$t.$q.cursorPositionProperty)}},isDefaultCrosshairDisabled:function(a){if(arguments.length===1){this.h($$t.$q.isDefaultCrosshairDisabledProperty,a);return a}else{return this.c($$t.$q.isDefaultCrosshairDisabledProperty)}},isDefaultCrosshairBehaviorDisabled:function(){return this.isDefaultCrosshairDisabled()},bd:function(){if(this.hitTestMode()==0){return 1}else{return $.ig.Series.prototype.bd.call(this)}},isIndexed:function(){return this.useIndex()||this.useLegend()},isUsableInLegend:function(){return this.useLegend()},is:function(a,b,c,d){$.ig.Series.prototype.is.call(this,a,b,c,d);switch(b){case"SeriesViewer":var e=c;var f=d;if(e!=null){this.mk(e.series());var g=e.series();g.collectionChanged=$.ig.Delegate.prototype.remove(g.collectionChanged,this.mh.runOn(this));if($b($.ig.XamDataChart.prototype.$type,e)!==null){var h=e;this.mj(h.axes());var i=h.axes();i.collectionChanged=$.ig.Delegate.prototype.remove(i.collectionChanged,this.l7.runOn(this))}}if(f!=null){this.mf(f.series());var j=f.series();j.collectionChanged=$.ig.Delegate.prototype.combine(j.collectionChanged,this.mh.runOn(this));if($b($.ig.XamDataChart.prototype.$type,f)!==null){var k=f;this.me(k.axes());var l=k.axes();l.collectionChanged=$.ig.Delegate.prototype.combine(l.collectionChanged,this.l7.runOn(this))}}break;case"UseLegend":case"UseIndex":if(this.isIndexed()){if(this.index()==-1){this.index($.ig.XamDataChart.prototype.od(this))}}else{this.index(-1);this.actualBrush(null);this.actualOutline(null)}if(this.seriesViewer()!=null){this.seriesViewer().ii()}this.renderSeries(true);break;case"TransitionProgress":this._lv.c(this.ew(),this._lu,this._lt);if(this.cc(this.view())){return}if(this.ew()==1){this.mg(this._lt,this.view())}else{this.mg(this._lv,this.view())}if(this.seriesViewer()!=null){this.seriesViewer().jj(this)}break;case"IsDefaultCrosshairDisabled":if(this.seriesViewer()!=null){this.seriesViewer().ig()}break;case"CursorPosition":this._mt=this.cursorPosition();this.ih(this.cursorPosition());break;case"ShouldRenderAsOverlay":if(this.seriesViewer()!=null){this.view().ah(this.seriesViewer());this.view().ad(this.seriesViewer())}break}},_mt:null,mk:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();if(!(b==this)){b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.mi.runOn(this))}}this.renderSeries(true)},mj:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.l8.runOn(this))}this.renderSeries(true)},mf:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();if(!(b==this)){b.renderRequested=$.ig.Delegate.prototype.combine(b.renderRequested,this.mi.runOn(this))}}this.renderSeries(true)},me:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.combine(b.renderRequested,this.l8.runOn(this))}this.renderSeries(true)},l8:function(a,b){this.ma(a,b.animate())},mi:function(a,b){this.mb(a,b.animate())},ma:function(a,b){},mb:function(a,b){},mh:function(a,b){this.mc(b)},l7:function(a,b){this.l9(b)},mp:function(){if(this.actualBrush()!=null){return this.actualBrush()}return this.brush()},mq:function(){if(this.actualOutline()!=null){return this.actualOutline()}return this.outline()},l9:function(a){if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.l8.runOn(this))}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.renderRequested=$.ig.Delegate.prototype.combine(d.renderRequested,this.l8.runOn(this))}}this.renderSeries(true)},mc:function(a){if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.mi.runOn(this))}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.renderRequested=$.ig.Delegate.prototype.combine(d.renderRequested,this.mi.runOn(this))}}this.renderSeries(true)},_lu:null,_lt:null,_lv:null,jl:function(a,b){this.renderSeries(false)},jk:function(a,b){this.renderSeries(true)},i6:function(a){$.ig.Series.prototype.i6.call(this,a);if(this.cc(this.view())){return}if(this.c9(a)&&!this._dd){var b=this._lu;if(this.ca()){if(this._bt.needsFlush()){this._bt.flush()}this._lu=this._lv;this._lv=b}else{this._lu=this._lt;this._lt=b}this.md(this._lt,this.view());this.jd()}else{if(!this._dd){this.md(this._lt,this.view())}this.mg(this._lt,this.view())}},isAnnotationLayer:function(){return true},md:function(a,b){},mg:function(a,b){this._ls.onRenderingFrame()},l6:function(a){var b={__x:this.mr.__x,__y:this.mr.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(a.isVertical()){if($.ig.util.isNaN(this.mr.__y)){return new $$6.u($$0.$aq.$type,$$a.$y.$type,false,b)}if($.ig.util.isNaN(this.mr.__x)){b.__x=0;return new $$6.u($$0.$aq.$type,$$a.$y.$type,true,b)}}else{if($.ig.util.isNaN(this.mr.__x)){return new $$6.u($$0.$aq.$type,$$a.$y.$type,false,b)}if($.ig.util.isNaN(this.mr.__y)){b.__y=0;return new $$6.u($$0.$aq.$type,$$a.$y.$type,true,b)}}return new $$6.u($$0.$aq.$type,$$a.$y.$type,true,b)},ih:function(a){$.ig.Series.prototype.ih.call(this,a);if($.ig.util.isNaN(this._mt.__x)&&$.ig.util.isNaN(this._mt.__y)){if($.ig.util.isNaN(a.__x)&&$.ig.util.isNaN(a.__y)){this._ls.deferPositionClear();return}else{this._ls.bz();this.mr=a}}else{this._ls.bz();this.mr=this._mt}this.renderSeries(true)},mr:null,dv:function(a,b,c){var d=$.ig.Series.prototype.dv.call(this,a,b,c);if(!this.view().q()){return d=false}return d},dr:function(){return this.shouldRenderAsOverlay()},lw:false,shouldRenderAsOverlay:function(a){if(arguments.length===1){var b=this.lw;this.lw=a;this.raisePropertyChanged("ShouldRenderAsOverlay",b,this.lw);return a}else{return this.lw}},$type:new $.ig.Type("AnnotationLayer",$.ig.Series.prototype.$type)},true);$c("CategoryToolTipLayer:a","AnnotationLayer",{init:function(){$$t.$q.init.call(this);var a=new $$t.d;var b=new $$t.d;var c=new $$t.d;this._lu=a;this._lt=b;this._lv=c;this._ab=$$t.$a.$type},bf:function(){return new $$t.f(this)},im:function(a){$$t.$q.im.call(this,a);this._mw=a},_mw:null,isDefaultTooltipBehaviorDisabled:function(){return true},targetAxis:function(a){if(arguments.length===1){this.h($$t.$a.targetAxisProperty,a);return a}else{return this.c($$t.$a.targetAxisProperty)}},useInterpolation:function(a){if(arguments.length===1){this.h($$t.$a.useInterpolationProperty,a);return a}else{return this.c($$t.$a.useInterpolationProperty)}},toolTipPosition:function(a){if(arguments.length===1){this.h($$t.$a.toolTipPositionProperty,$$t.$c.getBox(a));return a}else{return $g(this.c($$t.$a.toolTipPositionProperty))}},is:function(a,b,c,d){$$t.$q.is.call(this,a,b,c,d);switch(b){case"TargetAxis":this.renderSeries(true);break;case"UseInterpolation":this.renderSeries(true);break;case"ToolTipPosition":this.renderSeries(true);break;case"SeriesViewer":this._mw.cc();break}},ma:function(a,b){if(this.targetAxis()==a){if(!this._aq._c){this.renderSeries(b)}}},mb:function(a,b){if(!this._aq._c){this.renderSeries(b)}},md:function(a,b){$$t.$q.md.call(this,a,b);var c=a;var d=this.useInterpolation();c.l(NaN);c._k=NaN;c._g=NaN;c._h=NaN;c._k=NaN;c.l(NaN);if($.ig.util.isNaN(this.mr.__x)&&$.ig.util.isNaN(this.mr.__y)){this._mw.hideContainer(this._mw.getContainer());return}if(this.targetAxis()!=null){var e=this.targetAxis();if(e==null||!e.isCategory()||e.isAngular()){return}if(!e.cd()){return}var f=e;var g=this.mx(f._cu,d);this.m3(g,c,d)}else{if($b($.ig.XamDataChart.prototype.$type,this.seriesViewer())!==null){var h=this.seriesViewer();var i=true;var j=false;var k=new $$4.x($.ig.Series.prototype.$type,0);var m=h.axes().getEnumerator();while(m.moveNext()){var l=m.current();if(l.isCategory()&&!l.isAngular()){if(!l.cd()){continue}if(i){i=false;j=l.isVertical()}else{if(l.isVertical()!=j){continue}}var o=l._cu.getEnumerator();while(o.moveNext()){var n=o.current();k.add(n)}}}var p=this.mx(k,d);this.m3(p,c,d)}}},mx:function(a,b){var c=1.7976931348623157e308;var d=-1.7976931348623157e308;var e=new $$4.x($.ig.DataContext.prototype.$type,0);var f=new $$4.x($.ig.$op.$type,0);var g=false;var h=true;for(var i=0;ithis.lq().bottom()){r=NaN}}else{q=(c+d)/2;r=this.lq().top();if(this.toolTipPosition()==2||this.toolTipPosition()==1){r=this.lq().bottom()}if(q<0||q>this.lq().right()){q=NaN}}var s=new $$t.e;s._c={__x:q,__y:r,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s._a=e;s._b=f;return s},m3:function(a,b,c){var d=a._c;var e=a._a;var f=a._b;d=this._mw.relativeToAbsolute(d);var g=0;var h=this.view().br();var i=this._mw.getContainer();this._mw.clearTooltipContent();var j=false;if(e.count()==0){this.view().am();return}var k=false;for(var l=0;lx.width()){v=true}if(u&&!v&&d.__x-(p.width()+$.ig.DeviceUtils.prototype.g(10))<0){v=true}}else{if(!u&&!v&&d.__y-(p.height()+10)<0){v=true}if(u&&!v&&d.__y+(p.height()+10)>x.height()){v=true}}var y=$.ig.DeviceUtils.prototype.g(10);var z=$.ig.DeviceUtils.prototype.g(5);if(!u){if(!j){z=p.height()+y}if(v){if(j){z=z+p.width()+y}else{z=0}}}else{if(j){z=p.width()+y;if(v){z=0}}else{z=$.ig.DeviceUtils.prototype.g(5);if(v){z=z+p.height()+y}}}if(j){r=0-(y+$.ig.DeviceUtils.prototype.g(5));if(u){r=r*-1+p.width()}q=p.height()/2;t=d.__y-p.height()/2;s=d.__x-z}else{q=p.height()+$.ig.DeviceUtils.prototype.g(10)+$.ig.DeviceUtils.prototype.g(5);if(u){q=0-(y+$.ig.DeviceUtils.prototype.g(5))}r=p.width()/2;s=d.__x-p.width()/2;t=d.__y-z}if(j){if(t<0){q-=0-t;t=0}if(t+p.height()>x.height()){q+=t+p.height()-x.height();t=x.height()-p.height()}}else{if(s<0){r-=0-s;s=0}if(s+p.width()>x.width()){r+=s+p.width()-x.width();s=x.width()-p.width()}}b._k=s;b.l(t);b._g=r;b._h=q;b._j=p.width();b._i=p.height()},mz:function(a){return a.toolTip()},mg:function(a,b){$$t.$q.mg.call(this,a,b);var c=a;var d=b.br().left();var e=b.br().right();var f=b.br().top();var g=b.br().bottom();var h=this._mw.getContainer();if($.ig.util.isNaN(c._k)||$.ig.util.isNaN(c.l())||$.ig.util.isNaN(c._g)||$.ig.util.isNaN(c._h)){this._mw.hideContainer(h);return}var i=c._k;var j=c.l();var k=c._g;var l=c._h;this._mw.moveTooltip(h,i,j,k,l)},c7:function(){return true},$type:new $.ig.Type("CategoryToolTipLayer",$$t.$q.$type)},true);$c("CategoryToolTipCollisionInfo:b","Object",{init:function(){$.ig.$op.init.call(this)},_d:null,_c:0,_b:0,_a:0,$type:new $.ig.Type("CategoryToolTipCollisionInfo",$.ig.$ot)},true);$c("CategoryToolTipLayerFrame:d","Frame",{f:0,l:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},_k:0,_h:0,_g:0,_j:0,_i:0,init:function(){$.ig.Frame.prototype.init.call(this);this._k=NaN;this.l(NaN);this._g=NaN;this._h=NaN;this._j=NaN;this._i=NaN},c:function(a,b,c){var d=b;var e=c;if($.ig.util.isNaN(d._k)){this._k=e._k}else{this._k=d._k+(e._k-d._k)*a}if($.ig.util.isNaN(d.l())){this.l(e.l())}else{this.l(d.l()+(e.l()-d.l())*a)}if($.ig.util.isNaN(d._g)){this._g=e._g}else{this._g=d._g+(e._g-d._g)*a}if($.ig.util.isNaN(d._h)){this._h=e._h}else{this._h=d._h+(e._h-d._h)*a}if($.ig.util.isNaN(d._j)){this._j=e._j}else{this._j=d._j+(e._j-d._j)*a}if($.ig.util.isNaN(d._i)){this._i=e._k}else{this._i=d._i+(e._i-d._i)*a}},$type:new $.ig.Type("CategoryToolTipLayerFrame",$.ig.Frame.prototype.$type)},true);$c("CategoryTooltipSeriesInfo:e","Object",{init:function(){$.ig.$op.init.call(this)},_c:null,_a:null,_b:null,$type:new $.ig.Type("CategoryTooltipSeriesInfo",$.ig.$ot)},true);$c("AnnotationLayerView:av","SeriesView",{init:function(a){this.bv=false;this.bw=-1;$.ig.SeriesView.prototype.init.call(this,a);this._bu=a},_bu:null,bv:false,bw:0,b0:function(){if(this.bv){this.bv=false;this.bw=-1;this._bu.mr={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._bu.renderSeries(true)}},deferPositionClear:function(){this.bv=true;if(this._e.renderer()!=null){this._e.renderer().setTimeout(this.b0.runOn(this),300)}else{this.bw=window.setTimeout(this.b0.runOn(this),300)}},bz:function(){if(this.bv==true){this.bv=false;if(this.bw!=-1){window.clearTimeout(this.bw);this.bw=-1}}},onRenderingFrame:function(){this.an()},$type:new $.ig.Type("AnnotationLayerView",$.ig.SeriesView.prototype.$type)},true);$c("CategoryToolTipLayerView:f","AnnotationLayerView",{init:function(a){this.b2=null;this.__tooltips=null;this.b5=null;this.b3=false;$$t.$av.init.call(this,a);this._b1=a;this.htmlTest(/^[^<]*(<[\w\W]+>)[^>]*$/)},_b1:null,b2:null,__tooltips:null,b5:null,b3:false,getContainer:function(){if(this.b2==null){this.b2=new $$t.k;this.b2.provideRenderer(this._e.renderer());this.b2.eventSink(this._e.seriesViewer()._bn._j);this.__tooltips=this._e.renderer().createElement("div");this.b5=this._e.renderer().createElement("div");this.b2.__visibility=0}return this.b2},onInit:function(){$$t.$av.onInit.call(this);if(this.b2!=null){this.b2.__visibility=1}},destroy:function(){$$t.$av.destroy.call(this);if(this.b2!=null){this.b2.destroy();this.b2=null}},_htmlTest:null,htmlTest:function(a){if(arguments.length===1){this._htmlTest=a;return a}else{return this._htmlTest}},b4:function(a,b,c){if(a.tooltipTemplate()=="default"){a.tooltipTemplate(a.view().getDefaultTooltipTemplate())}var template_=a.tooltipTemplate();var context_=c;var d=$.ig.tmpl!==null;if(!d){return false}if(a.flattenEventArgs()==null){return false}var args_=a.flattenEventArgs()(c);var e=this._e.renderer().expandTemplate(template_,args_);this.__tooltips.append(e);return true},ce:function(a){var b=a;b.content(this.__tooltips);var c=new $$a.af(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);b.pointerVisibility(1);var d=b.cs(new $$a.af(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY));b.pointerVisibility(0);return d},relativeToAbsolute:function(a){var b=0;var c=0;if(this._e.seriesViewer()!=null){var d=this._e.seriesViewer().getContainerOffsets();b+=d.__x;c+=d.__y}return{__x:b+a.__x,__y:c+a.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},moveTooltip:function(a,b,c,d,e){var f=a;var g=f.content();f.pointerPosition({__x:d,__y:e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});f.__visibility=0;f._n=b;f._o=c},getValidAreaSize:function(){var a=$(window).width();var b=$(window).height();return new $$a.af(1,a,b)},hideContainer:function(a){this.__tooltips.removeChildren();this.b5.removeChildren();this.b2.__visibility=1},clearTooltipContent:function(){if(this.__tooltips!=null){var a=this.__tooltips;this.__tooltips=this.b5;this.b5=a;this.__tooltips.removeChildren()}},cc:function(){},a3:function(a,b){$$t.$av.a3.call(this,a,b);if(b){return}var c=null;if(this._e.seriesViewer()!=null){c=this._e.seriesViewer()._bn._i.i()}var d=0;var e=0;var f=this._e.seriesViewer();if(f!=null){var g=f._bn._i.b5();d+=g.__x;e+=g.__y}if(this.b2!=null){this.b2.pointerTooltipStyle(c);this.b2.render(this.b2._n,this.b2._o)}},ai:function(a){$$t.$av.ai.call(this,a);var b=this.b2;var c=0;var d=0;if(this._e.seriesViewer()!=null){var e=this._e.seriesViewer().getContainerOffsets();c+=e.__x;d+=e.__y}var f=b.exportVisualData();var g=b._n-c;var h=b._o-d;var i=new $$4.x(String,0);var j=this.__tooltips.getChildCount();for(var k=0;kf._e.__y){return 1}if(e._bf._b){return 1}return 0});var e=this.mw(b);if(!e){return}for(var f=0;fj.bottom()){h._e={__x:h._e.__x,__y:i.bottom()+1,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}if(b.__inner[b.count()-1]._e.__y+b.__inner[b.count()-1]._a>this.view().br().height()){b.__inner[b.count()-1]._e={__x:b.__inner[b.count()-1]._e.__x,__y:b.__inner[b.count()-1]._e.__y-(b.__inner[b.count()-1]._e.__y+b.__inner[b.count()-1]._a-this.view().br().height()),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}for(var k=b.count()-1;k>=1;k--){var l=b.__inner[k];var m=b.__inner[k-1];var n=new $$a.ae(0,l._e.__x,l._e.__y,l._c,l._a);var o=new $$a.ae(0,m._e.__x,m._e.__y,m._c,m._a);if(n.intersectsWith(o)||n.top()m.right()){t=p-o.width()-s}if(tm.bottom()){u=m.bottom()-o.height()-s}if(u1){n=true}if(k1){n=true}if(j+l>f&&Math.abs(j+l-f)>1){n=true}if(k+m>h&&Math.abs(k+m-h)>1){n=true}if(n){this._mu.hideContainer(c._i.__inner[i]);continue}var o=c._i.__inner[i];var p=Math.min(c._f.__inner[i],c._n.__inner[i]);var q=Math.min(c._g.__inner[i],c._o.__inner[i]);var r=c._n.__inner[i]-c._f.__inner[i];var s=c._o.__inner[i]-c._g.__inner[i];this._mu.moveTooltip(o,p,q,r,s)}},c7:function(){return true},$type:new $.ig.Type("ItemToolTipLayer",$$t.$q.$type)},true);$c("ItemTooltipCollisionInfo:h","Object",{init:function(){$.ig.$op.init.call(this)},_e:null,_d:0,_c:0,_a:0,_b:0,$type:new $.ig.Type("ItemTooltipCollisionInfo",$.ig.$ot)},true);$c("ItemTooltipLayerFrame:i","Frame",{_o:null,_n:null,_g:null,_f:null,_l:null,_j:null,_i:null,_m:null,_k:null,_h:null,init:function(){$.ig.Frame.prototype.init.call(this);this._o=new $$4.x(Number,0);this._n=new $$4.x(Number,0);this._g=new $$4.x(Number,0);this._f=new $$4.x(Number,0);this._l=new $$4.x($.ig.$op.$type,0);this._j=new $$4.x($.ig.$op.$type,0);this._i=new $$4.x($.ig.$op.$type,0);this._m=new $$4.x(Number,0);this._k=new $$4.x(Number,0);this._h=new $$4.x($$a.$at.$type,0)},c:function(a,b,c){var d=b;var e=c;$.ig.Frame.prototype.b(this._o,a,d._o,e._o);$.ig.Frame.prototype.b(this._n,a,d._n,e._n);$.ig.Frame.prototype.b(this._g,a,d._g,e._g);$.ig.Frame.prototype.b(this._f,a,d._f,e._f);$.ig.Frame.prototype.b(this._m,a,d._m,e._m);$.ig.Frame.prototype.b(this._k,a,d._k,e._k);$.ig.FrameExtended.prototype.a(this._h,a,d._h,e._h,0);$.ig.InterpolationUtil.prototype.b($.ig.$op.$type,this._l,a,d._l,e._l,function(){return null},function(f,g,h,i){return i});$.ig.InterpolationUtil.prototype.b($.ig.$op.$type,this._j,a,d._j,e._j,function(){return null},function(f,g,h,i){return i});$.ig.InterpolationUtil.prototype.b($.ig.$op.$type,this._i,a,d._i,e._i,function(){return null},function(f,g,h,i){return i})},$type:new $.ig.Type("ItemTooltipLayerFrame",$.ig.Frame.prototype.$type)},true);$c("ItemToolTipLayerView:j","AnnotationLayerView",{init:function(a){$$t.$av.init.call(this,a);this._b1=a;this._b4=new $$4.x($$t.$k.$type,0)},_b1:null,_b2:null,onInit:function(){var $self=this;$$t.$av.onInit.call(this);this._b2=function(){var $ret=new $.ig.Pool$1($.ig.$op.$type);$ret.create($self.b5.runOn($self));$ret.activate($self.b7.runOn($self));$ret.disactivate($self.b9.runOn($self));$ret.destroy($self.b8.runOn($self));return $ret}();this.htmlTest(/^[^<]*(<[\w\W]+>)[^>]*$/)},destroy:function(){$$t.$av.destroy.call(this);for(var a=0;a=e.__x){w=1}}if(ai==ah){w=11}if(ai==ag){w=10;if(x.__x>=j.__x){w=9}}if(ai==ac){w=4;if(x.__x<=g.__x){w=3}}if(ai==ad){w=5}if(ai==ae){w=6;if(x.__x<=h.__x){w=7}}if(ai==ab){w=2}if(ai==af){w=8}}var aj=$.ig.DeviceUtils.prototype.g(3);switch(w){case 1:q={__x:e.__x+u,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:e.__x+u+v,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:e.__x+u,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:e.__x+u+v,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 2:q={__x:(e.__x+g.__x)/2-v/2,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:(e.__x+g.__x)/2+v/2,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:(e.__x+g.__x)/2-v/2,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:(e.__x+g.__x)/2+v/2,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 3:q={__x:g.__x-u,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:g.__x-u-v,__y:e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:g.__x-u,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:g.__x-u-v,__y:e.__y+aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 4:q={__x:g.__x,__y:g.__y+u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:g.__x,__y:g.__y+u+v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:g.__x-aj,__y:g.__y+u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:g.__x-aj,__y:g.__y+u+v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 5:q={__x:g.__x,__y:(g.__y+h.__y)/2-v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:g.__x,__y:(g.__y+h.__y)/2+v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:g.__x-aj,__y:(g.__y+h.__y)/2-v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:g.__x-aj,__y:(g.__y+h.__y)/2+v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 6:q={__x:h.__x,__y:h.__y-u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:h.__x,__y:h.__y-u-v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:h.__x-aj,__y:h.__y-u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:h.__x-aj,__y:h.__y-u-v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 7:q={__x:h.__x-u,__y:h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:h.__x-u-v,__y:h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:h.__x-u,__y:h.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:h.__x-u-v,__y:h.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 8:q={__x:(j.__x+h.__x)/2-v/2,__y:h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:(j.__x+h.__x)/2+v/2,__y:h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:(j.__x+h.__x)/2-v/2,__y:h.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:(j.__x+h.__x)/2+v/2,__y:h.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 9:q={__x:j.__x+u,__y:j.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:j.__x+u+v,__y:j.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:j.__x+u,__y:j.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:j.__x+u+v,__y:j.__y-aj,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 10:q={__x:e.__x,__y:j.__y-u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:e.__x,__y:j.__y-u-v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:e.__x+aj,__y:j.__y-u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:e.__x+aj,__y:j.__y-u-v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 11:q={__x:e.__x,__y:(e.__y+j.__y)/2-v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:e.__x,__y:(e.__y+j.__y)/2+v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:e.__x+aj,__y:(e.__y+j.__y)/2-v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:e.__x+aj,__y:(e.__y+j.__y)/2+v/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break;case 12:q={__x:e.__x,__y:e.__y+u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};r={__x:e.__x,__y:e.__y+u+v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s={__x:e.__x+aj,__y:e.__y+u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};t={__x:e.__x+aj,__y:e.__y+u+v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};break}var ak={__x:x.__x,__y:x.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(ak.__ya.iu().bottom()||e._ca.iu().right()||e._c=0;n--){if(c.__inner[n]==a._bn.item(k)){m=n;break}}if(m==-1){continue}if(e){b.z(l,a._bn.item(k),a._ct.__inner[m],d.__inner[m],g,h,i,j);b.aq(l,a._bn.item(k),a._ct.__inner[m],d.__inner[m],g,h,i,j,f)}else{b.z(l,a._bn.item(k),a._ct.__inner[m],d.__inner[m],g,h,i,j)}}},b:function(a,b){this.owner().cf(true);this.owner().renderAxis()},c:function(a){if(a.oldItems()!=null){for(var b=0;bMath.abs(d)){e=c;this.nz=c*this.lq().width()}else{e=d;this.nz=d*this.lq().height()}if(e>0&&this.nz>5){this.nm=true}if(e<0&&this.nz>5){this.nl=true}},jk:function(a,b){$$t.$q.jk.call(this,a,b);if(!a.equals1(b)){this.nk=true}},nj:false,n7:0,ql:null,qn:function(a){if(arguments.length===1){this.ql=a;return a}else{return this.ql}},pm:function(a,b,c){if(this.seriesViewer()!=null){this.qm=this.seriesViewer().actualWindowRect()}if(this.lq().isEmpty()){return}this.qn(new $$a.ae(0,this.lq().left(),this.lq().top(),this.lq().width(),this.lq().height()));if(this.nd!=null&&this.collisionChannel()!=null&&this.collisionChannel()!=this.nd._ak){this.pi()}if(this.nd==null){var d=this.ne();if(d!=null){this.nd=d;var e=this.nd;e.labelsMoved=$.ig.Delegate.prototype.combine(e.labelsMoved,this.pf.runOn(this))}else{var f=this.li(this.view());this.nd=new $.ig.LabelCollisionManager(this.lq().right(),this.lq().bottom(),this.lq(),this._mx.getExecutionContext(),this.calloutPositionPadding(),this.nf(),this.ob(),this.oa(),this.isCalloutOffsettingEnabled());if(this.collisionChannel()!=null){this.nd._ak=this.collisionChannel();this.nd._ai=this}var g=this.nd;g.labelsMoved=$.ig.Delegate.prototype.combine(g.labelsMoved,this.pf.runOn(this))}}if(this.nl){this.nl=false;if(this.nd.ag()>2){this.nj=true}}if(this.nm){this.nm=false;if(this.nz>5){this.nj=true}}if(this.nk){this.nk=false;this.nd.ax(this.lq().right(),this.lq().bottom(),this.lq());this.nj=true}var h=new $$4.q($$t.$v.$type,0);var i=new $$4.q($$t.$v.$type,0);var j=new $$4.x($$t.$v.$type,0);var k=new $$4.x($$t.$v.$type,0);var l=new $$4.q($$t.$v.$type,0);for(var m=0;m0){this.nj=true;this.nw.clear();this.nt.clear()}o=this.nu.c();while(o!=null){var v=this.ng(o._c);if(v==null){return}if(!v.equals(o._c._c._c)){var w=false;if(o._c._c._c==null){w=true}var x=o._c._c;x._o=v.b;x._p=v.c;if(!$.ig.util.isNaN(x._o)&&!$.ig.util.isNaN(x._p)){x._n=v.e;x._m=v.d;if(x._b==null){this.nd.p(x)}if(w){this.nd.al(x)}else{this.nd.at(x)}}}o=o.a}var y=this.nd.ah();var z=this.nd.q();if(this.nj&&(y!=0||z)){this.nj=false;this.n7=2147483647;if(this.collisionChannel()!=null){var aa=true;for(var ab=0;abthis.lq().right()||e.cthis.lq().bottom()){continue}a.add(this.nx.__inner[b])}return a},oc:function(a){return a.b().text()},ly:function(a){if(!$$t.$q.ly.call(this,a)){return false}return true},ig:function(){$$t.$q.ig.call(this);if(!this._aq._c&&!this.ca()){return}if(this.nh){this.nh=false;this.pk()}if(this.ca()){this.pp(this._lv,false)}else{this.pp(this._lt,false)}},ni:false,invalidateCalloutContent:function(){if(!this.ni){this.ni=true;this.renderSeries(true)}},calloutContentUpdating:null,calloutLabelUpdating:null,calloutSeriesSelecting:null,nv:null,pn:function(a,b,c){if(a.getVisiblePointsOfInterest(this.nv,this.useValueForAutoCalloutLabels(),this.autoCalloutLabelPrecision())){var d=this.nv;for(var e=0;ethis.lq().right()||u.cthis.lq().bottom()){continue}c.add(j)}}},nl:false,nm:false,nz:0,nk:false,bd:function(){return 1},getHitDataContext:function(a,b){var c=this.nd.d(a,b);if(c==null){return null}return c._u},testHit:function(a,b){if(this.nd==null){return false}return this.nd.d(a,b)!=null},pp:function(a,b){var c=0;var d=new $$4.q($$t.$v.$type,0);for(c=0;c0?a._h.__inner[c]:this.view().getTransparentBrush());f.l(a._g.__inner[c]);f.v(new $$a.ah(1,a._j.__inner[c],a._l.__inner[c],a._k.__inner[c],a._i.__inner[c]));this._mx.cc(f,Math.min(a._r.__inner[c],a._r.__inner[c]+a._t.__inner[c]),Math.min(a._s.__inner[c],a._s.__inner[c]+a._u.__inner[c]));this._mx.cd(f,e,a._q.__inner[c]);f.p({__x:a._t.__inner[c],__y:a._u.__inner[c],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}var h=new $$4.x($$t.$v.$type,0);var j=this._mx._b6.activeKeys().getEnumerator();while(j.moveNext()){var i=j.current();if(!d.contains(i)){h.add(i)}}for(var k=0;k=0&&v>=0&&v<=1){return u}return Number.POSITIVE_INFINITY},b:function(a,b,c,d){var e=a.__x;var f=a.__y;var g=0;var h=0;var i=0;var j=0;var k=0;var l=0;if(e<0){g=-e;k=g;e=0}if(f<0){h=-f;l=h;f=0}if(e>b){i=e-b}if(f>c){j=f-c}var m=new $$a.ah(1,g,h,i,j);var n=$$t.$ah.a(e,f,k+b/2,l+c/2,k,l,k,l+c);var o=$$t.$ah.a(e,f,k+b/2,l+c/2,k,l,k+b,l);var p=$$t.$ah.a(e,f,k+b/2,l+c/2,k,l+c,k+b,l+c);var q=$$t.$ah.a(e,f,k+b/2,l+c/2,k+b,l,k+b,l+c); var r=Math.min(n,Math.min(o,Math.min(p,q)));var s=0;var t=0;if(Number.isInfinity(r)){s=e;t=f}else{var u=k+b/2;var v=l+c/2;var w=e;var x=f;var y=Math.sqrt((u-w)*(u-w)+(v-x)*(v-x));var z=(u-w)/y;var aa=(v-x)/y;s=w+z*r;t=x+aa*r}d._aj=e;d._al=f;d._ak=s;d._am=t;return m},$type:new $.ig.Type("CalloutViewHelper",$.ig.$ot)},true);$c("CalloutKey:ai","Object",{init:function(a,b){$.ig.$op.init.call(this);this.item(a);this._a=b},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_a:null,getHashCode:function(){$.ig.util.ensureUniqueId(this.item());return this.item().getHashCode()^this._a.getHashCode()},equals:function(a){var b=$b($$t.$ai.$type,a);if(b==null){return $.ig.$op.equals.call(this,a)}return this.item()==b.item()&&this._a==b._a},$type:new $.ig.Type("CalloutKey",$.ig.$ot)},true);$c("CalloutLayerFrame:aj","Frame",{c:function(a,b,c){var d=b;var e=c;$.ig.FrameExtended.prototype.a(this._o,a,d._o,e._o,0);$.ig.FrameExtended.prototype.a(this._f,a,d._f,e._f,0);$.ig.FrameExtended.prototype.a(this._h,a,d._h,e._h,0);$.ig.FrameExtended.prototype.a(this._g,a,d._g,e._g,0);$.ig.Frame.prototype.b(this._j,a,d._j,e._j);$.ig.Frame.prototype.b(this._l,a,d._l,e._l);$.ig.Frame.prototype.b(this._k,a,d._k,e._k);$.ig.Frame.prototype.b(this._i,a,d._i,e._i);$.ig.Frame.prototype.b(this._n,a,d._n,e._n);$.ig.Frame.prototype.b(this._t,a,d._t,e._t);$.ig.Frame.prototype.b(this._u,a,d._u,e._u);$.ig.Frame.prototype.b(this._r,a,d._r,e._r);$.ig.Frame.prototype.b(this._s,a,d._s,e._s);$$t.$aj.v(this._p,a,d._p,e._p);$$t.$aj.v(this._m,a,d._m,e._m);$$t.$aj.v(this._q,a,d._q,e._q)},v:function(a,b,c,d){var e=c.count();var f=d.count();var g=Math.max(e,f);var h=1-b;if(a.count()g){a.removeRange(g,a.count()-g)}for(var k=0;k0?c.__inner[e-1]:null;for(var m=e;mf){var n=f>0?d.__inner[f-1]:null;for(var o=f;og){a.removeRange(g,a.count()-g)}for(var k=0;k0?c.__inner[e-1]:null;for(var m=e;mf){var n=f>0?d.__inner[f-1]:null;for(var o=f;oj){var k=new $$a.at;k.color(b)}var l=new $$a.at;l.color(c);return l},c:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){var s=c.getAxes();var t=null;var u=null;for(var v=0;v=0){d=c}else{var e=b.d4();d=$.ig.truncate(Math.max(-Math.floor(Math.log10(e)),0));d+=1}return Math.round10N(a,d)},d:function(a,b,c,d,e,f,g,h,i,j){var k=new $$4.x($.ig.Axis.prototype.$type,0);var l=new $$4.q($.ig.Axis.prototype.$type,0);var m=new $$4.h($.ig.Axis.prototype.$type,$$0.$aw.$type,0);for(var n=0;n=0;aa--){if(!l.contains(e.__inner[aa])){c=true;var ab=d.item(e.__inner[aa]);ab.count(0);ab.activate(null);ab.create(null);ab.destroy(null);ab.disactivate(null);d.remove(e.__inner[aa]);e.removeAt(aa)}}if(c&&f){for(var ac=0;ac0){var e=new $$a.l;e.isHitTestRender=b;e.context=a.g();e.viewportTop=this.br().top();e.viewportLeft=this.br().left();e.viewportWidth=this.br().width();e.viewportHeight=this.br().height();e.passID="ItemMarkers";var f=new $$a.n;f.isHitTestRender=b;f.passInfo=e;var g=new $$a.m;g.passInfo=e;var h=false;var i=a.g();g.context=i;f.context=i;g.renderContext=a;f.renderContext=a;var j=0;var k=0;var l=new $$4.h($$a.$k.$type,$$a.$k.$type,0);for(var m=0;m