/*!@license
* Infragistics.Web.ClientUI infragistics.shapechart.js 21.2.20212.99
*
* Copyright (c) 2011-2022 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;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$x=$.ig.globalDefs.$$x;var $$y=$.ig.globalDefs.$$y;var $$z=$.ig.globalDefs.$$z;var $$r=$.ig.globalDefs.$$r;var $$dc=$.ig.globalDefs.$$dc;var $$j=$.ig.globalDefs.$$j;var $$a2=$.ig.globalDefs.$$a2;var $$an=$.ig.globalDefs.$$an;var $$6=$.ig.globalDefs.$$6;var $$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",{kb:function(a,b,c){$.ig.XYChart.prototype.kb.call(this,a,b,c)},kc:function(a,b,c){$.ig.XYChart.prototype.kc.call(this,a,b,c);switch(a){case"XAxis":case"YAxis":if(c!=null&&this._ff!=null){c.provideRenderer(this._ff)}break}},init:function(){this.t3=10;this.to=NaN;this.tn=NaN;this.t2=10;this.tk=NaN;this.tj=NaN;this.ta=true;this.tc=true;this.sz=0;$.ig.XYChart.prototype.init.call(this)},kr:function(a){if(a.suggestedPrimaryAxis()==2){this.s2().isLogarithmic(true);this.s2().logarithmBase(10)}if(a.suggestedSecondaryAxis()==2){this.s4().isLogarithmic(true);this.s4().logarithmBase(10)}},cs:function(a){if(!$.ig.XYChart.prototype.cs.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},ku:function(){this.s2().isLogarithmic(this.xAxisIsLogarithmic());this.s4().isLogarithmic(this.yAxisIsLogarithmic());this.s2().logarithmBase(this.xAxisLogarithmBase());this.s4().logarithmBase(this.yAxisLogarithmBase())},s1:null,s2:function(a){if(arguments.length===1){var b=this.s2();if(a!=b){this.s1=a;this.ka("XAxis",b,this.s2())}return a}else{return this.s1}},s3:null,s4:function(a){if(arguments.length===1){var b=this.s4();if(a!=b){this.s3=a;this.ka("YAxis",b,this.s4())}return a}else{return this.s3}},bb:function(a,b){var c=null;if(b==11||b==12||b==13){c=this.s6(a,b)}else if(b==17){c=this.s7(a)}else if(b==16){c=this.s9(a)}else if(b==14){c=this.s5(a)}else if(b==15){c=this.s8(a)}if($b($.ig.ScatterBase.prototype.$type,c)!==null){$b($.ig.ScatterBase.prototype.$type,c).xAxis(this.s2());$b($.ig.ScatterBase.prototype.$type,c).yAxis(this.s4());$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.s2());$b($.ig.ScatterTriangulationSeries.prototype.$type,c).yAxis(this.s4())}else if($b($.ig.HighDensityScatterSeries.prototype.$type,c)!==null){$b($.ig.HighDensityScatterSeries.prototype.$type,c).xAxis(this.s2());$b($.ig.HighDensityScatterSeries.prototype.$type,c).yAxis(this.s4())}return c},s6: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},s9:function(a){var b=new $.ig.HighDensityScatterSeries;b.xMemberPath(a.getMemberPathFor(1));b.yMemberPath(a.getMemberPathFor(2));b.heatMinimumColor(this.lu(a.index()));b.heatMaximumColor($.ig.ColorUtil.prototype.r("Black"));b.mouseOverEnabled(true);return b},s7:function(a){var b=this.lu(a.index());var c=new $.ig.ValueBrushScale;c.brushes(this.o(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},s8:function(a){var b=this.lu(a.index());var c=new $.ig.ValueBrushScale;c.brushes(this.o(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},s5:function(a){var b=this.lu(a.index());var c=new $.ig.CustomPaletteColorScale;c.interpolationMode(2);c.palette(this.bt(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},l2:function(){return this.s2()},l3:function(){return this.s4()},i4:function(){this.s2(new $.ig.NumericXAxis);this.s2().name("xAxis");var a=this.s2();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.un.runOn(this));this.s4(new $.ig.NumericYAxis);this.s4().name("yAxis");var b=this.s4();b.propertyChanged=$.ig.Delegate.prototype.combine(b.propertyChanged,this.uo.runOn(this));if(this.s2().labelSettings()==null){this.s2().labelSettings(new $.ig.AxisLabelSettings)}if(this.s4().labelSettings()==null){this.s4().labelSettings(new $.ig.AxisLabelSettings)}},un:function(a,b){switch(b.propertyName()){case"ActualMinimumValue":this.kh("XAxisActualMinimum");break;case"ActualMaximumValue":this.kh("XAxisActualMaximum");break}},uo:function(a,b){switch(b.propertyName()){case"ActualMinimumValue":this.kh("YAxisActualMinimum");break;case"ActualMaximumValue":this.kh("YAxisActualMaximum");break}},i2:function(a,b){var c=$b($.ig.ScatterBase.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.a3(a,b));c.maximumMarkers(this.markerMaxCount())}},rb:function(a){$.ig.XYChart.prototype.rb.call(this,a);a.abbreviateLargeNumbers(this.yAxisAbbreviateLargeNumbers())},q9:function(a){$.ig.XYChart.prototype.q9.call(this,a);a.abbreviateLargeNumbers(this.xAxisAbbreviateLargeNumbers())},ka:function(a,b,c){var $self=this;$.ig.XYChart.prototype.ka.call(this,a,b,c);switch(a){case"XAxisInterval":this.s2().interval(this.xAxisInterval());break;case"YAxisInterval":this.s4().interval(this.yAxisInterval());break;case"XAxisMinorInterval":this.s2().minorInterval(this.xAxisMinorInterval());break;case"YAxisMinorInterval":this.s4().minorInterval(this.yAxisMinorInterval());break;case"XAxisIsLogarithmic":this.s2().isLogarithmic(this.xAxisIsLogarithmic());break;case"YAxisIsLogarithmic":this.s4().isLogarithmic(this.yAxisIsLogarithmic());break;case"XAxisLogarithmBase":this.s2().logarithmBase(this.xAxisLogarithmBase());break;case"YAxisLogarithmBase":this.s4().logarithmBase(this.yAxisLogarithmBase());break;case"XAxisMinimumValue":this.s2().minimumValue(this.xAxisMinimumValue());break;case"YAxisMinimumValue":this.s4().minimumValue(this.yAxisMinimumValue());break;case"XAxisMaximumValue":this.s2().maximumValue(this.xAxisMaximumValue());break;case"YAxisMaximumValue":this.s4().maximumValue(this.yAxisMaximumValue());break;case"MarkerCollision":this.jf(function(d,e){$self.i2(d,e)});break;case"XAxisAbbreviateLargeNumbers":this.rd(function(d){d.abbreviateLargeNumbers($self.xAxisAbbreviateLargeNumbers())});break;case"YAxisAbbreviateLargeNumbers":this.ri(function(d){d.abbreviateLargeNumbers($self.yAxisAbbreviateLargeNumbers())});break}},ti:0,xAxisInterval:function(a){if(arguments.length===1){var b=this.xAxisInterval();if(a!=b){this.ti=a;this.ka("XAxisInterval",b,this.xAxisInterval())}return a}else{return this.ti}},tl:0,xAxisMinorInterval:function(a){if(arguments.length===1){var b=this.xAxisMinorInterval();if(a!=b){this.tl=a;this.ka("XAxisMinorInterval",b,this.xAxisMinorInterval())}return a}else{return this.tl}},tm:0,yAxisInterval:function(a){if(arguments.length===1){var b=this.yAxisInterval();if(a!=b){this.tm=a;this.ka("YAxisInterval",b,this.yAxisInterval())}return a}else{return this.tm}},td:false,yAxisIsLogarithmic:function(a){if(arguments.length===1){var b=this.yAxisIsLogarithmic();if(a!=b){this.td=a;this.ka("YAxisIsLogarithmic",b,this.yAxisIsLogarithmic())}return a}else{return this.td}},t3:0,yAxisLogarithmBase:function(a){if(arguments.length===1){var b=this.yAxisLogarithmBase();if(a!=b){this.t3=a;this.ka("YAxisLogarithmBase",b,this.yAxisLogarithmBase())}return a}else{return this.t3}},to:0,yAxisMinimumValue:function(a){if(arguments.length===1){var b=this.yAxisMinimumValue();if(a!=b){this.to=a;this.ka("YAxisMinimumValue",b,this.yAxisMinimumValue())}return a}else{return this.to}},tn:0,yAxisMaximumValue:function(a){if(arguments.length===1){var b=this.yAxisMaximumValue();if(a!=b){this.tn=a;this.ka("YAxisMaximumValue",b,this.yAxisMaximumValue())}return a}else{return this.tn}},tp:0,yAxisMinorInterval:function(a){if(arguments.length===1){var b=this.yAxisMinorInterval();if(a!=b){this.tp=a;this.ka("YAxisMinorInterval",b,this.yAxisMinorInterval())}return a}else{return this.tp}},xAxisActualMinimum:function(){return this.s2().actualMinimumValue()},xAxisActualMaximum:function(){return this.s2().actualMaximumValue()},yAxisActualMinimum:function(){return this.s4().actualMinimumValue()},yAxisActualMaximum:function(){return this.s4().actualMaximumValue()},tb:false,xAxisIsLogarithmic:function(a){if(arguments.length===1){var b=this.xAxisIsLogarithmic();if(a!=b){this.tb=a;this.ka("XAxisIsLogarithmic",b,this.xAxisIsLogarithmic())}return a}else{return this.tb}},t2:0,xAxisLogarithmBase:function(a){if(arguments.length===1){var b=this.xAxisLogarithmBase();if(a!=b){this.t2=a;this.ka("XAxisLogarithmBase",b,this.xAxisLogarithmBase())}return a}else{return this.t2}},tk:0,xAxisMinimumValue:function(a){if(arguments.length===1){var b=this.xAxisMinimumValue();if(a!=b){this.tk=a;this.ka("XAxisMinimumValue",b,this.xAxisMinimumValue())}return a}else{return this.tk}},tj:0,xAxisMaximumValue:function(a){if(arguments.length===1){var b=this.xAxisMaximumValue();if(a!=b){this.tj=a;this.ka("XAxisMaximumValue",b,this.xAxisMaximumValue())}return a}else{return this.tj}},ta:false,xAxisAbbreviateLargeNumbers:function(a){if(arguments.length===1){var b=this.xAxisAbbreviateLargeNumbers();if(a!=b){this.ta=a;this.ka("XAxisAbbreviateLargeNumbers",b,this.xAxisAbbreviateLargeNumbers())}return a}else{return this.ta}},tc:false,yAxisAbbreviateLargeNumbers:function(a){if(arguments.length===1){var b=this.yAxisAbbreviateLargeNumbers();if(a!=b){this.tc=a;this.ka("YAxisAbbreviateLargeNumbers",b,this.yAxisAbbreviateLargeNumbers())}return a}else{return this.tc}},sz:0,markerCollision:function(a){if(arguments.length===1){var b=this.sz;if(a!=b){this.sz=a;this.ka("MarkerCollision",$.ig.CollisionAvoidanceType.prototype.getBox(b),$.ig.CollisionAvoidanceType.prototype.getBox(this.sz))}return a}else{return this.sz}},$type:new $.ig.Type("CartesianChart",$.ig.XYChart.prototype.$type)},true);$c("ShapeChart:a","CartesianChart",{kb:function(a,b,c){$$t.$b.kb.call(this,a,b,c)},provideContainer:function(a){$$t.$b.provideContainer.call(this,a);if(a!=null){if(this.s2()!=null){this.s2().provideRenderer(a)}if(this.s4()!=null){this.s4().provideRenderer(a)}this._ut=new $.ig.SRProvider(a);this._ac._q=this._ut.b1.runOn(this._ut)}},kc:function(a,b,c){$$t.$b.kc.call(this,a,b,c)},init:function(){$$t.$b.init.call(this);this.i7()},c7: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}()},uu:null,c6:function(){if(this.uu==null){this.uu=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.uu},_ut:null,ab: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},bb:function(a,b){var c=null;if(b==18){c=this.up(a,b)}else if(b==19){c=this.uq(a,b)}else{c=$$t.$b.bb.call(this,a,b)}c.expectFunctions(true);return c},up:function(a,b){var c=new $.ig.ScatterPolygonSeries;c.shapeMemberPath(a.getMemberPathFor(7));c.xAxis(this.s2());c.yAxis(this.s4());return c},uq:function(a,b){var c=new $.ig.ScatterPolylineSeries;c.shapeMemberPath(a.getMemberPathFor(7));c.xAxis(this.s2());c.yAxis(this.s4());return c},jk:function(a){$$t.$b.jk.call(this,a);this.dataChart().axes().add(this.s2());this.dataChart().axes().add(this.s4())},i2:function(a,b){$$t.$b.i2.call(this,a,b);var c=$b($.ig.ScatterPolygonSeries.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.a3(a,b))}},a2:function(a){if(a!=null){if(a.isScatter()&&a.isPolygon()){return 1}}return $$t.$b.a2.call(this,a)},ka:function(a,b,c){$$t.$b.ka.call(this,a,b,c);switch(a){case"ChartType":this.kt();break}},domainType:function(){return 3},ur:0,chartType:function(a){if(arguments.length===1){if(a!=this.ur){var b=this.chartType();this.ur=a;this.ka("ChartType",$$t.$e.getBox(b),$$t.$e.getBox(this.chartType()))}return a}else{return this.ur}},$type:new $.ig.Type("ShapeChart",$$t.$b.$type)},true);$c("ScatterChart:c","CartesianChart",{init:function(){$$t.$b.init.call(this)},c7: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}()},c6: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}()},ab: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},bb:function(a,b){var c=$$t.$b.bb.call(this,a,b);return c},jk:function(a){$$t.$b.jk.call(this,a);this.dataChart().axes().add(this.s2());this.dataChart().axes().add(this.s4())},i2:function(a,b){$$t.$b.i2.call(this,a,b);var c=$b($.ig.ScatterPolygonSeries.prototype.$type,a);if(c!=null){c.markerCollisionAvoidance(this.markerCollision());c.markerType(this.a3(a,b))}},a2:function(a){if(a!=null){if(a.isScatter()&&a.isPolygon()){return 1}}return $$t.$b.a2.call(this,a)},ka:function(a,b,c){$$t.$b.ka.call(this,a,b,c);switch(a){case"ChartType":this.kt();break}},domainType:function(){return 2},up:0,chartType:function(a){if(arguments.length===1){if(a!=this.up){var b=this.chartType();this.up=a;this.ka("ChartType",$$t.$d.getBox(b),$$t.$d.getBox(this.chartType()))}return a}else{return this.up}},$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;d<a.length;d++){var c=a[d];b.add(c)}return b},$type:new $.ig.Type("PriorityDataRule",$.ig.$ot,[$.ig.IDataSeriesAdapterRule.prototype.$type])},true);$c("BreakEvenDataRule:f","PriorityDataRule",{init:function(){$$t.$l.init.call(this);this.priority(100)},evaluate:function(a){var b=this.b(a);if(b!=null&&b._k!=0){this.d(a,b)}},d:function(a,b){var c=a.w("BreakEvenTitle_ProfitArea","Profit Area");var d=a.w("BreakEvenTitle_LossArea","Loss Area");var e=a.w("BreakEvenTitle_SafetyMargin","Safety Margin");var f=a.w("BreakEvenTitle_SalesRevenue","Sales Revenue");var g=a.w("BreakEvenTitle_TotalCost","Total Cost");var h=a.w("BreakEvenTitle_FixedCost","Fixed Cost");var i=a.w("BreakEvenTitle_VariableCost","Variable Cost");var j=a.w("BreakEvenTitle_MarginalProfit","Marginal Profit");var k=a.w("BreakEvenTitle_BreakEven","Break Even");var l=a.getCurrentPath();var m=new $.ig.DataSeries;m.data(this.c(b._ad));m.dataPath("PositiveRevenuePoints");m.addMemberPathHint2("Points",7);m.suggestedSeries(18);m.suggestedPrimaryAxis(1);m.suggestedSecondaryAxis(1);m.suggestedMarker(1);m.title(c);a.addDataSeries(m,this);var n=new $.ig.DataSeries;n.data(this.c(b._ab));n.dataPath("NegativeRevenuePoints");n.addMemberPathHint2("Points",7);n.suggestedSeries(18);n.suggestedPrimaryAxis(1);n.suggestedSecondaryAxis(1);n.suggestedMarker(1);n.title(d);a.addDataSeries(n,this);var o=new $.ig.DataSeries;o.data(this.c(b._ae));o.dataPath("ProfitPoints");o.addMemberPathHint2("Points",7);o.suggestedSeries(18);o.suggestedPrimaryAxis(1);o.suggestedSecondaryAxis(1);o.suggestedMarker(1);o.title(e);a.addDataSeries(o,this);var p=new $.ig.DataSeries;p.data(b._z);p.dataPath("SalesRevenue");p.addMemberPathHint2("SalesRevenue",2);p.addMemberPathHint2("Units",1);p.suggestedSeries(12);p.suggestedPrimaryAxis(1);p.suggestedSecondaryAxis(1);p.suggestedMarker(1);p.title(f);a.addDataSeries(p,this);this.e(p,a,b._t,l);var q=new $.ig.DataSeries;q.data(b._z);q.dataPath("TotalCost");q.addMemberPathHint2("TotalCost",2);q.addMemberPathHint2("Units",1);q.suggestedSeries(12);q.suggestedPrimaryAxis(1);q.suggestedSecondaryAxis(1);q.suggestedMarker(1);q.title(g);a.addDataSeries(q,this);var r=new $.ig.DataSeries;r.data(b._z);r.dataPath("FixedCost");r.addMemberPathHint2("FixedCost",2);r.addMemberPathHint2("Units",1);r.suggestedSeries(12);r.suggestedPrimaryAxis(1);r.suggestedSecondaryAxis(1);r.suggestedMarker(1);r.title(h);a.addDataSeries(r,this);this.e(r,a,b._r,l);var s=new $.ig.DataSeries;s.data(b._z);s.dataPath("VariableCost");s.addMemberPathHint2("VariableCost",2);s.addMemberPathHint2("Units",1);s.suggestedSeries(12);s.suggestedPrimaryAxis(1);s.suggestedSecondaryAxis(1);s.suggestedMarker(1);s.title(i);a.addDataSeries(s,this);this.e(s,a,b._w,l);var t=new $.ig.DataSeries;t.data(b._z);t.dataPath("MarginalProfit");t.addMemberPathHint2("MarginalProfit",2);t.addMemberPathHint2("Units",1);t.suggestedSeries(12);t.suggestedPrimaryAxis(1);t.suggestedSecondaryAxis(1);t.suggestedMarker(1);t.title(j);a.addDataSeries(t,this);if(b._s.hasPath()){this.e(o,a,b._s,l)}var u=new $.ig.DataSeries;u.data(b._aa);u.dataPath("BreakEvenLines");u.addMemberPathHint2("SalesRevenue",2);u.addMemberPathHint2("Units",1);u.suggestedSeries(12);u.suggestedPrimaryAxis(1);u.suggestedSecondaryAxis(1);u.suggestedMarker(1);u.title(k);a.addDataSeries(u,this);this.e(u,a,b._v,l)},c:function(a){var b=new $$4.x($$t.$g.$type,0);var c=new $$t.g;c.Points(a);b.add(c);return b},e:function(a,b,c,d){var e=new $.ig.DataSeriesMemberPathHint;e.intent(25);e.path(d+"."+c.path());a.addMemberPathHint(e)},b:function(a){var b=new $$t.i(a);if(b._n==0){return null}for(var c=0;c<b._n;c++){if(c==0){var d=this.a(b.b().getAllStringProperties());var e=this.a(b.b().getAllNumericProperties());b.p(e,null);b.q(d,null);if(!b._v.hasPath()||!b._t.hasPath()||!b._r.hasPath()||!b._w.hasPath()){return null}}var f=b._l.getItemAtIndex(c);var g=new $$t.h;g.FixedCost(parseFloat(b._l.getItemValue(f,b._r.path()).toString()));g.VariableCost(parseFloat(b._l.getItemValue(f,b._w.path()).toString()));g.Units(parseFloat(b._l.getItemValue(f,b._v.path()).toString()));g.SalesRevenue(parseFloat(b._l.getItemValue(f,b._t.path()).toString()));var h=NaN;if(b._s.hasPath()){h=parseFloat(b._l.getItemValue(f,b._s.path()).toString())}if($.ig.util.isNaN(h)||Number.isInfinity(h)){g.MarginalProfit(g.SalesRevenue()-g.VariableCost())}else{g.MarginalProfit(h)}b._ac.add(g)}b.af();b._k=4;return b},$type:new $.ig.Type("BreakEvenDataRule",$$t.$l.$type)},true);$c("BreakEvenPoints:g","Object",{init:function(){$.ig.$op.init.call(this)},_Points:null,Points:function(a){if(arguments.length===1){this._Points=a;return a}else{return this._Points}},$type:new $.ig.Type("BreakEvenPoints",$.ig.$ot)},true);$c("BreakEvenItem:h","Object",{init:function(){$.ig.$op.init.call(this)},_FixedCost:0,FixedCost:function(a){if(arguments.length===1){this._FixedCost=a;return a}else{return this._FixedCost}},_VariableCost:0,VariableCost:function(a){if(arguments.length===1){this._VariableCost=a;return a}else{return this._VariableCost}},_SalesRevenue:0,SalesRevenue:function(a){if(arguments.length===1){this._SalesRevenue=a;return a}else{return this._SalesRevenue}},_MarginalProfit:0,MarginalProfit:function(a){if(arguments.length===1){this._MarginalProfit=a;return a}else{return this._MarginalProfit}},_Units:0,Units:function(a){if(arguments.length===1){this._Units=a;return a}else{return this._Units}},_Ratio:0,Ratio:function(a){if(arguments.length===1){this._Ratio=a;return a}else{return this._Ratio}},ActualProfit:function(){return this.SalesRevenue()-this.VariableCost()-this.FixedCost()},TotalCost:function(){return this.FixedCost()+this.VariableCost()},$type:new $.ig.Type("BreakEvenItem",$.ig.$ot)},true);$c("ScatterDataInfo:n","Object",{init:function(a){$.ig.$op.init.call(this);this._a=a;this._l=a.getCurrentDataSource();if(this._l!=null){this._n=this._l.actualCount()}this._k=0;this._i=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(1);return $ret}();this._j=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(2);return $ret}();this._f=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(5);return $ret}();this._c=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(3);return $ret}();this._e=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(4);return $ret}();this._h=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(8);return $ret}();this._d=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(9);return $ret}();this._g=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(7);return $ret}()},_n:0,_a:null,b:function(){return this._a.analyzer()},_l:null,_k:0,_i:null,_j:null,_f:null,_c:null,_e:null,_h:null,_d:null,_g:null,q:function(a,b){if(a==null||a.count()==0){return}if(String.isNullOrEmpty(this._d.path())){var c=$$t.$r.r(a);if(c.count()>0){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;d<b.length;d++){var c=b[d];a.add(c)}return a},$type:new $.ig.Type("ScatterDataInfo",$.ig.$ot)},true);$c("BreakEvenDataInfo:i","ScatterDataInfo",{init:function(a){$$t.$n.init.call(this,a);this._z=new $$4.x($$t.$h.$type,0);this._ac=new $$4.x($$t.$h.$type,0);this._aa=new $$4.x($$t.$h.$type,0);this._v=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(19);return $ret}();this._r=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(20);return $ret}();this._w=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(21);return $ret}();this._u=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(22);return $ret}();this._t=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(23);return $ret}();this._s=function(){var $ret=new $.ig.DataSeriesMemberPathHint;$ret.intent(24);return $ret}()},_z:null,_aa:null,_ac:null,_y:null,_x:null,_ae:null,_ab:null,_ad:null,_r:null,_w:null,_u:null,_t:null,_s:null,_v:null,af:function(){this._aa.clear();this._z.clear();this._z.addRange(this._ac);if(this._z.count()==1){var a=new $$t.h;a.FixedCost(this._ac.__inner[0].FixedCost());a.VariableCost(0);a.MarginalProfit(0);a.SalesRevenue(0);a.Units(0);this._z.add(a)}this._y=function(){var $ret=new $$t.h;$ret.MarginalProfit(1.7976931348623157e308);$ret.VariableCost(1.7976931348623157e308);$ret.FixedCost(1.7976931348623157e308);$ret.SalesRevenue(1.7976931348623157e308);$ret.Units(1.7976931348623157e308);return $ret}();this._x=function(){var $ret=new $$t.h;$ret.MarginalProfit(-1.7976931348623157e308);$ret.VariableCost(-1.7976931348623157e308);$ret.FixedCost(-1.7976931348623157e308);$ret.SalesRevenue(-1.7976931348623157e308);$ret.Units(-1.7976931348623157e308);return $ret}();var c=this._z.getEnumerator();while(c.moveNext()){var b=c.current();this._y.VariableCost(Math.min(this._y.VariableCost(),b.VariableCost()));this._x.VariableCost(Math.max(this._x.VariableCost(),b.VariableCost()));this._y.FixedCost(Math.min(this._y.FixedCost(),b.FixedCost()));this._x.FixedCost(Math.max(this._x.FixedCost(),b.FixedCost()));this._y.Units(Math.min(this._y.Units(),b.Units()));this._x.Units(Math.max(this._x.Units(),b.Units()));this._y.MarginalProfit(Math.min(this._y.MarginalProfit(),b.MarginalProfit()));this._x.MarginalProfit(Math.max(this._x.MarginalProfit(),b.MarginalProfit()));this._y.SalesRevenue(Math.min(this._y.SalesRevenue(),b.SalesRevenue()));this._x.SalesRevenue(Math.max(this._x.SalesRevenue(),b.SalesRevenue()))}var d=new $$t.j(0,this._y.Units(),this._y.MarginalProfit(),this._x.Units(),this._x.MarginalProfit());var e=new $$t.j(0,this._y.Units(),this._y.SalesRevenue(),this._x.Units(),this._x.SalesRevenue());var f=new $$t.j(0,this._y.Units(),this._y.TotalCost(),this._x.Units(),this._x.TotalCost());var g=new $$t.j(0,this._y.Units(),this._y.FixedCost(),this._x.Units(),this._x.FixedCost());var h=$$t.$k.a(e,f);var i=$$t.$k.a(d,g);var j=new $$t.h;j.FixedCost(this._z.__inner[0].FixedCost());j.VariableCost(h.__y-j.FixedCost());j.SalesRevenue(h.__y);j.MarginalProfit(i.__y);j.Units(h.__x);var k=new $$t.h;k.SalesRevenue(h.__y);k.Units(h.__x);var l=new $$t.h;l.SalesRevenue(i.__y);l.Units(i.__x);var m=new $$t.h;m.SalesRevenue(h.__y);m.Units(this._y.Units());var n=new $$t.h;n.SalesRevenue(0);n.Units(h.__x);this._aa.add(m);this._aa.add(k);this._aa.add(n);this._ae=new $$4.x($$4.$x.$type.specialize($$a.$y.$type),0);this._ae.add(function(){var $ret=new $$4.x($$a.$y.$type,0);$ret.add(i);$ret.add(g._f);$ret.add(d._f);return $ret}());this._ab=new $$4.x($$4.$x.$type.specialize($$a.$y.$type),0);this._ab.add(function(){var $ret=new $$4.x($$a.$y.$type,0);$ret.add(h);$ret.add(e._g);$ret.add(f._g);return $ret}());this._ad=new $$4.x($$4.$x.$type.specialize($$a.$y.$type),0);this._ad.add(function(){var $ret=new $$4.x($$a.$y.$type,0);$ret.add(h);$ret.add(f._f);$ret.add(e._f);return $ret}())},p:function(a,b){if(a==null||a.count()==0){return}this._w.update($$t.$r.ab(a),b);this._r.update($$t.$r.q(a),b);this._u.update($$t.$r.z(a),b);this._t.update($$t.$r.w(a),b);this._s.update($$t.$r.v(a),b);this._v.update($$t.$r.x(a),b)},$type:new $.ig.Type("BreakEvenDataInfo",$$t.$n.$type)},true);$c("LineEquation:j","Object",{init:function(a,b,c,d,e){if(a>0){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;c<b._n;c++){var d=b._l.getItemAtIndex(c);if(c==0){var e=this.a(a.analyzer().getAllStringProperties());var f=this.a(a.analyzer().getAllNumericProperties());b.p(f,null);b.q(e,null);var g=b.b().getAllPropertiesWithName("ShapeType");if(g.length>0){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<l.count();m++){if(l.__inner[m]=="string"){e.add(k.__inner[m])}else{f.add(k.__inner[m])}}b.p(f,"fieldValues[NAME]");b.q(e,"fieldValues[NAME]")}}}var n=this.a(a.analyzer().getAllObjectProperties());b.o(n,null)}if(!b._g.hasPath()){b._s=b._n;if(b._k==0){if(b._i.hasPath()&&b._j.hasPath()){b._k=3}}else{b._k=0}break}else{var o=b._l.getItemValue(d,b._g.path());if(o!=null&&a.analyzer().isCollection(o)){b._t=Math.max(b._l.actualCount(),b._t);b._u+=b._l.actualCount();var p=a.getSubProvider(o,b._g.path());if(p.actualCount()==0){continue}for(var q=0;q<p.actualCount();q++){var r=p.getItemAtIndex(q);if(r==null||!a.analyzer().isCollection(r)){continue}b._r=Math.max(p.actualCount(),b._r);b._s+=p.actualCount();var s=a.getSubProvider(r,"["+q+"]");var t=s.actualCount();if(t==0){continue}if(c==0&&q==0&&(!b._i.hasPath()||!b._j.hasPath())){var u=this.a(a.analyzer().getAllNumericProperties());var v=b._g.path()+"[0][0].NAME";b.p(u,v)}if(b._k==0){if(s.actualCount()==1){b._k=3}else{var w=this.g(s.getItemAtIndex(0));var x=this.g(s.getItemAtIndex(t-1));if(w.__x==x.__x&&w.__y==x.__y){b._k=2}else{b._k=1}}}a.popSubProvider()}a.popSubProvider();if(b._k==0){if(b._s==b._n||b._t==1){b._k=3}if(b._h.hasPath()){b._k=1}}}}}return b},g:function(a){if(a==null){return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if($b($$a.$y.$type,a)!==null){return a}var p_=a;if(p_.__x&&p_.__y){return a}if(p_.x&&p_.y){return{__x:p_.x,__y:p_.y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},$type:new $.ig.Type("ScatterDataRule",$$t.$l.$type)},true);$c("ShapeDataInfo:o","ScatterDataInfo",{init:function(a){$$t.$n.init.call(this,a);this._u=0;this._t=0;this._r=0;this._s=0},_u:0,_t:0,_r:0,_s:0,$type:new $.ig.Type("ShapeDataInfo",$$t.$n.$type)},true);$c("ShapeDataRule:p","ScatterDataRule",{init:function(){$$t.$m.init.call(this);this.priority(20)},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._g.hasPath()){c.addMemberPathHint(b._g)}if(b._k==0){c.suggestedSeries(24)}else if(b._k==3){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._c.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())}}else if(b._k==1){c.suggestedSeries(19)}else if(b._k==2){c.suggestedSeries(18)}c.suggestedPrimaryAxis(1);c.suggestedSecondaryAxis(1);c.title(a.analyzer().expandCamelCasedWords(c.title()));a.addDataSeries(c,this)},$type:new $.ig.Type("ShapeDataRule",$$t.$m.$type)},true);$c("ShapeChartUtils:r","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){if(a==13||a==3){return 1}if(a==15||a==5){return 2}if(a==1){return 3}return 0},ad:function(a){return $$t.$r.t($$t.$r.o,a)},o:function(a){a=a.toLowerCase();return String.equalsStatic(a,"y")||String.equalsStatic(a,"yvalue")||String.equalsStatic(a,"ycolumn")||String.equalsStatic(a,"ypoint")||String.equalsStatic(a,"ylocation")||String.equalsStatic(a,"ycoordinate")||String.equalsStatic(a,"ydimension")||String.equalsStatic(a,"lat")||String.equalsStatic(a,"latitude")},ac:function(a){return $$t.$r.t($$t.$r.n,a)},n:function(a){a=a.toLowerCase();return String.equalsStatic(a,"x")||String.equalsStatic(a,"xvalue")||String.equalsStatic(a,"xcolumn")||String.equalsStatic(a,"xpoint")||String.equalsStatic(a,"xlocation")||String.equalsStatic(a,"xcoordinate")||String.equalsStatic(a,"xdimension")||String.equalsStatic(a,"lon")||String.equalsStatic(a,"longitude")},u:function(a){return $$t.$r.t($$t.$r.f,a)},f:function(a){a=a.toLowerCase();return String.equalsStatic(a,"r")||String.equalsStatic(a,"radius")||String.equalsStatic(a,"radiusvalue")||String.equalsStatic(a,"rvalue")||String.equalsStatic(a,"rcolumn")||String.equalsStatic(a,"rdimension")||String.equalsStatic(a,"bubble")||String.equalsStatic(a,"bubblesize")||String.equalsStatic(a,"size")},aa:function(a){return $$t.$r.t($$t.$r.l,a)},l:function(a){a=a.toLowerCase();return String.equalsStatic(a,"v")||String.equalsStatic(a,"value")||String.equalsStatic(a,"vcolumn")||String.equalsStatic(a,"z")||String.equalsStatic(a,"zvalue")||String.equalsStatic(a,"zcolumn")||String.equalsStatic(a,"zdimension")||String.equalsStatic(a,"zcoordinate")||String.equalsStatic(a,"magnitude")||String.equalsStatic(a,"elevation")||String.equalsStatic(a,"depth")||String.equalsStatic(a,"capacity")||String.equalsStatic(a,"distance")},p:function(a){return $$t.$r.t($$t.$r.b,a)},b:function(a){a=a.toLowerCase();return String.equalsStatic(a,"f")||String.equalsStatic(a,"fill")||String.equalsStatic(a,"fillvalue")||String.equalsStatic(a,"fvalue")||String.equalsStatic(a,"fcolumn")||String.equalsStatic(a,"color")||String.equalsStatic(a,"colorvalue")||String.equalsStatic(a,"cvalue")||String.equalsStatic(a,"ccolumn")},s:function(a){return $$t.$r.t($$t.$r.e,a)},e:function(a){a=a.toLowerCase();return String.equalsStatic(a,"l")||String.equalsStatic(a,"label")||String.equalsStatic(a,"lvalue")||String.equalsStatic(a,"lcolumn")||String.equalsStatic(a,"n")||String.equalsStatic(a,"name")||String.equalsStatic(a,"nvalue")||String.equalsStatic(a,"ncolumn")},r:function(a){return $$t.$r.t($$t.$r.d,a)},d:function(a){a=a.toLowerCase();return String.equalsStatic(a,"g")||String.equalsStatic(a,"groupping")||String.equalsStatic(a,"group")||String.equalsStatic(a,"gvalue")||String.equalsStatic(a,"gcolumn")||String.equalsStatic(a,"region")||String.equalsStatic(a,"type")},y:function(a){return $$t.$r.t($$t.$r.j,a)},j:function(a){a=a.toLowerCase();return String.equalsStatic(a,"points")||String.equalsStatic(a,"shapes")||String.equalsStatic(a,"locations")||String.equalsStatic(a,"positions")||String.equalsStatic(a,"coordinates")||String.equalsStatic(a,"vectors")},v:function(a){return $$t.$r.t($$t.$r.g,a)},g:function(a){a=a.toLowerCase();return a.contains("marginalprofit")},w:function(a){return $$t.$r.t($$t.$r.h,a)},h:function(a){a=a.toLowerCase();return a.contains("revenue")||a.contains("totalsales")},q:function(a){return $$t.$r.t($$t.$r.c,a)},c:function(a){a=a.toLowerCase();return a.contains("fixedcost")||a.contains("fixedexpense")},ab:function(a){return $$t.$r.t($$t.$r.m,a)},m:function(a){a=a.toLowerCase();return a.contains("variablecost")||a.contains("variableexpense")},z:function(a){return $$t.$r.t($$t.$r.k,a)},k:function(a){a=a.toLowerCase();return a.contains("totalcost")||a.contains("totalexpense")},x:function(a){return $$t.$r.t($$t.$r.i,a)},i:function(a){a=a.toLowerCase();return a.contains("units")||a.contains("volume")||a.contains("quantity")},t:function(a,b){var c=new $$4.x(String,0);for(var d=0;d<b.count();d++){if(a(b.item(d))){c.add(b.item(d));b.removeAt(d);d--}}return c},$type:new $.ig.Type("ShapeChartUtils",$.ig.$ot)},true)});