22 lines
88 KiB
JavaScript
22 lines
88 KiB
JavaScript
/*!@license
|
|
* Infragistics.Web.ClientUI infragistics.datachart_scatter.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.$$a2=$$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(["HighDensityScatterSeries:a","HighDensityScatterSeriesView:d","BubbleSeries:o","CustomPaletteBrushScale:p","ScatterBase:s","ScatterSeries:w","BubbleSeriesView:z","ScatterBaseView:aa","ScatterSeriesView:ac"]);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;$c("HighDensityScatterSeries:a","Series",{init:function(){this.mt=0;this.ms=0;this.mr=0;this.mq=255;this.mp=0;this.mo=0;this.mw=255;this.mv=0;this.mu=0;this.lx=null;this.na=0;this.m9=0;this.nf=0;this.ma=false;this.__itemIndexes=null;this.lv=null;this.ls=null;$.ig.Series.prototype.init.call(this);this._ab=$$t.$a.$type;this.mouseOverEnabled(false)},isScatter:function(){return true},xAxis:function(a){if(arguments.length===1){this.h($$t.$a.xAxisProperty,a);return a}else{return this.c($$t.$a.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.h($$t.$a.yAxisProperty,a);return a}else{return this.c($$t.$a.yAxisProperty)}},xMemberPath:function(a){if(arguments.length===1){this.h($$t.$a.xMemberPathProperty,a);return a}else{return this.c($$t.$a.xMemberPathProperty)}},l6:function(a){if(arguments.length===1){if(this.l5!=a){var b=this.l6();this.l5=a;this.raisePropertyChanged("XColumn",b,this.l6())}return a}else{return this.l5}},l5:null,yMemberPath:function(a){if(arguments.length===1){this.h($$t.$a.yMemberPathProperty,a);return a}else{return this.c($$t.$a.yMemberPathProperty)}},l8:function(a){if(arguments.length===1){if(this.l7!=a){var b=this.l8();this.l7=a;this.raisePropertyChanged("YColumn",b,this.l8())}return a}else{return this.l7}},l7:null,useBruteForce:function(a){if(arguments.length===1){this.h($$t.$a.useBruteForceProperty,a);return a}else{return this.c($$t.$a.useBruteForceProperty)}},progressiveLoad:function(a){if(arguments.length===1){this.h($$t.$a.progressiveLoadProperty,a);return a}else{return this.c($$t.$a.progressiveLoadProperty)}},heatMinimum:function(a){if(arguments.length===1){this.h($$t.$a.heatMinimumProperty,a);return a}else{return this.c($$t.$a.heatMinimumProperty)}},heatMaximum:function(a){if(arguments.length===1){this.h($$t.$a.heatMaximumProperty,a);return a}else{return this.c($$t.$a.heatMaximumProperty)}},heatMinimumColor:function(a){if(arguments.length===1){this.h($$t.$a.heatMinimumColorProperty,a);return a}else{return this.c($$t.$a.heatMinimumColorProperty)}},heatMaximumColor:function(a){if(arguments.length===1){this.h($$t.$a.heatMaximumColorProperty,a);return a}else{return this.c($$t.$a.heatMaximumColorProperty)}},pointExtent:function(a){if(arguments.length===1){this.h($$t.$a.pointExtentProperty,a);return a}else{return $h(this.c($$t.$a.pointExtentProperty))}},od:function(){if(this.lx==null){return}this.lx.s();var a=this.lx;a.progressiveThunkCompleted=$.ig.Delegate.prototype.remove(a.progressiveThunkCompleted,this.n1.runOn(this));this.lx=null},is:function(a,b,c,d){$.ig.Series.prototype.is.call(this,a,b,c,d);switch(b){case"SeriesViewer":if(this.seriesViewer()!=null){var e=this.getEffectiveViewport1(this.view());this.ma=!e.isEmpty()}break;case"FastItemsSource":this.od();if($b($.ig.IFastItemsSource.prototype.$type,c)!=null){c.deregisterColumn(this.l6());c.deregisterColumn(this.l8());this.l6(null);this.l8(null)}if($b($.ig.IFastItemsSource.prototype.$type,d)!=null){this.l6(this.bw(this.xMemberPath()));this.l8(this.bw(this.yMemberPath()))}if(this.yAxis()!=null&&!this.yAxis().updateRange()||this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}this.id();break;case"XAxis":var f=this.ly;this.ly=this.xAxis();this.od();if(f!=null){f.rangeChanged=$.ig.Delegate.prototype.remove(f.rangeChanged,this.n4.runOn(this))}if(this.ly!=null){var g=this.ly;g.rangeChanged=$.ig.Delegate.prototype.combine(g.rangeChanged,this.n4.runOn(this))}if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}if(this.xAxis()!=null&&!this.xAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case"YAxis":var h=this.l0;this.l0=this.yAxis();this.od();if(h!=null){h.rangeChanged=$.ig.Delegate.prototype.remove(h.rangeChanged,this.n4.runOn(this))}if(this.l0!=null){var i=this.l0;i.rangeChanged=$.ig.Delegate.prototype.combine(i.rangeChanged,this.n4.runOn(this))}if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}if(this.yAxis()!=null&&!this.yAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case"MouseOverEnabled":this.mb=this.mouseOverEnabled();this.renderSeries(false);break;case"XMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.l6());this.l6(this.bw(this.xMemberPath()))}break;case"XColumn":this.od();if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}this.id();break;case"YMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.l8());this.l8(this.bw(this.yMemberPath()))}break;case"YColumn":this.od();if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}this.id();break;case"UseBruteForce":this.od();this.renderSeries(false);this.ic();break;case"HeatMinimum":this.renderSeries(false);this.ic();break;case"HeatMaximum":this.renderSeries(false);this.ic();break;case"HeatMaximumColor":case"HeatMinimumColor":if(!this._lw.by(this.heatMinimumColor(),this.heatMaximumColor())){return}this.mt=this.heatMinimumColor().o();this.ms=this.heatMinimumColor().n();this.mr=this.heatMinimumColor().m();this.mq=this.heatMaximumColor().o();this.mp=this.heatMaximumColor().n();this.mo=this.heatMaximumColor().m();this.mw=this.mq-this.mt;this.mv=this.mp-this.ms;this.mu=this.mo-this.mr;this.renderSeries(false);this.ic();break;case"PointExtent":this.nd=Math.max($h(d)-1,0);this.l9=this.nd>0;this.renderSeries(false);this.ic();break;case"ProgressiveLoad":this.renderSeries(false);this.ic();break}},canUseAsYAxis:function(a){if($b($.ig.NumericYAxis.prototype.$type,a)!==null){return true}return false},canUseAsXAxis:function(a){if($b($.ig.NumericXAxis.prototype.$type,a)!==null){return true}return false},n4:function(a,b){this.od();this.renderSeries(false)},nd:0,l9:false,mt:0,ms:0,mr:0,mq:0,mp:0,mo:0,mw:0,mv:0,mu:0,lx:null,l2:null,l3:null,ly:null,l0:null,mb:false,dv:function(a,b,c){var d=$.ig.Series.prototype.dv.call(this,a,b,c);if(this.yAxis()==null||this.xAxis()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.l8()==null||this.l6()==null||this.l8().count()<1||this.l6().count()<1||this.l8().count()!=this.l6().count()||this.xAxis().actualMinimumValue()==this.xAxis().actualMaximumValue()||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()||this.lq().isEmpty()){d=false}return d},ne:0,progressiveStatus:function(a){if(arguments.length===1){var b=this.ne;this.ne=a;this.raisePropertyChanged("ProgressiveStatus",b,this.ne);return a}else{return this.ne}},i6:function(a){$.ig.Series.prototype.i6.call(this,a);this.n6(a,this.view())},n6:function(a,b){if(this.cc(b)){return}if(this.lx==null&&!this.useBruteForce()){var c=new $$4.x($$t.$l.$type,2,this.l6().count());var d=this.xAxis();var e=this.yAxis();var f=new $$a.ae(0,0,0,1,1);var g=new $$a.ae(0,0,0,1,1);var h=new $.ig.ScalerParams(1,f,g,d.isInverted());var i=new $.ig.ScalerParams(1,f,g,e.isInverted());var j;var k;for(var l=0;l<this.l6().count();l++){j=d.getScaledValue(this.l6().item(l),h);k=e.getScaledValue(this.l8().item(l),i);if(!$.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)&&!Number.isInfinity(j)&&!Number.isInfinity(k)){c.add(function(){var $ret=new $$t.l;$ret.a=j;$ret.b=k;$ret.c=l;return $ret}())}}if(this.progressiveLoad()){this.m9=1;this.na=$.ig.truncate(Math.logBase(c.count(),2))+3;this.progressiveStatus($.ig.truncate(this.m9/this.na*100));if(this.progressiveLoadStatusChanged!=null){this.progressiveLoadStatusChanged(this,new $$t.c(this.progressiveStatus()))}this.lx=$$t.$e.b(c.toArray(),1);var m=this.lx;m.progressiveThunkCompleted=$.ig.Delegate.prototype.combine(m.progressiveThunkCompleted,this.n1.runOn(this));if(!this.lx.f(this.renderer())){var n=this.lx;n.progressiveThunkCompleted=$.ig.Delegate.prototype.remove(n.progressiveThunkCompleted,this.n1.runOn(this))}this.ic()}else{var o=$$0.$s.now();this.lx=new $$t.e(0,c.toArray(),1);var p=$$0.$s.now()}}if(this.progressiveLoad()&&!this.useBruteForce()){this.n7(b)}else{this.n8(b)}},ng:0,na:0,m9:0,hs:function(a,b,c,d){$.ig.Series.prototype.hs.call(this,a,b,c,d);this.od();var e=false;if(this.xAxis()!=null&&!this.xAxis().updateRange()){e=true}if(this.yAxis()!=null&&!this.yAxis().updateRange()){e=true}if(e){this.renderSeries(false)}this.id()},n3:function(a){var b=a;var c=this.nc*this.nb;if(this.mb){if(this.__itemIndexes==null||this.__itemIndexes.length!=c){this.__itemIndexes=new Array(c);for(var d=0;d<c;d++){this.__itemIndexes[d]=0}}else{for(var e=0;e<c;e++){this.__itemIndexes[e]=0}}}},n8:function(a){var b;var c;var d=null;if(a.isThumbnailView()){d=this.__itemIndexes}var e=a.getViewInfo(c,b);c=e.p0;b=e.p1;var f=a;var g=this.getEffectiveViewport1(a);this.l2=new $.ig.ScalerParams(0,b,c,this.ly.isInverted(),g);this.l3=new $.ig.ScalerParams(0,b,c,this.l0.isInverted(),g);this.n2(a);this.n3(a);var h=this.nc*this.nb;if(this.lv==null||this.lv.length!=h){this.lv=new Array(h);this.ls=new Array(h)}var i=this.lv.length;var j=this.lv;var k=this.ls;for(var l=0;l<i;l++){j[l]=0;k[l]=0}this.ng=$.ig.truncate(Math.round(this.resolution()));this.lu=f.bv();var m=this.lu.length;var n=this.lu;for(var o=0;o<m;o++){n[o]=0}var p=this.heatMinimum();var q=this.heatMaximum();if($.ig.util.isNaN(p)||Number.isInfinity(p)){p=0}if($.ig.util.isNaN(q)||Number.isInfinity(q)){q=50}this.mm=Math.min(p,q);this.ml=Math.max(p,q);if(this.mm<0){this.mm=0}if(this.ml<0){this.ml=0}this.mn=this.ml-this.mm;if(this.useBruteForce()){this.n5(a)}else{this.of(a)}f.b6();if(a.isThumbnailView()){this.__itemIndexes=d;this._lw.b7()}},n7:function(a){if(this.lx==null){return}this.n8(a)},progressiveLoadStatusChanged:null,n1:function(a,b){var $self=this;this._lw.b5(function(){if($self.m9<$self.na-1){$self.m9++}$self.progressiveStatus($.ig.truncate($self.m9/$self.na*100));if($self.progressiveLoadStatusChanged!=null){$self.progressiveLoadStatusChanged($self,new $$t.c($self.progressiveStatus()))}$self.n7($self.view());$self.ic();if($self.lx!=null){if(!$self.lx.f($self.renderer())){var c=$self.lx;c.progressiveThunkCompleted=$.ig.Delegate.prototype.remove(c.progressiveThunkCompleted,$self.n1.runOn($self));$self.progressiveStatus(100);if($self.progressiveLoadStatusChanged!=null){$self.progressiveLoadStatusChanged($self,new $$t.c($self.progressiveStatus()))}}}})},n5:function(a){var b=$.ig.util.shallowClone(this.l6().asArray());this.xAxis().getScaledValueList(b,0,b.length,this.l2);var c=$.ig.util.shallowClone(this.l8().asArray());this.nf=0;var d=this.nd;var e=this.l9;var f=this.lv.length;this.yAxis().getScaledValueList(c,0,c.length,this.l3);var g=255<<24|$.ig.truncate(this.mt)<<16|$.ig.truncate(this.ms)<<8|$.ig.truncate(this.mr);for(var h=0;h<b.length;h++){var i=$.ig.truncate(b[h]);var j=$.ig.truncate(c[h]);i=$.ig.truncate(Math.floor(i));j=$.ig.truncate(Math.floor(j));if(i<0||i>=this.nc||j<0||j>=this.nb){continue}if(e){var k=i-d;var l=i+d;l=l>this.nc-1?this.nc-1:l;k=k<0?0:k;var m=j+d;var n=j-d;for(var o=k;o<=l;o++){for(var p=n;p<=m;p++){var q=p*this.nc+o;if(q<0||q>f-1){continue}this.lv[q]=this.lv[q]+1;this.ls[q]=1;this.nf++;if(this.mb){this.__itemIndexes[q]=h+1}}}}else{var r=j*this.nc+i;this.lv[r]=this.lv[r]+1;this.ls[r]=1;this.nf++;if(this.mb){this.__itemIndexes[r]=h+1}}}this.n9()},mg:null,of:function(a){var b;var c;var d=a.getViewInfo(b,c);b=d.p0;c=d.p1;if(this.lx==null){return}if(this.mg==null){this.mg=new $$4.x($$t.$j.$type,2,$.ig.truncate(Math.round(b.width()*b.height())))}else{this.mg.clear()}var e=c.left();var f=c.right();var g=c.top();var h=c.bottom();this.m3=c.top();this.m1=c.height();this.m2=c.left();this.m4=c.width();this.mz=b.top();this.mx=b.height();this.my=b.left();this.m0=b.width();var i=this.getEffectiveViewport1(a);this.mi=(i.left()-this.my)/this.m0;this.mj=(i.top()-this.mz)/this.mx;var j=(i.right()-this.my)/this.m0;this.mk=j-this.mi;var k=(i.bottom()-this.mz)/this.mx;this.mh=k-this.mj;if(this.ma){e=(e-this.mi)/this.mk;f=(f-this.mi)/this.mk;g=(g-this.mj)/this.mh;h=(h-this.mj)/this.mh}var l=this.resolution()/b.width()*c.width();var m=this.resolution()/b.height()*c.height();var n=Math.min(l,m);var o=function(){var $ret=new $$t.i;$ret.c=e;$ret.a=f;$ret.d=g;$ret.b=h;$ret.e=l;$ret.f=m;$ret.g=2147483647;return $ret}();this.lx.t(this.mg,o,0,1,0,1);var p;this.nf=0;for(var q=0;q<this.mg.count();q++){p=this.mg.__inner[q];this.oa(p)}this.n9()},mm:0,ml:0,mn:0,mz:0,mx:0,my:0,m0:0,m2:0,m4:0,m3:0,m1:0,mi:0,mj:0,mk:0,mh:0,oa:function(a){if(a.g){return}var b=a.e!=null&&a.e.a;var c=a.a==null?0:a.a.length;var d=a.h-c+1;if(b&&d>0){}else{d=1}this.oc(a.b,d,b,a.e);if(c>0&&!b){var e;for(var f=0;f<c;f++){e=a.a[f];this.oc(e,d,false,a.e)}}if(a.e!=null){a.e.a=false}},scrollIntoView:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$a.$ae.empty();var c=this.seriesViewer()!=null?this.seriesViewer().viewportRect():$$a.$ae.empty();var d=new $$a.ae(0,0,0,1,1);var e=this.lk(this.view());var f=new $.ig.ScalerParams(0,d,d,this.xAxis().isInverted(),e);var g=new $.ig.ScalerParams(0,d,d,this.yAxis().isInverted(),e);var h=!b.isEmpty()&&!c.isEmpty()&&this.bz()!=null?this.bz().indexOf(a):-1;var i=this.xAxis()!=null&&this.l6()!=null&&h<this.l6().count()?this.xAxis().getScaledValue(this.l6().item(h),f):NaN;var j=this.yAxis()!=null&&this.l8()!=null&&h<this.l8().count()?this.yAxis().getScaledValue(this.l8().item(h),g):NaN;if(!$.ig.util.isNaN(i)){if(i<b.left()+.1*b.width()){i=i+.4*b.width();b.x(i-.5*b.width())}if(i>b.right()-.1*b.width()){i=i-.4*b.width();b.x(i-.5*b.width())}}if(!$.ig.util.isNaN(j)){if(j<b.top()+.1*b.height()){j=j+.4*b.height();b.y(j-.5*b.height())}if(j>b.bottom()-.1*b.height()){j=j-.4*b.height();b.y(j-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().ap(this.seriesViewer(),b,true)}return h>=0},oc:function(a,b,c,d){var e=this.ni(b);var f=a.c;var g=this.nd;if(c){var h=d.d;var i=d.b;var j=d.e;var k=d.c;if(this.ma){h=this.mi+this.mk*h;i=this.mi+this.mk*i;j=this.mj+this.mh*j;k=this.mj+this.mh*k}var l=$.ig.truncate(this.my+this.m0*(h-this.m2)/this.m4);var m=$.ig.truncate(this.my+this.m0*(i-this.m2)/this.m4);var n=$.ig.truncate(this.mz+this.mx*(j-this.m3)/this.m1);var o=$.ig.truncate(this.mz+this.mx*(k-this.m3)/this.m1);l=$.ig.truncate(Math.floor(l));m=$.ig.truncate(Math.floor(m));n=$.ig.truncate(Math.floor(n));o=$.ig.truncate(Math.floor(o));if(this.l9){l-=g;m+=g;n-=g;o+=g}var p=(m-l+1)*(o-n+1);var q=b/p;var r=q;for(var s=l;s<=m;s++){for(var t=n;t<=o;t++){this.ob(f,s,t,q,r)}}}else{var u=a.a;var v=a.b;if(this.ma){u=this.mi+this.mk*u;v=this.mj+this.mh*v}var w=$.ig.truncate(this.my+this.m0*(u-this.m2)/this.m4);var x=$.ig.truncate(this.mz+this.mx*(v-this.m3)/this.m1);w=$.ig.truncate(Math.floor(w));x=$.ig.truncate(Math.floor(x));if(this.l9){var y=w-g;var z=w+g;var aa=x+g;var ab=x-g;var ac=(z-y+1)*(aa-ab+1);var ad=b/ac;var ae=ad;for(var af=y;af<=z;af++){for(var ag=ab;ag<=aa;ag++){this.ob(f,af,ag,ad,ae)}}}else{this.ob(f,w,x,b,1)}}},nh:function(a,b){return $.ig.truncate(Math.floor(255*b))<<24|$.ig.truncate(Math.floor(b*(this.mt+a*this.mw)))<<16|$.ig.truncate(Math.floor(b*(this.ms+a*this.mv)))<<8|$.ig.truncate(Math.floor(b*(this.mr+a*this.mu)))},ni:function(a){return 255<<24|$.ig.truncate(Math.floor(this.mt+a*this.mw))<<16|$.ig.truncate(Math.floor(this.ms+a*this.mv))<<8|$.ig.truncate(Math.floor(this.mr+a*this.mu))},m5:function(a){return(a>>24&255)/255},ob:function(a,b,c,d,e){if(b<0||b>=this.nc||c<0||c>=this.nb){return}var f=c*this.nc+b;this.lv[f]=this.lv[f]+d;this.ls[f]=this.ls[f]+e;if(this.mb){this.__itemIndexes[f]=a+1}this.nf+=$.ig.truncate(d)},n9:function(){var a=0;var b=0;var c=this.mn;var d=this.mm;var e=this.ml;var f=this.lv.length;var g=this.lv;var h=this.ls;var i=this.lu;var j=NaN;var k=NaN;var l=0;var m=0;for(var n=0;n<f;n++){a=g[n];if(a!=0){b=h[n];if(a>=e){a=1}else if(a<=d){a=0}else{a=(a-d)/c}if(b>1){b=1}if(b<.2){b=.2}if(j!=a||k!=b){l=this.nh(a,b);j=a;k=b}i[m]=l>>16&255;i[m+1]=l>>8&255;i[m+2]=l&255;i[m+3]=l>>24&255}m+=4}},nc:0,nb:0,lu:null,nf:0,n2:function(a){var b=a;b.b3()},bf:function(){return new $$t.d(this)},im:function(a){$.ig.Series.prototype.im.call(this,a);this._lw=a},_lw:null,an:function(a){if(a!=null&&a==this.xAxis()&&this.l6()!=null){return new $.ig.AxisRange(this.l6().minimum(),this.l6().maximum())}if(a!=null&&a==this.yAxis()&&this.l8()!=null){return new $.ig.AxisRange(this.l8().minimum(),this.l8().maximum())}return null},ma:false,jk:function(a,b){if(this.seriesViewer()!=null){var c=this.getEffectiveViewport1(this.view());this.ma=!c.isEmpty()}this.renderSeries(false)},jl:function(a,b){this.renderSeries(false)},__itemIndexes:null,lv:null,ls:null,getItem:function(a){if(!this.mb||this.__itemIndexes==null||this.seriesViewer()==null||this.bz()==null||this.__itemIndexes.length!=this.nc*this.nb){return null}var b=this.seriesViewer().actualWindowRect();var c=(a.__x-b.left())/b.width();var d=(a.__y-b.top())/b.height();var e=$.ig.truncate(Math.round(this.lq().left()+this.lq().width()*c));var f=$.ig.truncate(Math.round(this.lq().top()+this.lq().height()*d));var g=this.nl(e,f);if(g<0||g>this.__itemIndexes.length-1){return null}var h=this.__itemIndexes[g]-1;if(h<0||h>this.bz().count()){return null}return this.bz().item(h)},nl:function(a,b){var c=this.nc*b+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}var d=1;c=this.nc*(b-d)+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*(b+d)+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*b+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*b+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*(b-d)+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*(b+d)+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*(b-d)+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.nc*(b+d)+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}return 0},oe:function(a,b,c){this.lu=a;this.nc=b;this.nb=c},dp:function(a){if(arguments.length===1){$.ig.Series.prototype.dp.call(this,a);return a}else{return true}},hp:function(a,b){$.ig.Series.prototype.hp.call(this,a,b);this._lw.b4();if(this._bh!=null){this._bh.b4()}this.ic()},i7:function(a,b){$.ig.Series.prototype.i7.call(this,a,b);if(!this.dk()){this.view().az(b);return}this.view().az(b);if(this.cc(this._bh)){return}var c=$b($$t.$d.$type,this._bh);var d=new $$t.u;this.n6(false,c);this.dk(false)},_l4:null,renderAlternateView:function(a,b,c,d,e){$.ig.Series.prototype.renderAlternateView.call(this,a,b,c,d,e);var f=this.a0().alternateViews().item(d);var g=f;f.prepAltSurface(c);if(this.cc(g)){return}if(this._l4==null){this._l4=new $$t.u}this.n6(false,f)},hn:function(){$.ig.Series.prototype.hn.call(this);this.xAxis(null);this.yAxis(null)},$type:new $.ig.Type("HighDensityScatterSeries",$.ig.Series.prototype.$type)},true);$c("MouseMoveThunk:b","Object",{init:function(){$.ig.$op.init.call(this)},_d:null,_c:null,_b:0,_a:null,$type:new $.ig.Type("MouseMoveThunk",$.ig.$ot)},true);$c("ProgressiveLoadStatusEventArgs:c","EventArgs",{_currentStatus:0,currentStatus:function(a){if(arguments.length===1){this._currentStatus=a;return a}else{return this._currentStatus}},init:function(a){$$0.$w.init.call(this);this.currentStatus(a)},$type:new $.ig.Type("ProgressiveLoadStatusEventArgs",$$0.$w.$type)},true);$c("HighDensityScatterSeriesView:d","SeriesView",{init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this._bw=a},onInit:function(){$.ig.SeriesView.prototype.onInit.call(this);if(!this.isThumbnailView()){this._e.resolution(4);this._bw.heatMinimumColor($$a.$ax.u(255,0,0,0));this._bw.heatMaximumColor($$a.$ax.u(255,255,0,0))}},b7:function(){this._bw.oe(this.bu,this.b2,this.b1)},_bw:null,bu:null,b2:0,b1:0,_bz:null,_b0:null,_bx:null,b3:function(){if(this._bz==null){this._bz=this._e.renderer().createElement("canvas");var a=this._e.renderer().get2DCanvasContext(this._bz);this._bx=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,a)}var b;if(this.isAlternateView()){b=this.br()}else{b=this._e.seriesViewer().getContainerRect()}var c=$.ig.truncate(Math.round(b.left()));var d=$.ig.truncate(Math.round(b.top()));var e=$.ig.truncate(Math.round(b.width()));var f=$.ig.truncate(Math.round(b.height()));var g=this.b2;var h=this.b1;this.b2=e;this.b1=f;if(g!=this.b2||h!=this.b1||this.bu==null){this._bz.setAttribute("width",e.toString());this._bz.setAttribute("height",f.toString());this._b0=this._bx.g().getImageData(0,0,e,f);this.bu=this._b0.data}this._bw.oe(this.bu,this.b2,this.b1)},bv:function(){return this.bu},b6:function(){var a=$.ig.truncate(Math.round(this.br().left()));var b=$.ig.truncate(Math.round(this.br().left()));var c=$.ig.truncate(Math.round(this.br().width()));var d=$.ig.truncate(Math.round(this.br().height()));this._bx.g().putImageData(this._b0,0,0);this.an()},b5:function(a){if(this._e.renderer()!=null){this._e.renderer().setTimeout(a,0)}else{window.setTimeout(a,0)}},a3:function(a,b){$.ig.SeriesView.prototype.a3.call(this,a,b);if(b){if(!this._bw.mouseOverEnabled()){return}var c=new $$a.bv;c._n=this.br().left();c._o=this.br().top();c.width(this.br().width());c.height(this.br().height());c.__fill=this.bl();a.v(c);return}if(this._bz==null){return}var d=$.ig.truncate(Math.round(this.br().left()));var e=$.ig.truncate(Math.round(this.br().top()));var f=$.ig.truncate(Math.round(this.br().width()));var g=$.ig.truncate(Math.round(this.br().height()));this._h.n(this._bz.getNativeElement(),this._e.__opacity,d,e,f,g,d,e,f,g)},by:function(a,b){return $$a.$ax.e($m($$a.$ax.$type,a),$m($$a.$ax.$type,null))&&$$a.$ax.e($m($$a.$ax.$type,b),$m($$a.$ax.$type,null))},b4:function(){if(this.bu!=null){for(var a=0;a<this.bu.length;a++){this.bu[a]=0}this.b6()}},ai:function(a){$.ig.SeriesView.prototype.ai.call(this,a);if(this.bu==null){this._e.a2().exportSeriesPixelsData(a,null,this.b2,this.b1);return}var b=new Array($a(this.bu.length,4));var c;for(var d=0;d<$a(this.bu.length,4);d++){c=d*4;b[d]=this.bu[c+3]<<24|this.bu[c]<<16|this.bu[c+1]<<8|this.bu[c+2]}this._e.a2().exportSeriesPixelsData(a,b,this.b2,this.b1)},$type:new $.ig.Type("HighDensityScatterSeriesView",$.ig.SeriesView.prototype.$type)},true);$c("KDTree2D:e","Object",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.k=0;this.o={};this.q=new $$6.s(0);$.ig.$op.init.call(this);this._d=this.c(b,0,b.length-1,0,c)},init1:function(a){this.k=0;this.o={};this.q=new $$6.s(0);$.ig.$op.init.call(this)},a:null,h:null,g:null,k:0,o:null,p:function(){return this.o},progressiveThunkCompleted:null,b:function(a,b){var c=new $$t.e(1);c._d=new $$t.j;c._d.g=true;c.a=a;c.h=new $$4.aa($$t.$h.$type);c.g=new $$4.x($$t.$h.$type,0);var d=new $$t.h;d.e=0;d.b=a.length-1;d.c=0;d.d=b;d.a=c._d;c.h.push(d);return c},f:function(a){if(this.h.count()==0&&this.g.count()==0){this.a=null;return false}if(this.h.count()==0&&this.g.count()>0){return true}this.k=this.h.peek().c;while(this.h.count()>0&&this.h.peek().c==this.k){this.g.add(this.h.pop())}if(a!=null){a.setTimeout(this.y.runOn(this),0)}else{window.setTimeout(this.y.runOn(this),0)}return true},e:false,s:function(){this.e=true},y:function(){var a;for(var b=0;b<this.g.count();b++){if(this.e||this.a==null){return}if(this.a.length==0){continue}a=this.g.__inner[b];this.v(a.a,this.a,a.e,a.b,a.c,a.d)}this.g.clear();if(this.progressiveThunkCompleted!=null){this.progressiveThunkCompleted(this,new $$0.w)}},v:function(a,b,c,d,e,f){a.g=false;a.f=e%2==0;a.h=d-c;if(c==d){a.b=b[c];return}if(c>d){a.g=true;return}if(d-c+1<=f){a.b=b[c];a.a=new Array(d-c+1);var g=0;for(var h=c;h<=d;h++){a.a[g++]=b[h]}return}var i=Math.max($a(d-c,2),1);var j=this.m(b,c,d,a.f,i);a.b=b[j];if(c<=j-1){a.c=function(){var $ret=new $$t.j;$ret.g=true;return $ret}();a.c.h=j-1-c+1;this.h.push(function(){var $ret=new $$t.h;$ret.e=c;$ret.b=j-1;$ret.c=e+1;$ret.d=f;$ret.a=a.c;return $ret}())}else{a.c=null}if(j+1<=d){a.d=function(){var $ret=new $$t.j;$ret.g=true;return $ret}();a.d.h=d-(j+1)+1;this.h.push(function(){var $ret=new $$t.h;$ret.e=j+1;$ret.b=d;$ret.c=e+1;$ret.d=f;$ret.a=a.d;return $ret}())}else{a.d=null}},c:function(a,b,c,d,e){var f=new $$t.j;f.f=d%2==0;f.h=c-b;if(b==c){f.b=a[b];return f}if(b>c){return null}if(c-b+1<=e){f.b=a[b];f.a=new Array(c-b+1);var g=0;for(var h=b;h<=c;h++){f.a[g++]=a[h]}return f}var i=Math.max($a(c-b,2),1);var j=this.m(a,b,c,f.f,i);f.b=a[j];f.c=this.c(a,b,j-1,d+1,e);f.d=this.c(a,j+1,c,d+1,e);return f},l:function(a,b,c,d,e){var f=b?a[e].a:a[e].b;var g=a[e];a[e]=a[d];a[d]=g;var h=c;for(var i=c;i<d;i++){var j;if(b){j=a[i].a}else{j=a[i].b}if(j<=f){g=a[h];a[h]=a[i];a[i]=g;h++}}g=a[d];a[d]=a[h];a[h]=g;return h},q:null,m:function(a,b,c,d,e){if(b==c){return b}var f=this.q.next2(b,c);var g=this.l(a,d,b,c,f);var h=g-b+1;if(h==e){return g}else if(e<h){return this.m(a,b,g-1,d,e)}else{return this.m(a,g+1,c,d,e-h)}},w:function(a,b,c,d){this.x(a,b,c,d,this._d)},x:function(a,b,c,d,e){if(e==null||e.g){return}if(e.c==null&&e.d==null){this.r(a,b,c,e,e.b,true,0,d);if(a.a){return}if(e.a!=null&&e.a.length>0){for(var f=0;f<e.a.length;f++){this.r(a,b,c,e,e.a[f],false,f,d);if(a.a){return}}}return}this.r(a,b,c,e,e.b,true,0,d);if(a.a){return}if(e.f){if(b<=e.b.a){this.x(a,b,c,d,e.c);if(a.a){return}if(this.i(b,c,e.b.a,c)<a.c){this.x(a,b,c,d,e.d)}if(a.a){return}}else{this.x(a,b,c,d,e.d);if(a.a){return}if(this.i(b,c,e.b.a,c)<a.c){this.x(a,b,c,d,e.c)}if(a.a){return}}}else{if(c<=e.b.b){this.x(a,b,c,d,e.c);if(a.a){return}if(this.i(b,c,b,e.b.b)<a.c){this.x(a,b,c,d,e.d)}if(a.a){return}}else{this.x(a,b,c,d,e.d);if(a.a){return}if(this.i(b,c,b,e.b.b)<a.c){this.x(a,b,c,d,e.c)}if(a.a){return}}}},r:function(a,b,c,d,e,f,g,h){if(a.a){return}if(a.e>a.f){a.a=true;return}if(a.b.count()<h){if($.ig.util.isNaN(a.d)){a.d=this.i(b,c,e.a,e.b);a.c=a.d;a.g=0}a.b.add(function(){var $ret=new $$t.g;$ret.b=f;$ret.e=g;$ret.a=d;$ret.c=e.a;$ret.d=e.b;return $ret}());a.e++;var i=this.i(b,c,e.a,e.b);if(i<a.d){a.d=i}if(i>a.c){a.c=i;a.g=a.b.count()-1}return}var j=0;if(j<a.c){if(j<a.d){a.d=j}a.b.__inner[a.g]=function(){var $ret=new $$t.g;$ret.b=f;$ret.e=g;$ret.a=d;$ret.c=e.a;$ret.d=e.b;return $ret}();var k=0;var l=0;for(var m=0;m<a.b.count();m++){var n=this.i(b,c,a.b.__inner[m].c,a.b.__inner[m].d);if(n>k){k=n;l=m}}a.e++}},i:function(a,b,c,d){return(a-c)*(a-c)+(b-d)*(b-d)},t:function(a,b,c,d,e,f){this.u(a,this._d,b,c,d,e,f,false,0)},u:function(a,b,c,d,e,f,g,h,i){if(b==null){return}var j=b.e;if(i>c.g||g-f<c.f&&e-d<c.e){if(b.e==null){b.e=new $$t.k}j=b.e;j.a=true;j.d=d;j.b=e;j.e=f;j.c=g;a.add(b);return}if(j!=null){j.a=false}if(b.c==null&&b.d==null){a.add(b);return}var k;var l;var m;var n;var o;var p;var q;var r;if(b.f){k=d;l=b.b.a;m=f;n=g;o=b.b.a;p=e;q=f;r=g}else{k=d;l=e;m=f;n=b.b.b;o=d;p=e;q=b.b.b;r=g}if(h){a.add(b);this.u(a,b.c,c,k,l,m,n,true,i+1);this.u(a,b.d,c,o,p,q,r,true,i+1)}else{var s=false;if(k>=c.c&&l<=c.a&&m>=c.d&&n<=c.b){s=true;a.add(b);this.u(a,b.c,c,k,l,m,n,true,i+1)}else if(!(c.c>l||c.a<k||c.d>n||c.b<m)){s=true;a.add(b);this.u(a,b.c,c,k,l,m,n,false,i+1)}if(o>=c.c&&p<=c.a&&q>=c.d&&r<=c.b){if(!s){a.add(b)}this.u(a,b.d,c,o,p,q,r,true,i+1)}else if(!(c.c>p||c.a<o||c.d>r||c.b<q)){if(!s){a.add(b)}this.u(a,b.d,c,o,p,q,r,false,i+1)}}},_d:null,z:function(){this.n(this._d)},n:function(a){if(a==null){return 0}if(this.n(a.c)+this.n(a.d)!=a.h){var b=0}return a.h+1},$type:new $.ig.Type("KDTree2D",$.ig.$ot)},true);$c("KNearestResults:f","Object",{init:function(){$.ig.$op.init.call(this)},e:0,f:0,b:null,a:false,d:0,c:0,g:0,$type:new $.ig.Type("KNearestResults",$.ig.$ot)},true);$c("KNearestResult:g","Object",{init:function(){$.ig.$op.init.call(this)},e:0,b:false,c:0,d:0,a:null,$type:new $.ig.Type("KNearestResult",$.ig.$ot)},true);$c("KDTreeThunk:h","Object",{init:function(){$.ig.$op.init.call(this)},e:0,b:0,c:0,d:0,a:null,$type:new $.ig.Type("KDTreeThunk",$.ig.$ot)},true);$c("SearchArgs:i","Object",{init:function(){$.ig.$op.init.call(this)},c:0,d:0,a:0,b:0,e:0,f:0,g:0,$type:new $.ig.Type("SearchArgs",$.ig.$ot)},true);$c("KDTreeNode2D:j","Object",{init:function(){$.ig.$op.init.call(this)},g:false,f:false,h:0,b:null,c:null,d:null,a:null,e:null,$type:new $.ig.Type("KDTreeNode2D",$.ig.$ot)},true);$c("SearchData:k","Object",{init:function(){$.ig.$op.init.call(this)},a:false,d:0,b:0,e:0,c:0,$type:new $.ig.Type("SearchData",$.ig.$ot)},true);$c("KDPointData:l","Object",{init:function(){$.ig.$op.init.call(this)},a:0,b:0,c:0,$type:new $.ig.Type("KDPointData",$.ig.$ot)},true);$c("BrushScale:m","DependencyObject",{init:function(){var $self=this;this.j=null;$$a.$r.init.call(this);this._o=new $$4.x($.ig.Series.prototype.$type,0);this.brushes(new $.ig.BrushCollection);var a=this.brushes();a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.p.runOn(this));this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(b,c){$self.q(b,c.propertyName(),c.oldValue(),c.newValue())})},p:function(a,b){var d=this._o.getEnumerator();while(d.moveNext()){var c=d.current();c.renderSeries(false);c.h6();c.ic()}},brushes:function(a){if(arguments.length===1){var b=this.j;if(this.j!=null){var c=this.j;c.collectionChanged=$.ig.Delegate.prototype.remove(c.collectionChanged,this.p.runOn(this))}this.j=a;if(this.j!=null){var d=this.j;d.collectionChanged=$.ig.Delegate.prototype.combine(d.collectionChanged,this.p.runOn(this))}var f=this._o.getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false);e.h6();e.ic()}return a}else{return this.j}},j:null,_o:null,registerSeries:function(a){var b=this._o.contains(a);if(!b){this._o.add(a)}},unregisterSeries:function(a){var b=this._o.contains(a);if(b){this._o.remove(a)}},getBrush:function(a){if(this.brushes()==null||a<0||a>=this.brushes().count()){return null}return this.brushes().item(a)},isReady:function(){return true},v:function(a){if(this.brushes()==null||this.brushes().count()==0||a<0){return null}return $.ig.BrushCollectionUtil.prototype.b(this.brushes(),a)},propertyChanged:null,propertyUpdated:null,r:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},q:function(a,b,c,d){var f=this._o.getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false);e.h6();e.ic()}},isBrushScale:function(){return true},$type:new $.ig.Type("BrushScale",$$a.$r.$type,[$$0.$b6.$type])},true);$c("BubbleMarkerManager:n","MarkerManagerBase",{_m:null,_o:null,_n:null,init:function(a,b,c,d,e){
|
|
$.ig.MarkerManagerBase.prototype.init.call(this,a,b,c,d,e);this._o=new $$4.x(Number,0);this._n=new $$4.x($.ig.Marker.prototype.$type,0)},l:function(a,b,c,d,e){var f=this._f();a.clear();this._o.clear();this._n.clear();var g=new $$4.x($$0.$aw.$type,0);b=Math.max(0,b);var h=null;this.i(c,d,f,g);if(b>=g.count()){h=g}else{h=new $$4.x($$0.$aw.$type,0);var i=Math.max(8,e);var j=this.c(d,g,i,f);var k=new $$4.x($$0.$aw.$type,1,j.keys());if($.ig.MarkerManagerBase.prototype._b){k.sort()}this.k(b,j,k,h)}for(var l=0;l<h.count();++l){var m=f[h.__inner[l]].__x;var n=f[h.__inner[l]].__y;var o=this._m.item(h.__inner[l]);this._o.add(o);var p=this._h(this._g(h.__inner[l]));p.content().item(this._g(h.__inner[l]));var q=new $.ig.OwnedPoint;q._a=p.content().item();q._c={__x:m,__y:n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(!a.containsKey(q._a)){a.add(q._a,q);this._n.add(p)}}},j:function(a,b){var c=new $$4.x($.ig.$op.$type,1,a.keys());if($.ig.MarkerManagerBase.prototype._b){c.sort2(function(d,e){var f=a.item(d);var g=a.item(e);var h=Math.pow(f._c.__x,2)+Math.pow(f._c.__y,2);var i=Math.pow(g._c.__x,2)+Math.pow(g._c.__y,2);return h.compareTo(i)})}var e=c.getEnumerator();while(e.moveNext()){var d=e.current();var f=a.item(d);var g=this._h(f._a);g._s=c.indexOf1(d);g._n=f._c.__x;g._o=f._c.__y}this._a(a)},$type:new $.ig.Type("BubbleMarkerManager",$.ig.MarkerManagerBase.prototype.$type)},true);$c("SizeScale:q","DependencyObject",{init:function(){var $self=this;$$a.$r.init.call(this);this._l=new $$4.x($.ig.Series.prototype.$type,0);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){$self.t(a,b.propertyName(),b.oldValue(),b.newValue())})},_l:null,minimumValue:function(a){if(arguments.length===1){this.h($$t.$q.minimumValueProperty,a);return a}else{return this.c($$t.$q.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.h($$t.$q.maximumValueProperty,a);return a}else{return this.c($$t.$q.maximumValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.h($$t.$q.isLogarithmicProperty,a);return a}else{return this.c($$t.$q.isLogarithmicProperty)}},logarithmBase:function(a){if(arguments.length===1){this.h($$t.$q.logarithmBaseProperty,a);return a}else{return $h(this.c($$t.$q.logarithmBaseProperty))}},propertyChanged:null,propertyUpdated:null,u:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},t:function(a,b,c,d){var f=this._l.getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false);if(e.seriesViewer()!=null){e.ic();e.ib()}}},$type:new $.ig.Type("SizeScale",$$a.$r.$type,[$$0.$b6.$type])},true);$c("ScatterBase:s","MarkerSeries",{bf:function(){return new $$t.aa(this)},hn:function(){$.ig.MarkerSeries.prototype.hn.call(this);this.xAxis(null);this.yAxis(null)},im:function(a){$.ig.MarkerSeries.prototype.im.call(this,a);this._mx=a},_mx:null,isScatter:function(){return true},getAxes:function(){return[this.xAxis(),this.yAxis()]},getVisiblePointsOfInterest:function(a,b,c){var $self=this;if(!this.hasMarkers()){return false}var d=this.xAxis();var e=new $.ig.ScalerParams(1,this.seriesViewer().actualWindowRect(),this.lq(),d.isInverted());e.c=this.getEffectiveViewport1(this.view());var f=this.yAxis();var g=new $.ig.ScalerParams(1,this.seriesViewer().actualWindowRect(),this.lq(),f.isInverted());g.c=this.getEffectiveViewport1(this.view());a.clear();this._ls.cc(function(h){if(h.__visibility==0){var i=new $.ig.SeriesPointOfInterest;var j=h._n;var k=h._o;if(j<$self.lq().left()||j>$self.lq().right()||k<$self.lq().top()||k>$self.lq().bottom()){return}i._b=d.getUnscaledValue(j,e);i._c=f.getUnscaledValue(k,g);i._a=h.content();a.add(i)}});return true},bd:function(){if(this.hitTestMode()==0){if(this.maximumMarkers()<=2e3){return 1}else{return $.ig.MarkerSeries.prototype.bd.call(this)}}else{return $.ig.MarkerSeries.prototype.bd.call(this)}},getSeriesValueMarkerBoundingBox:function(a){if(!this.hasMarkers()||!this.lv()){return $$a.$ae.empty()}var b=this._ls.getHitMarker(this.fromWorldPosition(a));if(b!=null){return this._ls.cm(b)}return $$a.$ae.empty()},testHit:function(a,b){if(this.lw(a,b)){return true}return false},init:function(){$.ig.MarkerSeries.prototype.init.call(this);this._m2=new $$t.u;this.oo=$$a.$ae.empty();this.on=$$a.$ae.empty()},_mw:null,xAxis:function(a){if(arguments.length===1){this.h($$t.$s.xAxisProperty,a);return a}else{return this.c($$t.$s.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.h($$t.$s.yAxisProperty,a);return a}else{return this.c($$t.$s.yAxisProperty)}},xMemberPath:function(a){if(arguments.length===1){this.h($$t.$s.xMemberPathProperty,a);return a}else{return this.c($$t.$s.xMemberPathProperty)}},m5:function(a){if(arguments.length===1){if(this.m4!=a){var b=this.m5();this.m4=a;this.raisePropertyChanged("XColumn",b,this.m5())}return a}else{return this.m4}},m4:null,yMemberPath:function(a){if(arguments.length===1){this.h($$t.$s.yMemberPathProperty,a);return a}else{return this.c($$t.$s.yMemberPathProperty)}},m7:function(a){if(arguments.length===1){if(this.m6!=a){var b=this.m7();this.m6=a;this.raisePropertyChanged("YColumn",b,this.m7())}return a}else{return this.m6}},m6:null,trendLineType:function(a){if(arguments.length===1){this.h($$t.$s.trendLineTypeProperty,$.ig.TrendLineType.prototype.getBox(a));return a}else{return $g(this.c($$t.$s.trendLineTypeProperty))}},trendLineBrush:function(a){if(arguments.length===1){this.h($$t.$s.trendLineBrushProperty,a);return a}else{return this.c($$t.$s.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.h($$t.$s.actualTrendLineBrushProperty,a);return a}else{return this.c($$t.$s.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.h($$t.$s.trendLineThicknessProperty,a);return a}else{return this.c($$t.$s.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.h($$t.$s.trendLineDashCapProperty,$$a.$bj.getBox(a));return a}else{return $g(this.c($$t.$s.trendLineDashCapProperty))}},trendLineDashArray:function(a){if(arguments.length===1){this.h($$t.$s.trendLineDashArrayProperty,a);return a}else{return this.c($$t.$s.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.h($$t.$s.trendLinePeriodProperty,a);return a}else{return $h(this.c($$t.$s.trendLinePeriodProperty))}},markerCollisionAvoidance:function(a){if(arguments.length===1){this.h($$t.$s.markerCollisionAvoidanceProperty,$.ig.CollisionAvoidanceType.prototype.getBox(a));return a}else{return $g(this.c($$t.$s.markerCollisionAvoidanceProperty))}},trendLineZIndex:function(a){if(arguments.length===1){this.h($$t.$s.trendLineZIndexProperty,a);return a}else{return $h(this.c($$t.$s.trendLineZIndexProperty))}},maximumMarkers:function(a){if(arguments.length===1){this.h($$t.$s.maximumMarkersProperty,a);return a}else{return $h(this.c($$t.$s.maximumMarkersProperty))}},h4:function(){$.ig.MarkerSeries.prototype.h4.call(this);if(this.xAxis()!=null){this.xAxis().g0(false)}if(this.yAxis()!=null){this.yAxis().g0(false)}},errorBarSettings:function(a){if(arguments.length===1){this.h($$t.$s.errorBarSettingsProperty,a);return a}else{return this.c($$t.$s.errorBarSettingsProperty)}},is:function(a,b,c,d){$.ig.MarkerSeries.prototype.is.call(this,a,b,c,d);if(this._mx._ct.propertyUpdated(a,b,c,d)){this.renderSeries(false);this.ic()}switch(b){case"FastItemsSource":if($b($.ig.IFastItemsSource.prototype.$type,c)!=null){c.deregisterColumn(this.m5());c.deregisterColumn(this.m7());this.m5(null);this.m7(null)}if($b($.ig.IFastItemsSource.prototype.$type,d)!=null){this.m5(this.bw(this.xMemberPath()));this.m7(this.bw(this.yMemberPath()))}if(this.yAxis()!=null&&!this.yAxis().updateRange()||this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}break;case"XAxis":if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}if(this.xAxis()!=null&&!this.xAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}this.ic();break;case"YAxis":if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}if(this.yAxis()!=null&&!this.yAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}this.ic();break;case"XMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.m5());this.m5(this.bw(this.xMemberPath()))}break;case"XColumn":this._mx._ct.reset();if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}break;case"YMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.m7());this.m7(this.bw(this.yMemberPath()))}break;case"YColumn":this._mx._ct.reset();if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}break;case"MarkerCollisionAvoidance":this.renderSeries(false);this.ic();break;case"MaximumMarkers":this.renderSeries(false);this.ic();break;case"TransitionProgress":this.m3.c(this.ew(),this.m1,this.m0);this.np();try{if(this.cc(this.view())){return}if(Math.round(this.ew()*1e5)/1e5==1){this.n3(this.m0,this._mx)}else{this.n3(this.m3,this._mx)}if(this.seriesViewer()!=null){this.seriesViewer().jj(this)}}finally{this.n4()}break;case"TrendLineBrush":this.jg();break;case"ErrorBarSettings":if(this.errorBarSettings()!=null){this.errorBarSettings().r(this)}this.renderSeries(false);this.ic();break;case"TrendLineType":this.ic();break}},canUseAsYAxis:function(a){if($b($.ig.NumericYAxis.prototype.$type,a)!==null){return true}return false},canUseAsXAxis:function(a){if($b($.ig.NumericXAxis.prototype.$type,a)!==null){return true}return false},n4:function(){this.on=$$a.$ae.empty();this.oo=$$a.$ae.empty()},on:null,oo:null,np:function(){var a=this.getViewInfo(this.on,this.oo);this.on=a.p0;this.oo=a.p1},na:function(a,b){if(b!=3){return true}if(a==null){return true}if(this.xMemberPath()==a||this.yMemberPath()==a){return true}return false},hs:function(a,b,c,d){var e=false;if(!this.na(d,a)){return}this._mx._ct.dataUpdated(a,b,c,d);if(this.xAxis()!=null&&!this.xAxis().updateRange()){e=true}if(this.yAxis()!=null&&!this.yAxis().updateRange()){e=true}if(e){this.renderSeries(true)}},nx:function(a){this.ny(a,null)},ny:function(a,b){var c=this.m5()!=null?this.m5().count():0;var d=this.m7()!=null?this.m7().count():0;var e=Math.min(c,d);if(e<=this.maximumMarkers()){a._m.clear();var f=new $$4.x($.ig.OwnedPoint.prototype.$type,0);var h=a._u.values().getEnumerator();while(h.moveNext()){var g=h.current();f.add(g)}var i=this.bz();f.sort2(function(j,k){var l=i.indexOf(j._a);var m=i.indexOf(k._a);if(l<m){return-1}if(l>m){return 1}return 0});if(b!=null){b.i(a._m)}var k=f.getEnumerator();while(k.moveNext()){var j=k.current();if(i.indexOf(j._a)>=0){if(b!=null){b.j(j._c)}else{a._m.add({__x:j._c.__x,__y:j._c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}}}},an:function(a){if(a!=null&&a==this.xAxis()&&this.m5()!=null){return new $.ig.AxisRange(this.m5().minimum(),this.m5().maximum())}if(a!=null&&a==this.yAxis()&&this.m7()!=null){return new $.ig.AxisRange(this.m7().minimum(),this.m7().maximum())}return null},getItem:function(a){return null},getItemIndex:function(a){return-1},scrollIntoView:function(a){var $self=this;var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$a.$ae.empty();b=b.copy();var c=this.seriesViewer()!=null?this.seriesViewer().viewportRect():$$a.$ae.empty();var d=new $$a.ae(0,0,0,1,1);var e=this.lk(this.view());var f=new $.ig.ScalerParams(0,d,d,this.xAxis().isInverted(),e);var g=function(){var $ret=new $.ig.ScalerParams(0,d,d,$self.yAxis().isInverted(),e);$ret._b=$self.ee();return $ret}();var h=!b.isEmpty()&&!c.isEmpty()&&this.bz()!=null?this.bz().indexOf(a):-1;var i=this.xAxis()!=null&&this.m5()!=null&&h<this.m5().count()?this.xAxis().getScaledValue(this.m5().item(h),f):NaN;var j=this.yAxis()!=null&&this.m7()!=null&&h<this.m7().count()?this.yAxis().getScaledValue(this.m7().item(h),g):NaN;if(!$.ig.util.isNaN(i)){if(i<b.left()+.1*b.width()){i=i+.4*b.width();b.x(i-.5*b.width())}if(i>b.right()-.1*b.width()){i=i-.4*b.width();b.x(i-.5*b.width())}}if(!$.ig.util.isNaN(j)){if(j<b.top()+.1*b.height()){j=j+.4*b.height();b.y(j-.5*b.height())}if(j>b.bottom()-.1*b.height()){j=j-.4*b.height();b.y(j-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().ap(this.seriesViewer(),b,true)}return h>=0},jk:function(a,b){this.renderSeries(false)},jl:function(a,b){this.renderSeries(false)},m1:null,m3:null,m0:null,nq:function(a,b,c,d,e){var $self=this;b._g=new $$4.h($.ig.$op.$type,$.ig.OwnedPoint.prototype.$type,1,c);var f=this.getEffectiveViewport1(a);var g=this.bz();var h;var i;var j=function(){var $ret=new $.ig.ScalerParams(0,d,e,$self._mw._d,f);$ret.c=$self.getEffectiveViewport1(a);return $ret}();var k=function(){var $ret=new $.ig.ScalerParams(0,d,e,$self._mw._e,f);$ret.c=$self.getEffectiveViewport1(a);$ret._b=$self.ee();return $ret}();for(var l=0;l<c;l++){h=this.m5().item(l);i=this.m7().item(l);var m={__x:this._mw._a.getScaledValue(h,j),__y:this._mw._b.getScaledValue(i,k),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(!Number.isInfinity(m.__x)&&!Number.isInfinity(m.__y)){var n=g.item(l);if(!b._g.containsKey(n)){var o={__x:h,__y:i,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var p={__x:m.__x,__y:m.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};b._g.add(n,function(){var $ret=new $.ig.OwnedPoint;$ret._a=n;$ret._b=o;$ret._c=p;return $ret}())}}}},nu:function(a,b){var $self=this;a._j.clear();a._n.clear();a._h.clear();a._l.clear();a._i.clear();a._k.clear();var c=Math.min(this.m5()!=null?this.m5().count():0,this.m7()!=null?this.m7().count():0);var d=b.bs();var e=b.br();var f=this.getEffectiveViewport1(b);var g=new $.ig.ScalerParams(0,d,e,this.xAxis().isInverted(),f);g.c=this.getEffectiveViewport1(b);var h=function(){var $ret=new $.ig.ScalerParams(0,d,e,$self.yAxis().isInverted(),f);$ret._b=$self.ee();return $ret}();h.c=this.getEffectiveViewport1(b);if(c<1){return}this._mw=function(){var $ret=new $$t.t;$ret._a=$self.xAxis();$ret._b=$self.yAxis();$ret._d=$self.xAxis().isInverted();$ret._e=$self.yAxis().isInverted();$ret._c=$self.bz();return $ret}();var i=b;if(c<=this.maximumMarkers()){this.nq(i,a,c,d,e)}if(this.lv()){b._cr.l(a._j,this.maximumMarkers(),d,e,this.resolution())}var j=function(){var $ret=new $.ig.Clipper(0,e,false);$ret.i(a._n);return $ret}();var k=this.li(b);var l=this.xAxis().getUnscaledValue(k.left(),g);var m=this.xAxis().getUnscaledValue(k.right(),g);b._ct.prepareLine(a._n,this.trendLineType(),this.m5(),this.m7(),this.trendLinePeriod(),function(n){return $self.xAxis().getScaledValue(n,g)},function(n){return $self.yAxis().getScaledValue(n,h)},function(){var $ret=new $.ig.TrendResolutionParams;$ret._b=$self.resolution();$ret._f=e;$ret._g=d;return $ret}(),j,l,m);this.ns(a,b)},hp:function(a,b){$.ig.MarkerSeries.prototype.hp.call(this,a,b);var c=b;c.c0(a)},n3:function(a,b){var $self=this;var c=b.br();this._mw=function(){var $ret=new $$t.t;$ret._a=$self.xAxis();$ret._b=$self.yAxis();$ret._d=$self.xAxis().isInverted();$ret._e=$self.yAxis().isInverted();return $ret}();if(this.lv()){b._cr.j(a._j,this.useLightweightMarkers())}b.cj();var d=function(){var $ret=new $.ig.Clipper(1,NaN,c.bottom(),NaN,c.top(),false);$ret.i(b._ct.trendPolyline()._aj);return $ret}();b._ct.rasterizeTrendLine1(a._n,d);this.n0(a,b)},ns:function(a,b){var c=new $.ig.ErrorBarsHelper(this,b);if(this.errorBarSettings()==null){return}var d=this.errorBarSettings().horizontalCalculator();var e=this.errorBarSettings().verticalCalculator();var f=0;var g=0;var h=0;var i=0;var k=a._j.keys().getEnumerator();while(k.moveNext()){var j=k.current();var l=a._j.item(j);if(d!=null){switch(d.getCalculatorType()){case 1:var m=this.nv(l,c,d,h,i,true);h=m.p3;i=m.p4;break;case 0:var n=this.nt(l,c,d,h,i,true);h=n.p3;i=n.p4;break;case 2:var o=this.nr(l,c,d,j,h,i,true);h=o.p4;i=o.p5;break;case 3:var p=this.nw(c,d,f,h,i,true);f=p.p2;h=p.p3;i=p.p4;break;case 4:var q=this.nt(l,c,d,h,i,true);h=q.p3;i=q.p4;break}var r=new $.ig.OwnedPoint;r._c=c.l(d,this._mw._a,l._c,f);r._a=l._a;a._h.add(j,r);a._i.add(j,[h,i])}if(e!=null){switch(e.getCalculatorType()){case 1:var s=this.nv(l,c,e,h,i,false);h=s.p3;i=s.p4;break;case 0:var t=this.nt(l,c,e,h,i,false);h=t.p3;i=t.p4;break;case 2:var u=this.nr(l,c,e,j,h,i,false);h=u.p4;i=u.p5;break;case 3:var v=this.nw(c,e,g,h,i,false);g=v.p2;h=v.p3;i=v.p4;break;case 4:var w=this.nt(l,c,e,h,i,false);h=w.p3;i=w.p4;break}var x=new $.ig.OwnedPoint;x._c=c.m(e,this._mw._b,l._c,g);x._a=l._a;a._l.add(j,x);a._k.add(j,[h,i])}}},nv:function(a,b,c,d,e,f){if(f){var g;var h,i;i=this._mw._a;if(this.errorBarSettings().horizontalCalculatorReference()==0){g=a._c.__x;h=this._mw._a}else{g=a._c.__y;h=this._mw._b}var j=b.f(g,c,h,i,d,e);d=j.p4;e=j.p5}else{var k;var l,m;m=this._mw._b;if(this.errorBarSettings().verticalCalculatorReference()==0){k=a._c.__x;l=this._mw._a}else{k=a._c.__y;l=this._mw._b}var n=b.f(k,c,l,m,d,e);d=n.p4;e=n.p5}return{p3:d,p4:e}},nt:function(a,b,c,d,e,f){if(f){var g=b.j(a._c.__x,c,this._mw._a,d,e);d=g.p3;e=g.p4}else{var h=b.j(a._c.__y,c,this._mw._b,d,e);d=h.p3;e=h.p4}return{p3:d,p4:e}},nr:function(a,b,c,d,e,f,g){var h=c.getItemColumn();var i=this.bz().indexOf(d);if(h!=null&&i<h.count()){var j=h.item(i);if(g){var k=b.h(a._c.__x,j,this._mw._a,e,f);e=k.p3;f=k.p4}else{var l=b.h(a._c.__y,j,this._mw._b,e,f);e=l.p3;f=l.p4}}else{e=f=NaN}return{p4:e,p5:f}},nw:function(a,b,c,d,e,f){var g=a.i(b,c);c=g.p1;if(f){var h=a.k(c,b,this._mw._a,d,e);d=h.p3;e=h.p4}else{var i=a.k(c,b,this._mw._b,d,e);d=i.p3;e=i.p4}return{p2:c,p3:d,p4:e}},n0:function(a,b){if(!b.l()||this.errorBarSettings()==null){b.c1();return}this.n1(a,b);this.n2(a,b)},n1:function(a,b){b.cy();var c=new $.ig.ErrorBarsHelper(this,b);var d=new $$a.a7;var e=this.errorBarSettings().horizontalCalculator();var g=a._j.keys().getEnumerator();while(g.moveNext()){var f=g.current();if(e!=null&&a._i.containsKey(f)){var h=a._i.item(f)[0];var i=a._i.item(f)[1];if(!$.ig.util.isNaN(h)&&!$.ig.util.isNaN(i)){var j=a._h.item(f)._c;if(this.errorBarSettings().enableErrorBarsHorizontal()==1||this.errorBarSettings().enableErrorBarsHorizontal()==2){c.d(d,j,h,true)}if(this.errorBarSettings().enableErrorBarsHorizontal()==1||this.errorBarSettings().enableErrorBarsHorizontal()==3){c.d(d,j,i,false)}}}}b.c2(d)},n2:function(a,b){b.cz();var c=new $.ig.ErrorBarsHelper(this,b);var d=new $$a.a7;var e=this.errorBarSettings().verticalCalculator();var g=a._j.keys().getEnumerator();while(g.moveNext()){var f=g.current();if(e!=null&&a._k.containsKey(f)){var h=a._k.item(f)[0];var i=a._k.item(f)[1];if(!$.ig.util.isNaN(h)&&!$.ig.util.isNaN(i)){var j=a._l.item(f)._c;if(this.errorBarSettings().enableErrorBarsVertical()==1||this.errorBarSettings().enableErrorBarsVertical()==2){c.e(d,j,h,true)}if(this.errorBarSettings().enableErrorBarsVertical()==1||this.errorBarSettings().enableErrorBarsVertical()==3){c.e(d,j,i,false)}}}}},dv:function(a,b,c){var d=true;if(!$.ig.MarkerSeries.prototype.dv.call(this,a,b,c)||b.isEmpty()||a.isEmpty()||this.xAxis()==null||this.yAxis()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.m5()==null||this.m7()==null||this.m5().count()==0||this.m7().count()==0||this.bz()==null||this.bz().count()!=this.m5().count()||this.bz().count()!=this.m7().count()||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.xAxis().actualMinimumValue()==this.xAxis().actualMaximumValue()||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()){d=false}return d},getViewInfo:function(a,b){if(!this.on.isEmpty()&&!this.oo.isEmpty()){a=this.on;b=this.oo;return{p0:a,p1:b}}a=this.view().br();b=this.view().bs();return{p0:a,p1:b}},i6:function(a){this.np();try{if(this.cc(this.view())){return}if(this.bz()!=null&&this.bz().count()>this.maximumMarkers()){a=false}if(this.c9(a)&&!this._dd){var b=this.m1;if(this.ca()){if(this._bt.needsFlush()){this._bt.flush()}this.m1=this.m3;this.m3=b}else{this.m1=this.m0;this.m0=b}this.nu(this.m0,this._mx);this.jd()}else{if(!this._dd){this.nu(this.m0,this._mx)}this.n3(this.m0,this._mx)}}finally{this.n4()}},jg:function(){$.ig.MarkerSeries.prototype.jg.call(this);if(this.index()<0){return}this._mx.c5()},_m2:null,i7:function(a,b){$.ig.MarkerSeries.prototype.i7.call(this,a,b);if(!this.dk()){this.view().az(b);return}this.view().az(b);if(this.cc(this._bh)){return}var c=$b($$t.$aa.$type,this._bh);if(!this._de){this._m2=new $$t.u;this.nu(this._m2,c)}this._de=false;this.n3(this._m2,c);this.dk(false)},_mz:null,renderAlternateView:function(a,b,c,d,e){$.ig.MarkerSeries.prototype.renderAlternateView.call(this,a,b,c,d,e);var f=this.a0().alternateViews().item(d);var g=f;f.prepAltSurface(c);if(this.cc(g)){return}if(this._mz==null){this._mz=new $$t.u}this.nu(this._mz,g);this.n3(this._mz,g)},nz:function(a,b){var c=new $$4.x($.ig.$op.$type,0);var e=b.activeKeys().getEnumerator();while(e.moveNext()){var d=e.current();if(!a.containsKey(d)){c.add1(d)}}var g=c.getEnumerator();while(g.moveNext()){var f=g.current();b.remove(f)}},ms:function(a,b,c,d,e){var $self=this;if(c==null||c.length!=this._mw._c.count()){c=new Array(this._mw._c.count());for(var f=0;f<this._mw._c.count();f++){c[f]=new $$a.y(0)}}var g=this.getEffectiveViewport1(a);var h=function(){var $ret=new $.ig.ScalerParams(0,d,e,$self.xAxis().isInverted(),g);$ret.c=$self.getEffectiveViewport1(a);return $ret}();var i=function(){var $ret=new $.ig.ScalerParams(0,d,e,$self.yAxis().isInverted(),g);$ret.c=$self.getEffectiveViewport1(a);$ret._b=$self.ee();return $ret}();var j=this.li(a);var k=this._mw._a.getUnscaledValue(j.left(),h);var l=this._mw._a.getUnscaledValue(j.right(),h);var m=this._mw._b.getUnscaledValue(j.bottom(),i);var n=this._mw._b.getUnscaledValue(j.top(),i);if(this._mw._d){var o=k;k=l;l=o}if(this._mw._e){var p=m;m=n;n=p}var q=this._mw;var r=q._a;var s=q._b;var t;var u;var v=this.m5();var w=this.m7();for(var x=0;x<this._mw._c.count();x++){t=v.item(x);u=w.item(x);if(t>=k&&t<=l&&u>=m&&u<=n){c[x].__x=r.getScaledValue(t,h);c[x].__y=s.getScaledValue(u,i)}else{c[x].__x=NaN;c[x].__y=NaN}}return c},nb:function(a,b){if(b==null){b=new $$4.x($$0.$aw.$type,2,a.activeCount())}else{b.clear()}var c=0;var d=this.bz();var f=a.activeKeys().getEnumerator();while(f.moveNext()){var e=f.current();b.add(d.indexOf(e))}return b},hy:function(a){$.ig.MarkerSeries.prototype.hy.call(this,a);this.a2().exportTrendlineData(this,a,this._mx._ct.trendPolyline())},ee:function(){return $.ig.Series.prototype.ef(this.m7(),null)},$type:new $.ig.Type("ScatterBase",$.ig.MarkerSeries.prototype.$type,[$.ig.ISupportsErrorBars.prototype.$type,$.ig.ITrendLineSeries.prototype.$type])},true);$c("BubbleSeries:o","ScatterBase",{bf:function(){return new $$t.z(this)},im:function(a){$$t.$s.im.call(this,a);this._oq=a},_oq:null,init:function(){$$t.$s.init.call(this);this._ab=$$t.$o.$type;this.m1=new $$t.u;this.m3=new $$t.u;this.m0=new $$t.u},_po:null,_pn:null,isAttachedTo:function(a){return this.actualLegend()==a},ci:function(){return true},h0:function(a){$$t.$s.h0.call(this,a);if(this.ox()!=null&&this._oz!=null&&this._oz.count()>0){for(var b=0;b<this._oz.count();b++){a(this._oz.__inner[b])}}},ow:function(){return this.oy()},_oz:null,pm:function(a){var b=$b($$t.$p.$type,this.fillScale());var c=$b($$t.$r.$type,this.fillScale());var d=this.fillScale();if(b!=null&&this.bz()!=null){return b.getBrush1(a,this.bz().count())}else if(c!=null){return c.getBrushByIndex(a,this.ov())}else if(d!=null){return d.getBrush(a)}return null},legendReady:function(){return this.oy()!=null&&this.oy().count()!=0},minScaleText:function(){return(Math.round(this.oy().minimum()*1e3)/1e3).toString()},maxScaleText:function(){return(Math.round(this.oy().maximum()*1e3)/1e3).toString()},forScaleColors:function(a){for(var b=0;b<this.oy().count();b++){if(this.fillScale()==null||!this.fillScale().isReady()){return false}var c=NaN;if(this.ov()!=null){c=(this.ov().item(b)-this.ov().minimum())/(this.ov().maximum()-this.ov().minimum())}var d=(this.oy().item(b)-this.oy().minimum())/(this.oy().maximum()-this.oy().minimum());if($.ig.util.isNaN(c)){c=0}if($.ig.util.isNaN(d)){d=c}var e=this.actualMarkerBrush();var f=this.pm(b);var g=f!=null?f:e;a(g,d)}return true},radiusMemberPath:function(a){if(arguments.length===1){this.h($$t.$o.radiusMemberPathProperty,a);return a}else{return this.c($$t.$o.radiusMemberPathProperty)}},oy:function(a){if(arguments.length===1){if(this.ou!=a){var b=this.oy();this.ou=a;this.raisePropertyChanged("RadiusColumn",b,this.oy())}return a}else{return this.ou}},ou:null,radiusScale:function(a){if(arguments.length===1){this.h($$t.$o.radiusScaleProperty,a);return a}else{return this.c($$t.$o.radiusScaleProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.h($$t.$o.labelMemberPathProperty,a);return a}else{return this.c($$t.$o.labelMemberPathProperty)}},ot:null,ox:function(a){if(arguments.length===1){if(this.ot!=a){var b=this.ox();this.ot=a;this.raisePropertyChanged("LabelColumn",b,this.ox())}return a}else{return this.ot}},fillMemberPath:function(a){if(arguments.length===1){this.h($$t.$o.fillMemberPathProperty,a);return a}else{return this.c($$t.$o.fillMemberPathProperty)}},fillScale:function(a){if(arguments.length===1){this.h($$t.$o.fillScaleProperty,a);return a}else{return this.c($$t.$o.fillScaleProperty)}},os:null,ov:function(a){if(arguments.length===1){if(this.os!=a){var b=this.ov();this.os=a;this.raisePropertyChanged("FillColumn",b,this.ov())}return a}else{return this.os}},nq:function(a,b,c,d,e){if(c<=this.maximumMarkers()){b._g=new $$4.h($.ig.$op.$type,$.ig.OwnedPoint.prototype.$type,1,c)}var f=this.maximumMarkers();var g=this.bz();var h;var i;var j=this.getEffectiveViewport1(a);var k=new $.ig.ScalerParams(0,d,e,this._mw._d,j);var l=new $.ig.ScalerParams(0,d,e,this._mw._e,j);for(var m=0;m<c;m++){h=this.m5().item(m);i=this.m7().item(m);var n={__x:this._mw._a.getScaledValue(h,k),__y:this._mw._b.getScaledValue(i,l),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(!Number.isInfinity(n.__x)&&!Number.isInfinity(n.__y)){var o=g.item(m);if(c<=f){if(!b._g.containsKey(o)){var p={__x:h,__y:i,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};b._g.add(o,function(){var $ret=new $.ig.OwnedPoint;$ret._a=o;$ret._b=p;$ret._c=n;return $ret}())}}}}},nu:function(a,b){var c=$b($$t.$z.$type,b);var d=c._cr;d._m=this.oy();$$t.$s.nu.call(this,a,b);var e=Math.min(this.m5()!=null?this.m5().count():0,this.m7()!=null?this.m7().count():0);if(e<1){return}c.dc();c.dd()},pe:function(){if(this.seriesViewer()==null){return}if(this.actualLegend()==null){return}if(this.actualLegend().isItemwise()){var a=this.actualLegend();this.actualLegend().clearLegendItemsForSeries(this);this.pd();a.renderItemwiseContent(this)}if(this.actualLegend().isScale()){var b=this.actualLegend();b.restoreOriginalState();b.initializeLegend(this)}},o0:function(a,b,c,d,e){if(e<=a||$.ig.util.isNaN(e)||Number.isInfinity(e)){return c}if(e>=b){return d}var f=c+(d-c)/(b-a)*(e-a);return f},o1:function(a,b,c,d,logBase_,e){var f=Math.logBase(e,logBase_);var g=Math.logBase(a,logBase_);var h=Math.logBase(b,logBase_);return $$t.$o.o0(g,h,c,d,f)},dv:function(a,b,c){var d=$$t.$s.dv.call(this,a,b,c);if(this.oy()==null||this.bz()==null||this.oy().count()==0||this.bz().count()!=this.oy().count()){d=false}return d},na:function(a,b){if(b!=3){return true}if(a==null){return true}if(this.xMemberPath()==a||this.yMemberPath()==a||this.radiusMemberPath()==a){return true}return false},pd:function(){var $self=this;var a=$b($.ig.IChartLegend.prototype.$type,this.actualLegend());if(a==null||this.bz()==null){return}this._oz=new $$4.x($$a.$c.$type,0);var b=this.bz();for(var c=0;c<b.count();c++){var d=null;if($b($$t.$r.$type,this.fillScale())!==null&&this.ov()!=null){d=this.fillScale().getBrushByIndex(c,this.ov())}else if($b($$t.$p.$type,this.fillScale())!==null){d=this.fillScale().getBrush1(c,b.count())}else if(this.fillScale()!=null){d=this.fillScale().getBrush(c)}var e=new $$a.g;var f=this.ox()!=null&&this.ox().item(c)!=null?this.ox().item(c).toString():"";e.content(function(){var $ret=new $.ig.DataContext;$ret.series($self);$ret.item(b.item(c));$ret.itemBrush(d);$ret.itemLabel(f);return $ret}());var g=this.discreteLegendItemTemplate();if(g==null){g=this.view().bi(this._bk)}e._ah=g;this._oz.add(e)}},hs:function(a,b,c,d){$$t.$s.hs.call(this,a,b,c,d);this.pe()},h6:function(){$$t.$s.h6.call(this);this.pe()},ib:function(){$$t.$s.ib.call(this);this.pe()},is:function(a,b,c,d){$$t.$s.is.call(this,a,b,c,d);switch(b){case"FastItemsSource":if($b($.ig.IFastItemsSource.prototype.$type,c)!=null){c.deregisterColumn(this.oy());c.deregisterColumn(this.ov());c.deregisterColumn(this.ox());this.oy(null);this.ov(null);this.ox(null)}if($b($.ig.IFastItemsSource.prototype.$type,d)!=null){this.oy(this.bw(this.radiusMemberPath()));if(!String.isNullOrEmpty(this.fillMemberPath())){this.ov(this.bw(this.fillMemberPath()))}this.ox(this.by(this.labelMemberPath()))}this.renderSeries(false);this.pe();break;case"RadiusMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.oy());this.oy(this.bw(this.radiusMemberPath()));this.pe()}break;case"RadiusColumn":this._mx._ct.reset();this.renderSeries(false);this.id();break;case"RadiusScale":this.renderSeries(false);this.ic();break;case"DiscreteLegendItemTemplate":this.pe();break;case"FillScale":this.renderSeries(false);this.pe();this.ic();break;case"FillColumn":this.renderSeries(false);this.ic();break;case"FillMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.ov());this.ov(this.bw(this.fillMemberPath()));this.pe()}break;case"LabelMemberPath":if(this.bz()!=null){this.bz().deregisterColumn(this.ox());this.ox(this.by(this.labelMemberPath()));this.pe()}break;case"ActualLegend":var e=$b($.ig.IChartLegend.prototype.$type,c);if(e!=null){e.clearLegendItemsForSeries(this)}if(e!=null&&e.isScale()){var f=e;var g=true;var h=null;if(this.seriesViewer()!=null){var j=this.seriesViewer().series().getEnumerator();while(j.moveNext()){var i=j.current();if(i.legend()==f){h=i;g=false}}}if(g){f.restoreOriginalState()}else{f.initializeLegend($b($.ig.IScaleLegendSeries.prototype.$type,h))}}this.pe();break;case"SeriesViewer":this.pe();break}},pg:function(a,b,c,d){var e=this.oy().minimum();var f=this.oy().maximum();var g=c.width();if(!this.view().br().isEmpty()){g=this.view().br().width()}else if(this.seriesViewer()!=null&&!this.seriesViewer().viewportRect().isEmpty()){g=this.seriesViewer().viewportRect().width()}var h=$.ig.DeviceUtils.prototype.c(g);var i=this.radiusScale()||function(){var $ret=new $$t.q;$ret.minimumValue(h/10);$ret.maximumValue(h/5);return $ret}();if(i!=null){var j=i.minimumValue();var k=i.maximumValue();var l=i.logarithmBase();if(!i._l.contains(this)){i._l.add(this)}if(i.isLogarithmic()){for(var m=0;m<b.count();m++){b.__inner[m]=$$t.$o.o1(e,f,j,k,l,b.__inner[m])}}else{for(var n=0;n<b.count();n++){b.__inner[n]=$$t.$o.o0(e,f,j,k,b.__inner[n])}}}var o=1;o=$.ig.DeviceUtils.prototype.d();var p=this.radiusScale()==null;if(d){var q=c.width()/g;for(var r=0;r<b.count();r++){if(p){b.__inner[r]=b.__inner[r]/o}b.__inner[r]=b.__inner[r]*q}}for(var s=0;s<a.count();s++){var t=a.__inner[s];if(p&&!d){t.width(Math.max(0,b.__inner[s]/o));t.height(Math.max(0,b.__inner[s]/o))}else{t.width(Math.max(0,b.__inner[s]));t.height(Math.max(0,b.__inner[s]))}}},pf:function(a){if(this.fillScale()!=null&&!this.fillScale()._o.contains(this)){this.fillScale()._o.add(this)}var b=$b($$t.$p.$type,this.fillScale());var c=$b($$t.$r.$type,this.fillScale());var d=this.fillScale();var e=this.fillScale()==null||!this.fillScale().isReady()||c!=null&&this.fillMemberPath()==null;if(e){this._oq.db();var f=$b($$t.$z.$type,this._bh);if(f!=null){f.db()}return;
|
|
}var g=a.count();var h=this.bz();for(var i=0;i<g;i++){var j=a.__inner[i];var k=$b($.ig.DataContext.prototype.$type,j.content());if(k!=null){var l=null;var m=h.indexOf(k.item());if(b!=null){l=b.getBrush1(m,h.count())}else if(c!=null){l=c.getBrushByIndex(m,this.ov())}else if(d!=null){l=d.getBrush(m)}k.itemBrush(l)}}},isMarkerlessDisplayPreferred:function(){return false},$type:new $.ig.Type("BubbleSeries",$$t.$s.$type,[$.ig.IScaleLegendSeries.prototype.$type])},true);$c("CustomPaletteBrushScale:p","BrushScale",{init:function(){$$t.$m.init.call(this)},brushSelectionMode:function(a){if(arguments.length===1){this.h($$t.$p.brushSelectionModeProperty,$.ig.BrushSelectionMode.prototype.getBox(a));return a}else{return $g(this.c($$t.$p.brushSelectionModeProperty))}},getBrush1:function(a,b){if(this.brushes()==null||this.brushes().count()==0){return null}if(this.brushSelectionMode()==0){return $$t.$m.getBrush.call(this,a%this.brushes().count())}var c=$$t.$o.o0(0,b-1,0,this.brushes().count()-1,a);return this.v(c)},isReady:function(){return this.brushes()!=null&&this.brushes().count()>0},$type:new $.ig.Type("CustomPaletteBrushScale",$$t.$m.$type)},true);$c("ValueBrushScale:r","BrushScale",{init:function(){this.w=false;this.aa=10;$$t.$m.init.call(this)},minimumValue:function(a){if(arguments.length===1){this.h($$t.$r.minimumValueProperty,a);return a}else{return this.c($$t.$r.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.h($$t.$r.maximumValueProperty,a);return a}else{return this.c($$t.$r.maximumValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.h($$t.$r.isLogarithmicProperty,a);return a}else{return this.c($$t.$r.isLogarithmicProperty)}},w:false,logarithmBase:function(a){if(arguments.length===1){this.h($$t.$r.logarithmBaseProperty,a);return a}else{return $h(this.c($$t.$r.logarithmBaseProperty))}},aa:0,getBrushByIndex:function(a,b){if(b==null||this.brushes()==null||this.brushes().count()==0||a<0||a>=b.count()){return null}if(b.count()==0){return this.brushes().item(0)}var c=$.ig.util.isNaN(this.minimumValue())||Number.isInfinity(this.minimumValue())?b.minimum():this.minimumValue();var d=$.ig.util.isNaN(this.maximumValue())||Number.isInfinity(this.maximumValue())?b.maximum():this.maximumValue();var e=b.item(a);if(c==d){return e==c?this.brushes().item(0):null}return this.an(c,d,e)},getBrushByValue:function(a,b){if(b==null||this.brushes()==null||this.brushes().count()==0){return null}if(b.count()<=1){return this.brushes().item(0)}var c=$.ig.util.isNaN(this.minimumValue())||Number.isInfinity(this.minimumValue())?b.minimum():this.minimumValue();var d=$.ig.util.isNaN(this.maximumValue())||Number.isInfinity(this.maximumValue())?b.maximum():this.maximumValue();if(a<c){return null}if(a>d){return null}return this.an(c,d,a)},an:function(a,b,c){if(this.w&&this.aa>0){var d=Math.logBase(a,this.aa);var e=Math.logBase(b,this.aa);var f=Math.logBase(c,this.aa);return this.am(d,e,f)}return this.am(a,b,c)},am:function(a,b,c){if(c<a||c>b){return null}var d=(c-a)/(b-a);var e=d*(this.brushes().count()-1);return this.v(e)},isReady:function(){return this.brushes()!=null&&this.brushes().count()>0},q:function(a,b,c,d){switch(b){case"LogarithmBase":this.aa=$h(d);break;case"IsLogarithmic":this.w=d;break}$$t.$m.q.call(this,a,b,c,d)},$type:new $.ig.Type("ValueBrushScale",$$t.$m.$type)},true);$c("ScatterAxisInfoCache:t","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,_b:null,_d:false,_e:false,_c:null,$type:new $.ig.Type("ScatterAxisInfoCache",$.ig.$ot)},true);$c("ScatterFrame:u","ScatterFrameBase$1",{init:function(){$.ig.ScatterFrameBase$1.prototype.init.call(this,$$t.$u.$type);this._u=new $$4.h($.ig.$op.$type,$.ig.OwnedPoint.prototype.$type,0)},_u:null,r:function(a,b,c){$.ig.ScatterFrameBase$1.prototype.r.call(this,a,b,c);var d=$b($$t.$u.$type,b);var e=$b($$t.$u.$type,c);if(d==null||e==null){return}this._f.e(this._u,a,d._u,e._u,d,e)},$type:new $.ig.Type("ScatterFrame",$.ig.ScatterFrameBase$1.prototype.$type.specialize(-1))},true);$$t.$u.$type.initSelfReferences();$c("ScatterLineSeries:v","ScatterBase",{init:function(){var $self=this;$$t.$s.init.call(this);this._ab=$$t.$v.$type;this.m1=new $$t.u;this.m3=new $$t.u;this.m0=new $$t.u;var a=function(b,c,d){var e=$self.bz().indexOf(b._a);if(e==-1||e==0){return b}var f=$self.bz().item(e-1);var g;if(!function(){var h=c._g.tryGetValue(f,g);g=h.p1;return h.ret}()){return b}return g};this.m1._o=a;this.m3._o=a;this.m0._o=a},bf:function(){return new $$t.ab(this)},testHit:function(a,b){if(this.lw(a,b)){return true}if(this.oq(a,b)){return true}return false},oq:function(a,b){var c=this.view();var d=c.da;return this.dh(a,b,d._aj)},nu:function(a,b){var $self=this;$$t.$s.nu.call(this,a,b);a._m.clear();a._u.clear();var c=b.bs();var d=b.br();var e=this.getEffectiveViewport1(b);var f=this.resolution()*this.resolution();var g=0;if(this.m5()!=null){g=this.m5().count()}if(this.m7()!=null){g=Math.min(this.m7().count(),g)}var h=new $.ig.ScalerParams(0,c,d,this._mw._d,e);var i=function(){var $ret=new $.ig.ScalerParams(0,c,d,$self._mw._e,e);$ret._b=$self.ee();return $ret}();var j=function(k){return $self._mw._a.getScaledValue($self.m5().item(k),h)};var k=function(l){return $self._mw._b.getScaledValue($self.m7().item(l),i)};var l=d.top()-10;var m=d.bottom()+10;var n=d.left()-10;var o=d.right()+10;var p=function(){var $ret=new $.ig.Clipper(1,n,m,o,l,false);$ret.i(a._m);return $ret}();for(var q=0;q<g;){var r=q;++q;if(g>this.maximumMarkers()){while(q<g&&this.os(j,k,r,q)<f){++q}p.j(this.oy(j,k,r,q-1))}else{var s=new $.ig.OwnedPoint;s._c={__x:j(r),__y:k(r),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};s._a=this.bz().item(r);if(!a._u.containsKey(s._a)){a._u.add(s._a,s)}}}if(g>this.maximumMarkers()){p.i(null)}},oy:function(a,b,c,d){if(c==d){return{__x:a(c),__y:b(c),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var e=0;var f=0;var g=d-c+1;for(var h=c;h<=d;++h){e+=a(h);f+=b(h)}return{__x:e/g,__y:f/g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},os:function(a,b,c,d){var e=a(d)-a(c);var f=b(d)-b(c);return e*e+f*f},n3:function(a,b){b.c0(false);$$t.$s.n3.call(this,a,b);var c=new $$a.ae(0,b.br().left(),b.br().top(),b.br().width(),b.br().height());c=$.ig.RectUtil.prototype.t(c,this.thickness(),this.thickness());this.ny(a,new $.ig.Clipper(0,c,false));var d=$b($$t.$ab.$type,b);this.ow(d.da,a._m.count(),function(e){return a._m.__inner[e].__x},function(e){return a._m.__inner[e].__y},this.unknownValuePlotting(),this.resolution())},ow:function(a,b,c,d,e,f){var g=new $$a.a7;a._aj=g;g._b=new $$a.a9;var h=new $$4.x($$a.$bg.$type,0);var i=0;for(var j=0;j<b;j++){if($.ig.util.isNaN(c(j))||$.ig.util.isNaN(d(j))){var k=j-i;if(k>0){if(e==1||h.count()==0){var l=new $$a.bg;h.add(l)}this.ov(h.__inner[h.count()-1].__points,i,j-1,c,d,f)}i=j+1}}if(e==1||h.count()==0){var m=new $$a.bg;h.add(m)}this.ov(h.__inner[h.count()-1].__points,i,b-1,c,d,f);for(var n=0;n<h.count();n++){var o=h.__inner[n];if(o.__points.count()>0){var p=function(){var $ret=new $$a.a8;$ret.startPoint(o.__points.__inner[0]);return $ret}();p.__segments.add(o);g._b.add(p)}}},or:function(a,b,c,d,e,f){var g=new $$4.x($$0.$aw.$type,0);var h=d;var i=e;var j=i-h+1;while(j>0){if(j<=512){$.ig.Flattener.prototype.c(g,b,c,h,i,f);h=i+1}else{var k=h+512-1;$.ig.Flattener.prototype.c(g,b,c,h,k,f);h=k+1}j=i-h+1}return g},ov:function(a,b,c,d,e,f){if(c>-1){var g=this.resolution();var h=this.or(new $$4.x($$0.$aw.$type,0),d,e,b,c,g);var i;for(var j=0;j<h.count();j++){i=h.item(j);a.add({__x:d(i),__y:e(i),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}},unknownValuePlotting:function(a){if(arguments.length===1){this.h($$t.$v.unknownValuePlottingProperty,$.ig.UnknownValuePlotting.prototype.getBox(a));return a}else{return $g(this.c($$t.$v.unknownValuePlottingProperty))}},is:function(a,b,c,d){$$t.$s.is.call(this,a,b,c,d);switch(b){case"UnknownValuePlotting":this.renderSeries(false);this.ic();break}},$type:new $.ig.Type("ScatterLineSeries",$$t.$s.$type)},true);$c("ScatterSeries:w","ScatterBase",{bf:function(){return new $$t.ac(this)},im:function(a){$$t.$s.im.call(this,a);this._op=a},_op:null,isMarkerlessDisplayPreferred:function(){return false},init:function(){$$t.$s.init.call(this);this._ab=$$t.$w.$type;this.m1=new $$t.u;this.m3=new $$t.u;this.m0=new $$t.u},$type:new $.ig.Type("ScatterSeries",$$t.$s.$type)},true);$c("ScatterSplineSeries:x","ScatterBase",{init:function(){$$t.$s.init.call(this);this._ab=$$t.$x.$type;this.m1=new $$t.u;this.m3=new $$t.u;this.m0=new $$t.u},bf:function(){return new $$t.ad(this)},stiffness:function(a){if(arguments.length===1){this.h($$t.$x.stiffnessProperty,a);return a}else{return this.c($$t.$x.stiffnessProperty)}},is:function(a,b,c,d){$$t.$s.is.call(this,a,b,c,d);switch(b){case"Stiffness":this.renderSeries(false);this.ic();break}},bd:function(){if(this.hitTestMode()==0){return 2}else{return $$t.$s.bd.call(this)}},nu:function(a,b){var $self=this;$$t.$s.nu.call(this,a,b);a._m.clear();a._u.clear();var c=b.bs();var d=b.br();var e=this.getEffectiveViewport1(b);var f=this.resolution()*this.resolution();var g=Math.min(this.m5()!=null?this.m5().count():0,this.m7()!=null?this.m7().count():0);var h=new $.ig.ScalerParams(0,c,d,this._mw._d,e);var i=function(){var $ret=new $.ig.ScalerParams(0,c,d,$self._mw._e,e);$ret._b=$self.ee();return $ret}();var j=function(k){return $self._mw._a.getScaledValue($self.m5().item(k),h)};var k=function(l){return $self._mw._b.getScaledValue($self.m7().item(l),i)};var l=function(){var $ret=new $.ig.Clipper(0,d,false);$ret.i(a._m);return $ret}();for(var m=0;m<g;){var n=m;++m;while(m<g&&this.op(j,k,n,m)<f){++m}if(g>this.maximumMarkers()){l.j(this.ot(j,k,n,m-1))}else{var o=new $.ig.OwnedPoint;o._c={__x:j(n),__y:k(n),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};o._a=this.bz().item(n);if(!a._u.containsKey(o._a)){a._u.add(o._a,o)}}}if(g>this.maximumMarkers()){l.i(null)}},ot:function(a,b,c,d){if(c==d){return{__x:a(c),__y:b(c),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var e=0;var f=0;var g=d-c+1;for(var h=c;h<=d;++h){e+=a(h);f+=b(h)}return{__x:e/g,__y:f/g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},op:function(a,b,c,d){var e=a(d)-a(c);var f=b(d)-b(c);return e*e+f*f},hp:function(a,b){$$t.$s.hp.call(this,a,b);var c=$b($$t.$ad.$type,b);c.c0(false)},n3:function(a,b){this.hp(false,b);$$t.$s.n3.call(this,a,b);this.nx(a);var c=$b($$t.$ad.$type,b);c.da._aj=new $$a.a7;c.da._aj._b=$.ig.Numeric.prototype.h(a._m.count(),function(d){return a._m.__inner[d].__x},function(d){return a._m.__inner[d].__y},this.stiffness())},$type:new $.ig.Type("ScatterSplineSeries",$$t.$s.$type)},true);$c("ScatterTrendLineManager:y","TrendLineManagerBase$1",{init:function(){$.ig.TrendLineManagerBase$1.prototype.init.call(this,$$a.$y.$type)},managerType:function(){return 4},prepareLine:function(a,b,c,d,e,f,g,h,i,j,k){var l=j;var m=k;var n=new $$4.x($$a.$y.$type,0);var o=0;if(c!=null){o=c.count()}if(d!=null){o=Math.min(o,d.count())}if(!h._g.isEmpty()&&!h._f.isEmpty()){if(b==0){this._a=null;this.trendColumn().clear()}else if(this.c(b)){this.trendColumn().clear();this._a=$.ig.TrendFitCalculator.prototype.a(n,b,h,this._a,o,function(p){return c.item(p)},function(p){return d.item(p)},f,g,l,m)}else if(this.b(b)){this._a=null;this.trendColumn().clear();$.ig.TrendAverageCalculator.prototype.c(b,this.trendColumn(),c,d,e);var q=this.trendColumn().getEnumerator();while(q.moveNext()){var p=q.current();var r=f(p.__x);var s=g(p.__y);if(!$.ig.util.isNaN(r)&&!$.ig.util.isNaN(s)){n.add({__x:r,__y:s,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}}this.n(n,h,a,i)}},$type:new $.ig.Type("ScatterTrendLineManager",$.ig.TrendLineManagerBase$1.prototype.$type.specialize($$a.$y.$type))},true);$c("ScatterBaseView:aa","MarkerSeriesView",{_cr:null,_cp:null,_cs:null,_cx:null,init:function(a){this.c6=null;$.ig.MarkerSeriesView.prototype.init.call(this,a);this._cs=a;this._cu=new $.ig.HashPool$2($.ig.$op.$type,$.ig.Marker.prototype.$type);this.ce(this._cu);this._ct=new $$t.y},_c7:null,_c8:null,_ct:null,onInit:function(){$.ig.MarkerSeriesView.prototype.onInit.call(this);this._cr=this.cq();this._c7=new $$a.bs;this._c8=new $$a.bs;if(!this.isThumbnailView()){this._cs.maximumMarkers(2e3)}},c6:null,c9:function(a){if(this.c6==null){this.c6=new $$a.m;this.c6.context=this._h.g()}this.c6.width=a.width();this.c6.height=a.height();this.c6.data=a.content();var b=a._ah;if(b.measure()!=null){b.measure()(this.c6)}return new $$a.af(1,this.c6.width,this.c6.height)},cq:function(){var $self=this;var a=new $.ig.NumericMarkerManager(1,function(b){return $self._cu.item(b)},function(b){return $self._cs._mw._c.item(b)},this.c4.runOn(this),this.cn.runOn(this),this.cv.runOn(this),function(){return $self._cs.markerCollisionAvoidance()});a._q=this.c9.runOn(this);return a},c4:function(a){this._cs.nz(a,this._cu)},cw:function(){return this._b1},co:function(){return this._cp},cn:function(){this._cp=this._cs.ms(this,this._cu,this._cp,this.bs(),this.br());return this._cp},cv:function(){this._cx=this._cs.nb(this._cu,this._cx);return this._cx},cy:function(){},c2:function(a){},cz:function(){},c3:function(a){},c5:function(){if(this._cs.trendLineBrush()!=null){this._cs.actualTrendLineBrush(this._cs.trendLineBrush())}else{this._cs.actualTrendLineBrush(this._cs.actualBrush())}},_cu:null,cc:function(a){this._cu.doToAll(a)},c1:function(){},a2:function(a,b){$.ig.MarkerSeriesView.prototype.a2.call(this,a,b);if(a.d()){if(this._cs.trendLineType()!=0&&!b){var c=this._ct.trendPolyline();c._ac=this._cs.trendLineThickness();c.__stroke=this._cs.actualTrendLineBrush();c._ai=this._cs.trendLineDashArray();c._ad=this._cs.trendLineDashCap();a.u(c)}}},c0:function(a){if(a){this.c1();this._cu.clear()}this._ct.clearPoints();this.an()},getDefaultTooltipTemplate:function(){var a="<div class='ui-chart-default-tooltip-content'><span";var b=this._e.a0().getDefaultTooltipTemplateLabelColorString(this._e);if(!String.isNullOrEmpty(b)){a+=" style='color:"+b+"'"}a+=">"+this._cs.title()+"</span><br/><span>"+"x: </span><span class='ui-priority-primary'>${item."+this._cs.xMemberPath()+"}</span><br/><span>"+"y: </span><span class='ui-priority-primary'>${item."+this._cs.yMemberPath()+"}</span></div>";return a},$type:new $.ig.Type("ScatterBaseView",$.ig.MarkerSeriesView.prototype.$type)},true);$c("BubbleSeriesView:z","ScatterBaseView",{_da:null,init:function(a){$$t.$aa.init.call(this,a);this._da=a;this._ct=new $$t.y},onInit:function(){$$t.$aa.onInit.call(this);if(!this.isThumbnailView()){this._by.markerType(2);this._e._bj=4}},cq:function(){var $self=this;return new $$t.n(function(a){return $self._cu.item(a)},function(a){return $self._cs._mw._c.item(a)},this.c4.runOn(this),this.cn.runOn(this),this.cv.runOn(this))},dc:function(){var a=this._cr;this._da.pg(a._n,a._o,this.br(),this==this._e._bh);this.an()},dd:function(){var a=this._cr;this._da.pf(a._n)},db:function(){var a=this._cr;var c=a._n.getEnumerator();while(c.moveNext()){var b=c.current();var d=$b($.ig.DataContext.prototype.$type,b.content());if(d!=null){d.itemBrush(null)}}},getDefaultTooltipTemplate:function(){var a="<div class='ui-chart-default-tooltip-content'><span";var b=this._e.a0().getDefaultTooltipTemplateLabelColorString(this._e);if(!String.isNullOrEmpty(b)){a+=" style='color:"+b+"'"}a+=">"+this._da.title()+"</span><br/><span>"+"(${item."+this._da.xMemberPath()+"}, ${item."+this._da.yMemberPath()+"})</span>";if(!String.isNullOrEmpty(this._da.radiusMemberPath())){a+="<span>, Radius: ${item."+this._da.radiusMemberPath()+"}</span>"}a+="</div>";return a},$type:new $.ig.Type("BubbleSeriesView",$$t.$aa.$type)},true);$c("ScatterLineSeriesView:ab","ScatterBaseView",{init:function(a){this.da=new $$a.bs;$$t.$aa.init.call(this,a)},da:null,a8:function(){$$t.$aa.a8.call(this);this.da.__stroke=this._e.actualBrush();this.da._ac=this._e.thickness()},a9:function(){$$t.$aa.a9.call(this);var a=this.bl();this.da.__stroke=a;this.da._ac=this._e.thickness()+3},a3:function(a,b){$$t.$aa.a3.call(this,a,b);if(a.d()){a.s(this.da)}},c0:function(a){$$t.$aa.c0.call(this,a);this.da._aj=null},ai:function(a){$$t.$aa.ai.call(this,a);this._e.a2().exportPathData(a,this.da,"shape",["Main"])},ac:function(){var a=new $$a.ax;a.colorString("rgba(95,95,95,0.5)");this._e.shadowColor(a);this._e.shadowBlur(3);this._e.shadowOffsetX(1);this._e.shadowOffsetY(4);this._e.useSingleShadow(false)},$type:new $.ig.Type("ScatterLineSeriesView",$$t.$aa.$type)},true);$c("ScatterSeriesView:ac","ScatterBaseView",{_da:null,init:function(a){$$t.$aa.init.call(this,a);this._da=a},onInit:function(){$$t.$aa.onInit.call(this);if(!this.isThumbnailView()){this._by.markerType(2);this._e._bj=4}},ac:function(){var a=new $$a.ax;a.colorString("rgba(95,95,95,0.5)");this._e.shadowColor(a);this._e.shadowBlur(3);this._e.shadowOffsetX(2);this._e.shadowOffsetY(2);this._e.useSingleShadow(false)},$type:new $.ig.Type("ScatterSeriesView",$$t.$aa.$type)},true);$c("ScatterSplineSeriesView:ad","ScatterBaseView",{init:function(a){this.da=new $$a.bs;$$t.$aa.init.call(this,a)},da:null,a8:function(){$$t.$aa.a8.call(this);this.da.__stroke=this._e.actualBrush();this.da._ac=this._e.thickness()},a9:function(){$$t.$aa.a9.call(this);var a=this.bl();this.da.__stroke=a;this.da._ac=this._e.thickness()+3},a3:function(a,b){$$t.$aa.a3.call(this,a,b);if(a.d()){a.s(this.da)}},c0:function(a){$$t.$aa.c0.call(this,a);this.da._aj=null},ai:function(a){$$t.$aa.ai.call(this,a);this._e.a2().exportPathData(a,this.da,"shape",["Main"])},ac:function(){var a=new $$a.ax;a.colorString("rgba(95,95,95,0.5)");this._e.shadowColor(a);this._e.shadowBlur(3);this._e.shadowOffsetX(1);this._e.shadowOffsetY(4);this._e.useSingleShadow(false)},$type:new $.ig.Type("ScatterSplineSeriesView",$$t.$aa.$type)},true);$$t.$a.xAxisProperty=$$a.$s.i("XAxis",$.ig.NumericXAxis.prototype.$type,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("XAxis",b.oldValue(),b.newValue())}));$$t.$a.yAxisProperty=$$a.$s.i("YAxis",$.ig.NumericYAxis.prototype.$type,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("YAxis",b.oldValue(),b.newValue())}));$$t.$a.xMemberPathProperty=$$a.$s.i("XMemberPath",String,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("XMemberPath",b.oldValue(),b.newValue())}));$$t.$a.yMemberPathProperty=$$a.$s.i("YMemberPath",String,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("YMemberPath",b.oldValue(),b.newValue())}));$$t.$a.useBruteForceProperty=$$a.$s.i("UseBruteForce",$$0.$aq.$type,$$t.$a.$type,new $$a.ac(2,false,function(a,b){a.raisePropertyChanged("UseBruteForce",b.oldValue(),b.newValue())}));$$t.$a.progressiveLoadProperty=$$a.$s.i("ProgressiveLoad",$$0.$aq.$type,$$t.$a.$type,new $$a.ac(2,true,function(a,b){a.raisePropertyChanged("ProgressiveLoad",b.oldValue(),b.newValue())}));$$t.$a.heatMinimumProperty=$$a.$s.i("HeatMinimum",Number,$$t.$a.$type,new $$a.ac(2,0,function(a,b){a.raisePropertyChanged("HeatMinimum",b.oldValue(),b.newValue())}));$$t.$a.heatMaximumProperty=$$a.$s.i("HeatMaximum",Number,$$t.$a.$type,new $$a.ac(2,50,function(a,b){a.raisePropertyChanged("HeatMaximum",b.oldValue(),b.newValue())}));$$t.$a.heatMinimumColorProperty=$$a.$s.i("HeatMinimumColor",$$a.$ax.$type,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("HeatMinimumColor",b.oldValue(),b.newValue())}));$$t.$a.heatMaximumColorProperty=$$a.$s.i("HeatMaximumColor",$$a.$ax.$type,$$t.$a.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("HeatMaximumColor",b.oldValue(),b.newValue())}));$$t.$a.pointExtentProperty=$$a.$s.i("PointExtent",$$0.$aw.$type,$$t.$a.$type,new $$a.ac(2,1,function(a,b){a.raisePropertyChanged("PointExtent",b.oldValue(),b.newValue())}));$$t.$q.minimumValueProperty=$$a.$s.i("MinimumValue",Number,$$t.$q.$type,new $$a.ac(2,NaN,function(a,b){a.u("MinimumValue",b.oldValue(),b.newValue())}));$$t.$q.maximumValueProperty=$$a.$s.i("MaximumValue",Number,$$t.$q.$type,new $$a.ac(2,NaN,function(a,b){a.u("MaximumValue",b.oldValue(),b.newValue())}));$$t.$q.isLogarithmicProperty=$$a.$s.i("IsLogarithmic",$$0.$aq.$type,$$t.$q.$type,new $$a.ac(2,false,function(a,b){a.u("IsLogarithmic",b.oldValue(),b.newValue())}));$$t.$q.logarithmBaseProperty=$$a.$s.i("LogarithmBase",$$0.$aw.$type,$$t.$q.$type,new $$a.ac(2,10,function(a,b){a.u("LogarithmBase",b.oldValue(),b.newValue())}));$$t.$s.xAxisProperty=$$a.$s.i("XAxis",$.ig.NumericXAxis.prototype.$type,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("XAxis",b.oldValue(),b.newValue())}));$$t.$s.yAxisProperty=$$a.$s.i("YAxis",$.ig.NumericYAxis.prototype.$type,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("YAxis",b.oldValue(),b.newValue())}));$$t.$s.xMemberPathProperty=$$a.$s.i("XMemberPath",String,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("XMemberPath",b.oldValue(),b.newValue())}));$$t.$s.yMemberPathProperty=$$a.$s.i("YMemberPath",String,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("YMemberPath",b.oldValue(),b.newValue())}));$$t.$s.trendLineTypeProperty=$$a.$s.i("TrendLineType",$.ig.TrendLineType.prototype.$type,$$t.$s.$type,new $$a.ac(2,$.ig.TrendLineType.prototype.getBox(0),function(a,b){a.raisePropertyChanged("TrendLineType",b.oldValue(),b.newValue())}));$$t.$s.trendLineBrushProperty=$$a.$s.i("TrendLineBrush",$$a.$at.$type,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("TrendLineBrush",b.oldValue(),b.newValue())}));$$t.$s.actualTrendLineBrushProperty=$$a.$s.i("ActualTrendLineBrush",$$a.$at.$type,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("ActualTrendLineBrush",b.oldValue(),b.newValue())}));$$t.$s.trendLineThicknessProperty=$$a.$s.i("TrendLineThickness",Number,$$t.$s.$type,new $$a.ac(2,1.5,function(a,b){a.raisePropertyChanged("TrendLineThickness",b.oldValue(),b.newValue())}));$$t.$s.trendLineDashCapProperty=$$a.$s.i("TrendLineDashCap",$$a.$bj.$type,$$t.$s.$type,new $$a.ac(2,$$a.$bj.getBox(0),function(a,b){a.raisePropertyChanged("TrendLineDashCap",b.oldValue(),b.newValue())}));$$t.$s.trendLineDashArrayProperty=$$a.$s.i("TrendLineDashArray",$$a.$ay.$type,$$t.$s.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("TrendLineDashArray",b.oldValue(),b.newValue())}));$$t.$s.trendLinePeriodProperty=$$a.$s.i("TrendLinePeriod",$$0.$aw.$type,$$t.$s.$type,new $$a.ac(2,7,function(a,b){a.raisePropertyChanged("TrendLinePeriod",b.oldValue(),b.newValue())}));$$t.$s.markerCollisionAvoidanceProperty=$$a.$s.i("MarkerCollisionAvoidance",$.ig.CollisionAvoidanceType.prototype.$type,$$t.$s.$type,new $$a.ac(2,$.ig.CollisionAvoidanceType.prototype.getBox(0),function(a,b){a.raisePropertyChanged("MarkerCollisionAvoidance",b.oldValue(),b.newValue())}));$$t.$s.trendLineZIndexProperty=$$a.$s.i("TrendLineZIndex",$$0.$aw.$type,$$t.$s.$type,new $$a.ac(2,1001,function(a,b){a.raisePropertyChanged("TrendLineZIndex",b.oldValue(),b.newValue())}));$$t.$s.maximumMarkersProperty=$$a.$s.i("MaximumMarkers",$$0.$aw.$type,$$t.$s.$type,new $$a.ac(2,400,function(a,b){a.raisePropertyChanged("MaximumMarkers",b.oldValue(),b.newValue())}));$$t.$s.errorBarSettingsProperty=$$a.$s.i("ErrorBarSettings",$.ig.ScatterErrorBarSettings.prototype.$type,$$t.$s.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("ErrorBarSettings",b.oldValue(),b.newValue())}));$$t.$o.radiusMemberPathProperty=$$a.$s.i("RadiusMemberPath",String,$$t.$o.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("RadiusMemberPath",b.oldValue(),b.newValue())}));$$t.$o.radiusScaleProperty=$$a.$s.i("RadiusScale",$$t.$q.$type,$$t.$o.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("RadiusScale",b.oldValue(),b.newValue())}));$$t.$o.labelMemberPathProperty=$$a.$s.i("LabelMemberPath",String,$$t.$o.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("LabelMemberPath",b.oldValue(),b.newValue())}));$$t.$o.fillMemberPathProperty=$$a.$s.i("FillMemberPath",String,$$t.$o.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("FillMemberPath",b.oldValue(),b.newValue())}));$$t.$o.fillScaleProperty=$$a.$s.i("FillScale",$$t.$m.$type,$$t.$o.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("FillScale",b.oldValue(),b.newValue())}));$$t.$p.brushSelectionModeProperty=$$a.$s.i("BrushSelectionMode",$.ig.BrushSelectionMode.prototype.$type,$$t.$p.$type,new $$a.ac(2,$.ig.BrushSelectionMode.prototype.getBox(0),function(a,b){a.r("BrushSelectionMode",b.oldValue(),b.newValue())}));$$t.$r.minimumValueProperty=$$a.$s.i("MinimumValue",Number,$$t.$r.$type,new $$a.ac(2,NaN,function(a,b){a.r("MinimumValue",b.oldValue(),b.newValue())}));$$t.$r.maximumValueProperty=$$a.$s.i("MaximumValue",Number,$$t.$r.$type,new $$a.ac(2,NaN,function(a,b){a.r("MaximumValue",b.oldValue(),b.newValue())}));$$t.$r.isLogarithmicProperty=$$a.$s.i("IsLogarithmic",$$0.$aq.$type,$$t.$r.$type,new $$a.ac(2,false,function(a,b){a.r("IsLogarithmic",b.oldValue(),b.newValue())}));$$t.$r.logarithmBaseProperty=$$a.$s.i("LogarithmBase",$$0.$aw.$type,$$t.$r.$type,new $$a.ac(2,10,function(a,b){a.r("LogarithmBase",b.oldValue(),b.newValue())}));$$t.$v.unknownValuePlottingProperty=$$a.$s.i("UnknownValuePlotting",$.ig.UnknownValuePlotting.prototype.$type,$$t.$v.$type,new $$a.ac(2,$.ig.UnknownValuePlotting.prototype.getBox(1),function(a,b){a.raisePropertyChanged("UnknownValuePlotting",b.oldValue(),b.newValue())}));$$t.$x.stiffnessProperty=$$a.$s.i("Stiffness",Number,$$t.$x.$type,new $$a.ac(2,.5,function(a,b){a.raisePropertyChanged("Stiffness",b.oldValue(),b.newValue())}))}); |