/*!@license * Infragistics.Web.ClientUI infragistics.shapechart.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_dataseriesadapter.js * infragistics.dv_datasource.js * infragistics.dv_geo.js * infragistics.dv_geometry.js * infragistics.datachart_domainChart.js * infragistics.datachart_core.js * infragistics.datachart_scatter.js * infragistics.datachart_shape.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_dataseriesadapter","./infragistics.dv_datasource","./infragistics.dv_geo","./infragistics.dv_geometry","./infragistics.datachart_domainChart","./infragistics.datachart_core","./infragistics.datachart_scatter","./infragistics.datachart_shape","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$zz=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$x=$.ig.globalDefs.$$x;$$y=$.ig.globalDefs.$$y;$$z=$.ig.globalDefs.$$z;$$r=$.ig.globalDefs.$$r;$$dc=$.ig.globalDefs.$$dc;$$j=$.ig.globalDefs.$$j;$$a2=$.ig.globalDefs.$$a2;$$an=$.ig.globalDefs.$$an;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine([]);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("ScatterType:q",false,false,{Unknown:0,Polyline:1,Polygon:2,Point:3,BreakEven:4});$d("ShapeChartType:e",false,false,{Auto:0,Point:1,Line:2,Spline:3,Bubble:4,HighDensity:5,Area:6,Contour:7,Polygon:8,Polyline:9});$d("ScatterChartType:d",false,false,{Auto:0,Point:1,Line:2,Spline:3,Bubble:4,HighDensity:5,Area:6,Contour:7});$c("CartesianChart:b","XYChart",{g2:function(a,b,c){$.ig.XYChart.prototype.g2.call(this,a,b,c)},g3:function(a,b,c){$.ig.XYChart.prototype.g3.call(this,a,b,c);switch(a){case"XAxis":case"YAxis":if(c!=null&&this._di!=null){c.provideRenderer(this._di)}break}},init:function(){this.pp=10;this.pa=NaN;this.o9=NaN;this.po=10;this.o6=NaN;this.o5=NaN;this.ow=true;this.oy=true;this.ol=0;$.ig.XYChart.prototype.init.call(this)},hh:function(a){if(a.suggestedPrimaryAxis()==2){this.oo().isLogarithmic(true);this.oo().logarithmBase(10)}if(a.suggestedSecondaryAxis()==2){this.oq().isLogarithmic(true);this.oq().logarithmBase(10)}},bu:function(a){if(!$.ig.XYChart.prototype.bu.call(this,a)){return false}if(a.suggestedPrimaryAxis()!=1&&a.suggestedPrimaryAxis()!=2){return false}if(a.suggestedSecondaryAxis()!=1&&a.suggestedSecondaryAxis()!=2){return false}return true},hk:function(){this.oo().isLogarithmic(this.xAxisIsLogarithmic());this.oq().isLogarithmic(this.yAxisIsLogarithmic());this.oo().logarithmBase(this.xAxisLogarithmBase());this.oq().logarithmBase(this.yAxisLogarithmBase())},on:null,oo:function(a){if(arguments.length===1){var b=this.oo();if(a!=b){this.on=a;this.g1("XAxis",b,this.oo())}return a}else{return this.on}},op:null,oq:function(a){if(arguments.length===1){var b=this.oq();if(a!=b){this.op=a;this.g1("YAxis",b,this.oq())}return a}else{return this.op}},aq:function(a,b){var c=null;if(b==11||b==12||b==13){c=this.os(a,b)}else if(b==17){c=this.ot(a)}else if(b==16){c=this.ov(a)}else if(b==14){c=this.or(a)}else if(b==15){c=this.ou(a)}if($b($.ig.ScatterBase.prototype.$type,c)!==null){$b($.ig.ScatterBase.prototype.$type,c).xAxis(this.oo());$b($.ig.ScatterBase.prototype.$type,c).yAxis(this.oq());$b($.ig.ScatterBase.prototype.$type,c).maximumMarkers(this.markerMaxCount());$b($.ig.ScatterBase.prototype.$type,c).markerCollisionAvoidance(this.markerCollision())}else if($b($.ig.ScatterTriangulationSeries.prototype.$type,c)!==null){$b($.ig.ScatterTriangulationSeries.prototype.$type,c).xAxis(this.oo());$b($.ig.ScatterTriangulationSeries.prototype.$type,c).yAxis(this.oq())}else if($b($.ig.HighDensityScatterSeries.prototype.$type,c)!==null){$b($.ig.HighDensityScatterSeries.prototype.$type,c).xAxis(this.oo());$b($.ig.HighDensityScatterSeries.prototype.$type,c).yAxis(this.oq())}return c},os:function(a,b){var c;if(b==12){c=new $.ig.ScatterLineSeries}else if(b==13){c=new $.ig.ScatterSplineSeries}else{c=new $.ig.ScatterSeries}c.xMemberPath(a.getMemberPathFor(1));c.yMemberPath(a.getMemberPathFor(2));return c},ov:function(a){var b=new $.ig.HighDensityScatterSeries;b.xMemberPath(a.getMemberPathFor(1));b.yMemberPath(a.getMemberPathFor(2));b.heatMinimumColor(this.h3(a.index()));b.heatMaximumColor($.ig.ColorUtil.prototype.k("Black"));b.mouseOverEnabled(true);return b},ot:function(a){var b=this.h3(a.index());var c=new $.ig.ValueBrushScale;c.brushes(this.k(b));var d=new $.ig.BubbleSeries;d.xMemberPath(a.getMemberPathFor(1));d.yMemberPath(a.getMemberPathFor(2));d.labelMemberPath(a.getMemberPathFor(4));d.radiusMemberPath(a.getMemberPathFor(5));d.radiusScale(function(){var $ret=new $.ig.SizeScale;$ret.minimumValue(10);$ret.maximumValue(50);return $ret}());if(a.hasMatchingHint(3)){d.fillScale(c);d.fillMemberPath(a.getMemberPathFor(3))}return d},ou:function(a){var b=this.h3(a.index());var c=new $.ig.ValueBrushScale;c.brushes(this.k(b));var d=new $.ig.ScatterContourSeries;d.xMemberPath(a.getMemberPathFor(1));d.yMemberPath(a.getMemberPathFor(2));if(a.hasMatchingHint(8)){d.fillScale(c);d.valueMemberPath(a.getMemberPathFor(8))}else if(a.hasMatchingHint(3)){d.fillScale(c);d.valueMemberPath(a.getMemberPathFor(3))}return d},or:function(a){var b=this.h3(a.index());var c=new $.ig.CustomPaletteColorScale;c.interpolationMode(2);c.palette(this.a2(b));var d=new $.ig.ScatterAreaSeries;d.xMemberPath(a.getMemberPathFor(1));d.yMemberPath(a.getMemberPathFor(2));d.__opacity=.6;if(a.hasMatchingHint(3)){d.colorMemberPath(a.getMemberPathFor(3));d.colorScale(c)}else if(a.hasMatchingHint(8)){d.colorMemberPath(a.getMemberPathFor(8));d.colorScale(c)}return d},h7:function(){return this.oo()},h8:function(){return this.oq()},f3:function(){this.oo(new $.ig.NumericXAxis);this.oo().name("xAxis");var a=this.oo();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.p9.runOn(this));this.oq(new $.ig.NumericYAxis);this.oq().name("yAxis");var b=this.oq();b.propertyChanged=$.ig.Delegate.prototype.combine(b.propertyChanged,this.qa.runOn(this));if(this.oo().labelSettings()==null){this.oo().labelSettings(new $.ig.AxisLabelSettings)}if(this.oq().labelSettings()==null){this.oq().labelSettings(new $.ig.AxisLabelSettings)}},p9:function(a,b){switch(b.propertyName()){case"ActualMinimumValue":this.g8("XAxisActualMinimum");break;case"ActualMaximumValue":this.g8("XAxisActualMaximum");break}},qa:function(a,b){switch(b.propertyName()){case"ActualMinimumValue":this.g8("YAxisActualMinimum");break;case"ActualMaximumValue":this.g8("YAxisActualMaximum");break}},f1:function(a,b){var c=$b($.ig.ScatterBase.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.ai(a,b));c.maximumMarkers(this.markerMaxCount())}},m3:function(a){$.ig.XYChart.prototype.m3.call(this,a);a.abbreviateLargeNumbers(this.yAxisAbbreviateLargeNumbers())},m1:function(a){$.ig.XYChart.prototype.m1.call(this,a);a.abbreviateLargeNumbers(this.xAxisAbbreviateLargeNumbers())},g1:function(a,b,c){var $self=this;$.ig.XYChart.prototype.g1.call(this,a,b,c);switch(a){case"XAxisInterval":this.oo().interval(this.xAxisInterval());break;case"YAxisInterval":this.oq().interval(this.yAxisInterval());break;case"XAxisMinorInterval":this.oo().minorInterval(this.xAxisMinorInterval());break;case"YAxisMinorInterval":this.oq().minorInterval(this.yAxisMinorInterval());break;case"XAxisIsLogarithmic":this.oo().isLogarithmic(this.xAxisIsLogarithmic());break;case"YAxisIsLogarithmic":this.oq().isLogarithmic(this.yAxisIsLogarithmic());break;case"XAxisLogarithmBase":this.oo().logarithmBase(this.xAxisLogarithmBase());break;case"YAxisLogarithmBase":this.oq().logarithmBase(this.yAxisLogarithmBase());break;case"XAxisMinimumValue":this.oo().minimumValue(this.xAxisMinimumValue());break;case"YAxisMinimumValue":this.oq().minimumValue(this.yAxisMinimumValue());break;case"XAxisMaximumValue":this.oo().maximumValue(this.xAxisMaximumValue());break;case"YAxisMaximumValue":this.oq().maximumValue(this.yAxisMaximumValue());break;case"MarkerCollision":this.f9(function(d,e){$self.f1(d,e)});break;case"XAxisAbbreviateLargeNumbers":this.m5(function(d){d.abbreviateLargeNumbers($self.xAxisAbbreviateLargeNumbers())});break;case"YAxisAbbreviateLargeNumbers":this.m9(function(d){d.abbreviateLargeNumbers($self.yAxisAbbreviateLargeNumbers())});break}},o4:0,xAxisInterval:function(a){if(arguments.length===1){var b=this.xAxisInterval();if(a!=b){this.o4=a;this.g1("XAxisInterval",b,this.xAxisInterval())}return a}else{return this.o4}},o7:0,xAxisMinorInterval:function(a){if(arguments.length===1){var b=this.xAxisMinorInterval();if(a!=b){this.o7=a;this.g1("XAxisMinorInterval",b,this.xAxisMinorInterval())}return a}else{return this.o7}},o8:0,yAxisInterval:function(a){if(arguments.length===1){var b=this.yAxisInterval();if(a!=b){this.o8=a;this.g1("YAxisInterval",b,this.yAxisInterval())}return a}else{return this.o8}},oz:false,yAxisIsLogarithmic:function(a){if(arguments.length===1){var b=this.yAxisIsLogarithmic();if(a!=b){this.oz=a;this.g1("YAxisIsLogarithmic",b,this.yAxisIsLogarithmic())}return a}else{return this.oz}},pp:0,yAxisLogarithmBase:function(a){if(arguments.length===1){var b=this.yAxisLogarithmBase();if(a!=b){this.pp=a;this.g1("YAxisLogarithmBase",b,this.yAxisLogarithmBase())}return a}else{return this.pp}},pa:0,yAxisMinimumValue:function(a){if(arguments.length===1){var b=this.yAxisMinimumValue();if(a!=b){this.pa=a;this.g1("YAxisMinimumValue",b,this.yAxisMinimumValue())}return a}else{return this.pa}},o9:0,yAxisMaximumValue:function(a){if(arguments.length===1){var b=this.yAxisMaximumValue();if(a!=b){this.o9=a;this.g1("YAxisMaximumValue",b,this.yAxisMaximumValue())}return a}else{return this.o9}},pb:0,yAxisMinorInterval:function(a){if(arguments.length===1){var b=this.yAxisMinorInterval();if(a!=b){this.pb=a;this.g1("YAxisMinorInterval",b,this.yAxisMinorInterval())}return a}else{return this.pb}},xAxisActualMinimum:function(){return this.oo().actualMinimumValue()},xAxisActualMaximum:function(){return this.oo().actualMaximumValue()},yAxisActualMinimum:function(){return this.oq().actualMinimumValue()},yAxisActualMaximum:function(){return this.oq().actualMaximumValue()},ox:false,xAxisIsLogarithmic:function(a){if(arguments.length===1){var b=this.xAxisIsLogarithmic();if(a!=b){this.ox=a;this.g1("XAxisIsLogarithmic",b,this.xAxisIsLogarithmic())}return a}else{return this.ox}},po:0,xAxisLogarithmBase:function(a){if(arguments.length===1){var b=this.xAxisLogarithmBase();if(a!=b){this.po=a;this.g1("XAxisLogarithmBase",b,this.xAxisLogarithmBase())}return a}else{return this.po}},o6:0,xAxisMinimumValue:function(a){if(arguments.length===1){var b=this.xAxisMinimumValue();if(a!=b){this.o6=a;this.g1("XAxisMinimumValue",b,this.xAxisMinimumValue())}return a}else{return this.o6}},o5:0,xAxisMaximumValue:function(a){if(arguments.length===1){var b=this.xAxisMaximumValue();if(a!=b){this.o5=a;this.g1("XAxisMaximumValue",b,this.xAxisMaximumValue())}return a}else{return this.o5}},ow:false,xAxisAbbreviateLargeNumbers:function(a){if(arguments.length===1){var b=this.xAxisAbbreviateLargeNumbers();if(a!=b){this.ow=a;this.g1("XAxisAbbreviateLargeNumbers",b,this.xAxisAbbreviateLargeNumbers())}return a}else{return this.ow}},oy:false,yAxisAbbreviateLargeNumbers:function(a){if(arguments.length===1){var b=this.yAxisAbbreviateLargeNumbers();if(a!=b){this.oy=a;this.g1("YAxisAbbreviateLargeNumbers",b,this.yAxisAbbreviateLargeNumbers())}return a}else{return this.oy}},ol:0,markerCollision:function(a){if(arguments.length===1){var b=this.ol;if(a!=b){this.ol=a;this.g1("MarkerCollision",$.ig.CollisionAvoidanceType.prototype.getBox(b),$.ig.CollisionAvoidanceType.prototype.getBox(this.ol))}return a}else{return this.ol}},$type:new $.ig.Type("CartesianChart",$.ig.XYChart.prototype.$type)},true);$c("ShapeChart:a","CartesianChart",{g2:function(a,b,c){$$t.$b.g2.call(this,a,b,c)},provideContainer:function(a){$$t.$b.provideContainer.call(this,a);if(a!=null){if(this.oo()!=null){this.oo().provideRenderer(a)}if(this.oq()!=null){this.oq().provideRenderer(a)}this._qf=new $.ig.SRProvider(a);this._v._p=this._qf.al.runOn(this._qf)}},g3:function(a,b,c){$$t.$b.g3.call(this,a,b,c)},init:function(){$$t.$b.init.call(this);this.f6()},b5:function(){return function(){var $ret=new $$4.x($.ig.DataSeriesType.prototype.$type,0);$ret.add(11);$ret.add(12);$ret.add(13);$ret.add(17);$ret.add(16);$ret.add(14);$ret.add(15);$ret.add(18);$ret.add(19);return $ret}()},qg:null,b4:function(){if(this.qg==null){this.qg=function(){var $ret=new $$4.x($.ig.IDataSeriesAdapterRule.prototype.$type,0);$ret.add(new $$t.f);$ret.add(new $$t.p);$ret.add(new $.ig.SubCollectionsRule);return $ret}()}return this.qg},_qf:null,u:function(a){if(this.chartType()==0){return a.suggestedSeries()}if(this.chartType()==1){return 11}if(this.chartType()==2){return 12}if(this.chartType()==3){return 13}if(this.chartType()==4){return 17}if(this.chartType()==5){return 16}if(this.chartType()==6){return 14}if(this.chartType()==7){return 15}if(this.chartType()==8){return 18}if(this.chartType()==9){return 19}return 11},aq:function(a,b){var c=null;if(b==18){c=this.qb(a,b)}else if(b==19){c=this.qc(a,b)}else{c=$$t.$b.aq.call(this,a,b)}c.expectFunctions(true);return c},qb:function(a,b){var c=new $.ig.ScatterPolygonSeries;c.shapeMemberPath(a.getMemberPathFor(7));c.xAxis(this.oo());c.yAxis(this.oq());return c},qc:function(a,b){var c=new $.ig.ScatterPolylineSeries;c.shapeMemberPath(a.getMemberPathFor(7));c.xAxis(this.oo());c.yAxis(this.oq());return c},ge:function(a){$$t.$b.ge.call(this,a);this.dataChart().axes().add(this.oo());this.dataChart().axes().add(this.oq())},f1:function(a,b){$$t.$b.f1.call(this,a,b);var c=$b($.ig.ScatterPolygonSeries.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.ai(a,b))}},ai:function(a,b){if($b($.ig.ScatterPolygonSeries.prototype.$type,a)!==null){if(this.markerTypes()==null||this.markerTypes().count()==0){return 1}else{var c=$.ig.ArrayUtil.prototype.a($.ig.MarkerType.prototype.$type,this.markerTypes(),b);if(c==2||c==1){return 1}}}return $$t.$b.ai.call(this,a,b)},g1:function(a,b,c){$$t.$b.g1.call(this,a,b,c);switch(a){case"ChartType":this.hj();break}},qd:0,chartType:function(a){if(arguments.length===1){if(a!=this.qd){var b=this.chartType();this.qd=a;this.g1("ChartType",$$t.$e.getBox(b),$$t.$e.getBox(this.chartType()))}return a}else{return this.qd}},$type:new $.ig.Type("ShapeChart",$$t.$b.$type)},true);$c("ScatterChart:c","CartesianChart",{init:function(){$$t.$b.init.call(this)},b5:function(){return function(){var $ret=new $$4.x($.ig.DataSeriesType.prototype.$type,0);$ret.add(11);$ret.add(12);$ret.add(13);$ret.add(17);$ret.add(16);$ret.add(14);$ret.add(15);return $ret}()},b4:function(){return function(){var $ret=new $$4.x($.ig.IDataSeriesAdapterRule.prototype.$type,0);$ret.add(new $$t.m);$ret.add(new $.ig.SubCollectionsRule);return $ret}()},u:function(a){if(this.chartType()==0){return a.suggestedSeries()}if(this.chartType()==1){return 11}if(this.chartType()==2){return 12}if(this.chartType()==3){return 13}if(this.chartType()==4){return 17}if(this.chartType()==5){return 16}if(this.chartType()==6){return 14}if(this.chartType()==7){return 15}return 11},aq:function(a,b){var c=$$t.$b.aq.call(this,a,b);return c},ge:function(a){$$t.$b.ge.call(this,a);this.dataChart().axes().add(this.oo());this.dataChart().axes().add(this.oq())},f1:function(a,b){$$t.$b.f1.call(this,a,b);var c=$b($.ig.ScatterPolygonSeries.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.ai(a,b))}},ai:function(a,b){if($b($.ig.ScatterPolygonSeries.prototype.$type,a)!==null){if(this.markerTypes()==null||this.markerTypes().count()==0){return 1}else{var c=$.ig.ArrayUtil.prototype.a($.ig.MarkerType.prototype.$type,this.markerTypes(),b);if(c==2||c==1){return 1}}}return $$t.$b.ai.call(this,a,b)},g1:function(a,b,c){$$t.$b.g1.call(this,a,b,c);switch(a){case"ChartType":this.hj();break}},qb:0,chartType:function(a){if(arguments.length===1){if(a!=this.qb){var b=this.chartType();this.qb=a;this.g1("ChartType",$$t.$d.getBox(b),$$t.$d.getBox(this.chartType()))}return a}else{return this.qb}},$type:new $.ig.Type("ScatterChart",$$t.$b.$type)},true);$c("PriorityDataRule:l","Object",{init:function(){$.ig.$op.init.call(this)},_priority:0,priority:function(a){if(arguments.length===1){this._priority=a;return a}else{return this._priority}},evaluate:function(a){},a:function(a){var b=new $$4.x(String,0);for(var d=0;d0){this._d.update1(c.__inner[0],b)}}if(String.isNullOrEmpty(this._e.path())){var d=$$t.$r.s(a);if(d.count()>0){this._e.update1(d.__inner[0],b)}}},o:function(a,b){if(a==null||a.count()==0){return}if(String.isNullOrEmpty(this._g.path())){var c=$$t.$r.y(a);if(c.count()>0){this._g.update1(c.__inner[0],b)}}},p:function(a,b){if(a==null||a.count()==0){return}this._i.update($$t.$r.ac(a),b);this._j.update($$t.$r.ad(a),b);this._c.update($$t.$r.p(a),b);this._f.update($$t.$r.u(a),b);this._h.update($$t.$r.aa(a),b);if(!this._i.hasPath()&&a.count()>0){var c=a.count()-1;this._i.update1(a.__inner[c],b);a.removeAt(c)}if(!this._j.hasPath()&&a.count()>0){var d=a.count()-1;this._j.update1(a.__inner[d],b);a.removeAt(d)}if(!this._h.hasPath()&&a.count()>0){var e=a.count()-1;this._h.update1(a.__inner[e],b);a.removeAt(e)}if(!this._f.hasPath()&&a.count()>0){var f=a.count()-1;this._f.update1(a.__inner[f],b);a.removeAt(f)}if(!this._c.hasPath()&&a.count()>0){var g=a.count()-1;this._c.update1(a.__inner[g],b);a.removeAt(g)}if(!this._i.hasPath()){if(this._f.hasPath()){this._i.path(this._f.path())}else if(this._c.hasPath()){this._i.path(this._c.path())}else if(this._h.hasPath()){this._i.path(this._h.path())}}if(!this._j.hasPath()){if(this._h.hasPath()){this._j.path(this._h.path())}else if(this._c.hasPath()){this._j.path(this._c.path())}else if(this._f.hasPath()){this._j.path(this._f.path())}}},m:function(){var a=new $$4.x(String,0);var b=this.b().getAllStringProperties();for(var d=0;d0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$j.init1.call(this,1,{__x:b,__y:c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:d,__y:e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},init1:function(a,b,c){$.ig.$op.init.call(this);this._g=b;this._f=c;this._e=(this._f.__y-this._g.__y)/(this._f.__x-this._g.__x);this._b=-this._e;this._c=1;this._d=this._g.__y-this._e*this._g.__x;this._a=Math.abs(this._f.__x-this._g.__x)<9999999747378752e-21},_a:false,_e:0,_g:null,_f:null,_b:0,_c:0,_d:0,$type:new $.ig.Type("LineEquation",$.ig.$ot)},true);$c("Compute:k","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b,c,d){return $$t.$k.a(new $$t.j(1,a,b),new $$t.j(1,c,d))},a:function(a,b){var c={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(a._a&&b._a){return c}if(a._a||b._a){var d=b._a?b:a;var e=b._a?a:b;var f=(d._g.__x-e._g.__x)*(e._f.__y-e._g.__y)/(e._f.__x-e._g.__x)+e._g.__y;var g=a._a?a._g.__x:b._g.__x;return{__x:g,__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var h=a._b*b._c-b._b*a._c;var i=Math.abs(h-0)>9999999747378752e-20;if(i){var j=(b._c*a._d-a._c*b._d)/h;var k=(a._b*b._d-b._b*a._d)/h;c={__x:j,__y:k,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return c},$type:new $.ig.Type("Compute",$.ig.$ot)},true);$c("ScatterDataRule:m","PriorityDataRule",{init:function(){$$t.$l.init.call(this);this.priority(10);this.monotonicCheckAmount(1e3);this.smallDataSourceThreshold(1e3);this.hugeDataSourceThreshold(1e4)},_monotonicCheckAmount:0,monotonicCheckAmount:function(a){if(arguments.length===1){this._monotonicCheckAmount=a;return a}else{return this._monotonicCheckAmount}},_smallDataSourceThreshold:0,smallDataSourceThreshold:function(a){if(arguments.length===1){this._smallDataSourceThreshold=a;return a}else{return this._smallDataSourceThreshold}},_hugeDataSourceThreshold:0,hugeDataSourceThreshold:function(a){if(arguments.length===1){this._hugeDataSourceThreshold=a;return a}else{return this._hugeDataSourceThreshold}},evaluate:function(a){var b=this.b(a);if(b!=null&&b._k!=0){this.f(a,b)}},f:function(a,b){ var c=new $.ig.DataSeries;if(b._i.hasPath()){c.addMemberPathHint(b._i)}if(b._j.hasPath()){c.addMemberPathHint(b._j)}if(b._h.hasPath()){c.addMemberPathHint(b._h)}if(b._f.hasPath()){c.addMemberPathHint(b._f)}if(b._c.hasPath()){c.addMemberPathHint(b._c)}if(b._e.hasPath()){c.addMemberPathHint(b._e)}if(b._k==0){c.suggestedSeries(24)}else{if(b._s<=this.smallDataSourceThreshold()){if(b._f.hasPath()){c.suggestedSeries(17);c.title(b._f.path())}else if(b._c.hasPath()){c.suggestedSeries(14);c.title(b._h.path())}else if(b._h.hasPath()){c.suggestedSeries(15);c.title(b._h.path())}else{if(b._n<=this.monotonicCheckAmount()){if(b.b().isMonotonic(b._l,b._i.path(),this.monotonicCheckAmount())||b.b().isMonotonic(b._l,b._j.path(),this.monotonicCheckAmount())){c.suggestedSeries(12)}else{c.suggestedSeries(11)}}else{c.suggestedSeries(11)}c.title(b._i.path()+" vs "+b._j.path())}}else if(b._s<=this.hugeDataSourceThreshold()){if(b._c.hasPath()){c.suggestedSeries(14);c.title(b._c.path())}else if(b._h.hasPath()){c.suggestedSeries(15);c.title(b._h.path())}else{c.suggestedSeries(16);c.title(b._i.path()+" vs "+b._j.path())}}else{c.suggestedSeries(16);c.title(b._i.path()+" vs "+b._j.path())}}c.suggestedPrimaryAxis(1);c.suggestedSecondaryAxis(1);c.title(a.analyzer().expandCamelCasedWords(c.title()));a.addDataSeries(c,this)},b:function(a){var b=new $$t.o(a);if(b._n==0){return null}for(var c=0;c0){var h=b._l.getItemValue(d,"ShapeType");if($b($.ig.ShapeType.prototype.$type,h)!==null){b._k=$$t.$r.a($g(h))}}var i=b.b().getAllPropertiesWithName("Fields");if(i.length==0){i=b.b().getAllPropertiesWithName("fields")}if(i.length>0){var j=$b($$0.$bt.$type,b._l.getItemValue(d,i[0]));if(j!=null){var k=d.fieldsNames();var l=d.fieldsTypes();if(l!=null&&k!=null){f=new $$4.x(String,0);e=new $$4.x(String,0);for(var m=0;m