/*!@license * Infragistics.Web.ClientUI infragistics.lineargauge.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.dv_interactivity.js * infragistics.dv_visualdata.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.dv_interactivity","./infragistics.dv_visualdata","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$a6=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$al=$.ig.globalDefs.$$al;$$ap=$.ig.globalDefs.$$ap;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["XamLinearGaugeView:b","FormatLinearGraphLabelHandler:r","AlignLinearGraphLabelHandler:t","XamLinearGauge:x"]);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("TitlesPosition:e",false,false,{ScaleStart:0,ScaleEnd:1});$d("LinearScaleOrientation:d",false,false,{Horizontal:0,Vertical:1});$d("LinearGraphNeedleShape:c",false,false,{Custom:0,Rectangle:1,Triangle:2,Needle:3,Trapezoid:4});$c("MorphSegment:a","Object",{init:function(){$.ig.$op.init.call(this);this.f=new $$4.x($$a.$y.$type,0);this.g=new $$4.x($$a.$y.$type,0)},f:null,g:null,b:false,h:0,e:false,a:false,d:false,c:false,i:function(a){this.g.clear();var b=20;if(this.b){var c;var d;var e;if(this.f.count()==0){d={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{d=this.f.__inner[0];e=this.f.__inner[1]}var f=$.ig.GeometryUtil.prototype.l(d,e,this.h,!this.c,this.d);var g=$.ig.GeometryUtil.prototype.e(f,d);var h=$.ig.GeometryUtil.prototype.e(f,e);while(this.c&&hg){h-=Math.PI*2}var i=0;for(var j=0;j1){var k=new $$a.bh;g=k;var l=h.__inner[1];k._e={__x:d+c*l.__x,__y:e+c*l.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};k._b=f.d;k._d=f.c?1:0;k._f=new $$a.af(1,f.h*c,f.h*c);a=k._e}}else{var m=new $$a.bg;g=m;if(i>1){var n;var o=m.__points;for(var p=1;p0){var g=["border-top-color","border-top-width","border-top-style","border-top-left-radius","background-color","padding-top","font-weight"];var h=["border-color","border-width","border-style","border-radius","background-color","padding","font-weight"];var i=function(){var $ret=new $$4.x(String,0);$ret.add($self._k.brush().color().colorString());$ret.add("2px");$ret.add("solid");$ret.add("4px");$ret.add("rgba(230, 230, 230, 0.74)");$ret.add("4px");$ret.add("bold");return $ret}();var j=new $$4.h(String,String,0);var k=new Array(g.length);$.ig.util.arrayCopy1(g,0,k,0,g.length);this.b(e,k);for(var l=0;l0||this._c.f.count()>0){f=this._b.l(f,g,a,b,c);f=this._c.l(f,g,a,b,c);g.__isClosed=true;d._b.add(g)}return d},$type:new $.ig.Type("LinearGraphNeedleFrame",$.ig.$ot)},true);$c("LinearGraphRectFrame:i","Object",{init:function(){$.ig.$op.init.call(this)},e:0,f:0,b:0,c:0,g:0,d:0,i:null,j:null,h:0,k:function(a,b,c,d){var $self=this;var e=new $$a.a7;var f=new $$a.a8;var g,h,i,j;if(d==1){g=function(){var $ret=new $$a.bd(1);$ret.c({__x:a.__x+b*$self.b,__y:c-$self.d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();h=function(){var $ret=new $$a.bd(1);$ret.c({__x:a.__x+b*$self.c,__y:c-$self.d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();i=function(){var $ret=new $$a.bd(1);$ret.c({__x:a.__x+b*$self.f,__y:c-$self.g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();j=function(){var $ret=new $$a.bd(1);$ret.c({__x:a.__x+b*$self.e,__y:c-$self.g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}()}else{g=function(){var $ret=new $$a.bd(1);$ret.c({__x:$self.g,__y:b*(1-$self.f),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();h=function(){var $ret=new $$a.bd(1);$ret.c({__x:$self.d,__y:b*(1-$self.c),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();i=function(){var $ret=new $$a.bd(1);$ret.c({__x:$self.d,__y:b*(1-$self.b),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();j=function(){var $ret=new $$a.bd(1);$ret.c({__x:$self.g,__y:b*(1-$self.e),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}()}f.__startPoint=g.c();f.__segments.add(h);f.__segments.add(i);f.__segments.add(j);f.__isClosed=true;e._b.add(f);return e},a:function(a,b,c,d){var e=new $$t.i;e.i=$.ig.BrushUtil.prototype.g(c.i,a,d.i,0);e.j=$.ig.BrushUtil.prototype.g(c.j,a,d.j,0);e.h=b*c.h+a*d.h;e.e=b*c.e+a*d.e;e.f=b*c.f+a*d.f;e.g=b*c.g+a*d.g;e.d=b*c.d+a*d.d;e.b=b*c.b+a*d.b;e.c=b*c.c+a*d.c;return e},$type:new $.ig.Type("LinearGraphRectFrame",$.ig.$ot)},true);$c("LinearGraphScaleFrame:j","Object",{init:function(){$.ig.$op.init.call(this);this._m=new $$4.x($$t.$i.$type,0);this._j=new Array(0);this._i=new Array(0);this._e=new Array(0);this._d=new Array(0);this._f=new Array(0);this._c=new Array(0);this._g=new Array(0);this._h=new Array(0);this._l=new $$t.i},_m:null,_u:0,_r:0,_s:0,_t:0,_l:null,_j:null,_w:0,_v:0,_ad:null,_x:0,_i:null,_p:0,_o:0,_ac:null,_q:0,_e:null,_d:null,_f:null,_c:null,_g:null,_h:null,_n:0,_ab:null,ae:function(a,b,c,d){var $self=this;var e=new $$a.a7;var f=new $$a.a8;var g=a.__x;var h=a.__y;var i,j,k,l;if(d==1){i=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+b*$self._s,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();j=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+b*$self._t,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();k=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+b*$self._t,__y:h+c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();l=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+b*$self._s,__y:h+c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}()}else{i=function(){var $ret=new $$a.bd(1);$ret.c({__x:g,__y:b*(1-$self._t),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();j=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+c,__y:b*(1-$self._t),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();k=function(){var $ret=new $$a.bd(1);$ret.c({__x:g+c,__y:b*(1-$self._s),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();l=function(){var $ret=new $$a.bd(1);$ret.c({__x:g,__y:b*(1-$self._s),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}()}f.__startPoint=i.c();f.__segments.add(j);f.__segments.add(k);f.__segments.add(l);f.__isClosed=true;e._b.add(f);return e},y:function(a,b,c){this._ad=$.ig.BrushUtil.prototype.g(b._ad,a,c._ad,0);this._ac=$.ig.BrushUtil.prototype.g(b._ac,a,c._ac,0);if(b._ab==null&&c._ab==null){this._ab=null}else{this._ab=$.ig.BrushUtil.prototype.g(b._ab,a,c._ab,0)}this._u=b._u+(c._u-b._u)*a;this._r=b._r+(c._r-b._r)*a;this._s=b._s+(c._s-b._s)*a;this._t=b._t+(c._t-b._t)*a;this._n=b._n+(c._n-b._n)*a;this._w=b._w+(c._w-b._w)*a;this._v=b._v+(c._v-b._v)*a;this._p=b._p+(c._p-b._p)*a;this._o=b._o+(c._o-b._o)*a;this._x=b._x+(c._x-b._x)*a;this._q=b._q+(c._q-b._q)*a;this._j=this.a(a,this._j,b._j,c._j);this._i=this.a(a,this._i,b._i,c._i);this._e=this.a(a,this._e,b._e,c._e);this._f=this.a(a,this._f,b._f,c._f);this._c=this.a(a,this._c,b._c,c._c);this._g=this.a(a,this._g,b._g,c._g);this._h=this.a(a,this._h,b._h,c._h);this._d=this.b(a,this._d,b._d,c._d);this.aa(a,this._m,b._m,c._m);this._l=this.k(a,b._l,c._l)},a:function(a,b,c,d){var e=Math.max(c.length,d.length);var f=Math.min(c.length,d.length);if(b.length!=e){b=new Array(e)}var g=0;if(c.length>0){g=c[c.length-1]}var h=0;if(d.length>0){h=d[d.length-1]}var i=c.length>d.length;var j=0;for(j=0;j0){g=c[c.length-1]}var h=null;if(d.length>0){h=d[d.length-1]}var i=c.length>d.length;var j=0;for(j=0;j0},formatLabel:null,alignLabel:null,valueChanged:null,_am:null,_al:null,_ak:null,_ap:null,orientation:function(a){if(arguments.length===1){this.h($$t.$x.orientationProperty,$$t.$d.getBox(a));return a}else{return $g(this.c($$t.$x.orientationProperty))}},ranges:function(a){if(arguments.length===1){this.h($$t.$x.rangesProperty,a);return a}else{return this.c($$t.$x.rangesProperty)}},rangeBrushes:function(a){if(arguments.length===1){this.h($$t.$x.rangeBrushesProperty,a);return a}else{return this.c($$t.$x.rangeBrushesProperty)}},rangeOutlines:function(a){if(arguments.length===1){this.h($$t.$x.rangeOutlinesProperty,a);return a}else{return this.c($$t.$x.rangeOutlinesProperty)}},minimumValue:function(a){if(arguments.length===1){this.h($$t.$x.minimumValueProperty,a);return a}else{return this.c($$t.$x.minimumValueProperty)}},bl:0,actualMinimumValue:function(a){if(arguments.length===1){this.bl=a;return a}else{return this.bl}},maximumValue:function(a){if(arguments.length===1){this.h($$t.$x.maximumValueProperty,a);return a}else{return this.c($$t.$x.maximumValueProperty)}},bk:0,actualMaximumValue:function(a){if(arguments.length===1){this.bk=a;return a}else{return this.bk}},value:function(a){if(arguments.length===1){this.h($$t.$x.valueProperty,a);return a}else{return this.c($$t.$x.valueProperty)}},needleShape:function(a){if(arguments.length===1){this.h($$t.$x.needleShapeProperty,$$t.$c.getBox(a));return a}else{return $g(this.c($$t.$x.needleShapeProperty))}},needleName:function(a){if(arguments.length===1){this.h($$t.$x.needleNameProperty,a);return a}else{return this.c($$t.$x.needleNameProperty)}},rangeInnerExtent:function(a){if(arguments.length===1){this.h($$t.$x.rangeInnerExtentProperty,a);return a}else{return this.c($$t.$x.rangeInnerExtentProperty)}},scaleInnerExtent:function(a){if(arguments.length===1){this.h($$t.$x.scaleInnerExtentProperty,a);return a}else{return this.c($$t.$x.scaleInnerExtentProperty)}},rangeOuterExtent:function(a){if(arguments.length===1){this.h($$t.$x.rangeOuterExtentProperty,a);return a}else{return this.c($$t.$x.rangeOuterExtentProperty)}},scaleOuterExtent:function(a){if(arguments.length===1){this.h($$t.$x.scaleOuterExtentProperty,a);return a}else{return this.c($$t.$x.scaleOuterExtentProperty)}},needleInnerExtent:function(a){if(arguments.length===1){this.h($$t.$x.needleInnerExtentProperty,a);return a}else{return this.c($$t.$x.needleInnerExtentProperty)}},needleOuterExtent:function(a){if(arguments.length===1){this.h($$t.$x.needleOuterExtentProperty,a);return a}else{return this.c($$t.$x.needleOuterExtentProperty)}},needleInnerBaseWidth:function(a){if(arguments.length===1){this.h($$t.$x.needleInnerBaseWidthProperty,a);return a}else{return this.c($$t.$x.needleInnerBaseWidthProperty)}},needleOuterBaseWidth:function(a){if(arguments.length===1){this.h($$t.$x.needleOuterBaseWidthProperty,a);return a}else{return this.c($$t.$x.needleOuterBaseWidthProperty)}},needleInnerPointWidth:function(a){if(arguments.length===1){this.h($$t.$x.needleInnerPointWidthProperty,a);return a}else{return this.c($$t.$x.needleInnerPointWidthProperty)}},needleOuterPointWidth:function(a){if(arguments.length===1){this.h($$t.$x.needleOuterPointWidthProperty,a);return a}else{return this.c($$t.$x.needleOuterPointWidthProperty)}},needleInnerPointExtent:function(a){if(arguments.length===1){this.h($$t.$x.needleInnerPointExtentProperty,a);return a}else{return this.c($$t.$x.needleInnerPointExtentProperty)}},needleOuterPointExtent:function(a){if(arguments.length===1){this.h($$t.$x.needleOuterPointExtentProperty,a);return a}else{return this.c($$t.$x.needleOuterPointExtentProperty)}},interval:function(a){if(arguments.length===1){this.h($$t.$x.intervalProperty,a);return a}else{return this.c($$t.$x.intervalProperty)}},ticksPostInitial:function(a){if(arguments.length===1){this.h($$t.$x.ticksPostInitialProperty,a);return a}else{return this.c($$t.$x.ticksPostInitialProperty)}},ticksPreTerminal:function(a){if(arguments.length===1){this.h($$t.$x.ticksPreTerminalProperty,a);return a}else{return this.c($$t.$x.ticksPreTerminalProperty)}},labelInterval:function(a){if(arguments.length===1){this.h($$t.$x.labelIntervalProperty,a);return a}else{return this.c($$t.$x.labelIntervalProperty)}},labelExtent:function(a){if(arguments.length===1){this.h($$t.$x.labelExtentProperty,a);return a}else{return this.c($$t.$x.labelExtentProperty)}},labelsPostInitial:function(a){if(arguments.length===1){this.h($$t.$x.labelsPostInitialProperty,a);return a}else{return this.c($$t.$x.labelsPostInitialProperty)}},labelsPreTerminal:function(a){if(arguments.length===1){this.h($$t.$x.labelsPreTerminalProperty,a);return a}else{return this.c($$t.$x.labelsPreTerminalProperty)}},minorTickCount:function(a){if(arguments.length===1){this.h($$t.$x.minorTickCountProperty,a);return a}else{return this.c($$t.$x.minorTickCountProperty)}},tickStartExtent:function(a){if(arguments.length===1){this.h($$t.$x.tickStartExtentProperty,a);return a}else{return this.c($$t.$x.tickStartExtentProperty)}},tickEndExtent:function(a){if(arguments.length===1){this.h($$t.$x.tickEndExtentProperty,a);return a}else{return this.c($$t.$x.tickEndExtentProperty)}},tickStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$x.tickStrokeThicknessProperty,a);return a}else{return this.c($$t.$x.tickStrokeThicknessProperty)}},tickBrush:function(a){if(arguments.length===1){this.h($$t.$x.tickBrushProperty,a);return a}else{return this.c($$t.$x.tickBrushProperty)}},fontBrush:function(a){if(arguments.length===1){this.h($$t.$x.fontBrushProperty,a);return a}else{return this.c($$t.$x.fontBrushProperty)}},needleBreadth:function(a){if(arguments.length===1){this.h($$t.$x.needleBreadthProperty,a);return a}else{return this.c($$t.$x.needleBreadthProperty)}},needleBrush:function(a){if(arguments.length===1){this.h($$t.$x.needleBrushProperty,a);return a}else{return this.c($$t.$x.needleBrushProperty)}},needleOutline:function(a){if(arguments.length===1){this.h($$t.$x.needleOutlineProperty,a);return a}else{return this.c($$t.$x.needleOutlineProperty)}},needleStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$x.needleStrokeThicknessProperty,a);return a}else{return this.c($$t.$x.needleStrokeThicknessProperty)}},minorTickStartExtent:function(a){if(arguments.length===1){this.h($$t.$x.minorTickStartExtentProperty,a);return a}else{return this.c($$t.$x.minorTickStartExtentProperty)}},minorTickEndExtent:function(a){if(arguments.length===1){this.h($$t.$x.minorTickEndExtentProperty,a);return a}else{return this.c($$t.$x.minorTickEndExtentProperty)}},minorTickStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$x.minorTickStrokeThicknessProperty,a);return a}else{return this.c($$t.$x.minorTickStrokeThicknessProperty)}},minorTickBrush:function(a){if(arguments.length===1){this.h($$t.$x.minorTickBrushProperty,a);return a}else{return this.c($$t.$x.minorTickBrushProperty)}},isScaleInverted:function(a){if(arguments.length===1){this.h($$t.$x.isScaleInvertedProperty,a);return a}else{return this.c($$t.$x.isScaleInvertedProperty)}},backingBrush:function(a){if(arguments.length===1){this.h($$t.$x.backingBrushProperty,a);return a}else{return this.c($$t.$x.backingBrushProperty)}},backingOutline:function(a){if(arguments.length===1){this.h($$t.$x.backingOutlineProperty,a);return a}else{return this.c($$t.$x.backingOutlineProperty)}},backingStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$x.backingStrokeThicknessProperty,a);return a}else{return this.c($$t.$x.backingStrokeThicknessProperty)}},backingInnerExtent:function(a){if(arguments.length===1){this.h($$t.$x.backingInnerExtentProperty,a);return a}else{return this.c($$t.$x.backingInnerExtentProperty)}},backingOuterExtent:function(a){if(arguments.length===1){this.h($$t.$x.backingOuterExtentProperty,a);return a}else{return this.c($$t.$x.backingOuterExtentProperty)}},scaleStartExtent:function(a){if(arguments.length===1){this.h($$t.$x.scaleStartExtentProperty,a);return a}else{return this.c($$t.$x.scaleStartExtentProperty)}},scaleEndExtent:function(a){if(arguments.length===1){this.h($$t.$x.scaleEndExtentProperty,a);return a}else{return this.c($$t.$x.scaleEndExtentProperty)}},scaleBrush:function(a){if(arguments.length===1){this.h($$t.$x.scaleBrushProperty,a);return a}else{return this.c($$t.$x.scaleBrushProperty)}},scaleOutline:function(a){if(arguments.length===1){this.h($$t.$x.scaleOutlineProperty,a);return a}else{return this.c($$t.$x.scaleOutlineProperty)}},scaleStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$x.scaleStrokeThicknessProperty,a);return a}else{return this.c($$t.$x.scaleStrokeThicknessProperty)}},a8:function(a){if(arguments.length===1){this.h($$t.$x.f9,a);return a}else{return this.c($$t.$x.f9)}},a1:false,isNeedleDraggingEnabled:function(a){if(arguments.length===1){this.h($$t.$x.isNeedleDraggingEnabledProperty,a);return a}else{return this.c($$t.$x.isNeedleDraggingEnabledProperty)}},transitionDuration:function(a){if(arguments.length===1){this.h($$t.$x.transitionDurationProperty,a);return a}else{return $h(this.c($$t.$x.transitionDurationProperty))}},showToolTipTimeout:function(a){if(arguments.length===1){this.h($$t.$x.showToolTipTimeoutProperty,a);return a}else{return $h(this.c($$t.$x.showToolTipTimeoutProperty))}},toolTip:function(a){if(arguments.length===1){this.h($$t.$x.toolTipProperty,a);return a}else{return this.c($$t.$x.toolTipProperty)}},_showToolTip:false,showToolTip:function(a){if(arguments.length===1){this._showToolTip=a;return a}else{return this._showToolTip}},font:function(a){if(arguments.length===1){this.h($$t.$x.fontProperty,a);return a}else{return this.c($$t.$x.fontProperty)}},_az:null,_ax:null,_aw:null,_a0:null,_ay:null,getValueForPoint:function(a){var b=0;var c=a.__x;if(this.orientation()==1){b=a.__y;c=this.hy().height()}return this._ap.k(c-b)},bi:null,ht:null,needleContainsPoint:function(a){if(this.bi==null){return false}return $.ig.PolygonUtil.prototype.a(this.bi,a)},needleContainsPoint1:function(a,b){if(this.bi==null){return false}return b?this.ht.containsPoint(a):$.ig.PolygonUtil.prototype.a(this.bi,a)},e2:function(a,b){var c=this.getValueForPoint(a);c=Math.max(Math.min(c,this.actualMaximumValue()),this.actualMinimumValue());if(c!=this.value()){this.value(c)}},exportVisualData:function(){var $self=this;var a=new $$t.ak;a.viewport(new $.ig.RectData(this.hy().left(),this.hy().top(),this.hy().width(),this.hy().height()));a.scaleLabels(new $$t.aa);a.scaleTickmarks(new $$t.ac);a.ranges(new $$t.ae);a.needle(function(){var $ret=new $$t.aj;$ret.value($self.value());return $ret}());this.view().a0(a);var b=this.view().l();if(b!=null){var c=null;switch(b._c){case"range":c=a.ranges().__inner[b._b];break;case"needle":c=a.needle();break}a.toolTip(function(){var $ret=new $$t.ag;$ret.item(c);$ret.itemBrush($.ig.AppearanceHelper.prototype.b(b._a.brush()));$ret.outline($.ig.AppearanceHelper.prototype.b(b._a.outline()));$ret.thickness(b._a.thickness());return $ret}())}return a},exportSerializedVisualData:function(){var a=this.exportVisualData();a.scaleByViewport();return a.serialize()},flush:function(){this.view().flush()},destroy:function(){this.provideContainer(null)},provideContainer:function(a){this.view().a9(a)},onMouseOver:function(a,b,c){if(this.showToolTip()){this.fr(a,null)}},onMouseLeave:function(){if(this.showToolTip()){this.fr({__x:-1e4,__y:-1e4,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},null)}},onMouseMove:function(a,b){if(this.a1){this.e2(a,b)}},onMouseDown:function(a,b){if(this.isNeedleDraggingEnabled()&&!this.a1&&this.needleContainsPoint1(a,b)){this.a1=true}},a4:function(){return this.a1},onMouseUp:function(a){if(this.a1){this.a1=false}},containerResized:function(){this.view().ba()},styleUpdated:function(){this.view().bu()},fr:function(a,b){var c=this.bi;if(c!=null&&c.count()>0){var d=$.ig.PolygonUtil.prototype.a(c,a);if(d==true){this.view().bt(a,b,-1,"needle");return}}for(var e=0;e0){var h=$.ig.PolygonUtil.prototype.a(this.bj(g.__inner[0]),a);if(h==true){this.view().bt(a,b,e,"range");return}}}this.view().a3()},fl:function(){if(!this._a3){return}var a=this._al.c();if(this.orientation()==0){var b=0;for(var c=0;c=b?this.hy().height()-b:this.hy().height();this.hx(new $$a.ae(0,0,0,this.hy().width(),d))}else{var e=0;for(var f=0;f=e?this.hy().width()-e:this.hy().width();this.hx(new $$a.ae(0,e,0,g,this.hy().height()))}},_view:null,view:function(a){if(arguments.length===1){this._view=a;return a}else{return this._view}},hv:null,hy:function(a){if(arguments.length===1){var b=this.hv;this.hv=a;if(!b.equals1(this.hv)){this.fc(b,this.hv)}return a}else{return this.hv}},hu:null,hx:function(a){if(arguments.length===1){this.hu=a;return a}else{return this.hu}},hs:null,hw:function(a){if(arguments.length===1){this.hs=a;return a}else{return this.hs}},a7:function(){return!$.ig.util.isNaN(this.actualMinimumValue())&&!$.ig.util.isNaN(this.actualMaximumValue())&&!this.hy().isEmpty()&&this.view().s()},ez:function(){if(!this.a7()){return}var a=this.cp();this._ap=new $$t.m(this.actualMinimumValue(),this.actualMaximumValue(),a,a+this.cn(),this.isScaleInverted());if(this._a3){if(this.animating()){if(this._at.needsFlush()){this._at.flush()}var b=this._am;this._am=this._ak;this._ak=b}else{var c=this._am;this._am=this._al;this._al=c}}else if(this.animating()){this._ak.d(this.transitionProgress(),this._am,this._al);this.fm(this._ak);this.fp(this._ak);this.fo(this._ak)}if(this._a3){this.fe();this.fl();this.ff();this.fg();this.fd()}if(this._a3&&this.bb()){this.fs();this._ak.d(this.transitionProgress(),this._am,this._al);this.fm(this._ak);this.fp(this._ak);this.fo(this._ak);this.fq(this._ak);this.fn(this._ak)}else{if(this._a3){this.fm(this._al);this.fp(this._al);this.fo(this._al);this.fq(this._al);this.fn(this._al)}}this._a3=false;this.view().at()},be:null,bh:null,bg:null,bf:null,fg:function(){var a=this._al;var b=a.c();var c=this._ap;var d=this.minorTickCount();var e=this.hx();b._u=this.scaleStartExtent();b._r=this.scaleEndExtent();b._s=this.scaleInnerExtent();b._t=this.scaleOuterExtent();b._m.clear();for(var f=0;fthis.actualMaximumValue()){continue}var h=g.startValue();var i=g.endValue();if(hthis.actualMaximumValue()){i=this.actualMaximumValue()}var j=new $$t.i;j.i=g.brush()!=null?g.brush():this.hk(f,this.rangeBrushes());j.j=g.outline()!=null?g.outline():this.hk(f,this.rangeOutlines());j.h=g.strokeThickness();j.g=c.i(h);j.d=c.i(i);j.e=g.innerStartExtent();j.b=g.innerEndExtent();j.f=g.outerStartExtent();j.c=g.outerEndExtent();if($.ig.util.isNaN(j.e)){j.e=this.rangeInnerExtent()}j.b=g.innerEndExtent();if($.ig.util.isNaN(j.b)){j.b=this.rangeInnerExtent()}j.f=g.outerStartExtent();if($.ig.util.isNaN(j.f)){j.f=this.rangeOuterExtent()}j.c=g.outerEndExtent();if($.ig.util.isNaN(j.c)){j.c=this.rangeOuterExtent()}b._m.add(j)}b._ab=this.fontBrush();b._ad=this.tickBrush();b._x=this.tickStrokeThickness();b._w=this.tickStartExtent();b._v=this.tickEndExtent();b._ac=this.minorTickBrush();b._q=this.minorTickStrokeThickness();b._p=this.minorTickStartExtent();b._o=this.minorTickEndExtent();var k=this.interval();if($.ig.util.isNaN(k)){k=(this.actualMaximumValue()-this.actualMinimumValue())/10}if(k==0){k=this.actualMaximumValue()-this.actualMinimumValue()}var l=new $$4.x(Number,0);var m=new $$4.x(Number,0);if(k>0){var n=this.actualMinimumValue()+this.ticksPostInitial();var o=this.actualMaximumValue()-this.ticksPreTerminal();var p=1e5;var q=Math.abs(o-n)/p;if(k>=q){for(var r=n;r<=o||this.bd(r,o,k);r=r+k){l.add(c.i(r));for(var s=0;so){continue}m.add(c.i(t+r))}}}}if(b._j.length!=l.count()||b._i.length!=m.count()){b._j=new Array(l.count());b._i=new Array(m.count())}for(var u=0;u0){var d=this.labelsPostInitial()+this.actualMinimumValue();var e=this.actualMaximumValue()-this.labelsPreTerminal();var f=1e5;var g=Math.abs(e-d)/f;if(b>=g){for(var h=d;h<=e||this.bd(h,e,a);h+=b){c.add(h)}}}var i=new Array(c.count());var j=new Array(c.count());for(var k=0;k0){p+=i[0]/2}if(i.length>1){p+=i[i.length-1]/2}if(i.length>0){p+=(i.length-1)*5}if(r>0){p=p/Math.abs(1-r)}}else{for(var u=0;u0){q-=j[0]/2}if(j.length>1){q-=j[j.length-1]/2}if(r>0){q=q/Math.abs(1-r)}if(j.length>0){q+=(j.length-1)*5}}return new $$a.af(1,p,q)},fe:function(){var a=this._al;var b=a.c();var c=this._ap;var d=this.interval();var e=this.labelInterval();var f=this.minorTickCount();if($.ig.util.isNaN(d)){d=(this.actualMaximumValue()-this.actualMinimumValue())/10}if($.ig.util.isNaN(e)){e=d}if(e==0){e=this.actualMaximumValue()-this.actualMinimumValue()}var g=new $$4.x($$6.$u.$type.specialize(Number,Number),0);if(e>0){var h=this.labelsPostInitial()+this.actualMinimumValue();var i=this.actualMaximumValue()-this.labelsPreTerminal();var j=1e5;var k=Math.abs(i-h)/j;if(e>=k){for(var l=h;l<=i||this.bd(l,i,e);l=l+e){g.add(new $$6.u(Number,Number,l,c.i(l)))}}}if(b._d.length!=g.count()){b._e=new Array(g.count());b._d=new Array(g.count());b._f=new Array(g.count());b._c=new Array(g.count());b._g=new Array(g.count());b._h=new Array(g.count())}b._n=this.labelExtent();var m=new $$t.s;m.actualMinimumValue=this.actualMinimumValue();m.actualMaximumValue=this.actualMaximumValue();var n=new $$t.u;n.actualMinimumValue=this.actualMinimumValue();n.actualMaximumValue=this.actualMaximumValue();for(var o=0;o0){return b.item(a%b.count())}else{return null}},fq:function(a){var b=this.hx();var c=a.c();var d=this._az;var e=c._j;var f=c._w;var g=c._v;var h=c._ad;var i=c._x;var j=this._ax;var k=c._i;var l=c._p;var m=c._o;var n=c._ac;var o=c._q;d.f(true);for(var p=0;pthis.actualMaximumValue()){b._aj=null;return}var d=a.c();var e=d._af;var f=this.ck();var g=this.c0();var h=f;var i=e._p;var j=0;if(this.orientation()==1){i=this.hx().left();j=g-e._p}b._aj=e.t(h,i,j);b.__fill=e._r;b.__stroke=e._s;b._ac=e._o;var k=new $.ig.PathVisualData(1,"needle",b);var l=k.getPoints(new $.ig.GetPointsSettings);if(l.count()>0){this.bi=this.bj(l.__inner[0]);var m=1.7976931348623157e308,n=1.7976931348623157e308;var o=-1.7976931348623157e308,p=-1.7976931348623157e308;for(var q=0;qo?this.bi.__inner[q].__x:o;p=this.bi.__inner[q].__y>p?this.bi.__inner[q].__y:p}this.ht=new $$a.ae(2,{__x:m,__y:n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:o,__y:p,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}},fc:function(a,b){this._a3=true;this.view().bq()},e5:function(a,b){this._a3=true;this.view().bq()},ck:function(){if(this.orientation()==0){return this.a8()?this.hy().height():this.hx().height()}return this.a8()?this.hy().width():this.hx().width()},cn:function(){if(this.orientation()==0){return this.hy().width()*(this.scaleEndExtent()-this.scaleStartExtent())}return this.hy().height()*(this.scaleEndExtent()-this.scaleStartExtent())},cz:function(){if(this.orientation()==0){return this.hy().height()}return this.hy().width()},c0:function(){if(this.orientation()==0){return this.hy().width()}return this.hy().height()},cp:function(){var a=this.scaleStartExtent();if(this.orientation()==0){if(this.isScaleInverted()){a=1-this.scaleEndExtent()}return this.hy().left()+this.hy().width()*a}if(this.isScaleInverted()){a=1-this.scaleEndExtent()}return this.hy().top()+this.hy().height()*a},hr:function(){var a=this.hx().left();if(this.a8()){a=0}var b=this.scaleStartExtent();if(this.orientation()==0){if(this.isScaleInverted()){b=1-this.scaleEndExtent()}return{__x:a+this.hx().width()*b,__y:this.hx().top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if(!this.isScaleInverted()){b=1-this.scaleEndExtent()}return{__x:a,__y:this.hx().top()+this.hx().height()*b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},fb:function(a,b,c){switch(a){case"BackingBrush":case"BackingOutline":case"ScaleBrush":case"ScaleOutline":case"TickBrush":case"MinorTickBrush":case"NeedleBrush":case"NeedleOutline":this.view().a8(a,b,c);break;case"RangeBrushes":this.view().bc(b,c);break;case"RangeOutlines":this.view().bd(b,c);break;case"PixelScalingRatio":if($.ig.util.isNaN($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))){this.actualPixelScalingRatio(1)}else{this.actualPixelScalingRatio($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))}break;case"ActualPixelScalingRatio":this.view().bh();break}switch(a){case"Value":if(this.valueChanged!=null){this.valueChanged(this,new $.ig.DoubleValueChangedEventArgs(b,c))}this._a3=true;this.view().bq();break;case"TransitionDuration":this._at.intervalMilliseconds(this.transitionDuration());this.view().bq();break;case"TransitionProgress":if(this.transitionProgress()>=1){this._at.stop();var d=this._al;this._al=this._am;this._am=d;this.fe();this.ff();this.fg();this.fd();this.fm(this._al);this.fp(this._al);this.fo(this._al);this.fq(this._al);this.fn(this._al)}this._ak.d(this.transitionProgress(),this._am,this._al);this.fm(this._ak);this.fp(this._ak);this.fo(this._ak);this.fq(this._ak);this.fn(this._ak);this.view().at();break;case"NeedleBrush":case"NeedleName":case"NeedleBreadth":case"NeedleShape":case"NeedleInnerExtent":case"NeedleOuterExtent":case"NeedleInnerPointExtent":case"NeedleOuterPointExtent":case"NeedleInnerBaseWidth":case"NeedleOuterBaseWidth":case"NeedleInnerPointWidth":case"NeedleOuterPointWidth":case"NeedleStrokeThickness":case"NeedleOutline":case"BackingBrush":case"BackingOutline":case"BackingStrokeThickness":case"BackingInnerExtent":case"BackingOuterExtent":case"ScaleBrush":case"ScaleOutline":case"ScaleStrokeThickness":case"ScaleInnerExtent":case"ScaleOuterExtent":case"TickBrush":case"MinorTickBrush":case"RangeBrushes":case"RangeOutlines":case"RangeInnerExtent":case"RangeOuterExtent":case"Interval":case"LabelInterval":case"LabelExtent":case"LabelsPostInitial":case"LabelsPreTerminal":case"TicksPostInitial":case"TicksPreTerminal":case"TickStartExtent":case"TickEndExtent":case"TickStrokeThickness":case"MinorTickStartExtent":case"MinorTickEndExtent":case"MinorTickCount":case"MinorTickStrokeThickness":this._a3=true;this.view().bq();break;case"Ranges":var e=b;var f=c;if(e!=null){var g=e;g.collectionChanged=$.ig.Delegate.prototype.remove(g.collectionChanged,this.fj.runOn(this))}if(f!=null){var h=f;h.collectionChanged=$.ig.Delegate.prototype.combine(h.collectionChanged,this.fj.runOn(this))}this._a3=true;this.view().bq();break;case"Orientation":case"IsScaleInverted":case"MinimumValue":case"MaximumValue":case"ScaleEndExtent":case"ScaleStartExtent":this.actualMinimumValue(Math.min(this.minimumValue(),this.maximumValue()));this.actualMaximumValue(Math.max(this.minimumValue(),this.maximumValue()));var i=this.cp();this._ap=new $$t.m(this.actualMinimumValue(),this.actualMaximumValue(),i,i+this.cn(),this.isScaleInverted());this._a3=true;this.view().bq();break;case"FontBrush":case"Font":this.view().b0();this._a3=true;this.view().bq();break}},fj:function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();c.propertyChanged=$.ig.Delegate.prototype.remove(c.propertyChanged,this.fi.runOn(this))}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();e.propertyChanged=$.ig.Delegate.prototype.combine(e.propertyChanged,this.fi.runOn(this))}}this._a3=true;this.view().bq()},fi:function(a,b){this._a3=true;this.view().bq()},e4:function(a,b){this._a3=true;this.view().bq()},_a3:false,refresh:function(){this._a3=true;this.view().bq()},av:function(){return $.ig.FontUtil.prototype.toFontInfo(this.view()._ai,this.font())},bn:0,pixelScalingRatio:function(a){if(arguments.length===1){var b=this.bn;this.bn=a;this.fb("PixelScalingRatio",b,this.bn);return a}else{return this.bn}},bm:0,actualPixelScalingRatio:function(a){if(arguments.length===1){var b=this.bm;this.bm=a;this.fb("ActualPixelScalingRatio",b,this.bm);return a}else{return this.bm}},$type:new $.ig.Type("XamLinearGauge",$$a.$f.$type)},true);$c("LinearGraphVisualData:y","Object",{init:function(){$.ig.$op.init.call(this)},_scalePath:null,scalePath:function(a){if(arguments.length===1){this._scalePath=a;return a}else{return this._scalePath}},_backingPath:null,backingPath:function(a){if(arguments.length===1){this._backingPath=a;return a}else{return this._backingPath}},_underlayPath:null,underlayPath:function(a){if(arguments.length===1){this._underlayPath=a;return a}else{return this._underlayPath}},_overlayPath:null,overlayPath:function(a){if(arguments.length===1){this._overlayPath=a;return a}else{return this._overlayPath}},_scale:null,scale:function(a){if(arguments.length===1){this._scale=a;return a}else{return this._scale}},_scaleLabels:null,scaleLabels:function(a){if(arguments.length===1){this._scaleLabels=a;return a}else{return this._scaleLabels}},_scaleTickmarks:null,scaleTickmarks:function(a){if(arguments.length===1){this._scaleTickmarks=a;return a}else{return this._scaleTickmarks}},_ranges:null,ranges:function(a){if(arguments.length===1){this._ranges=a;return a}else{return this._ranges}},_toolTip:null,toolTip:function(a){if(arguments.length===1){this._toolTip=a;return a}else{return this._toolTip}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},scaleByViewport:function(){if(this.scalePath()!=null){this.scalePath().scaleByViewport(this.viewport())}if(this.backingPath()!=null){this.backingPath().scaleByViewport(this.viewport())}if(this.underlayPath()!=null){this.underlayPath().scaleByViewport(this.viewport())}if(this.overlayPath()!=null){this.overlayPath().scaleByViewport(this.viewport())}if(this.scaleLabels()!=null){var b=this.scaleLabels().getEnumerator();while(b.moveNext()){var a=b.current();a.scaleByViewport(this.viewport())}}if(this.scaleTickmarks()!=null){var d=this.scaleTickmarks().getEnumerator();while(d.moveNext()){var c=d.current();if(c.tickPath()!=null){c.tickPath().scaleByViewport(this.viewport())}}}if(this.ranges()!=null){var f=this.ranges().getEnumerator();while(f.moveNext()){var e=f.current();if(e.rangePath()!=null){e.rangePath().scaleByViewport(this.viewport())}}}},serialize:function(){var a=new $$6.aj(0);var b=true;a.u("{");if(this.scalePath()!=null){if(b){b=false}else{a.l(", ")}a.l("scalePath: ");a.u(this.scalePath().serialize())}if(this.backingPath()!=null){if(b){b=false}else{a.l(", ")}a.l("backingPath: ");a.u(this.backingPath().serialize())}if(this.underlayPath()!=null){if(b){b=false}else{a.l(", ")}a.l("underlayPath: ");a.u(this.underlayPath().serialize())}if(this.overlayPath()!=null){if(b){b=false}else{a.l(", ")}a.l("overlayPath: ");a.u(this.overlayPath().serialize())}if(this.scaleLabels()!=null){if(b){b=false}else{a.l(", ")}var c=true;a.l("scaleLabels: [");var e=this.scaleLabels().getEnumerator();while(e.moveNext()){var d=e.current();if(c){c=false}else{a.l(", ")}a.u(d.serialize())}a.u("]")}if(this.scaleTickmarks()!=null){if(b){b=false}else{a.l(", ")}var f=true;a.l("scaleTickmarks: [");var h=this.scaleTickmarks().getEnumerator();while(h.moveNext()){var g=h.current();if(f){f=false}else{a.l(", ")}a.u(g.serialize())}a.u("]")}if(this.ranges()!=null){if(b){b=false}else{a.l(", ")}var i=true;a.l("ranges: [");var k=this.ranges().getEnumerator();while(k.moveNext()){var j=k.current();if(i){i=false}else{a.l(", ")}a.u(j.serialize())}a.u("]")}if(this.name()!=null){if(b){b=false}else{a.l(", ")}a.l("name: '");a.l(this.name());a.u("'")}if(this.toolTip()!=null){if(b){b=false}else{a.l(", ")}a.l("toolTip: ");a.l(this.toolTip().serialize())}if(b){b=false}else{a.l(", ")}a.l("viewport: {");a.l("left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height());a.u("}");a.l("}");return a.toString()},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},$type:new $.ig.Type("LinearGraphVisualData",$.ig.$ot)},true);$c("LinearScaleVisualData:z","Object",{init:function(){$.ig.$op.init.call(this)},$type:new $.ig.Type("LinearScaleVisualData",$.ig.$ot)},true);$c("LinearGraphScaleLabelVisualData:ab","Object",{init:function(){$.ig.$op.init.call(this)},_labelValue:null,labelValue:function(a){if(arguments.length===1){this._labelValue=a;return a}else{return this._labelValue}},_labelSize:null,labelSize:function(a){if(arguments.length===1){this._labelSize=a;return a}else{return this._labelSize}},_labelPosition:null,labelPosition:function(a){if(arguments.length===1){this._labelPosition=a;return a}else{return this._labelPosition}},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},scaleByViewport:function(a){this.labelPosition(new $.ig.PointData((this.labelPosition().x()-a.left())/a.width(),(this.labelPosition().y()-a.top())/a.height()));this.labelSize(new $.ig.SizeData(this.labelSize().width()/a.width(),this.labelSize().height()/a.height()))},serialize:function(){return"{ labelValue: '"+this.labelValue()+"', labelSize: { width: "+this.labelSize().width()+", height: "+this.labelSize().height()+"}, labelPosition: { x: "+this.labelPosition().x()+", y: "+this.labelPosition().y()+"}, appearance: "+this.appearance().serialize()+"}"},$type:new $.ig.Type("LinearGraphScaleLabelVisualData",$.ig.$ot)},true);$c("LinearGraphScaleLabelVisualDataList:aa","List$1",{init:function(){$$4.$x.init.call(this,$$t.$ab.$type,0)},$type:new $.ig.Type("LinearGraphScaleLabelVisualDataList",$$4.$x.$type.specialize($$t.$ab.$type))},true);$c("LinearGraphScaleTickmarkVisualData:ad","Object",{init:function(){$.ig.$op.init.call(this)},_tickPath:null,tickPath:function(a){if(arguments.length===1){this._tickPath=a;return a}else{return this._tickPath}},serialize:function(){return"{ tickPath: "+this.tickPath().serialize()+"}"},$type:new $.ig.Type("LinearGraphScaleTickmarkVisualData",$.ig.$ot)},true);$c("LinearGraphScaleTickmarkVisualDataList:ac","List$1",{init:function(){$$4.$x.init.call(this,$$t.$ad.$type,0)},$type:new $.ig.Type("LinearGraphScaleTickmarkVisualDataList",$$4.$x.$type.specialize($$t.$ad.$type))},true);$c("ToolTipItemVisualData:ah","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},serialize:function(){},$type:new $.ig.Type("ToolTipItemVisualData",$.ig.$ot)},true);$c("LinearGraphRangeVisualData:af","ToolTipItemVisualData",{init:function(){$$t.$ah.init.call(this)},_rangePath:null,rangePath:function(a){if(arguments.length===1){this._rangePath=a;return a}else{return this._rangePath}},serialize:function(){return"{ rangePath: "+this.rangePath().serialize()+", type: '"+this.type()+"'}"},type:function(){return"range"},$type:new $.ig.Type("LinearGraphRangeVisualData",$$t.$ah.$type)},true);$c("LinearGraphRangeVisualDataList:ae","List$1",{init:function(){$$4.$x.init.call(this,$$t.$af.$type,0)},$type:new $.ig.Type("LinearGraphRangeVisualDataList",$$4.$x.$type.specialize($$t.$af.$type))},true);$c("LinearGraphToolTipVisualData:ag","Object",{init:function(){$.ig.$op.init.call(this)},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_outline:null,outline:function(a){if(arguments.length===1){this._outline=a;return a}else{return this._outline}},_itemBrush:null,itemBrush:function(a){if(arguments.length===1){this._itemBrush=a;return a}else{return this._itemBrush}},_thickness:0,thickness:function(a){if(arguments.length===1){this._thickness=a;return a}else{return this._thickness}},serialize:function(){var a=new $$6.aj(0);a.l("{ item: ");if(this.item()!=null){a.l(this.item().serialize())}a.l(", ");a.l("outline: ");a.l(this.outline().serialize());a.l(", ");a.l("itemBrush: ");a.l(this.itemBrush().serialize());a.l(", ");a.l("thickness: ");a.l(this.thickness().toString());a.l("}");return a.toString()},$type:new $.ig.Type("LinearGraphToolTipVisualData",$.ig.$ot)},true);$c("LinearNeedleVisualData:aj","ToolTipItemVisualData",{init:function(){$$t.$ah.init.call(this)},_value:0,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},serialize:function(){return"{ value: "+this.value().toString()+", type: '"+this.type()+"'}"},type:function(){return"needle"},$type:new $.ig.Type("LinearNeedleVisualData",$$t.$ah.$type)},true);$c("LinearNeedleVisualDataList:ai","List$1",{init:function(){$$4.$x.init.call(this,$$t.$aj.$type,0)},$type:new $.ig.Type("LinearNeedleVisualDataList",$$4.$x.$type.specialize($$t.$aj.$type))},true);$c("LinearGaugeVisualData:ak","LinearGraphVisualData",{init:function(){$$t.$y.init.call(this)},_needlePath:null,needlePath:function(a){if(arguments.length===1){this._needlePath=a;return a}else{return this._needlePath}},_needle:null,needle:function(a){if(arguments.length===1){this._needle=a;return a}else{return this._needle}},scaleByViewport:function(){$$t.$y.scaleByViewport.call(this);if(this.needlePath()!=null){this.needlePath().scaleByViewport(this.viewport())}},serialize:function(){var a=$$t.$y.serialize.call(this);var b=new $$6.aj(0);var c=a.length==0;if(this.needlePath()!=null){if(c){c=false}else{b.l(", ")}b.l("needlePath: ");b.u(this.needlePath().serialize())}if(this.needle()!=null){if(c){c=false}else{b.l(", ")}b.l("needle: ");b.u(this.needle().serialize())}if(c){return a}b.l("}");return a.substr(0,a.length-1)+b.toString()},$type:new $.ig.Type("LinearGaugeVisualData",$$t.$y.$type)},true);$$t.$b.w=new $$4.h(String,$$a.$at.$type,0);$$t.$b.g=null;$$t.$b.h=null;$$t.$n.nameProperty=$$a.$s.i("Name",String,$$t.$n.$type,new $$a.ac(2,null,function(a,b){a.ab("Name",b.oldValue(),b.newValue())}));$$t.$n.brushProperty=$$a.$s.i("Brush",$$a.$at.$type,$$t.$n.$type,new $$a.ac(2,null,function(a,b){a.ab("Brush",b.oldValue(),b.newValue())}));$$t.$n.outlineProperty=$$a.$s.i("Outline",$$a.$at.$type,$$t.$n.$type,new $$a.ac(2,null,function(a,b){a.ab("Outline",b.oldValue(),b.newValue())}));$$t.$n.startValueProperty=$$a.$s.i("StartValue",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("StartValue",b.oldValue(),b.newValue())}));$$t.$n.endValueProperty=$$a.$s.i("EndValue",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("EndValue",b.oldValue(),b.newValue())}));$$t.$n.innerStartExtentProperty=$$a.$s.i("InnerStartExtent",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("InnerStartExtent",b.oldValue(),b.newValue())}));$$t.$n.innerEndExtentProperty=$$a.$s.i("InnerEndExtent",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("InnerEndExtent",b.oldValue(),b.newValue())}));$$t.$n.outerStartExtentProperty=$$a.$s.i("OuterStartExtent",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("OuterStartExtent",b.oldValue(),b.newValue())}));$$t.$n.outerEndExtentProperty=$$a.$s.i("OuterEndExtent",Number,$$t.$n.$type,new $$a.ac(2,NaN,function(a,b){a.ab("OuterEndExtent",b.oldValue(),b.newValue())}));$$t.$n.strokeThicknessProperty=$$a.$s.i("StrokeThickness",Number,$$t.$n.$type,new $$a.ac(2,1,function(a,b){a.ab("StrokeThickness",b.oldValue(),b.newValue())}));$$t.$p.labelProperty=$$a.$s.i("Label",String,$$t.$p.$type,new $$a.ac(2,null,function(a,b){$b($$t.$p.$type,a).p("Label",b.oldValue(),b.newValue())}));$$t.$p.itemProperty=$$a.$s.i("Item",$.ig.$op.$type,$$t.$p.$type,new $$a.ac(2,null,function(a,b){$b($$t.$p.$type,a).p("Item",b.oldValue(),b.newValue())}));$$t.$p.itemNameProperty=$$a.$s.i("ItemName",$.ig.$op.$type,$$t.$p.$type,new $$a.ac(2,null,function(a,b){$b($$t.$p.$type,a).p("ItemName",b.oldValue(),b.newValue())}));$$t.$p.itemBrushProperty=$$a.$s.i("ItemBrush",$$a.$at.$type,$$t.$p.$type,new $$a.ac(2,null,function(a,b){$b($$t.$p.$type,a).p("ItemBrush",b.oldValue(),b.newValue())}));$$t.$p.thicknessProperty=$$a.$s.i("Thickness",Number,$$t.$p.$type,new $$a.ac(2,0,function(a,b){$b($$t.$p.$type,a).p("Thickness",b.oldValue(),b.newValue())}));$$t.$p.outlineProperty=$$a.$s.i("Outline",$$a.$at.$type,$$t.$p.$type,new $$a.ac(2,null,function(a,b){$b($$t.$p.$type,a).p("Outline",b.oldValue(),b.newValue())}));$$t.$x.orientationProperty=$$a.$s.i("Orientation",$$t.$d.$type,$$t.$x.$type,new $$a.ac(2,$$t.$d.getBox(0),function(a,b){a.fb("Orientation",b.oldValue(),b.newValue())}));$$t.$x.rangesProperty=$$a.$s.i("Ranges",$$t.$o.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("Ranges",b.oldValue(),b.newValue())}));$$t.$x.rangeBrushesProperty=$$a.$s.i("RangeBrushes",$.ig.BrushCollection.prototype.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("RangeBrushes",b.oldValue(),b.newValue())}));$$t.$x.rangeOutlinesProperty=$$a.$s.i("RangeOutlines",$.ig.BrushCollection.prototype.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("RangeOutlines",b.oldValue(),b.newValue())}));$$t.$x.minimumValueProperty=$$a.$s.i("MinimumValue",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("MinimumValue",b.oldValue(),b.newValue())}));$$t.$x.maximumValueProperty=$$a.$s.i("MaximumValue",Number,$$t.$x.$type,new $$a.ac(2,100,function(a,b){a.fb("MaximumValue",b.oldValue(),b.newValue())}));$$t.$x.valueProperty=$$a.$s.i("Value",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("Value",b.oldValue(),b.newValue())}));$$t.$x.needleShapeProperty=$$a.$s.i("NeedleShape",$$t.$c.$type,$$t.$x.$type,new $$a.ac(2,$$t.$c.getBox(3),function(a,b){a.fb("NeedleShape",b.oldValue(),b.newValue())}));$$t.$x.needleNameProperty=$$a.$s.i("NeedleName",String,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("NeedleName",b.oldValue(),b.newValue())}));$$t.$x.rangeInnerExtentProperty=$$a.$s.i("RangeInnerExtent",Number,$$t.$x.$type,new $$a.ac(2,.05,function(a,b){a.fb("RangeInnerExtent",b.oldValue(),b.newValue())}));$$t.$x.scaleInnerExtentProperty=$$a.$s.i("ScaleInnerExtent",Number,$$t.$x.$type,new $$a.ac(2,.05,function(a,b){a.fb("ScaleInnerExtent",b.oldValue(),b.newValue())}));$$t.$x.rangeOuterExtentProperty=$$a.$s.i("RangeOuterExtent",Number,$$t.$x.$type,new $$a.ac(2,.65,function(a,b){a.fb("RangeOuterExtent",b.oldValue(),b.newValue())}));$$t.$x.scaleOuterExtentProperty=$$a.$s.i("ScaleOuterExtent",Number,$$t.$x.$type,new $$a.ac(2,.65,function(a,b){a.fb("ScaleOuterExtent",b.oldValue(),b.newValue())}));$$t.$x.needleInnerExtentProperty=$$a.$s.i("NeedleInnerExtent",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleInnerExtent",b.oldValue(),b.newValue())}));$$t.$x.needleOuterExtentProperty=$$a.$s.i("NeedleOuterExtent",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleOuterExtent",b.oldValue(),b.newValue())}));$$t.$x.needleInnerBaseWidthProperty=$$a.$s.i("NeedleInnerBaseWidth",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleInnerBaseWidth",b.oldValue(),b.newValue())}));$$t.$x.needleOuterBaseWidthProperty=$$a.$s.i("NeedleOuterBaseWidth",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleOuterBaseWidth",b.oldValue(),b.newValue())}));$$t.$x.needleInnerPointWidthProperty=$$a.$s.i("NeedleInnerPointWidth",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleInnerPointWidth",b.oldValue(),b.newValue())}));$$t.$x.needleOuterPointWidthProperty=$$a.$s.i("NeedleOuterPointWidth",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleOuterPointWidth",b.oldValue(),b.newValue())}));$$t.$x.needleInnerPointExtentProperty=$$a.$s.i("NeedleInnerPointExtent",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleInnerPointExtent",b.oldValue(),b.newValue())}));$$t.$x.needleOuterPointExtentProperty=$$a.$s.i("NeedleOuterPointExtent",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("NeedleOuterPointExtent",b.oldValue(),b.newValue())}));$$t.$x.intervalProperty=$$a.$s.i("Interval",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("Interval",b.oldValue(),b.newValue())}));$$t.$x.ticksPostInitialProperty=$$a.$s.i("TicksPostInitial",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("TicksPostInitial",b.oldValue(),b.newValue())}));$$t.$x.ticksPreTerminalProperty=$$a.$s.i("TicksPreTerminal",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("TicksPreTerminal",b.oldValue(),b.newValue())}));$$t.$x.labelIntervalProperty=$$a.$s.i("LabelInterval",Number,$$t.$x.$type,new $$a.ac(2,NaN,function(a,b){a.fb("LabelInterval",b.oldValue(),b.newValue())}));$$t.$x.labelExtentProperty=$$a.$s.i("LabelExtent",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("LabelExtent",b.oldValue(),b.newValue())}));$$t.$x.labelsPostInitialProperty=$$a.$s.i("LabelsPostInitial",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("LabelsPostInitial",b.oldValue(),b.newValue())}));$$t.$x.labelsPreTerminalProperty=$$a.$s.i("LabelsPreTerminal",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("LabelsPreTerminal",b.oldValue(),b.newValue())}));$$t.$x.minorTickCountProperty=$$a.$s.i("MinorTickCount",Number,$$t.$x.$type,new $$a.ac(2,4,function(a,b){a.fb("MinorTickCount",b.oldValue(),b.newValue())}));$$t.$x.tickStartExtentProperty=$$a.$s.i("TickStartExtent",Number,$$t.$x.$type,new $$a.ac(2,.05,function(a,b){a.fb("TickStartExtent",b.oldValue(),b.newValue())}));$$t.$x.tickEndExtentProperty=$$a.$s.i("TickEndExtent",Number,$$t.$x.$type,new $$a.ac(2,.65,function(a,b){a.fb("TickEndExtent",b.oldValue(),b.newValue())}));$$t.$x.tickStrokeThicknessProperty=$$a.$s.i("TickStrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,2,function(a,b){a.fb("TickStrokeThickness",b.oldValue(),b.newValue())}));$$t.$x.tickBrushProperty=$$a.$s.i("TickBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("TickBrush",b.oldValue(),b.newValue())}));$$t.$x.fontBrushProperty=$$a.$s.i("FontBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("FontBrush",b.oldValue(),b.newValue())}));$$t.$x.needleBreadthProperty=$$a.$s.i("NeedleBreadth",Number,$$t.$x.$type,new $$a.ac(2,6,function(a,b){a.fb("NeedleBreadth",b.oldValue(),b.newValue())}));$$t.$x.needleBrushProperty=$$a.$s.i("NeedleBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("NeedleBrush",b.oldValue(),b.newValue())}));$$t.$x.needleOutlineProperty=$$a.$s.i("NeedleOutline",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("NeedleOutline",b.oldValue(),b.newValue())}));$$t.$x.needleStrokeThicknessProperty=$$a.$s.i("NeedleStrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,1,function(a,b){a.fb("NeedleStrokeThickness",b.oldValue(),b.newValue())}));$$t.$x.minorTickStartExtentProperty=$$a.$s.i("MinorTickStartExtent",Number,$$t.$x.$type,new $$a.ac(2,.05,function(a,b){a.fb("MinorTickStartExtent",b.oldValue(),b.newValue())}));$$t.$x.minorTickEndExtentProperty=$$a.$s.i("MinorTickEndExtent",Number,$$t.$x.$type,new $$a.ac(2,.35,function(a,b){a.fb("MinorTickEndExtent",b.oldValue(),b.newValue())}));$$t.$x.minorTickStrokeThicknessProperty=$$a.$s.i("MinorTickStrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,1,function(a,b){a.fb("MinorTickStrokeThickness",b.oldValue(),b.newValue())}));$$t.$x.minorTickBrushProperty=$$a.$s.i("MinorTickBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("MinorTickBrush",b.oldValue(),b.newValue())}));$$t.$x.isScaleInvertedProperty=$$a.$s.i("IsScaleInverted",$$0.$aq.$type,$$t.$x.$type,new $$a.ac(2,false,function(a,b){a.fb("IsScaleInverted",b.oldValue(),b.newValue())}));$$t.$x.backingBrushProperty=$$a.$s.i("BackingBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("BackingBrush",b.oldValue(),b.newValue())}));$$t.$x.backingOutlineProperty=$$a.$s.i("BackingOutline",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("BackingOutline",b.oldValue(),b.newValue())}));$$t.$x.backingStrokeThicknessProperty=$$a.$s.i("BackingStrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,2,function(a,b){a.fb("BackingStrokeThickness",b.oldValue(),b.newValue())}));$$t.$x.backingInnerExtentProperty=$$a.$s.i("BackingInnerExtent",Number,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("BackingInnerExtent",b.oldValue(),b.newValue())}));$$t.$x.backingOuterExtentProperty=$$a.$s.i("BackingOuterExtent",Number,$$t.$x.$type,new $$a.ac(2,1,function(a,b){a.fb("BackingOuterExtent",b.oldValue(),b.newValue())}));$$t.$x.scaleStartExtentProperty=$$a.$s.i("ScaleStartExtent",Number,$$t.$x.$type,new $$a.ac(2,.05,function(a,b){a.fb("ScaleStartExtent",b.oldValue(),b.newValue())}));$$t.$x.scaleEndExtentProperty=$$a.$s.i("ScaleEndExtent",Number,$$t.$x.$type,new $$a.ac(2,.95,function(a,b){a.fb("ScaleEndExtent",b.oldValue(),b.newValue())}));$$t.$x.scaleBrushProperty=$$a.$s.i("ScaleBrush",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("ScaleBrush",b.oldValue(),b.newValue())}));$$t.$x.scaleOutlineProperty=$$a.$s.i("ScaleOutline",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("ScaleOutline",b.oldValue(),b.newValue())}));$$t.$x.scaleStrokeThicknessProperty=$$a.$s.i("ScaleStrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,1,function(a,b){a.fb("ScaleStrokeThickness",b.oldValue(),b.newValue())}));$$t.$x.f9=$$a.$s.i("MergeViewPorts",$$0.$aq.$type,$$t.$x.$type,new $$a.ac(2,false,function(a,b){a.fb("MergeViewPorts",b.oldValue(),b.newValue())}));$$t.$x.isNeedleDraggingEnabledProperty=$$a.$s.i("IsNeedleDraggingEnabled",$$0.$aq.$type,$$t.$x.$type,new $$a.ac(2,false,function(a,b){a.fb("IsNeedleDraggingEnabled",b.oldValue(),b.newValue())}));$$t.$x.transitionDurationProperty=$$a.$s.i("TransitionDuration",$$0.$aw.$type,$$t.$x.$type,new $$a.ac(2,0,function(a,b){a.fb("TransitionDuration",b.oldValue(),b.newValue())}));$$t.$x.showToolTipTimeoutProperty=$$a.$s.i("ShowToolTipTimeout",$$0.$aw.$type,$$t.$x.$type,new $$a.ac(2,500,function(a,b){a.fb("ShowToolTipTimeout",b.oldValue(),b.newValue())}));$$t.$x.toolTipProperty=$$a.$s.i("ToolTip",$.ig.$op.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("ToolTip",b.oldValue(),b.newValue())}));$$t.$x.fontProperty=$$a.$s.i("Font",String,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.fb("Font",b.oldValue(),b.newValue())}))});