/*!@license
* Infragistics.Web.ClientUI infragistics.ext.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);$.ig.util.defType("Visibility","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("Visibility",$.ig.Object.prototype.$type)},true);$.ig.util.defType("VerticalAlignment","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("VerticalAlignment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Stretch","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("Stretch",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PenLineCap","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("PenLineCap",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HorizontalAlignment","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("HorizontalAlignment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SweepDirection","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SweepDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathSegmentType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("PathSegmentType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GeometryType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("GeometryType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FillRule","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("FillRule",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ModifierKeys","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ModifierKeys",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Key","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("Key",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TaskStatus","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("TaskStatus",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ListSortDirection","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ListSortDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NotifyCollectionChangedAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("NotifyCollectionChangedAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AbstractEnumerable","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},getEnumerator:function(){return new $.ig.AbstractEnumerator(this.a().getEnumerator())},$type:new $.ig.Type("AbstractEnumerable",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("AbstractEnumerator","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},$type:new $.ig.Type("AbstractEnumerator",$.ig.Object.prototype.$type,[$.ig.IEnumerator.prototype.$type])},true);$.ig.util.defType("IEnumerable$1","Object",{$type:new $.ig.Type("IEnumerable$1",null,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("ICollection$1","Object",{$type:new $.ig.Type("ICollection$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("IList$1","Object",{$type:new $.ig.Type("IList$1",null,[$.ig.ICollection$1.prototype.$type.specialize(0),$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("IArrayList","Object",{$type:new $.ig.Type("IArrayList",null)},true);$.ig.util.defType("List$1","Object",{$t:null,__inner:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array},init1:function($t,initNumber,a){this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array;if(this.n(0,a)){return}var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this.add(b)}},init2:function($t,initNumber,a){this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array},i:function(a,b){this.__inner[a]=b},j:function(a,b){this.__inner.insert(a,b)},k:function(a){this.__inner.add(a)},l:function(a){this.__inner.removeAt(a)},m:function(){this.__inner.clear()},item:function(b,a){if(arguments.length===2){this.i(b,a);return a}else{return this.__inner[b]}},indexOf:function(a){return this.__inner.indexOf(a)},insert:function(a,b){this.j(a,b)},removeAt:function(a){this.l(a)},count:function(){return this.__inner.length},isReadOnly:function(){return false},add:function(a){this.k(a)},clear:function(){this.m()},contains:function(a){return this.__inner.contains(a)},copyTo:function(a,b){for(var c=0;c<this.__inner.length;c++){a[b+c]=this.__inner[c]}},remove:function(a){var b=this.indexOf(a);if(b<0){return false}this.l(b);return true},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.__inner.getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(this.$t,$iter())},asArrayList:function(){return this.__inner},n:function(a,collection_){var b=$.ig.util.cast($.ig.IArrayList.prototype.$type,collection_);if(b!=null){this.__inner.insertRange1(a,b.asArrayList());return true}var c=$.ig.util.cast($.ig.IArray.prototype.$type,collection_);if(c!=null){this.__inner.insertRange(a,c.asArray());return true}var d=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(this.$t),collection_);if(d!=null){for(var e=0;e<d.count();e++){this.__inner.insert(a+e,d.item(e))}return true}var f=$.isArray(collection_)?collection_:null;if(f!=null){this.__inner.insertRange(a,f);return true}return false},o:function(a,b){if(this.n(a,b)){return}var c=0;var e=b.getEnumerator();while(e.moveNext()){var d=e.current();this.__inner.insert(a+c,d);c++}},p:function(a,b){if(this.n(a,b)){return}var c=0;var e=b.getEnumerator();while(e.moveNext()){var d=e.current();this.__inner.insert(a+c,d);c++}},q:function(a,b){this.__inner.splice(a,b)},copyTo1:function(a,b){this.__inner.copyTo(a,b)},isFixedSize:function(){return false},add1:function(c){this.k(c);return this.__inner.length-1},contains1:function(d){return this.__inner.contains(d)},indexOf1:function(e){return this.__inner.indexOf(e)},insert1:function(f,g){this.j(f,g)},remove1:function(h){var i=this.indexOf1(h);this.l(i)},r:function(){var $self=this;var j=null;if(this.$t==Number){j=function(k,l){var m=k;var n=l;if(m<n){return-1}if(m==n){return 0}return 1}}else if(this.$t==$.ig.Single.prototype.$type){j=function(o,p){var q=o;var r=p;if(q<r){return-1}if(q==r){return 0}return 1}}else if(this.$t==$.ig.Number.prototype.$type){j=function(s,t){var u=s;var v=t;if(u<v){return-1}if(u==v){return 0}return 1}}else if(this.$t==$.ig.Date.prototype.$type){j=function(w,x){var y=w;var z=x;if(y.getTime()<z.getTime()){return-1}if(y.getTime()==z.getTime()){return 0}return 1}}else{j=function(aa,ab){return aa.compareTo(ab)}}this.s(j)},s:function(ac){this.__inner.sort(ac)},t:function(ad){var $self=this;this.__inner.sort(function(ae,af){var ag=ae;var ah=af;return ad(ag,ah)})},_h:null,h:function(ai){if(arguments.length===1){this._h=ai;return ai}else{return this._h}},w:function(aj){var al=aj.getEnumerator();while(al.moveNext()){var ak=al.current();this.__inner.add(ak)}},x:function(){return this.__inner.slice(0)},y:function(am){},isSynchronized:function(){return true},a:null,syncRoot:function(){return this.a},$type:new $.ig.Type("List$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IArrayList.prototype.$type,$.ig.IList.prototype.$type])},true);$.ig.util.defType("Collection$1","List$1",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init.call(this,this.$t)},ae:function(){return this},$type:new $.ig.Type("Collection$1",$.ig.List$1.prototype.$type.specialize(0))},true);$.ig.util.defType("IDictionary$2","Object",{$type:new $.ig.Type("IDictionary$2",null,[$.ig.ICollection$1.prototype.$type.specialize($.ig.KeyValuePair$2.prototype.$type.specialize(0,1)),$.ig.IEnumerable$1.prototype.$type.specialize($.ig.KeyValuePair$2.prototype.$type.specialize(0,1)),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("Dictionary$2","Object",{$tKey:null,$tValue:null,__inner:null,__keys:null,init:function($tKey,$tValue,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(0);this.__keys=new $.ig.Dictionary(0)},init1:function($tKey,$tValue,initNumber,a){this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(1,a);this.__keys=new $.ig.Dictionary(0)},a:null,init2:function($tKey,$tValue,initNumber,a){this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(0);this.__keys=new $.ig.Dictionary(0);this.a=a},count:function(){return this.__inner.count()},item:function(b,a){if(arguments.length===2){this.__inner.item(this.f(b),a);this.__keys.item(this.f(b),b);return a}else{return this.__inner.item(this.f(b))}},c:function(){return this.__inner.length()},containsKey:function(a){return this.__inner.containsKey(this.f(a))},remove:function(a){var b=this.f(a);if(!this.__keys.containsKey(b)){return false}this.__inner.remove(b);this.__keys.remove(b);return true},clear:function(){this.__inner.clear();this.__keys.clear()},_useToString:null,b:null,_needsEnsure:null,e:function(key_){if(!this.b){this.b=true;this._needsEnsure=typeof key_=="object";if(!this._needsEnsure){this._useToString=!key_.getHashCode}}},f:function(key_){this.e(key_);if(this._needsEnsure){$.ig.util.ensureUniqueId(key_)}if(this.a!=null){return this.a.getHashCode(key_).toString()}if(this._useToString){return key_.toString()}else{return key_.getHashCode().toString()}},add:function(a,b){this.__inner.item(this.f(a),b);this.__keys.item(this.f(a),a)},tryGetValue:function(a,b){if(!this.__inner.containsKey(this.f(a))){b=null;return{ret:false,value:b}}b=this.__inner.item(this.f(a));return{ret:true,value:b};return{value:b}},keys:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.__keys.values().getEnumerator();this.$state=4;break;case 2:this.$b=this.$c.current();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(this.$tKey,$iter)},values:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.__inner.values().getEnumerator();this.$state=4;break;case 2:this.$b=this.$c.current();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(this.$tValue,$iter)},isReadOnly:function(){return false},add1:function(a){this.add(a.key(),a.value())},contains:function(a){return this.containsKey(a.key())},g:function(a,b){throw new $.ig.NotImplementedException},remove1:function(a){this.remove(a.key());return true},h:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.__keys.values().getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=new $.ig.KeyValuePair$2(this.$tKey,this.$tValue,this.$a,this.$this.__inner.item(this.$this.f(this.$a)));this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.KeyValuePair$2.prototype.$type.specialize(this.$tKey,this.$tValue),$iter)},getEnumerator:function(){return this.h().getEnumerator()},$type:new $.ig.Type("Dictionary$2",$.ig.Object.prototype.$type,[$.ig.IDictionary$2.prototype.$type.specialize(0,1),$.ig.IDictionary.prototype.$type])},true);$.ig.util.defType("GenericEnumerable$1","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},getEnumerator:function(){return new $.ig.GenericEnumerator$1(this.$t,this.a().getEnumerator())},$type:new $.ig.Type("GenericEnumerable$1",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IEnumerator$1","Object",{$type:new $.ig.Type("IEnumerator$1",null,[$.ig.IEnumerator.prototype.$type])},true);$.ig.util.defType("GenericEnumerator$1","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},$type:new $.ig.Type("GenericEnumerator$1",$.ig.Object.prototype.$type,[$.ig.IEnumerator$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("INotifyCollectionChanged","Object",{$type:new $.ig.Type("INotifyCollectionChanged",null)},true);$.ig.util.defType("NotifyCollectionChangedEventArgs","EventArgs",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.EventArgs.prototype.init.call(this);this.a=a;this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);this.b=new $.ig.List$1($.ig.Object.prototype.$type,0)},init1:function(initNumber,a,b,c){var $self=this;$.ig.EventArgs.prototype.init.call(this);this.a=a;this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);if(this.a==$.ig.NotifyCollectionChangedAction.prototype.remove||this.a==$.ig.NotifyCollectionChangedAction.prototype.replace){this.d.add(b);this.e=c}if(this.a!=$.ig.NotifyCollectionChangedAction.prototype.remove){this.b=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(b);return $ret}()}else{this.b=new $.ig.List$1($.ig.Object.prototype.$type,0)}this.c=c},init2:function(initNumber,a,b,c,d){var $self=this;$.ig.EventArgs.prototype.init.call(this);this.a=a;this.c=d;this.e=d;this.b=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(b);return $ret}();this.d=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(c);return $ret}()},a:null,action:function(){return this.a},b:null,newItems:function(){return this.b},c:null,newStartingIndex:function(){return this.c},d:null,oldItems:function(){return this.d},e:null,oldStartingIndex:function(){return this.e},$type:new $.ig.Type("NotifyCollectionChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("KeyValuePair$2","ValueType",{$tKey:null,$tValue:null,a:null,b:null,init:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.ValueType.prototype.init.call(this);this.a=a;this.b=b},key:function(){return this.a},value:function(){return this.b},$type:new $.ig.Type("KeyValuePair$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LinkedList$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this)},a:null,c:function(){return this.a},b:null,d:function(){return this.b},g:function(a){if(this.a==null){this.a=new $.ig.LinkedListNode$1(this.$t,1,a);this.b=this.a}else{var b=this.a;this.a=new $.ig.LinkedListNode$1(this.$t,1,a);this.a.b=b;b.a=this.a}},h:function(a){if(this.b==null){this.a=new $.ig.LinkedListNode$1(this.$t,1,a);this.b=this.a}else{var b=this.b;this.b=new $.ig.LinkedListNode$1(this.$t,1,a);this.b.a=b;b.b=this.b}},i:function(a){if(this.a==a){this.a=a.b;if(a.b!=null){a.b.a=null}}if(this.b==a){this.b=a.a;if(a.a!=null){a.a.b=null}}if(a.a!=null){a.a.b=a.b}if(a.b!=null){a.b.a=a.a}a.b=null;a.a=null},$type:new $.ig.Type("LinkedList$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LinkedListNode$1","Object",{$t:null,_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},a:null,b:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this)},init1:function($t,initNumber,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.d(a)},$type:new $.ig.Type("LinkedListNode$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ObservableCollection$1","List$1",{$t:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init.call(this,this.$t)},init1:function($t,initNumber,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init1.call(this,this.$t,1,a)},init2:function($t,initNumber,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init2.call(this,this.$t,2,a)},i:function(a,b){var c=this.__inner[a];$.ig.List$1.prototype.i.call(this,a,b);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var d=new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,b,c,a);this.ah(d)}},m:function(){$.ig.List$1.prototype.m.call(this);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var a=new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset);this.ah(a)}},j:function(a,b){$.ig.List$1.prototype.j.call(this,a,b);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a);this.ah(c)}},k:function(a){$.ig.List$1.prototype.k.call(this,a);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var b=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,a,this.count()-1);this.ah(b)}},l:function(a){var b=this.__inner[a];$.ig.List$1.prototype.l.call(this,a);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a);this.ah(c)}},collectionChanged:null,propertyChanged:null,ag:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}},ah:function(a){if(this.collectionChanged!=null){this.collectionChanged(this,a)}},$type:new $.ig.Type("ObservableCollection$1",$.ig.List$1.prototype.$type.specialize(0),[$.ig.INotifyCollectionChanged.prototype.$type,$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("Queue$1","Collection$1",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Collection$1.prototype.init.call(this,this.$t)},ag:function(){return null},ah:function(a){},ai:function(){return null},$type:new $.ig.Type("Queue$1",$.ig.Collection$1.prototype.$type.specialize(0))},true);$.ig.util.defType("ReadOnlyCollection$1","Object",{$t:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.b={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this)},init1:function($t,initNumber,a){this.b={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},a:null,item:function(b,a){if(arguments.length===2){this.a.item(b,a);return a}else{return this.a.item(b)}},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){},removeAt:function(a){},count:function(){return this.a.count()},isReadOnly:function(){return true},add:function(a){},clear:function(){},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){this.a.copyTo(a,b)},remove:function(a){return false},getEnumerator:function(){return this.a.getEnumerator()},isFixedSize:function(){return true},add1:function(c){return-1},contains1:function(d){return this.a.contains(d)},indexOf1:function(e){return this.a.indexOf(e)},insert1:function(f,g){},remove1:function(h){},copyTo1:function(i,j){this.a.copyTo(i,j)},c:function(){return this.a},isSynchronized:function(){return true},b:null,syncRoot:function(){return this.b},$type:new $.ig.Type("ReadOnlyCollection$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IList.prototype.$type])},true);$.ig.util.defType("ReadOnlyObservableCollection$1","ReadOnlyCollection$1",{$t:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.ReadOnlyCollection$1.prototype.init.call(this,this.$t)},collectionChanged:null,propertyChanged:null,$type:new $.ig.Type("ReadOnlyObservableCollection$1",$.ig.ReadOnlyCollection$1.prototype.$type.specialize(0),[$.ig.INotifyCollectionChanged.prototype.$type,$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("NameValueCollection","Object",{a:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2(String,String,0)},item:function(b,a){if(arguments.length===2){if(this.a.containsKey(b)){this.a.item(b,a)}else{this.a.add(b,a)}return a}else{if(this.a.containsKey(b)){return this.a.item(b)}else{return null}}},$type:new $.ig.Type("NameValueCollection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Stack$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=new $.ig.Array},a:null,c:function(a){this.a.add(a)},d:function(){if(this.a.length<1){return null}return this.a[this.a.length-1]},e:function(){var a=this.a[this.a.length-1];this.a.removeAt(this.a.length-1);return a},b:function(){return this.a.length},g:function(){this.a.clear()},h:function(a){return this.a.contains(a)},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.a.getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(this.$t,$iter())},$type:new $.ig.Type("Stack$1",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IComparer$1","Object",{$type:new $.ig.Type("IComparer$1",null)},true);
$.ig.util.defType("Expression","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d){return null},b:function(a,b){return null},c:function(a,b){return null},d:function(a){return null},e:function(a,b){return null},$type:new $.ig.Type("Expression",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MemberExpression","Expression",{init:function(){$.ig.Expression.prototype.init.call(this)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},j:function(a){return null},$type:new $.ig.Type("MemberExpression",$.ig.Expression.prototype.$type)},true);$.ig.util.defType("ParameterExpression","Expression",{init:function(){$.ig.Expression.prototype.init.call(this)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},$type:new $.ig.Type("ParameterExpression",$.ig.Expression.prototype.$type)},true);$.ig.util.defType("LambdaExpression","Expression",{init:function(){$.ig.Expression.prototype.init.call(this)},$type:new $.ig.Type("LambdaExpression",$.ig.Expression.prototype.$type)},true);$.ig.util.defType("MethodCallExpression","Expression",{init:function(){$.ig.Expression.prototype.init.call(this)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},n:function(a,b){return null},$type:new $.ig.Type("MethodCallExpression",$.ig.Expression.prototype.$type)},true);$.ig.util.defType("IOrderedEnumerable$1","Object",{$type:new $.ig.Type("IOrderedEnumerable$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("Queryable","Object",{init:function(){$.ig.Object.prototype.init.call(this)},asQueryable:function(){return null},$type:new $.ig.Type("Queryable",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Enumerable","Object",{init:function(){$.ig.Object.prototype.init.call(this)},where$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=7;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b(this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$d.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},where$11111:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,$c:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$state=1;break;case 1:this.$e=this.$this.getEnumerator();this.$state=7;break;case 2:this.$d=this.$e.current();this.$state=3;break;case 3:if(b(this.$d,this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$d;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$c++;this.$state=7;break;case 7:if(this.$e.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},select$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=b(this.$c);this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},selectMany$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:this.$f=b(this.$c).getEnumerator();this.$state=6;break;case 4:this.$e=this.$f.current();this.$current=this.$e;this.$state=5;return true;case 5:this.$state=6;break;case 6:if(this.$f.moveNext()){this.$state=4}else{this.$state=7}break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},ofType$1:function($tResult){var $self=this;var $iter=function(){return function($tResult){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.getEnumerator();this.$state=7;break;case 2:this.$b=this.$c.current();this.$state=3;break;case 3:if($.ig.util.cast($tResult,this.$b)!==null){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$b;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$c.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tResult)};return new $.ig.GenericEnumerable$1($tResult,$iter)},last$1:function($tSource){var b=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(b!=null){return b.item(b.count()-1)}var c=null;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();c=d}return c},first$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},firstOrDefault$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},orderBy$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=d;var g=e;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)}else{return h.toString().compareTo(i.toString())}});return c},orderByDescending$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=e;var g=d;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)}else{return h.toString().compareTo(i.toString())}});return c},toList$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=a;this.$state=5;break;case 2:this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c++;this.$state=5;break;case 5:if(this.$c<b){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1($.ig.Number.prototype.$type,$iter)},concat$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=6;break;case 6:this.$f=b.getEnumerator();this.$state=9;break;case 7:this.$e=this.$f.current();this.$current=this.$e;this.$state=8;return true;case 8:this.$state=9;break;case 9:if(this.$f.moveNext()){this.$state=7}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},max:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.max(c,d)}}return c},max$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},min:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.min(c,d)}}return c},min$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},count$1:function($tSource){var b=0;var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b++}return b},reverse$1:function($tSource){var $self=this;var $iter=function(){return function($tSource){return{$state:0,$this:$self,$current:null,$b:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=new $.ig.List$1($tSource,1,this.$this);this.$state=1;break;case 1:this.$c=this.$b.count()-1;this.$state=5;break;case 2:this.$current=this.$b.__inner[this.$c];this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c--;this.$state=5;break;case 5:if(this.$c>0){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource)};return new $.ig.GenericEnumerable$1($tSource,$iter)},cast$1:function($tResult){if(this==null){throw new $.ig.ArgumentNullException("source")}var b=$.ig.util.cast($.ig.IEnumerable$1.prototype.$type.specialize($tResult),this);if(b!=null){return b}var c=new $.ig.List$1($tResult,0);var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if($.ig.util.cast($tResult,d)!==null){c.add(d)}else{c.add(null)}}return c},take$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=9;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b>0){this.$state=4}else{this.$state=6}break;case 4:b--;this.$current=this.$c;this.$state=5;return true;case 5:this.$state=8;break;case 6:this.$state=-2;return false;case 7:this.$state=8;break;case 8:this.$state=9;break;case 9:if(this.$d.moveNext()){this.$state=2}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},skip$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b<=0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=7;break;case 6:b--;this.$state=7;break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},any$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return true}return false},contains$1:function($tSource,value_){var b=this.getEnumerator();while(b.moveNext()){var item_=b.current();if(item_===value_){return true}}return false},union$1:function($tSource,b){return null},toArray$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b.asArrayList()},elementAt$1:function($tSource,b){var c=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(c!=null){return c.item(b)}return this.skip$1($tSource,b).first$1($tSource)},$type:new $.ig.Type("Enumerable",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SortedList$1","List$1",{$tElement:null,init:function($tElement,a){this.$tElement=$tElement;this.$type=this.$type.specialize(this.$tElement);$.ig.List$1.prototype.init1.call(this,this.$tElement,1,a)},getEnumerator:function(){return $.ig.List$1.prototype.getEnumerator.call(this)},$type:new $.ig.Type("SortedList$1",$.ig.List$1.prototype.$type.specialize(0),[$.ig.IOrderedEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IGrouping$2","Object",{$type:new $.ig.Type("IGrouping$2",null,[$.ig.IEnumerable$1.prototype.$type.specialize(1),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("IArray","Object",{$type:new $.ig.Type("IArray",null)},true);$.ig.util.defType("DependencyObject","Object",{init:function(){$.ig.Object.prototype.init.call(this);this._localValues=new $.ig.Dictionary(0);this.a=new $.ig.Dictionary(0)},_localValues:null,a:null,b:function(a){if(this._localValues.containsKey(a.name())){return this._localValues.item(a.name())}return a.f().c()},c:function(dp_,a){if(dp_.e()){var oldValue_=null;var old=this._localValues.proxy[dp_.__name];if(typeof old!="undefined"){oldValue_=old}this._localValues.item(dp_.__name,a);dp_.f().d()(this,new $.ig.DependencyPropertyChangedEventArgs(dp_,a,oldValue_))}else{this._localValues.item(dp_.__name,a)}},d:function(a,b){if(a==null){return}this.a.item(a.name(),b)},$type:new $.ig.Type("DependencyObject",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DependencyProperty","Object",{__name:null,a:null,b:null,d:null,e:function(){return this.d},init:function(a,b,c){this.d=false;$.ig.Object.prototype.init.call(this);this.__name=a;this.a=b;this.b=c;if(this.b!=null&&this.b.d()!=null){this.d=true}else{this.d=false}},f:function(){return this.b},g:function(){return this.a},name:function(){return this.__name},l:function(a,b,c,d){return $.ig.DependencyPropertiesCollection.prototype.c().f(a,b,c,d)},m:function(a,b){if(b==null){return null}var c=$.ig.DependencyPropertiesCollection.prototype.c().e(b.typeName()+a);if(c!=null){return c}return $.ig.DependencyProperty.prototype.m(a,b.a())},$type:new $.ig.Type("DependencyProperty",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Test","DependencyObject",{init:function(){var $self=this;$.ig.DependencyObject.prototype.init.call(this);var a=new $.ig.List$1($.ig.Number.prototype.$type,0);a.where$1($.ig.Number.prototype.$type,function(b){return true})},i:function(a,b,c){},j:function(a,b){for(var c=b;c<a.length;c++){}},$type:new $.ig.Type("Test",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("IQueryable","Object",{$type:new $.ig.Type("IQueryable",null)},true);$.ig.util.defType("IQueryable$1","Object",{$type:new $.ig.Type("IQueryable$1",null,[$.ig.IQueryable.prototype.$type])},true);$.ig.util.defType("IQueryProvider","Object",{$type:new $.ig.Type("IQueryProvider",null)},true);$.ig.util.defType("Activator","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){return null},b:function(a,b){return null},d:function($t){return null},$type:new $.ig.Type("Activator",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AggregateException","Error",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.Error.prototype.init.call(this)},init1:function(initNumber,a){$.ig.Error.prototype.init1.call(this,1,a)},init2:function(initNumber,a,b){$.ig.Error.prototype.init2.call(this,2,a,b)},$type:new $.ig.Type("AggregateException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentException","Error",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Error.prototype.init1.call(this,1,a+" is invalid.")},init1:function(initNumber,a,b){$.ig.Error.prototype.init1.call(this,1,a)},$type:new $.ig.Type("ArgumentException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentNullException","Error",{init:function(a){$.ig.Error.prototype.init1.call(this,1,a+" cannot be null.")},$type:new $.ig.Type("ArgumentNullException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentOutOfRangeException","ArgumentException",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.ArgumentException.prototype.init.call(this,a+" is out of range.")},init1:function(initNumber,a,b){$.ig.ArgumentException.prototype.init.call(this,a)},$type:new $.ig.Type("ArgumentOutOfRangeException",$.ig.ArgumentException.prototype.$type)},true);$.ig.util.defType("AsyncCompletedEventArgs","EventArgs",{a:null,b:null,c:null,init:function(a,b,c){$.ig.EventArgs.prototype.init.call(this);this.b=b;this.a=a;this.c=c},error:function(){return this.a},cancelled:function(){return this.b},userState:function(){return this.c},d:function(){if(this.error()!=null){throw this.error()}},$type:new $.ig.Type("AsyncCompletedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("Convert","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){return a},b:function(a){return a},c:function(a){if(a>=0){var b=Math.floor(a);var c=a-b;var d=Math.ceil(a)-a;if(c>d||c==d&&(b&1)>0){b++}return b}else{var e=Math.ceil(a);var f=e-a;var g=a-Math.floor(a);if(f>g||f==g&&(e&1)>0){e--}return e}},d:function(a){return parseInt(a)},$type:new $.ig.Type("Convert",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Environment","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return"\n"},$type:new $.ig.Type("Environment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InvalidOperationException","Error",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Error.prototype.init1.call(this,1,"Invalid operation")},init1:function(initNumber,a){$.ig.Error.prototype.init1.call(this,1,a)},$type:new $.ig.Type("InvalidOperationException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("Debug","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){},b:function(a){},c:function(a){},$type:new $.ig.Type("Debug",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IEquatable$1","Object",{$type:new $.ig.Type("IEquatable$1",null)},true);$.ig.util.defType("BinaryReader","Object",{__data:null,a:null,b:null,canRead:function(){return this.b<this.__data.length},currentPosition:function(){return this.b},length:function(){return this.__data.length},c:null,init:function(a,b){this.__data=null;this.a=false;this.b=0;this.c=false;$.ig.Object.prototype.init.call(this);this.__data=a;this.a=b;var data_=this.__data;if(typeof Uint8Array!="undefined"&&data_ instanceof Uint8Array){this.c=true}},d:function(offset_){if(this.c){return this.__data[offset_]&255}else{return this.__data.charCodeAt(offset_)&255}},e:function(offset_,a){var b=new Array(a);if(this.c){for(var i_=0;i_<a;i_++){b[i_]=this.__data[offset_+i_]&255}}else{for(var i_=0;i_<a;i_++){b[i_]=this.__data.charCodeAt(offset_+i_)&255}}return b},f:function(offset_,length_){var a=new Array(length_);if(this.c){for(var i_=0;i_<length_;i_++){a[i_]=this.__data[offset_+(length_-1-i_)]&255}}else{for(var i_=0;i_<length_;i_++){a[i_]=this.__data.charCodeAt(offset_+(length_-1-i_))&255}}return a},readByte:function(){var a=this.d(this.b);this.b=this.b+1;return a},readBytes:function(a){var b=this.e(this.b,a);this.b=this.b+a;return b},readUInt32:function(){var a=0;if(this.a){a=a+(this.d(this.b)<<24);this.b=this.b+1;a=a+(this.d(this.b)<<16);this.b=this.b+1;a=a+(this.d(this.b)<<8);this.b=this.b+1;a=a+this.d(this.b);this.b=this.b+1}else{a=a+this.d(this.b);this.b=this.b+1;a=a+(this.d(this.b)<<8);this.b=this.b+1;a=a+(this.d(this.b)<<16);this.b=this.b+1;a=a+(this.d(this.b)<<24);this.b=this.b+1}return a},readUInt16:function(){var a=0;if(this.a){a=a+(this.d(this.b)<<8);this.b=this.b+1;a=a+this.d(this.b);this.b=this.b+1}else{a=a+this.d(this.b);this.b=this.b+1;a=a+(this.d(this.b)<<8);this.b=this.b+1}return a},readInt32:function(){var a=0;if(this.a){a=a+(this.d(this.b)<<24);this.b=this.b+1;a=a+(this.d(this.b)<<16);this.b=this.b+1;a=a+(this.d(this.b)<<8);this.b=this.b+1;a=a+this.d(this.b);this.b=this.b+1}else{a=a+this.d(this.b);this.b=this.b+1;a=a+(this.d(this.b)<<8);this.b=this.b+1;a=a+(this.d(this.b)<<16);this.b=this.b+1;a=a+(this.d(this.b)<<24);this.b=this.b+1}if(a>2147483647){a=a-4294967296}return a},readDouble:function(){var a=this.f(this.b,8);this.b=this.b+8;var b=a[0]>>7;var c=0;c=c+(a[1]>>4);c=c+((a[0]&127)<<4);var d=1;var e=a[1];var f=1/2;var g=0;var h=false;for(g=5;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}for(var i=2;i<8;i++){e=a[i];for(g=1;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}}if(c==0&&!h){return 0}if(c==0&&h){c=1;d=d-1}if(c==1860&&!h){if(b==1){return $.ig.Number.prototype.nEGATIVE_INFINITY}else{return $.ig.Number.prototype.pOSITIVE_INFINITY}}if(c==1860&&h){return NaN}var j=c-1023;return Math.pow(-1,b)*Math.pow(2,j)*d},readSingle:function(){var a=this.f(this.b,4);this.b=this.b+4;var b=a[0]>>7;var c=0;c=c+(a[1]>>7);c=c+((a[0]&127)<<1);var d=1;var e=a[1];var f=1/2;var g=0;var h=false;for(g=2;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}for(var i=2;i<4;i++){e=a[i];for(g=1;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}}if(c==0&&!h){return 0}if(c==0&&h){c=1;d=d-1}if(c==255&&!h){if(b==1){return $.ig.Number.prototype.nEGATIVE_INFINITY}else{return $.ig.Number.prototype.pOSITIVE_INFINITY}}if(c==255&&h){return NaN}var j=c-127;return Math.pow(-1,b)*Math.pow(2,j)*d},$type:new $.ig.Type("BinaryReader",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ICredentials","Object",{$type:new $.ig.Type("ICredentials",null)},true);$.ig.util.defType("NetworkCredential","Object",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.NetworkCredential.prototype.init1.call(this,1,a,b,String.empty())},init1:function(initNumber,a,b,c){$.ig.Object.prototype.init.call(this);this.d(a);this.e(b);this.f(c)},getCredential:function(a,b){return this},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("NetworkCredential",$.ig.Object.prototype.$type,[$.ig.ICredentials.prototype.$type])},true);$.ig.util.defType("UploadStringCompletedEventArgs","AsyncCompletedEventArgs",{e:null,init:function(a,b,c,d){$.ig.AsyncCompletedEventArgs.prototype.init.call(this,b,c,d);this.e=a},result:function(){this.d();return this.e},$type:new $.ig.Type("UploadStringCompletedEventArgs",$.ig.AsyncCompletedEventArgs.prototype.$type)},true);$.ig.util.defType("WebClient","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.f(new $.ig.WebHeaderCollection)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},uploadStringCompleted:null,p:function(a,b,c,d){var $self=this;this.q(a,b,c).ac(function(e){if($self.uploadStringCompleted!=null){var f=null;var g=null;try{f=e.aa()}catch(e_){g=e_}$self.uploadStringCompleted($self,new $.ig.UploadStringCompletedEventArgs(f,g,e.i()==$.ig.TaskStatus.prototype.canceled,d))}})},q:function(a,b,c){var url_=a.value();var method_=b;var data_=c;var contentType_=this.f().item("Content-Type");var credentials_=this.g();var d=$.ig.util.ajax(url_,contentType_,data_,method_,credentials_);return new $.ig.Task$1(String,d,null)},r:function(a,b,c,d){a.i(b)},s:function(a,b,c,d){a.h(new $.ig.Error(1,d))},$type:new $.ig.Type("WebClient",$.ig.Object.prototype.$type)},true);$.ig.util.defType("WebHeaderCollection","NameValueCollection",{init:function(){$.ig.NameValueCollection.prototype.init.call(this)},$type:new $.ig.Type("WebHeaderCollection",$.ig.NameValueCollection.prototype.$type)},true);$.ig.util.defType("FaultCode","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.b(a)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("FaultCode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FaultException","Error",{init:function(a,b,c){$.ig.Error.prototype.init.call(this);this.reason(a);this.code(b);this.action(c)},_action:null,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_code:null,code:function(a){if(arguments.length===1){this._code=a;return a}else{return this._code}},_reason:null,reason:function(a){if(arguments.length===1){this._reason=a;return a}else{return this._reason}},$type:new $.ig.Type("FaultException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("FaultException$1","FaultException",{$tDetail:null,init:function($tDetail,a,b,c,d){this.$tDetail=$tDetail;this.$type=this.$type.specialize(this.$tDetail);$.ig.FaultException.prototype.init.call(this,b,c,d);this.detail(a)},_detail:null,detail:function(a){if(arguments.length===1){this._detail=a;return a}else{return this._detail}},$type:new $.ig.Type("FaultException$1",$.ig.FaultException.prototype.$type)},true);$.ig.util.defType("FaultReason","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},toString:function(){return this.a},$type:new $.ig.Type("FaultReason",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StringBuilder","Object",{_internal:null,internal:function(a){if(arguments.length===1){this._internal=a;return a}else{return this._internal}},init:function(){$.ig.Object.prototype.init.call(this);this._internal=[]},d:function(str_){this._internal.push(str_);return this},e:function(a){var str_=a.toString();this._internal.push(str_);return this},f:function(chr_){this._internal.push(chr_);return this},g:function(str_){this._internal.push(str_+String.fromCharCode(10));return this},h:function(index_,chr_){this._internal.splice(index_,0,chr_);return this},i:function(index_,str_){this._internal.splice(index_,0,str_);return this},j:function(startIndex_,length_){this._internal.splice(startIndex_,length_);return this},toString:function(){return this._internal.join("")},$type:new $.ig.Type("StringBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BinaryFileDownloader","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(uri_,callback_,errorCallback_){$.ig.util.getBinary(uri_,callback_,errorCallback_)},$type:new $.ig.Type("BinaryFileDownloader",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NotImplementedException","Error",{init:function(){$.ig.Error.prototype.init1.call(this,1,"not implemented")},$type:new $.ig.Type("NotImplementedException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("Random","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return Math.random()},b:function(a){return Math.round(this.a()*(a-1))},c:function(a,b){return a+Math.round(this.a()*(b-a-1))},$type:new $.ig.Type("Random",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Encoding","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,uTF8:function(){if($.ig.Encoding.prototype.a==null){$.ig.Encoding.prototype.a=new $.ig.UTF8Encoding}return $.ig.Encoding.prototype.a},getString:function(a,b,c){return""},getBytes:function(a){return new Array(0)},$type:new $.ig.Type("Encoding",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UTF8Encoding","Encoding",{init:function(){$.ig.Encoding.prototype.init.call(this)},getString:function(bytes_,a,b){var c="";for(var i_=a;i_<b;i_++){if(bytes_[i_]==0){break}c=c+String.fromCharCode(bytes_[i_])}return c},getBytes:function(input_){var a=new Array(input_.length);for(var i_=0;i_<input_.length;i_++){a[i_]=String.toCharCode(input_.charAt(i_))}return a},$type:new $.ig.Type("UTF8Encoding",$.ig.Encoding.prototype.$type)},true);$.ig.util.defType("Task","Object",{_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Task.prototype.init1.call(this,1,a,null)},init1:function(initNumber,a,b){var $self=this;$.ig.Object.prototype.init.call(this);var c=function(){};var e=function(d){if(d==null){$self.g(true)}else{$self.h(new $.ig.AggregateException(2,"Exception occurred during task execution",d))}};this.f(a.done(c).fail(e));this.j(b)},i:function(){if(this.g()){return $.ig.TaskStatus.prototype.canceled}switch(this.f().state()){case"pending":return $.ig.TaskStatus.prototype.created;case"resolved":return $.ig.TaskStatus.prototype.ranToCompletion;case"rejected":return $.ig.TaskStatus.prototype.faulted;default:return $.ig.TaskStatus.prototype.created}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},t:function(a){var $self=this;var b=function(){return a($self)};var d=function(c){return a($self)};var e=this.f().done(b).fail(d);return new $.ig.Task(0,e)},v:function($tNewResult,a){var $self=this;var b=new $.ig.TaskCompletionSource$1($tNewResult,0);var d=function(){try{var c=a($self);b.i(c)}catch(e_){b.h(e_)}};var f=function(e){return d()};var h=function(g){return d()};this.f().done(f).fail(h);return b.d()},$type:new $.ig.Type("Task",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Task$1","Task",{$tResult:null,init:function($tResult,a,b){var $self=this;this.y=false;this.$tResult=$tResult;this.$type=this.$type.specialize(this.$tResult);$.ig.Task.prototype.init1.call(this,1,a,b);var e=function(c){var d=c;$self.z=d;$self.y=true};var g=function(f){$self.y=true};this.f().done(e).fail(g)},y:null,z:null,aa:function(){if(!this.y){throw"Result is not ready yet"}if(this.h()!=null){throw this.h()}return this.z},ac:function(a){var $self=this;return $.ig.Task.prototype.t.call(this,function(b){return a(b)})},ae:function($tNewResult,a){var $self=this;var c=function(b){return a(b)};return this.ag($.ig.Object.prototype.$type,c).ag($.ig.Object.prototype.$type,function(d){return d.aa()})},ag:function($tNewResult,a){return $.ig.Task.prototype.v.call(this,$tNewResult,a)},$type:new $.ig.Type("Task$1",$.ig.Task.prototype.$type)},true);$.ig.util.defType("TaskCompletionSource$1","Object",{$tResult:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},init:function($tResult,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.$tResult=$tResult;
this.$type=this.$type.specialize(this.$tResult);$.ig.TaskCompletionSource$1.prototype.init1.call(this,1,null)},init1:function($tResult,initNumber,a){this.$tResult=$tResult;this.$type=this.$type.specialize(this.$tResult);$.ig.Object.prototype.init.call(this);this.c($.ig.util.deferred());this.d(new $.ig.Task$1(this.$tResult,this.c().promise(),a))},g:function(){this.c().reject(null)},h:function(a){this.c().reject(a)},i:function(a){this.c().resolve(a)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("TaskCompletionSource$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TaskFactory","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var $self=this;return new $.ig.Task(0,this.i(this.h(a)).always(function(){return b(a)}))},c:function($tResult,a,b){var $self=this;var c=new $.ig.TaskCompletionSource$1($tResult,0);this.i(this.h(a)).always(function(){try{var d=b(a);c.i(d)}catch(e_){c.h(e_)}});return c.d()},e:function($tAntecedentResult,a,b){var $self=this;return this.e($tAntecedentResult,a,function(c){return b(c)})},g:function($tAntecedentResult,$tResult,a,b){var $self=this;var d=function(c){return b(c)};return this.c($.ig.Object.prototype.$type,a,d).ae($tResult,function(e){return e.aa()})},h:function(a){var b=new Array(a.length);for(var c=0;c<a.length;c++){b[c]=a[c].f()}return b},i:function(a){var promises_=a;var b=function(p){function whenAll(){var whenDeffered=$.ig.util.deferred();if(arguments.length===0){whenDeffered.resolve();return whenDeffered}var count=arguments.length;var resolve=true;for(var i=0;i<arguments.length;i++){arguments[i].done(function(){resolve=resolve&&true}).fail(function(){resolve=resolve&&false}).always(function(){count--;if(count<=0){if(resolve){whenDeffered.resolve()}else{whenDeffered.reject()}}})}return whenDeffered}return whenAll.apply($,p)}(promises_);return b},$type:new $.ig.Type("TaskFactory",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Tuple$2","Object",{$t1:null,$t2:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function($t1,$t2,a,b){this.$t1=$t1;this.$t2=$t2;this.$type=this.$type.specialize(this.$t1,this.$t2);$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},$type:new $.ig.Type("Tuple$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Uri","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.value(a)},_value:null,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},$type:new $.ig.Type("Uri",$.ig.Object.prototype.$type)},true);$.ig.util.defType("JavaScriptSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){var text_=a;return JSON.parse(text_)},b:function(a){var value_=a;return JSON.stringify(value_)},$type:new $.ig.Type("JavaScriptSerializer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UIElement","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("UIElement",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("UIElementCollection","ObservableCollection$1",{ai:null,init:function(a){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.UIElement.prototype.$type);this.ai=a},ah:function(a){$.ig.ObservableCollection$1.prototype.ah.call(this,a);var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.y(null)}var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.y(this.ai)}},m:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();a.y(null)}$.ig.ObservableCollection$1.prototype.m.call(this)},$type:new $.ig.Type("UIElementCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.UIElement.prototype.$type))},true);$.ig.util.defType("FrameworkElement","UIElement",{init:function(){this.__opacity=1;$.ig.UIElement.prototype.init.call(this);this.__opacity=1;this.x(0);this.__visibility=$.ig.Visibility.prototype.visible;this.width(NaN);this.height(NaN)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},__visibility:null,visibility:function(a){if(arguments.length===1){this.__visibility=a;return a}else{return this.__visibility}},_width:null,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:null,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_dataContext:null,dataContext:function(a){if(arguments.length===1){this._dataContext=a;return a}else{return this._dataContext}},__opacity:null,opacity:function(a){if(arguments.length===1){this.__opacity=a;return a}else{return this.__opacity}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},$type:new $.ig.Type("FrameworkElement",$.ig.UIElement.prototype.$type)},true);$.ig.util.defType("Control","FrameworkElement",{init:function(){$.ig.FrameworkElement.prototype.init.call(this)},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},a8:function(){},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},$type:new $.ig.Type("Control",$.ig.FrameworkElement.prototype.$type)},true);$.ig.util.defType("ContentControl","Control",{init:function(){$.ig.Control.prototype.init.call(this)},_content:null,content:function(a){if(arguments.length===1){this._content=a;return a}else{return this._content}},_bf:null,bf:function(a){if(arguments.length===1){this._bf=a;return a}else{return this._bf}},$type:new $.ig.Type("ContentControl",$.ig.Control.prototype.$type)},true);$.ig.util.defType("Panel","FrameworkElement",{init:function(){$.ig.FrameworkElement.prototype.init.call(this);this.a1(new $.ig.UIElementCollection(this))},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},$type:new $.ig.Type("Panel",$.ig.FrameworkElement.prototype.$type)},true);$.ig.util.defType("Canvas","Panel",{init:function(){$.ig.Panel.prototype.init.call(this)},$type:new $.ig.Type("Canvas",$.ig.Panel.prototype.$type)},true);$.ig.util.defType("Image","FrameworkElement",{init:function(){$.ig.FrameworkElement.prototype.init.call(this)},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},$type:new $.ig.Type("Image",$.ig.FrameworkElement.prototype.$type)},true);$.ig.util.defType("TextBlock","FrameworkElement",{init:function(){$.ig.FrameworkElement.prototype.init.call(this)},a0:null,a3:function(a){if(arguments.length===1){if(this.a0!=a){this.a0=a;this.a5(-1)}return a}else{return this.a0}},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},$type:new $.ig.Type("TextBlock",$.ig.FrameworkElement.prototype.$type)},true);$.ig.util.defType("DataTemplate","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_render:null,render:function(a){if(arguments.length===1){this._render=a;return a}else{return this._render}},_measure:null,measure:function(a){if(arguments.length===1){this._measure=a;return a}else{return this._measure}},_passStarting:null,passStarting:function(a){if(arguments.length===1){this._passStarting=a;return a}else{return this._passStarting}},_passCompleted:null,passCompleted:function(a){if(arguments.length===1){this._passCompleted=a;return a}else{return this._passCompleted}},$type:new $.ig.Type("DataTemplate",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataTemplatePassInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},context:null,viewportTop:null,viewportLeft:null,viewportWidth:null,viewportHeight:null,isHitTestRender:null,passID:null,areGradientsEnabled:null,$type:new $.ig.Type("DataTemplatePassInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataTemplateMeasureInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},context:null,width:null,height:null,isConstant:null,data:null,passInfo:null,renderOffsetX:null,renderOffsetY:null,$type:new $.ig.Type("DataTemplateMeasureInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataTemplateRenderInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},context:null,xPosition:null,yPosition:null,availableWidth:null,availableHeight:null,data:null,isHitTestRender:null,passInfo:null,areGradientsEnabled:null,renderOffsetX:null,renderOffsetY:null,$type:new $.ig.Type("DataTemplateRenderInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Binding","Object",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.c=false;$.ig.Object.prototype.init.call(this)},init1:function(initNumber,a){this.c=false;$.ig.Object.prototype.init.call(this);this.b=new $.ig.PropertyPath(a)},a:null,d:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,e:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},$type:new $.ig.Type("Binding",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UnsetValue","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("UnsetValue",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DependencyPropertiesCollection","Object",{a:null,c:function(){if($.ig.DependencyPropertiesCollection.prototype.b==null){$.ig.DependencyPropertiesCollection.prototype.b=new $.ig.DependencyPropertiesCollection}return $.ig.DependencyPropertiesCollection.prototype.b},init:function(){$.ig.Object.prototype.init.call(this);if(this.a==null){this.a=new $.ig.Dictionary(0)}},e:function(a){return this.a.item(a)},f:function(a,b,c,d){var e=new $.ig.DependencyProperty(a,b,d);this.a.item(c.typeName()+a,e);return e},$type:new $.ig.Type("DependencyPropertiesCollection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DependencyPropertyChangedEventArgs","Object",{a:null,b:null,init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.a=b;this.b=c;this.c=a},c:null,d:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},e:function(){return this.a},f:function(){return this.b},$type:new $.ig.Type("DependencyPropertyChangedEventArgs",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseEventArgs","EventArgs",{init:function(){$.ig.EventArgs.prototype.init.call(this)},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_originalSource:null,originalSource:function(a){if(arguments.length===1){this._originalSource=a;return a}else{return this._originalSource}},getPosition:function(a){return this.position()},$type:new $.ig.Type("MouseEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("MouseButtonEventArgs","MouseEventArgs",{init:function(){$.ig.MouseEventArgs.prototype.init.call(this)},_handled:null,handled:function(a){if(arguments.length===1){this._handled=a;return a}else{return this._handled}},$type:new $.ig.Type("MouseButtonEventArgs",$.ig.MouseEventArgs.prototype.$type)},true);$.ig.util.defType("Brush","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.__fill=null;this.a=null},isGradient:function(){return false},__fill:null,fill:function(a){if(arguments.length===1){this.__fill=a;return a}else{return this.__fill}},a:null,b:null,color:function(a){if(arguments.length===1){this.b=a;this.a=this.b.f();this.__fill=this.a;return a}else{if(this.__fill==this.a){return this.b}var b=new $.ig.Color;if(this.__fill!=null){b.f(this.__fill);this.b=b;this.a=this.__fill}return b}},$type:new $.ig.Type("Brush",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Color","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.__a=0;this.__r=0;this.__g=0;this.__b=0;this.__colorString="";this.a=true},__a:null,b:function(a){if(arguments.length===1){this.__a=Math.round(a);this.a=true;return a}else{return this.__a}},__r:null,c:function(a){if(arguments.length===1){this.__r=Math.round(a);this.a=true;return a}else{return this.__r}},__g:null,d:function(a){if(arguments.length===1){this.__g=Math.round(a);this.a=true;return a}else{return this.__g}},__b:null,e:function(a){if(arguments.length===1){this.__b=Math.round(a);this.a=true;return a}else{return this.__b}},__colorString:null,f:function(a){if(arguments.length===1){this.__colorString=a;this.r();return a}else{if(this.a){this.a=false;this.q()}return this.__colorString}},a:null,q:function(){this.__colorString="rgba("+this.__r+","+this.__g+","+this.__b+","+this.__a/255+")"},r:function(){var obj_=$.ig.util.stringToColor(this.__colorString);this.__a=typeof obj_.a!="undefined"?Math.round(obj_.a):0;this.__r=typeof obj_.r!="undefined"?Math.round(obj_.r):0;this.__g=typeof obj_.g!="undefined"?Math.round(obj_.g):0;this.__b=typeof obj_.b!="undefined"?Math.round(obj_.b):0},s:function(a_,r_,g_,b_){var a=new $.ig.Color;a.__a=a_|0;a.__r=r_|0;a.__g=g_|0;a.__b=b_|0;a.a=true;return a},$type:new $.ig.Type("Color",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DoubleCollection","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,Number)},$type:new $.ig.Type("DoubleCollection",$.ig.List$1.prototype.$type.specialize(Number))},true);$.ig.util.defType("Geometry","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_a:null,a:function(){return this._a},$type:new $.ig.Type("Geometry",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GeometryCollection","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.Geometry.prototype.$type)},$type:new $.ig.Type("GeometryCollection",$.ig.List$1.prototype.$type.specialize($.ig.Geometry.prototype.$type))},true);$.ig.util.defType("GeometryGroup","Geometry",{init:function(){$.ig.Geometry.prototype.init.call(this);this.e(new $.ig.GeometryCollection)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},a:function(){return $.ig.GeometryType.prototype.group},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("GeometryGroup",$.ig.Geometry.prototype.$type)},true);$.ig.util.defType("LineGeometry","Geometry",{init:function(){$.ig.Geometry.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},a:function(){return $.ig.GeometryType.prototype.line},$type:new $.ig.Type("LineGeometry",$.ig.Geometry.prototype.$type)},true);$.ig.util.defType("RectangleGeometry","Geometry",{init:function(){$.ig.Geometry.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},a:function(){return $.ig.GeometryType.prototype.rectangle},$type:new $.ig.Type("RectangleGeometry",$.ig.Geometry.prototype.$type)},true);$.ig.util.defType("EllipseGeometry","Geometry",{init:function(){$.ig.Geometry.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},a:function(){return $.ig.GeometryType.prototype.ellipse},$type:new $.ig.Type("EllipseGeometry",$.ig.Geometry.prototype.$type)},true);$.ig.util.defType("PathGeometry","Geometry",{init:function(){$.ig.Geometry.prototype.init.call(this);this.d(new $.ig.PathFigureCollection)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},a:function(){return $.ig.GeometryType.prototype.path},$type:new $.ig.Type("PathGeometry",$.ig.Geometry.prototype.$type)},true);$.ig.util.defType("PathFigure","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.__segments=new $.ig.PathSegmentCollection;this.__isClosed=false;this.__isFilled=true},__segments:null,segments:function(a){if(arguments.length===1){this.__segments=a;return a}else{return this.__segments}},__startPoint:null,startPoint:function(a){if(arguments.length===1){this.__startPoint=a;return a}else{return this.__startPoint}},__isFilled:null,isFilled:function(a){if(arguments.length===1){this.__isFilled=a;return a}else{return this.__isFilled}},__isClosed:null,isClosed:function(a){if(arguments.length===1){this.__isClosed=a;return a}else{return this.__isClosed}},$type:new $.ig.Type("PathFigure",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathFigureCollection","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.PathFigure.prototype.$type)},$type:new $.ig.Type("PathFigureCollection",$.ig.List$1.prototype.$type.specialize($.ig.PathFigure.prototype.$type))},true);$.ig.util.defType("PathSegment","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_a:null,a:function(){return this._a},$type:new $.ig.Type("PathSegment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathSegmentCollection","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.PathSegment.prototype.$type)},$type:new $.ig.Type("PathSegmentCollection",$.ig.List$1.prototype.$type.specialize($.ig.PathSegment.prototype.$type))},true);$.ig.util.defType("LineSegment","PathSegment",{c:null,d:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PathSegment.prototype.init.call(this);this.d(a)},init1:function(initNumber){$.ig.PathSegment.prototype.init.call(this)},a:function(){return $.ig.PathSegmentType.prototype.line},$type:new $.ig.Type("LineSegment",$.ig.PathSegment.prototype.$type)},true);$.ig.util.defType("BezierSegment","PathSegment",{c:null,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,g:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,h:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PathSegment.prototype.init.call(this)},init1:function(initNumber,a,b,c){$.ig.PathSegment.prototype.init.call(this);this.f(a);this.g(b);this.h(c)},a:function(){return $.ig.PathSegmentType.prototype.bezier},$type:new $.ig.Type("BezierSegment",$.ig.PathSegment.prototype.$type)},true);$.ig.util.defType("PolyBezierSegment","PathSegment",{init:function(){$.ig.PathSegment.prototype.init.call(this);this.d(new $.ig.PointCollection(0))},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},a:function(){return $.ig.PathSegmentType.prototype.polyBezier},$type:new $.ig.Type("PolyBezierSegment",$.ig.PathSegment.prototype.$type)},true);$.ig.util.defType("PolyLineSegment","PathSegment",{init:function(){$.ig.PathSegment.prototype.init.call(this);this.__points=new $.ig.PointCollection(0)},__points:null,points:function(a){if(arguments.length===1){this.__points=a;return a}else{return this.__points}},a:function(){return $.ig.PathSegmentType.prototype.polyLine},$type:new $.ig.Type("PolyLineSegment",$.ig.PathSegment.prototype.$type)},true);$.ig.util.defType("ArcSegment","PathSegment",{init:function(){$.ig.PathSegment.prototype.init.call(this);this.i(false);this.j($.ig.SweepDirection.prototype.counterclockwise)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},a:function(){return $.ig.PathSegmentType.prototype.arc},$type:new $.ig.Type("ArcSegment",$.ig.PathSegment.prototype.$type)},true);$.ig.util.defType("Transform","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},$type:new $.ig.Type("Transform",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("RotateTransform","Transform",{init:function(){$.ig.Transform.prototype.init.call(this)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("RotateTransform",$.ig.Transform.prototype.$type)},true);$.ig.util.defType("TranslateTransform","Transform",{init:function(){$.ig.Transform.prototype.init.call(this)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("TranslateTransform",$.ig.Transform.prototype.$type)},true);$.ig.util.defType("TransformGroup","Transform",{_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},init:function(){$.ig.Transform.prototype.init.call(this);this.f(new $.ig.TransformCollection)},$type:new $.ig.Type("TransformGroup",$.ig.Transform.prototype.$type)},true);$.ig.util.defType("TransformCollection","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.Transform.prototype.$type)},$type:new $.ig.Type("TransformCollection",$.ig.List$1.prototype.$type.specialize($.ig.Transform.prototype.$type))},true);$.ig.util.defType("Point","Object",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.__x=0;this.__y=0},x:function(a){if(arguments.length===1){this.__x=a;return a}else{return this.__x}},y:function(a){if(arguments.length===1){this.__y=a;return a}else{return this.__y}},__x:null,__y:null,init1:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.__x=a;this.__y=b},$type:new $.ig.Type("Point",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PointCollection","List$1",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.List$1.prototype.init.call(this,$.ig.Point.prototype.$type)},init1:function(initNumber,source_){$.ig.List$1.prototype.init.call(this,$.ig.Point.prototype.$type);this.__inner=source_.__inner},$type:new $.ig.Type("PointCollection",$.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type))},true);$.ig.util.defType("PropertyMetadata","Object",{a:null,c:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,d:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.c(null);this.d(a)},init1:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},$type:new $.ig.Type("PropertyMetadata",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PropertyPath","Object",{a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},init:function(a){$.ig.Object.prototype.init.call(this);this.b(a)},$type:new $.ig.Type("PropertyPath",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Rect","Object",{init:function(initNumber,a,b,c,d){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.top(b);this.left(a);this.width(c);this.height(d)},init1:function(initNumber,a,b,c){$.ig.Object.prototype.init.call(this);this.top(b);this.left(a);this.width(c.c());this.height(c.d())},init2:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.top(Math.min(a.__y,b.__y));this.left(Math.min(a.__x,b.__x));this.width(Math.max(Math.max(a.__x,b.__x)-this.left(),0));this.height(Math.max(Math.max(a.__y,b.__y)-this.top(),0))},init3:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.top(a.__y);this.left(a.__x);this.width(b.c());this.height(b.d())},a:null,x:function(a){if(arguments.length===1){this.a=a;this.f=this.a;this.g=this.f+this.c;return a}else{return this.a}},b:null,y:function(a){if(arguments.length===1){this.b=a;this.e=this.b;this.h=this.e+this.d;return a}else{return this.b}},c:null,width:function(a){if(arguments.length===1){this.c=a;this.g=this.f+this.c;return a}else{return this.c}},d:null,height:function(a){if(arguments.length===1){this.d=a;this.h=this.e+this.d;return a}else{return this.d}},e:null,top:function(a){if(arguments.length===1){this.e=a;this.y(this.e);return a}else{return this.e}},f:null,left:function(a){if(arguments.length===1){this.f=a;this.x(this.f);return a}else{return this.f}},g:null,right:function(a){if(arguments.length===1){this.g=a;this.c=this.g-this.f;return a}else{return this.g}},h:null,bottom:function(a){if(arguments.length===1){this.h=a;this.d=this.h-this.e;return a}else{return this.h}},isEmpty:function(){return this.c<0},empty:function(){return new $.ig.Rect(0,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY)},equals:function(a){if(a==null){return false}if(a.x()==this.x()&&a.y()==this.y()&&a.width()==this.width()&&a.height()==this.height()){return true}return false},i:function(a,b){return a>=this.a&&a-this.c<=this.a&&b>=this.b&&b-this.d<=this.b},contains:function(a,b){return!this.isEmpty()&&this.i(a,b)},contains1:function(a){return this.contains(a.__x,a.__y)},contains2:function(a){return!this.isEmpty()&&!a.isEmpty()&&this.a<=a.a&&this.b<=a.b&&this.a+this.c>=a.a+a.c&&this.b+this.d>=a.b+a.d},intersectsWith:function(a){return!(a.left()>this.right()||a.right()<this.left()||a.top()>this.bottom()||a.bottom()<this.top())},intersect:function(a){if(!this.intersectsWith(a)){this.e=Number.POSITIVE_INFINITY;this.f=Number.POSITIVE_INFINITY;this.c=Number.NEGATIVE_INFINITY;this.d=Number.NEGATIVE_INFINITY}var b=Math.max(this.x(),a.x());var c=Math.max(this.y(),a.y());var d=Math.min(this.x()+this.width(),a.x()+a.width())-b;var e=Math.min(this.y()+this.height(),a.y()+a.height())-c;if(d<0){d=0}if(e<0){e=0}this.c=d;this.d=e;this.a=b;this.b=c;this.f=this.a;this.e=this.b;this.g=this.f+this.c;this.h=this.e+this.d},union:function(a){if(this.isEmpty()){this.a=a.x();this.b=a.y();this.c=a.width();this.d=a.height();this.f=this.a;this.e=this.b;this.g=this.f+this.c;this.h=this.e+this.d;return}if(!a.isEmpty()){var b=Math.min(this.x(),a.x());var c=Math.min(this.y(),a.y());var d=this.width();var e=this.height();if(a.width()==Number.POSITIVE_INFINITY||this.width()==Number.POSITIVE_INFINITY){d=Number.POSITIVE_INFINITY}else{var f=Math.max(this.right(),a.right());d=f-b}if(a.height()==Number.POSITIVE_INFINITY||this.height()==Number.POSITIVE_INFINITY){e=Number.POSITIVE_INFINITY}else{var g=Math.max(this.bottom(),a.bottom());e=g-c}this.a=b;this.b=c;this.c=d;this.d=e;this.f=this.a;this.e=this.b;this.g=this.f+this.c;this.h=this.e+this.d}},$type:new $.ig.Type("Rect",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Shape","FrameworkElement",{init:function(){this.__fill=null;this.__stroke=null;$.ig.FrameworkElement.prototype.init.call(this)},__fill:null,fill:function(a){if(arguments.length===1){this.__fill=a;return a}else{return this.__fill}},__stroke:null,stroke:function(a){if(arguments.length===1){this.__stroke=a;return a}else{return this.__stroke}},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},_a6:null,a6:function(a){if(arguments.length===1){this._a6=a;return a}else{return this._a6}},_a7:null,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},$type:new $.ig.Type("Shape",$.ig.FrameworkElement.prototype.$type)},true);$.ig.util.defType("Line","Shape",{init:function(){$.ig.Shape.prototype.init.call(this);this.bo(0);this.bp(0);this.bq(0);this.br(0)},_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},_bp:null,bp:function(a){if(arguments.length===1){this._bp=a;return a}else{return this._bp}},_bq:null,bq:function(a){if(arguments.length===1){this._bq=a;return a}else{return this._bq}},_br:null,br:function(a){if(arguments.length===1){this._br=a;return a}else{return this._br}},$type:new $.ig.Type("Line",$.ig.Shape.prototype.$type)},true);$.ig.util.defType("Path","Shape",{init:function(){$.ig.Shape.prototype.init.call(this)},_bn:null,bn:function(a){if(arguments.length===1){this._bn=a;return a}else{return this._bn}},bk:null,height:function(a){if(arguments.length===1){this.bk=a;return a}else{return this.bk}},bl:null,width:function(a){if(arguments.length===1){this.bl=a;return a}else{return this.bl}},$type:new $.ig.Type("Path",$.ig.Shape.prototype.$type)},true);$.ig.util.defType("Polygon","Shape",{init:function(){$.ig.Shape.prototype.init.call(this);this.bl(new $.ig.PointCollection(0))},_bl:null,bl:function(a){if(arguments.length===1){this._bl=a;return a}else{return this._bl}},$type:new $.ig.Type("Polygon",$.ig.Shape.prototype.$type)},true);$.ig.util.defType("Polyline","Shape",{init:function(){$.ig.Shape.prototype.init.call(this);this.bl(new $.ig.PointCollection(0))},_bl:null,bl:function(a){if(arguments.length===1){this._bl=a;return a}else{return this._bl}},$type:new $.ig.Type("Polyline",$.ig.Shape.prototype.$type)},true);$.ig.util.defType("Rectangle","Shape",{bk:null,init:function(){$.ig.Shape.prototype.init.call(this);this.bk=new $.ig.Rect(0,0,0,0,0)},bl:function(a){},$type:new $.ig.Type("Rectangle",$.ig.Shape.prototype.$type)},true);$.ig.util.defType("Size","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("Size",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Style","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("Style",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StyleTypedPropertyAttribute","Attribute",{init:function(){$.ig.Attribute.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("StyleTypedPropertyAttribute",$.ig.Attribute.prototype.$type)},true);$.ig.util.defType("TemplatePartAttribute","Attribute",{init:function(){$.ig.Attribute.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d
}},$type:new $.ig.Type("TemplatePartAttribute",$.ig.Attribute.prototype.$type)},true);$.ig.util.defType("TemplateVisualStateAttribute","Attribute",{init:function(){$.ig.Attribute.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("TemplateVisualStateAttribute",$.ig.Attribute.prototype.$type)},true);$.ig.util.defType("XObject","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.backingNode(a)},_backingNode:null,backingNode:function(a){if(arguments.length===1){this._backingNode=a;return a}else{return this._backingNode}},_b:null,b:function(){return this._b},toString:function(){if(this.backingNode()!=null){return $.ig.XmlUtils.prototype.xmlNodeToString(this.backingNode())}else{return""}},$type:new $.ig.Type("XObject",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XAttribute","XObject",{init:function(a){$.ig.XObject.prototype.init.call(this,a)},g:function(a){this.backingNode(this.backingNode().cloneNode(true));a.setAttributeNode(this.backingNode())},b:function(){return $.ig.XmlNodeType.prototype.attribute},f:function(){return $.ig.XmlUtils.prototype.o(this.backingNode())},$type:new $.ig.Type("XAttribute",$.ig.XObject.prototype.$type)},true);$.ig.util.defType("XNode","XObject",{init:function(a){$.ig.XObject.prototype.init.call(this,a)},$type:new $.ig.Type("XNode",$.ig.XObject.prototype.$type)},true);$.ig.util.defType("XContainer","XNode",{init:function(a){$.ig.XNode.prototype.init.call(this,a)},f:function(a){var b=null;var c=this.backingNode();var d=c.childNodes;var e=d.length;var f=a.c();var g=a.d();for(var h=0;h<e;h++){var i=d.item(h);if(i.namespaceURI==g&&i.nodeType==$.ig.XmlNodeType.prototype.element&&$.ig.XmlUtils.prototype.m(i)==f){b=i}}if(b==null){return null}else{return new $.ig.XElement(0,b)}},g:function(){return this.i(null)},h:function(a){return this.i(a)},i:function(a){var b=new $.ig.List$1($.ig.XElement.prototype.$type,0);for(var c=0;c<this.backingNode().childNodes.length;c++){var d=this.backingNode().childNodes.item(c);if(d.nodeType==$.ig.XmlNodeType.prototype.element){var e=false;if(a!=null){if($.ig.XmlUtils.prototype.m(d)==a.c()&&d.namespaceURI==a.d()){e=true}}else{e=true}if(e){b.add(new $.ig.XElement(0,d))}}}return b},j:function(a){var b=this.backingNode();var c;if($.ig.util.cast($.ig.XDocument.prototype.$type,this)!==null){c=this.backingNode()}else{c=this.backingNode().ownerDocument}if($.ig.util.cast($.ig.XAttribute.prototype.$type,a)!==null){a.g(b)}else if($.ig.util.cast($.ig.XElement.prototype.$type,a)!==null){a.q(b,c)}},$type:new $.ig.Type("XContainer",$.ig.XNode.prototype.$type)},true);$.ig.util.defType("XDocument","XContainer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.XContainer.prototype.init.call(this,a)},init1:function(initNumber){$.ig.XContainer.prototype.init.call(this,$.ig.XmlUtils.prototype.h())},b:function(){return $.ig.XmlNodeType.prototype.document},k:function(a){return new $.ig.XDocument(0,$.ig.XmlUtils.prototype.g(a))},$type:new $.ig.Type("XDocument",$.ig.XContainer.prototype.$type)},true);$.ig.util.defType("XElement","XContainer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.XContainer.prototype.init.call(this,a)},init1:function(initNumber,a){$.ig.XElement.prototype.init2.call(this,2,a,null)},init2:function(initNumber,a,b){$.ig.XContainer.prototype.init.call(this,$.ig.XmlUtils.prototype.i(a.c(),a.d()));var c=b==null?"":b.toString();this.k(c)},k:function(a){if(arguments.length===1){$.ig.XmlUtils.prototype.k(this.backingNode(),a);return a}else{return $.ig.XmlUtils.prototype.j(this.backingNode())}},b:function(){return $.ig.XmlNodeType.prototype.element},l:function(){return $.ig.XName.prototype.i($.ig.XmlUtils.prototype.m(this.backingNode()),this.backingNode().namespaceURI)},p:function(a){return new $.ig.XAttribute($.ig.XmlUtils.prototype.n(this.backingNode(),a.c(),a.d()))},q:function(a,b){if(this.backingNode().ownerDocument!=b){this.backingNode($.ig.XmlUtils.prototype.l(b,this.backingNode()))}a.appendChild(this.backingNode())},$type:new $.ig.Type("XElement",$.ig.XContainer.prototype.$type)},true);$.ig.util.defType("XmlUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return!!window.DOMParser},b:function(a){var text_=a;return(new DOMParser).parseFromString(text_,"text/xml")},c:function(a){var text_=a;return function(xml){var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async=false;xmlDoc.loadXML(xml);return xmlDoc}(text_)},d:function(a){var node_=a;return(new XMLSerializer).serializeToString(node_)},e:function(a){var node_=a;return node_.xml},f:function(){return new ActiveXObject("Microsoft.XMLDOM")},g:function(a){if($.ig.XmlUtils.prototype.a()){return $.ig.XmlUtils.prototype.b(a)}else{return $.ig.XmlUtils.prototype.c(a)}},xmlNodeToString:function(a){if($.ig.XmlUtils.prototype.a()){return $.ig.XmlUtils.prototype.d(a)}else{return $.ig.XmlUtils.prototype.e(a)}},h:function(){var a;if($.ig.XmlUtils.prototype.a()){a=$.ig.XmlUtils.prototype.b("<dummy/>");a.removeChild(a.documentElement)}else{a=$.ig.XmlUtils.prototype.f()}return a},i:function(a,b){var doc_=$.ig.XmlUtils.prototype.h();if($.ig.XmlUtils.prototype.a()){return doc_.createElementNS(b,a)}else{var name_=a;var namespaceURI_=b;return doc_.createNode(1,name_,namespaceURI_)}},j:function(a){if($.ig.XmlUtils.prototype.a()){return a.textContent}else{var node_=a;return node_.text}},k:function(a,b){if($.ig.XmlUtils.prototype.a()){a.textContent=b}else{var node_=a;var text_=b;node_.text=text_}},l:function(a,b){if($.ig.XmlUtils.prototype.a()){return a.importNode(b,true)}else{return b}},m:function(a){if($.ig.XmlUtils.prototype.a()){return a.localName}else{var node_=a;return node_.baseName}},n:function(a,b,c){if($.ig.XmlUtils.prototype.a()){return a.getAttributeNodeNS(c,b)}else{var elem_=a;var ln_=b;var nn_=c;return elem_.attributes.getQualifiedItem(ln_,nn_)}},o:function(a){if($.ig.XmlUtils.prototype.a()){return a.nodeValue}else{var attr_=a;return attr_.value}},$type:new $.ig.Type("XmlUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XName","Object",{a:null,b:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},c:function(){return this.a},d:function(){return this.b},e:function(){return $.ig.XNamespace.prototype.d(this.b)},i:function(a,b){return new $.ig.XName(a,b)},$type:new $.ig.Type("XName",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XNamespace","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},d:function(a){return new $.ig.XNamespace(a)},b:function(){return $.ig.XNamespace.prototype.d("http://www.w3.org/2000/xmlns/")},c:function(){return this.a},$type:new $.ig.Type("XNamespace",$.ig.Object.prototype.$type)},true);$.ig.Visibility.prototype.visible=0;$.ig.Visibility.prototype.collapsed=1;$.ig.VerticalAlignment.prototype.top=0;$.ig.VerticalAlignment.prototype.center=1;$.ig.VerticalAlignment.prototype.bottom=2;$.ig.VerticalAlignment.prototype.stretch=3;$.ig.Stretch.prototype.none=0;$.ig.Stretch.prototype.fill=1;$.ig.Stretch.prototype.uniform=2;$.ig.Stretch.prototype.uniformToFill=3;$.ig.PenLineCap.prototype.flat=0;$.ig.PenLineCap.prototype.square=1;$.ig.PenLineCap.prototype.round=2;$.ig.PenLineCap.prototype.triangle=3;$.ig.HorizontalAlignment.prototype.left=0;$.ig.HorizontalAlignment.prototype.center=1;$.ig.HorizontalAlignment.prototype.right=2;$.ig.HorizontalAlignment.prototype.stretch=3;$.ig.SweepDirection.prototype.counterclockwise=0;$.ig.SweepDirection.prototype.clockwise=1;$.ig.PathSegmentType.prototype.line=0;$.ig.PathSegmentType.prototype.bezier=1;$.ig.PathSegmentType.prototype.polyBezier=2;$.ig.PathSegmentType.prototype.polyLine=3;$.ig.PathSegmentType.prototype.arc=4;$.ig.GeometryType.prototype.group=0;$.ig.GeometryType.prototype.line=1;$.ig.GeometryType.prototype.rectangle=2;$.ig.GeometryType.prototype.ellipse=3;$.ig.GeometryType.prototype.path=4;$.ig.FillRule.prototype.evenOdd=0;$.ig.FillRule.prototype.nonzero=1;$.ig.ModifierKeys.prototype.none=0;$.ig.ModifierKeys.prototype.alt=1;$.ig.ModifierKeys.prototype.control=2;$.ig.ModifierKeys.prototype.shift=4;$.ig.ModifierKeys.prototype.windows=8;$.ig.ModifierKeys.prototype.apple=8;$.ig.Key.prototype.none=0;$.ig.Key.prototype.back=1;$.ig.Key.prototype.tab=2;$.ig.Key.prototype.enter=3;$.ig.Key.prototype.shift=4;$.ig.Key.prototype.ctrl=5;$.ig.Key.prototype.alt=6;$.ig.Key.prototype.capsLock=7;$.ig.Key.prototype.escape=8;$.ig.Key.prototype.space=9;$.ig.Key.prototype.pageUp=10;$.ig.Key.prototype.pageDown=11;$.ig.Key.prototype.end=12;$.ig.Key.prototype.home=13;$.ig.Key.prototype.left=14;$.ig.Key.prototype.up=15;$.ig.Key.prototype.right=16;$.ig.Key.prototype.down=17;$.ig.Key.prototype.insert=18;$.ig.Key.prototype.del=19;$.ig.Key.prototype.d0=20;$.ig.Key.prototype.d1=21;$.ig.Key.prototype.d2=22;$.ig.Key.prototype.d3=23;$.ig.Key.prototype.d4=24;$.ig.Key.prototype.d5=25;$.ig.Key.prototype.d6=26;$.ig.Key.prototype.d7=27;$.ig.Key.prototype.d8=28;$.ig.Key.prototype.d9=29;$.ig.Key.prototype.a=30;$.ig.Key.prototype.b=31;$.ig.Key.prototype.c=32;$.ig.Key.prototype.d=33;$.ig.Key.prototype.e=34;$.ig.Key.prototype.f=35;$.ig.Key.prototype.g=36;$.ig.Key.prototype.h=37;$.ig.Key.prototype.i=38;$.ig.Key.prototype.j=39;$.ig.Key.prototype.k=40;$.ig.Key.prototype.l=41;$.ig.Key.prototype.m=42;$.ig.Key.prototype.n=43;$.ig.Key.prototype.o=44;$.ig.Key.prototype.p=45;$.ig.Key.prototype.q=46;$.ig.Key.prototype.r=47;$.ig.Key.prototype.s=48;$.ig.Key.prototype.t=49;$.ig.Key.prototype.u=50;$.ig.Key.prototype.v=51;$.ig.Key.prototype.w=52;$.ig.Key.prototype.x=53;$.ig.Key.prototype.y=54;$.ig.Key.prototype.z=55;$.ig.Key.prototype.f1=56;$.ig.Key.prototype.f2=57;$.ig.Key.prototype.f3=58;$.ig.Key.prototype.f4=59;$.ig.Key.prototype.f5=60;$.ig.Key.prototype.f6=61;$.ig.Key.prototype.f7=62;$.ig.Key.prototype.f8=63;$.ig.Key.prototype.f9=64;$.ig.Key.prototype.f10=65;$.ig.Key.prototype.f11=66;$.ig.Key.prototype.f12=67;$.ig.Key.prototype.numPad0=68;$.ig.Key.prototype.numPad1=69;$.ig.Key.prototype.numPad2=70;$.ig.Key.prototype.numPad3=71;$.ig.Key.prototype.numPad4=72;$.ig.Key.prototype.numPad5=73;$.ig.Key.prototype.numPad6=74;$.ig.Key.prototype.numPad7=75;$.ig.Key.prototype.numPad8=76;$.ig.Key.prototype.numPad9=77;$.ig.Key.prototype.multiply=78;$.ig.Key.prototype.add=79;$.ig.Key.prototype.subtract=80;$.ig.Key.prototype.decimal=81;$.ig.Key.prototype.divide=82;$.ig.Key.prototype.unknown=255;$.ig.TaskStatus.prototype.created=0;$.ig.TaskStatus.prototype.ranToCompletion=5;$.ig.TaskStatus.prototype.canceled=6;$.ig.TaskStatus.prototype.faulted=7;$.ig.ListSortDirection.prototype.ascending=0;$.ig.ListSortDirection.prototype.descending=1;$.ig.NotifyCollectionChangedAction.prototype.add=0;$.ig.NotifyCollectionChangedAction.prototype.remove=1;$.ig.NotifyCollectionChangedAction.prototype.replace=2;$.ig.NotifyCollectionChangedAction.prototype.reset=4;$.ig.DependencyProperty.prototype.c=new $.ig.UnsetValue;$.ig.Test.prototype.e="UseLightweightMarkers";$.ig.Test.prototype.f=$.ig.DependencyProperty.prototype.l($.ig.Test.prototype.e,$.ig.Boolean.prototype.$type,$.ig.Test.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.Test.prototype.$type,a).i($.ig.Test.prototype.e,b.f(),b.e())}));$.ig.DependencyPropertiesCollection.prototype.b=null;$.ig.util.extCopy($.ig.Queryable,[[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["ofType$1","cast$1"]]]);/*!@license
* Infragistics.Web.ClientUI infragistics.dv.shared.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);$.ig.util.defType("SmartPosition","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SmartPosition",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InterpolationMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("InterpolationMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OverviewPlusDetailPaneMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("OverviewPlusDetailPaneMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InteractionState","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("InteractionState",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GradientDirection","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("GradientDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FastItemsSourceEventAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("FastItemsSourceEventAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ErrorBarCalculatorType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ErrorBarCalculatorType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ErrorBarCalculatorReference","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ErrorBarCalculatorReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UnknownValuePlotting","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("UnknownValuePlotting",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TrendLineType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("TrendLineType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BrushCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.Brush.prototype.$type);this.aj=$.ig.InterpolationMode.prototype.rGB},al:function(){return this.item($.ig.BrushCollection.prototype.ai.b(this.count()))},am:function(){return this.ap($.ig.BrushCollection.prototype.ai.a()*(this.count()-1))},ak:function(a){if(arguments.length===1){if(this.aj!=a){this.aj=a;this.ah(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))}return a}else{return this.aj}},aj:null,item:function(b,a){if(arguments.length===2){$.ig.ObservableCollection$1.prototype.item.call(this,b,a);return a}else{if(b<0||b>=this.count()){return null}return $.ig.ObservableCollection$1.prototype.item.call(this,b)}},ap:function(a){if(isNaN(a)){return null}a=$.ig.MathUtil.prototype.i(a,0,this.count()-1);var b=Math.floor(a);if(b==a){return this.item(b)}return this.aq(a-b,this.item(b),this.item(b+1),this.ak())},aq:function(a,b,c,d){var e=b.color();var f=c.color();var g=e.getInterpolation(a,f,d);var h=new $.ig.Brush;h.color(g);return h},$type:new $.ig.Type("BrushCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.Brush.prototype.$type))},true);$.ig.util.defType("EventProxy","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.s=false},onMouseWheel:null,onPinchStarted:null,onPinchDelta:null,onGestureCompleted:null,onContactStarted:null,onDragStarted:null,onContactMoved:null,onDragDelta:null,onContactCompleted:null,onDragCompleted:null,onMouseLeave:null,onMouseOver:null,onMouseEnter:null,onMouseDown:null,onMouseUp:null,onDoubleTap:null,onHold:null,onKeyDown:null,_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},bk:function(){},bl:function(){},bm:function(a,b){if(this.onMouseWheel!=null&&!this.ab()){return this.onMouseWheel(a,b)}return false},bn:function(a,b){if(this.onPinchStarted!=null&&!this.ab()){this.onPinchStarted(a,b)}},bo:function(a,b){if(this.onPinchDelta!=null&&!this.ab()){this.onPinchDelta(a,b)}},bp:function(a,b){if(this.onGestureCompleted!=null&&!this.ab()){this.onGestureCompleted(a,b)}},bq:function(a,b){if(this.onContactStarted!=null&&!this.ab()){this.onContactStarted(a,b)}},br:function(a){if(this.onDragStarted!=null&&!this.ab()){this.onDragStarted(a)}},bs:function(a,b){if(this.onContactMoved!=null&&!this.ab()){this.onContactMoved(a,b)}},bt:function(a){if(this.onDragDelta!=null&&!this.ab()){this.onDragDelta(a)}},bu:function(a,b){if(this.onContactCompleted!=null&&!this.ab()){this.onContactCompleted(a,b)}},bv:function(a){if(this.onDragCompleted!=null&&!this.ab()){this.onDragCompleted(a)}},bw:function(a){if(this.onMouseLeave!=null&&!this.ab()){this.onMouseLeave(a)}},bx:function(a,b,c){if(this.onMouseOver!=null&&!this.ab()){this.onMouseOver(a,b,c)}},by:function(a){if(this.onMouseEnter!=null&&!this.ab()){this.onMouseEnter(a)}},bz:function(a){if(this.onMouseDown!=null&&!this.ab()){this.onMouseDown(a)}},b0:function(a){if(this.onMouseUp!=null&&!this.ab()){this.onMouseUp(a)}},b1:function(a){if(this.onKeyDown!=null&&!this.ab()){return this.onKeyDown(a)}return false},b2:function(a){if(this.onDoubleTap!=null&&!this.ab()){this.onDoubleTap(a)}},b3:function(a){if(this.onHold!=null&&!this.ab()){this.onHold(a)}},b4:function(){},s:null,ab:function(a){if(arguments.length===1){this.s=a;this.b7();return a}else{return this.s}},b7:function(){},$type:new $.ig.Type("EventProxy",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DOMEventProxy","EventProxy",{_c0:null,c0:function(a){if(arguments.length===1){this._c0=a;return a}else{return this._c0}},bk:function(){return new $.ig.DOMEventProxy(this.c0())},c7:function(a){if(!this.ab()){a.preventDefault()}},ca:null,cb:null,cc:null,cd:null,ce:null,cf:null,_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},init:function(a){var $self=this;this.ca=0;this.cb="";this.cc=false;this.cg=0;this.ch=0;this.ci=0;this.cj=0;this.ck=0;this.cl=1;this.cm=$.ig.DOMEventProxy.prototype.b8;this.cn=null;this.co=0;this.cp=0;this.cq=5;this.cr=false;this.cs=null;this.ct=false;$.ig.EventProxy.prototype.init.call(this);$.ig.DOMEventProxy.prototype.b9++;this.ca=$.ig.DOMEventProxy.prototype.b9;this.cb=".DOMProxy"+this.ca.toString();this.y($.ig.ModifierKeys.prototype.none);this.c0(a);$.ig.DOMEventProxy.prototype.cd=false;try{$.ig.DOMEventProxy.prototype.cd=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(e){}$.ig.DOMEventProxy.prototype.ce=false;try{$.ig.DOMEventProxy.prototype.ce=window.navigator.pointerEnabled}catch(e){}$.ig.DOMEventProxy.prototype.cf=this.dc();if(!$.ig.DOMEventProxy.prototype.cd){this.c0().bind("mousemove"+this.cb,this.d9.runOn(this));this.c0().bind("mouseleave"+this.cb,this.d8.runOn(this));this.c0().bind("mousedown"+this.cb,this.ea.runOn(this));this.c0().bind("mouseup"+this.cb,this.ec.runOn(this));$(window).bind("mouseup"+this.cb,this.eb.runOn(this))}this.c0().keydown(this.ed.runOn(this));if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.da(source_);var b=this.c0()[0];var c=new MSGesture;c.target=b;this.c1(c);this.c0().bind("MSGestureStart"+this.cb,this.du.runOn(this));this.c0().bind("MSGestureChange"+this.cb,this.dv.runOn(this));this.c0().bind("MSGestureEnd"+this.cb,this.dw.runOn(this));if($.ig.DOMEventProxy.prototype.ce){this.c0().bind("pointerdown"+this.cb,this.dq.runOn(this));this.c0().bind("pointerup"+this.cb,this.dm.runOn(this));this.c0().bind("pointercancel"+this.cb,this.dp.runOn(this));this.c0().bind("pointermove"+this.cb,this.ds.runOn(this));this.c0().bind("pointerout"+this.cb,this.dt.runOn(this));this.c0().bind("lostpointercapture"+this.cb,this.dn.runOn(this))}else{this.c0().bind("MSPointerDown"+this.cb,this.dq.runOn(this));this.c0().bind("MSPointerUp"+this.cb,this.dm.runOn(this));this.c0().bind("MSPointerCancel"+this.cb,this.dp.runOn(this));this.c0().bind("MSPointerMove"+this.cb,this.ds.runOn(this));this.c0().bind("MSPointerOut"+this.cb,this.dt.runOn(this));this.c0().bind("MSLostPointerCapture"+this.cb,this.dn.runOn(this))}}this.c0().bind("DOMMouseScroll"+this.cb,this.dl.runOn(this));this.c0().bind("mousewheel"+this.cb,this.dl.runOn(this));this.c0().bind("gesturestart"+this.cb,this.du.runOn(this));this.c0().bind("gesturechange"+this.cb,this.dv.runOn(this));this.c0().bind("gestureend"+this.cb,this.dw.runOn(this));this.c0().bind("touchstart"+this.cb,this.dx.runOn(this));this.c0().bind("touchmove"+this.cb,this.d2.runOn(this));this.c0().bind("touchend"+this.cb,this.d3.runOn(this));this.aa(function(d){return true})},da:function(source_){if($.ig.DOMEventProxy.prototype.ce){source_.style.touchAction="none"}else{source_.style.msTouchAction="none"}source_.style.msUserSelect="none"},db:function(source_){if($.ig.DOMEventProxy.prototype.ce){source_.style.touchAction="auto"}else{source_.style.msTouchAction="auto"}source_.style.msUserSelect="auto"},b7:function(){$.ig.EventProxy.prototype.b7.call(this);if(!this.ab()){if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.da(source_)}}else{if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.db(source_)}}},dc:function(){var ver_=-1;var matchIE_=/Trident\/([\d.]+)/;if(matchIE_.exec(navigator.userAgent)!=null){ver_=parseFloat(RegExp.$1)}return ver_},cg:null,ch:null,ci:null,cj:null,ck:null,_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},_c3:null,c3:function(a){if(arguments.length===1){this._c3=a;return a}else{return this._c3}},dh:function(e_){var a=$.ig.DOMEventProxy.prototype.cf>=6;var oe_=e_.originalEvent;if((typeof e_.pageX=="undefined"||a)&&oe_.clientX!=null){var od_=e_.target.ownerDocument;var ed_=od_?od_:document;var doc_=ed_.documentElement;var body_=ed_.body;var clientX_=oe_.clientX;var clientY_=oe_.clientY;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;e_.pageX=clientX_+(scrollLeft_-clientLeft_);e_.pageY=clientY_+(scrollTop_-clientTop_)}},di:function(a){var b=$.ig.DOMEventProxy.prototype.cf>=6;var source_=a[0];var d_=source_.ownerDocument;var doc_=d_?d_.documentElement:null;var z_=doc_?doc_.msContentZoomFactor:null;var body_=doc_.body;if(z_&&z_>1||b){var rect_=source_.getBoundingClientRect();var x_=rect_.left;var y_=rect_.top;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;var c=x_+scrollLeft_-clientLeft_;var d=y_+scrollTop_-clientTop_;return new $.ig.Rect(0,c,d,0,0)}else{var e=a.offset();return new $.ig.Rect(0,e.left,e.top,0,0)}},dj:function(a){$.ig.DOMEventProxy.prototype.dh(a);var b=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=a.pageX-b.left();this.ch=a.pageY-b.top();this.ci=this.cg-this.x().left();this.cj=this.ch-this.x().top();this.c2({__x:this.cg,__y:this.ch,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c3({__x:this.ci,__y:this.cj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},dk:function(e_){$.ig.DOMEventProxy.prototype.dh(e_);if($.ig.DOMEventProxy.prototype.cd){var a=e_.pageX;var b=e_.pageY;var c=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=a-c.left();this.ch=b-c.top()}else{this.ck=0;if(!e_.originalEvent.targetTouches||e_.originalEvent.targetTouches.length<1){return}this.ck=e_.originalEvent.targetTouches.length;var d=e_.originalEvent.targetTouches[0].pageX;var e=e_.originalEvent.targetTouches[0].pageY;var f=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=d-f.left();this.ch=e-f.top()}this.ci=this.cg-this.x().left();this.cj=this.ch-this.x().top();this.c2({__x:this.cg,__y:this.ch,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c3({__x:this.ci,__y:this.cj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},dl:function(e_){this.ee(e_);if(this.aa()(this.c2())){var delta_=0;if(e_.wheelDelta){delta_=e_.wheelDelta/120}if(e_.originalEvent&&e_.originalEvent.wheelDelta){delta_=e_.originalEvent.wheelDelta/120}if(e_.detail){delta_=-e_.detail/3}if(e_.originalEvent&&e_.originalEvent.detail){delta_=-e_.originalEvent.detail/3}delta_=delta_/10;var a=this.bm(this.c3(),delta_);if(a){this.c7(e_)}}},cl:null,dm:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}else{if(a){this.d3(e_)}else{this.ec(e_)}}},dn:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}},dp:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}},dq:function(e_){var a=this.dr(e_);if(this.c1()!=null&&a){this.ck++;this.c1().addPointer(e_.originalEvent.pointerId)}var eventSource_=this.c0()[0];if($.ig.DOMEventProxy.prototype.ce){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}if(this.ck>1&&!this.cc&&a){this.cc=true;this.dk(e_);var b=e_.originalEvent.scale;this.bn(this.c3(),b)}else{if(a){this.dx(e_)}else{this.ea(e_)}}},dr:function(e_){var pointerEvent_=e_.originalEvent;var a=false;if($.ig.DOMEventProxy.prototype.ce){a=pointerEvent_.pointerType=="touch"}else{a=pointerEvent_.pointerType==pointerEvent_.MSPOINTER_TYPE_TOUCH}return a},ds:function(e_){var a=this.dr(e_);if(this.cc){return}if(a){this.d2(e_)}else{this.d9(e_)}},dt:function(e_){var a=this.dr(e_);if(this.cc){return}if(a){}else{this.d8(e_)}},du:function(e_){this.c4(true);this.ee(e_);this.dk(e_);this.dz();if(this.aa()(this.c2())){this.c7(e_);if($.ig.DOMEventProxy.prototype.cd){this.cl=1}if($.ig.DOMEventProxy.prototype.cd&&this.ck<2){return}var a=e_.originalEvent.scale;this.bn(this.c3(),a)}},dv:function(e_){this.c4(true);this.ee(e_);this.dk(e_);if(this.aa()(this.c2())){this.c7(e_);if($.ig.DOMEventProxy.prototype.cd&&this.ck<2){return}var a=e_.originalEvent.scale;this.bo(this.c3(),a)}},dw:function(e_){this.c7(e_);var a=e_.originalEvent.scale;this.c4(false);this.ee(e_);this.dk(e_);if(!$.ig.DOMEventProxy.prototype.cd||this.cc){this.bp(this.c3(),a)}},dx:function(e_){this.c4(true);this.ee(e_);this.dk(e_);if(this.aa()(this.c2())){this.c7(e_);this.bx(this.c2(),false,true);this.bz(this.c2());this.bq(this.c3(),true);this.dy()}},cm:null,cn:null,co:null,cp:null,cq:null,dy:function(){if(this.cm==$.ig.DOMEventProxy.prototype.b8){this.co=this.c2().__x;this.cp=this.c2().__y;this.cm=window.setTimeout(this.d1.runOn(this),1500)}},dz:function(){if(Math.abs(this.co-this.c2().__x)>this.cq||Math.abs(this.cp-this.c2().__y)>this.cq){this.d0()}},d0:function(){if(this.cm!=$.ig.DOMEventProxy.prototype.b8){window.clearTimeout(this.cm);this.cm=$.ig.DOMEventProxy.prototype.b8}},d1:function(){this.cm=$.ig.DOMEventProxy.prototype.b8;this.b3(this.c3())},cr:null,cs:null,d2:function(a){this.c4(true);this.ee(a);this.dk(a);this.dz();this.d5();if(this.aa()(this.c2())&&this.ck==1){this.c7(a);if(!this.cr){this.cr=true;this.cs=this.c3();this.br(this.cs)}else{this.bx(this.c2(),true,true);this.bs(this.c3(),true);this.bt(this.c3())}}},d3:function(a){this.c4(false);this.ee(a);this.dk(a);this.d0();this.c7(a);this.bx(this.c2(),false,true);this.b0(this.c2());if(this.ck==0){this.d4(this.c2())}if(this.cr&&this.ck==0){this.cr=false;this.cs=null;this.bv(this.c3())}this.bu(this.c3(),true)},d4:function(a){if(this.cn==null){this.cn=new $.ig.Rect(0,a.__x-50,a.__y-50,100,100);window.setTimeout(this.d5.runOn(this),500)}else{if(a.__x>=this.cn.x()&&a.__x<=this.cn.right()&&a.__y>=this.cn.y()&&a.__y<=this.cn.bottom()){this.d5();this.b2(a)}}},d5:function(){this.cn=null},_c4:null,c4:function(a){if(arguments.length===1){this._c4=a;return a}else{return this._c4}},d8:function(a){this.dj(a);if(this.c4()){this.c4(false);this.bw(this.c3())}},d9:function(a){this.dj(a);this.ee(a);var b=new $.ig.MouseEventArgs;b.position(this.c2());if(this.aa()(this.c2())){if(!this.c4()){this.c4(true);this.by(this.c2())}this.bx(this.c2(),true,false);this.bs(this.c3(),false)}else if(this.c4()){this.d8(a)}},ct:null,ea:function(a){this.c0().focus();this.dj(a);this.ee(a);if(this.aa()(this.c2())){this.ct=true;this.bz(this.c2());this.bq(this.c3(),false);this.c7(a)}},eb:function(a){if(this.ct){this.ec(a)}},ec:function(a){this.ee(a);this.ct=false;this.b0(this.c2());this.bu(this.c3(),false);this.c7(a)},ed:function(a){var b=$.ig.Key.prototype.a;var c=false;this.ee(a);switch(a.which){case 33:c=true;b=$.ig.Key.prototype.pageUp;break;case 34:c=true;b=$.ig.Key.prototype.pageDown;break;case 36:c=true;b=$.ig.Key.prototype.home;break;case 37:c=true;b=$.ig.Key.prototype.left;break;case 38:c=true;b=$.ig.Key.prototype.up;break;case 39:c=true;b=$.ig.Key.prototype.right;break;case 40:c=true;b=$.ig.Key.prototype.down;break}if(c&&this.aa()(this.c2())){var d=false;d=this.b1(b);if(d){this.c7(a)}}},ee:function(a){this.y($.ig.ModifierKeys.prototype.none);if(a.shiftKey){this.y(this.y()|$.ig.ModifierKeys.prototype.shift)}if(a.altKey){this.y(this.y()|$.ig.ModifierKeys.prototype.alt)}if(a.ctrlKey){this.y(this.y()|$.ig.ModifierKeys.prototype.control)}this.z(a.button==2)},b4:function(){var a=$.ig.DOMEventProxy.prototype.di(this.c0());var b=a.left();var c=a.top();return{__x:b,__y:c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},bl:function(){if(this.c0()==null){return}this.c0().unbind(this.cb);$(window).unbind(this.cb);this.c0(null)},$type:new $.ig.Type("DOMEventProxy",$.ig.EventProxy.prototype.$type)},true);$.ig.util.defType("TrendCalculators","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,$f:0,$g:0,$h:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$e=NaN;this.$f=NaN;this.$g=NaN;this.$h=NaN;this.$d=0;this.$state=6;break;case 6:this.$j=a.getEnumerator();this.$state=18;break;case 7:this.$i=this.$j.current();this.$state=8;break;case 8:if(!isNaN(this.$i)){this.$state=9}else{this.$state=16}break;case 9:this.$k=this.$d%b;this.$state=10;break;case 10:if(this.$d==0){this.$state=11}else{this.$state=12}break;case 11:this.$g=1;this.$h=this.$f=this.$e=this.$i;this.$state=15;break;case 12:if(this.$d<b){this.$state=13}else{this.$state=14}break;case 13:this.$g+=this.$d+1;this.$e+=this.$i;this.$f+=(this.$d+1)*this.$i;this.$h=this.$f/this.$g;this.$state=15;break;case 14:this.$f=this.$f+b*this.$i-this.$e;this.$h=this.$f/this.$g;this.$e=this.$e+this.$i-this.$c[this.$k];this.$state=15;break;case 15:this.$c[this.$k]=this.$i;++this.$d;this.$state=16;break;case 16:this.$current=this.$h;this.$state=17;return true;case 17:this.$state=18;break;case 18:if(this.$j.moveNext()){this.$state=7}else{this.$state=19}break;case 19:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},b:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=NaN;this.$e=2/(1+b);this.$state=1;break;case 1:this.$g=a.getEnumerator();this.$state=11;break;case 2:this.$f=this.$g.current();this.$state=3;break;case 3:if(!isNaN(this.$f)){this.$state=4}else{this.$state=9}break;case 4:this.$state=5;break;case 5:if(this.$c<b){this.$state=6}else{this.$state=7}break;case 6:this.$d=isNaN(this.$d)?this.$f:(this.$d*this.$c+this.$f)/(this.$c+1);this.$state=8;break;case 7:this.$d=(this.$f-this.$d)*this.$e+this.$d;this.$state=8;break;case 8:++this.$c;this.$state=9;break;case 9:this.$current=this.$d;this.$state=10;return true;case 10:this.$state=11;break;case 11:if(this.$g.moveNext()){this.$state=2}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=NaN;this.$e=1/b;this.$state=1;break;case 1:this.$g=a.getEnumerator();this.$state=11;break;case 2:this.$f=this.$g.current();this.$state=3;break;case 3:if(!isNaN(this.$f)){this.$state=4}else{this.$state=9}break;case 4:this.$state=5;break;case 5:if(this.$c<b){this.$state=6}else{this.$state=7}break;case 6:this.$d=isNaN(this.$d)?this.$f:(this.$d*this.$c+this.$f)/(this.$c+1);this.$state=8;break;case 7:this.$d=(this.$f-this.$d)*this.$e+this.$d;this.$state=8;break;case 8:++this.$c;this.$state=9;break;case 9:this.$current=this.$d;this.$state=10;return true;case 10:this.$state=11;break;case 11:if(this.$g.moveNext()){this.$state=2}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},d:function(a){var $self=this;var $iter=function(){return function(a){return{$state:0,$this:$self,$current:null,$b:0,$c:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=NaN;this.$c=0;this.$state=1;break;case 1:this.$e=a.getEnumerator();this.$state=7;break;case 2:this.$d=this.$e.current();this.$state=3;break;case 3:if(!isNaN(this.$d)){this.$state=4}else{this.$state=5
}break;case 4:this.$b=isNaN(this.$b)?this.$d:(this.$b*this.$c+this.$d)/(this.$c+1);++this.$c;this.$state=5;break;case 5:this.$current=this.$b;this.$state=6;return true;case 6:this.$state=7;break;case 7:if(this.$e.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a)};return new $.ig.GenericEnumerable$1(Number,$iter)},e:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$d=0;this.$e=NaN;this.$state=6;break;case 6:this.$g=a.getEnumerator();this.$state=16;break;case 7:this.$f=this.$g.current();this.$state=8;break;case 8:if(!isNaN(this.$f)){this.$state=9}else{this.$state=14}break;case 9:this.$h=this.$f/b;this.$i=this.$d%b;this.$state=10;break;case 10:if(this.$d<b){this.$state=11}else{this.$state=12}break;case 11:this.$e=isNaN(this.$e)?this.$f:(this.$e*this.$d+this.$f)/(this.$d+1);this.$state=13;break;case 12:this.$e=this.$e+this.$h-this.$c[this.$i];this.$state=13;break;case 13:this.$c[this.$i]=this.$h;++this.$d;this.$state=14;break;case 14:this.$current=this.$e;this.$state=15;return true;case 15:this.$state=16;break;case 16:if(this.$g.moveNext()){this.$state=7}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},f:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$d=0;this.$e=NaN;this.$state=6;break;case 6:this.$g=a.getEnumerator();this.$state=16;break;case 7:this.$f=this.$g.current();this.$state=8;break;case 8:if(!isNaN(this.$f)){this.$state=9}else{this.$state=14}break;case 9:this.$h=this.$f;this.$i=this.$d%b;this.$state=10;break;case 10:if(this.$d<b){this.$state=11}else{this.$state=12}break;case 11:this.$e=isNaN(this.$e)?this.$h:this.$e+this.$h;this.$state=13;break;case 12:this.$e=this.$e+this.$h-this.$c[this.$i];this.$state=13;break;case 13:this.$c[this.$i]=this.$h;++this.$d;this.$state=14;break;case 14:this.$current=this.$e;this.$state=15;return true;case 15:this.$state=16;break;case 16:if(this.$g.moveNext()){this.$state=7}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},g:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,$e:null,$f:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=$.ig.TrendCalculators.prototype.e(a,b).getEnumerator();this.$d=a.getEnumerator();this.$e=new Array(b);this.$f=0;this.$state=1;break;case 1:this.$f=0;this.$state=4;break;case 2:this.$e[this.$f]=0;this.$state=3;break;case 3:this.$f++;this.$state=4;break;case 4:if(this.$f<b){this.$state=2}else{this.$state=5}break;case 5:this.$f=0;this.$state=6;break;case 6:this.$state=24;break;case 7:this.$e[this.$f++%b]=this.$d.current();this.$g=0;this.$state=8;break;case 8:if(this.$f<b){this.$state=9}else{this.$state=16}break;case 9:this.$h=0;this.$state=10;break;case 10:this.$i=0;this.$state=13;break;case 11:this.$j=this.$c.current()-this.$e[this.$i];this.$g+=this.$j*this.$j;this.$h++;this.$state=12;break;case 12:this.$i++;this.$state=13;break;case 13:if(this.$i<this.$f){this.$state=11}else{this.$state=14}break;case 14:this.$current=Math.sqrt(this.$g/this.$h);this.$state=15;return true;case 15:this.$state=23;break;case 16:this.$state=17;break;case 17:this.$k=0;this.$state=20;break;case 18:this.$l=this.$c.current()-this.$e[this.$k];this.$g+=this.$l*this.$l;this.$state=19;break;case 19:++this.$k;this.$state=20;break;case 20:if(this.$k<b){this.$state=18}else{this.$state=21}break;case 21:this.$current=Math.sqrt(this.$g/b);this.$state=22;return true;case 22:this.$state=23;break;case 23:this.$state=24;break;case 24:if(this.$d.moveNext()&&this.$c.moveNext()){this.$state=7}else{this.$state=25}break;case 25:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("TrendCalculators",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IErrorBarCalculator","Object",{$type:new $.ig.Type("IErrorBarCalculator",null)},true);$.ig.util.defType("ErrorMessageDisplayingEventArgs","EventArgs",{init:function(a){$.ig.EventArgs.prototype.init.call(this);this.errorMessage(a)},a:null,errorMessage:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("ErrorMessageDisplayingEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("IFastItemColumnInternal","Object",{$type:new $.ig.Type("IFastItemColumnInternal",null)},true);$.ig.util.defType("IFastItemColumnPropertyName","Object",{$type:new $.ig.Type("IFastItemColumnPropertyName",null)},true);$.ig.util.defType("IFastItemColumn$1","Object",{$type:new $.ig.Type("IFastItemColumn$1",null,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IFastItemColumnPropertyName.prototype.$type])},true);$.ig.util.defType("FastItemColumn","Object",{a:null,init:function(a,b,c){this.a=null;this.__propertyName=null;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{if(isNaN(this.c)&&this.i()!=null){this.c=Number.POSITIVE_INFINITY;var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();if(!isNaN(b)){this.c=Math.min(this.c,b)}}}return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{if(isNaN(this.d)&&this.i()!=null){this.d=Number.NEGATIVE_INFINITY;var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();if(!isNaN(b)){this.d=Math.max(this.d,b)}}}return this.d}},d:null,item:function(b,a){if(arguments.length===2){this.i().__inner[b]=a;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);this.minimum(NaN);this.maximum(NaN);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();var g=isNaN(this.minimum());var h=isNaN(this.maximum());var i=0;var j;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];d=this.a(d);j=d==null?NaN:d;var k=j!=j;if(g||j<e){e=j;g=k}if(h||j>f){f=j;h=k}c[i]=j;i++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];j=d==null?NaN:d;var l=j!=j;if(g||j<e){e=j;g=l}if(h||j>f){f=j;h=l}c[i]=j;i++}}this.minimum(e);this.maximum(f);if(this.i()==null){this.i(new $.ig.List$1(Number,1,c))}else{this.i().p(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b&&!isNaN(this.minimum())&&!isNaN(this.maximum());++c){if(this.item(c)==this.minimum()){this.minimum(NaN)}if(this.item(c)==this.maximum()){this.maximum(NaN)}}this.i().q(a,b);return true},p:function(a,b){if(isNaN(a)){if(!isNaN(b)){if(!isNaN(this.minimum())){this.minimum(Math.min(b,this.minimum()))}if(!isNaN(this.maximum())){this.maximum(Math.max(b,this.maximum()))}}return}if(isNaN(b)){this.minimum(!isNaN(this.minimum())&&a==this.minimum()?NaN:this.minimum());this.maximum(!isNaN(this.maximum())&&a==this.maximum()?NaN:this.maximum());return}if(!isNaN(this.minimum())){if(a==this.minimum()&&b>this.minimum()){this.minimum(NaN)}else{this.minimum(Math.min(b,this.minimum()))}}if(!isNaN(this.maximum())){if(a==this.maximum()&&b<this.maximum()){this.maximum(NaN)}else{this.maximum(Math.max(b,this.maximum()))}}},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.q(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true;this.p(e,f)}}return c},e:null,q:function(a){if(a==null){return NaN}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return NaN}return a;if($.ig.util.cast(Number,a)!==null){return a}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},t:function(a,b){var $self=this;var c=new $.ig.List$1($.ig.Number.prototype.$type,2,a.count());for(var d=0;d<a.count();d++){c.add(d)}c.t(function(e,f){var g=a.item(e);var h=a.item(f);return b(g,h)});return c},u:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("FastItemDateTimeColumn","Object",{a:null,init:function(a,b,c){this.__propertyName=null;this.c=false;this.d=false;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.j(a)},j:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},c:null,d:null,minimum:function(a){if(arguments.length===1){this.e=a;return a}else{if(!this.c&&this.k()!=null){var c=this.k().getEnumerator();while(c.moveNext()){var b=c.current();if(b<this.e){this.e=b}}if(this.k().count()>0){this.c=true}}return this.e}},e:null,maximum:function(a){if(arguments.length===1){this.f=a;return a}else{if(!this.d&&this.k()!=null){var c=this.k().getEnumerator();while(c.moveNext()){var b=c.current();if(b>this.f){this.f=b}}if(this.k().count()>0){this.d=true}}return this.f}},f:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.k().__inner[b]}},getEnumerator:function(){return this.k().getEnumerator()},contains:function(a){return this.k().contains(a)},q:function(a,b){this.k().copyTo(a,b)},count:function(){return this.k().count()},isReadOnly:function(){return true},indexOf:function(a){return this.k().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.k(null);this.c=false;this.d=false;return this.j()!=null?this.insertRange(0,this.j().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();var g;var h=0;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];d=this.a(d);g=d==null?new Date:d;if(!this.c){e=g;this.c=true}else if(g<e){e=g}if(!this.d){f=g;this.d=true}else if(g>f){f=g}c[h]=g;h++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];g=d==null?new Date:d;if(!this.c){e=g;this.c=true}else if(g<e){e=g}if(!this.d){f=g;this.d=true}else if(g>f){f=g}c[h]=g;h++}}this.minimum(e);this.maximum(f);if(this.k()==null){this.k(new $.ig.List$1($.ig.Date.prototype.$type,1,c))}else{this.k().p(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b;++c){if(this.item(c)==this.minimum()){this.c=false}if(this.item(c)==this.maximum()){this.d=false}}this.k().q(a,b);return true},r:function(a,b){if(a!=$.ig.Date.prototype.minValue()){if(b!=$.ig.Date.prototype.minValue()){this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())}return}this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.k().__inner[a+d];var f=this.s(this.j().item(a+d));if(e!=f){this.k().__inner[a+d]=f;c=true;this.r(e,f)}}return c},g:null,s:function(a){if(a==null){return $.ig.Date.prototype.minValue()}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return $.ig.Date.prototype.minValue()}return a},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},v:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.k(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.k().asArrayList()},$type:new $.ig.Type("FastItemDateTimeColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Date.prototype.$type)])},true);$.ig.util.defType("FastItemObjectColumn","Object",{a:null,init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},d:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains1(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf1(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var $self=this;var c=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.h(b);return $ret}();for(var d=a;d<a+b;++d){var e=this.p(this.h().item(d));c.add1(e)}if(this.i()==null){this.i(c)}else{this.i().p(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.p(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this.i().q(a,b);return true},e:null,p:function(a){if(a==null){return null}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}return a},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},s:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=parseFloat(a);var d=parseFloat(b);if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemObjectColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type)])},true);$.ig.util.defType("FastItemIntColumn","Object",{a:null,init:function(a,b,c){this.__propertyName=null;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},d:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();var g=0;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];if(this.a!=null){d=this.a(d)}var h=d==null?0:d;c[g]=h;g++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];var i=d==null?0:d;c[g]=i;g++}}if(this.i()==null){this.i(new $.ig.List$1($.ig.Number.prototype.$type,1,c))}else{this.i().p(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.p(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this.i().q(a,b);return true},e:null,p:function(a){var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return 0}return a},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},s:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemIntColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Number.prototype.$type)])},true);$.ig.util.defType("FastItemsSource","Object",{init:function(){this.b=new $.ig.Dictionary$2(String,$.ig.ColumnReference.prototype.$type,0);this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);this.e=null;$.ig.Object.prototype.init.call(this)},event:null,j:function(a,b,c){if(this.event!=null){this.event(this,new $.ig.FastItemsSourceEventArgs(0,a,b,c))}},k:function(a,b){if(this.event!=null){this.event(this,new $.ig.FastItemsSourceEventArgs(1,a,b))}},f:function(a){if(arguments.length===1){if(this.c==a){return}this.n();this.c=a;this.d.clear();this.e=null;this.o();var c=this.b.values().getEnumerator();while(c.moveNext()){var b=c.current();b.a.reset()}this.j($.ig.FastItemsSourceEventAction.prototype.insert,0,this.d.count());return a}else{return this.c}},n:function(){},o:function(){this.d.o(this.d.count(),this.c)},p:function(a,b){if(this.e!=null){for(var c=0;c<b.count();++c){this.e.add(b.item(c),a+c)}for(var d=a;d<this.d.count();++d){this.e.item(this.d.__inner[d],d+b.count())}}this.d.o(a,b);var f=this.b.values().getEnumerator();while(f.moveNext()){var e=f.current();e.a.insertRange(a,b.count())}this.j($.ig.FastItemsSourceEventAction.prototype.insert,a,b.count())},q:function(a,b){this.d.q(a,b.count());if(this.e!=null){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this.e.remove(c)}for(var e=a;e<this.d.count();++e){this.e.item(this.d.__inner[e],e)}}var g=this.b.values().getEnumerator();while(g.moveNext()){var f=g.current();f.a.removeRange(a,b.count())}this.j($.ig.FastItemsSourceEventAction.prototype.remove,a,b.count())},r:function(a,b,c){for(var d=0;d<c.count();++d){this.d.__inner[a+d]=c.item(d)}if(this.e!=null){var f=b.getEnumerator();while(f.moveNext()){var e=f.current();this.e.remove(e)}for(var g=0;g<c.count();++g){this.e.add(c.item(g),a+g)}}var i=this.b.values().getEnumerator();while(i.moveNext()){var h=i.current();h.a.replaceRange(a,c.count())}this.j($.ig.FastItemsSourceEventAction.prototype.replace,a,b.count())},s:function(){this.d.clear();this.e=null;this.d.o(0,this.c);var b=this.b.values().getEnumerator();while(b.moveNext()){var a=b.current();a.a.reset()}this.j($.ig.FastItemsSourceEventAction.prototype.reset,0,this.d.count())},t:function(a,b){var $self=this;var c=null;var d=this.x(a);if(d==-1){throw new $.ig.ArgumentException(0,"item")}if(function(){var $ret=$self.b.tryGetValue(b,c);c=$ret.value;return $ret.ret}()){c.a.replaceRange(d,1)}if(function(){var $ret=$self.b.tryGetValue(b+"_object",c);c=$ret.value;return $ret.ret}()){c.a.replaceRange(d,1)}this.k(d,b)},g:function(){return this.d.count()},item:function(b){return this.d.__inner[b]},getEnumerator:function(){return this.d.getEnumerator()},item1:function(b){return this.x(b)},x:function(a){var $self=this;var b;if(this.e==null&&this.d.count()>0){this.e=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Number.prototype.$type,0);var c=0;var e=this.d.getEnumerator();while(e.moveNext()){var d=e.current();if(!this.e.containsKey(d)){this.e.add(d,c++)}}}if(function(){var $ret=$self.e.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){return b}else{return-1}},y:function(a,b){var $self=this;var c=null;if(a!=null){var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemDateTimeColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Date.prototype.$type),d.a)}return c},z:function(a,b){var $self=this;var c=null;var d=a+"_object";if(a!=null){var e=null;if(!function(){var $ret=$self.b.tryGetValue(d,e);e=$ret.value;return $ret.ret}()){e=new $.ig.ColumnReference(new $.ig.FastItemObjectColumn(this,a,b));this.b.add(d,e)}e.c(e.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type),e.a)}return c},aa:function(a,b){var $self=this;var c=null;if(a==null){a=""}var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemIntColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Number.prototype.$type),d.a);return c},ab:function(a,b){var $self=this;var c=null;if(a==null){a=""}var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize(Number),d.a);return c},ac:function(a){var $self=this;var b=a!=null?a.propertyName():null;var c=b;if($.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type),a)!==null){c+="_object"}if(b!=null){var d=null;if(function(){var $ret=$self.b.tryGetValue(b,d);d=$ret.value;return $ret.ret}()){d.c(d.c()-1);if(d.c()==0){this.b.remove(b)}}}},b:null,c:null,d:null,e:null,ad:function(){return this.d.asArrayList()},ae:function(a){switch(a.action()){case $.ig.NotifyCollectionChangedAction.prototype.add:this.p(a.newStartingIndex(),a.newItems());break;case $.ig.NotifyCollectionChangedAction.prototype.remove:this.q(a.oldStartingIndex(),a.oldItems());break;case $.ig.NotifyCollectionChangedAction.prototype.replace:this.r(a.newStartingIndex(),a.oldItems(),a.newItems());break;case $.ig.NotifyCollectionChangedAction.prototype.reset:this.s();break}},$type:new $.ig.Type("FastItemsSource",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("ColumnReference","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.a=a;this.c(0)},a:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},$type:new $.ig.Type("ColumnReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FastItemsSourceEventArgs","EventArgs",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.EventArgs.prototype.init.call(this);this.action(a);this.position(b);this.count(c);this.propertyName(null)},init1:function(initNumber,a,b){$.ig.EventArgs.prototype.init.call(this);this.action($.ig.FastItemsSourceEventAction.prototype.change);this.position(a);this.count(1);this.propertyName(b)},_action:null,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_count:null,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},$type:new $.ig.Type("FastItemsSourceEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("FastReflectionHelper","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.b(a);this.d(b)},__propertyName:null,d:function(a){this.__propertyName=a},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},g:function(a){var from_=a;return from_[this.__propertyName]},c:function(){return false},$type:new $.ig.Type("FastReflectionHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IRenderer","Object",{$type:new $.ig.Type("IRenderer",null)},true);$.ig.util.defType("RectChangedEventArgs","EventArgs",{init:function(a,b){$.ig.EventArgs.prototype.init.call(this);this.oldRect(a);this.newRect(b)},_oldRect:null,oldRect:function(a){if(arguments.length===1){this._oldRect=a;return a}else{return this._oldRect}},_newRect:null,newRect:function(a){if(arguments.length===1){this._newRect=a;return a}else{return this._newRect}},$type:new $.ig.Type("RectChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("CanvasRenderScheduler","Object",{init:function(){this.a=true;this.b=false;this.c=-1;$.ig.Object.prototype.init.call(this);this.g(new $.ig.List$1($.ig.ISchedulableRender.prototype.$type,0));this.h(new $.ig.List$1($.ig.CanvasRenderScheduler.prototype.$type,0))},a:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},m:function(a){this.a=true;this.g().add(a)},n:function(a){this.a=true;this.g().remove(a)},o:function(){this.a=true;this.p()},b:null,c:null,p:function(){if(!this.b){this.b=true;this.c=window.setTimeout(this.s.runOn(this),0)}},q:function(a,b){this.p()},r:function(){if(this.c!=-1){window.clearTimeout(this.c);this.c=-1}if(this.b){this.s()}},s:function(){this.c=-1;if(this.b){this.b=false;if(this.h().count()>0){for(var a=0;a<this.h().count();a++){this.h().__inner[a].r()}}if(this.a){this.u()}this.t()}},t:function(){var a=true;for(var b=0;b<this.g().count();b++){var c=this.g().__inner[b];c.undirty(a);a=false}for(var d=0;d<this.g().count();d++){var e=this.g().__inner[d];e.postRender()}},u:function(){var $self=this;this.g().t(function(a,b){var c=a;var d=b;if(c.index()<d.index()){return-1}if(c.index()>d.index()){return 1}return 0});this.a=false},$type:new $.ig.Type("CanvasRenderScheduler",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CanvasViewRenderer","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.c=1},a:null,getUnderlyingContext:function(){return this.a},data:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},renderRectangle:function(a){if(a.__visibility!=$.ig.Visibility.prototype.visible){return}this.a.beginPath();this.a.globalAlpha=a.__opacity*this.c;this.a.rect(a.w(),a.v(),a.width(),a.height());if(a.__fill!=null){this.a.fillStyle=a.__fill.__fill;this.a.fill()}if(a.__stroke!=null){this.a.strokeStyle=a.__stroke.__fill;this.a.lineWidth=a.a5();this.a.stroke()}this.a.globalAlpha=1},renderPath:function(a){if(a.__visibility!=$.ig.Visibility.prototype.visible){return}this.a.beginPath();if(a.__opacity<1||this.c<1){this.a.globalAlpha=a.__opacity*this.c}this.renderGeometry(a.bn());if(a.__fill!=null){this.a.fillStyle=a.__fill.__fill;this.a.fill()}if(a.__stroke!=null){this.a.strokeStyle=a.__stroke.__fill;this.a.lineWidth=a.a5();this.a.stroke()}if(a.__opacity<1||this.c<1){this.a.globalAlpha=1}},renderGeometry:function(a){if(a==null){return}var b=a.a();switch(b){case $.ig.GeometryType.prototype.group:for(var c=0;c<a.e().count();c++){this.renderGeometry(a.e().__inner[c])}break;case $.ig.GeometryType.prototype.path:this.e(a);break;case $.ig.GeometryType.prototype.line:this.m(a);break;case $.ig.GeometryType.prototype.rectangle:this.l(a);break;case $.ig.GeometryType.prototype.ellipse:this.d(a);break}},d:function(a){var $self=this;this.a.moveTo(a.f().__x,a.f().__y-a.h());this.b={__x:a.f().__x,__y:a.f().__y-a.h(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var b=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:a.f().__x,__y:a.f().__y+a.h(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.k(new $.ig.Size(a.g(),a.h()));return $ret}();var c=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:a.f().__x,__y:a.f().__y-a.h(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.k(new $.ig.Size(a.g(),a.h()));return $ret}();this.i(b);this.i(c)},e:function(a){var b=a.d();var c=b.count();for(var d=0;d<c;d++){this.f(b.__inner[d])}},f:function(a){var b=a==null?null:a.__startPoint;if(b==null){return}this.a.moveTo(b.__x,b.__y);this.b=b;var c=a.__segments;var d=c.count();for(var e=0;e<d;e++){this.g(c.__inner[e])}if(a.__isClosed&&(this.b.__x!=b.__x||this.b.__y!=b.__y)){this.a.lineTo(b.__x,b.__y)}},g:function(a){var b=a.a();switch(b){case $.ig.PathSegmentType.prototype.line:this.j(a);break;case $.ig.PathSegmentType.prototype.polyLine:this.k(a);break;case $.ig.PathSegmentType.prototype.arc:this.i(a);break;case $.ig.PathSegmentType.prototype.polyBezier:this.h(a);break}},b:null,h:function(a){var b=0;var c=a.d().count();var d=a.d();var e=this.b;var f=this.b;var g=this.b;while(b<c){if(b+1<c&&b+2<c){e=d.__inner[b];f=d.__inner[b+1];g=d.__inner[b+2];this.a.bezierCurveTo(e.__x,e.__y,f.__x,f.__y,g.__x,g.__y)}b=b+3}this.b=g},i:function(a){var b=this.b;var c=a.h();if(a.k().c()!=a.k().d()){this.a.save();this.a.scale(a.k().c()/a.k().d(),1);b={__x:b.__x*(a.k().d()/a.k().c()),__y:b.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c={__x:c.__x*(a.k().d()/a.k().c()),__y:c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}
}var d=a.j()==$.ig.SweepDirection.prototype.counterclockwise;var e=$.ig.GeometryUtil.prototype.h(b,c,a.k().d(),d,a.i());var f=Math.atan2(b.__y-e.__y,b.__x-e.__x);var g=Math.atan2(c.__y-e.__y,c.__x-e.__x);var h=Math.abs(g-f)<Math.PI;if(a.i()==h){if(f<g){f+=2*Math.PI}else{g+=2*Math.PI}}if(!isNaN(e.__x)&&!isNaN(e.__y)&&!isNaN(a.k().d())&&!isNaN(f)&&!isNaN(g)){this.a.arc(e.__x,e.__y,a.k().d(),f,g,d)}this.b=a.h();if(a.k().c()!=a.k().d()){this.a.restore()}},j:function(a){this.a.lineTo(a.d().__x,a.d().__y);this.b=a.d()},k:function(a){var b=a.__points;var c=b.count();for(var d=0;d<c;d++){this.a.lineTo(b.__inner[d].__x,b.__inner[d].__y)}this.b=a.__points.__inner[c-1]},l:function(a){this.a.rect(a.f().left(),a.f().top(),a.f().width(),a.f().height())},m:function(a){this.a.moveTo(a.e().__x,a.e().__y);this.a.lineTo(a.f().__x,a.f().__y)},renderTextBlock:function(a){if(a.__visibility==$.ig.Visibility.prototype.visible){this.a.fillStyle=a.a4().__fill;this.a.textBaseline="top";this.a.fillText(a.a3(),a.w(),a.v())}},renderTextBlockInRect:function(a,b){},renderPolygon:function(a){if(a.bl()==null||a.bl().count()<1){return}this.a.beginPath();this.a.globalAlpha=a.__opacity*this.c;this.a.moveTo(a.bl().__inner[0].__x,a.bl().__inner[0].__y);for(var b=1;b<a.bl().count();b++){this.a.lineTo(a.bl().__inner[b].__x,a.bl().__inner[b].__y)}this.a.lineTo(a.bl().__inner[0].__x,a.bl().__inner[0].__y);if(a.__fill!=null){this.a.fillStyle=a.__fill.__fill;this.a.fill()}if(a.__stroke!=null){this.a.strokeStyle=a.__stroke.__fill;this.a.lineWidth=a.a5();this.a.stroke()}this.a.globalAlpha=1},renderPolyline:function(a){if(a.bl()==null||a.bl().count()<1){return}this.a.beginPath();this.a.globalAlpha=a.__opacity*this.c;this.a.moveTo(a.bl().__inner[0].__x,a.bl().__inner[0].__y);for(var b=1;b<a.bl().count();b++){this.a.lineTo(a.bl().__inner[b].__x,a.bl().__inner[b].__y)}if(a.__fill!=null){this.a.fillStyle=a.__fill.__fill;this.a.fill()}if(a.__stroke!=null){this.a.strokeStyle=a.__stroke.__fill;this.a.lineWidth=a.a5();this.a.stroke()}this.a.globalAlpha=1},renderContentControl:function(a,b){if(b.__visibility==$.ig.Visibility.prototype.collapsed){return}if((b.__opacity!=1||this.c!=1)&&!a.isHitTestRender){this.a.globalAlpha=b.__opacity*this.c}var c=b.bf();if(c!=null&&c.render()!=null){a.context=this.a;a.xPosition=b.w();a.yPosition=b.v();a.data=b.content();c.render()(a)}this.a.globalAlpha=1},applyTransform:function(a){if($.ig.util.cast($.ig.TransformGroup.prototype.$type,a)!==null){var b=a;for(var c=b.f().count()-1;c>=0;c--){var d=b.f().__inner[c];this.applyTransform(d)}}else if($.ig.util.cast($.ig.TranslateTransform.prototype.$type,a)!==null){var e=a;this.a.translate(e.g(),e.h())}else if($.ig.util.cast($.ig.RotateTransform.prototype.$type,a)!==null){var f=a;var g=f.h()*Math.PI/180;var h=Math.cos(g);var i=Math.sin(g);var j=f.i()*(1-h)+f.j()*i;var k=f.j()*(1-h)-f.i()*i;this.a.transform(h,i,i*-1,h,j,k)}},renderLine:function(a){if(a.__visibility!=$.ig.Visibility.prototype.visible){return}this.a.beginPath();this.a.globalAlpha=a.__opacity*this.c;this.a.moveTo(a.bo(),a.bq());this.a.lineTo(a.bp(),a.br());if(a.__fill!=null){this.a.fillStyle=a.__fill.__fill;this.a.fill()}if(a.__stroke!=null){this.a.strokeStyle=a.__stroke.__fill;this.a.lineWidth=a.a5();this.a.stroke()}this.a.globalAlpha=1},setRectangleClip:function(a){this.a.beginPath();this.a.rect(a.left(),a.top(),a.width(),a.height());this.a.clip()},save:function(){this.a.save()},restore:function(){this.a.restore()},scale:function(a,b){this.a.scale(a,b)},translate:function(a,b){this.a.translate(a,b)},clearRectangle:function(a,b,c,d){this.a.clearRect(a,b,c,d)},drawImage:function(a,b,c,d,e,f){if(b!=1){this.a.globalAlpha=b*this.c}this.a.drawImage(a,c,d,e,f);if(b!=1){this.a.globalAlpha=1}},drawImage1:function(a,b,c,d,e,f,g,h,i,j){if(b!=1){this.a.globalAlpha=b*this.c}this.a.drawImage(a,c,d,e,f,g,h,i,j);if(b!=1){this.a.globalAlpha=1}},getPixelAt:function(a,b){var c=this.a.getImageData(a,b,1,1);var d=new Array(4);d[0]=c.data[0];d[1]=c.data[1];d[2]=c.data[2];d[3]=c.data[3];return d},setFont:function(a){if(this.a.font!=a){this.a.font=a}},measureTextWidth:function(a){var b=this.a.measureText(a);return b.width},c:null,setOpacity:function(a){this.c=a},applyStyle:function(shape_,style_){var $self=this;if(style_==null){return}var fillColor_=null;var strokeColor_=null;var strokeThickness_=NaN;var opacity_=NaN;if(style_.fill){fillColor_=style_.fill}if(style_.stroke){strokeColor_=style_.stroke}if(style_.strokeThickness){strokeThickness_=style_.strokeThickness}if(style_.opacity){opacity_=style_.opacity}if(fillColor_!=null){shape_.__fill=function(){var $ret=new $.ig.Brush;$ret.__fill=fillColor_;return $ret}()}if(strokeColor_!=null){shape_.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill=strokeColor_;return $ret}()}if(!isNaN(strokeThickness_)){shape_.a5(strokeThickness_)}if(!isNaN(opacity_)){shape_.__opacity=opacity_}},$type:new $.ig.Type("CanvasViewRenderer",$.ig.Object.prototype.$type,[$.ig.IRenderer.prototype.$type])},true);$.ig.util.defType("RenderingContext","Object",{a:null,c:function(){return this.a.getUnderlyingContext()},init:function(a,b){this.a=null;$.ig.Object.prototype.init.call(this);this.a=a;this.a.data(b)},b:function(){return true},e:function(a,b){},f:function(a){this.a.renderRectangle(a)},g:function(a){this.a.renderPath(a)},h:function(a){this.a.renderGeometry(a)},i:function(a){this.a.renderTextBlock(a)},j:function(a,b){this.a.renderTextBlockInRect(a,b)},k:function(a){this.a.renderPolygon(a)},l:function(a){this.a.renderPolyline(a)},m:function(a,b){this.a.renderContentControl(a,b)},n:function(a){this.a.applyTransform(a)},o:function(a){this.a.renderLine(a)},p:function(){this.a.save()},q:function(){this.a.restore()},r:function(a){this.a.setRectangleClip(a)},s:function(a,b){this.a.scale(a,b)},t:function(a,b){this.a.translate(a,b)},u:function(a,b,c,d){this.a.clearRectangle(a,b,c,d)},v:function(a,b,c,d,e,f,g,h,i,j){this.a.drawImage1(a,b,c,d,e,f,g,h,i,j)},w:function(a,b,c,d,e,f){this.a.drawImage(a,b,c,d,e,f)},x:function(a,b){return this.a.getPixelAt(a,b)},y:function(a){this.a.setFont(a)},z:function(a){return this.a.measureTextWidth(a)},aa:function(a){this.a.setOpacity(a)},ab:function(a,b){this.a.applyStyle(a,b)},$type:new $.ig.Type("RenderingContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DependencyObjectNotifier","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},f:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},propertyChanged:null,$type:new $.ig.Type("DependencyObjectNotifier",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("IOverviewPlusDetailControl","Object",{$type:new $.ig.Type("IOverviewPlusDetailControl",null)},true);$.ig.util.defType("ISchedulableRender","Object",{$type:new $.ig.Type("ISchedulableRender",null)},true);$.ig.util.defType("NavigationSettings","DependencyObjectNotifier",{init:function(){$.ig.DependencyObjectNotifier.prototype.init.call(this)},i:function(a){if(arguments.length===1){this.c($.ig.NavigationSettings.prototype.g,a);return a}else{return this.b($.ig.NavigationSettings.prototype.g)}},m:function(a,b){var c=$.ig.util.cast($.ig.NavigationSettings.prototype.$type,a);if(c!=null){c.f("AllowPan")}},j:function(a){if(arguments.length===1){this.c($.ig.NavigationSettings.prototype.h,a);return a}else{return this.b($.ig.NavigationSettings.prototype.h)}},p:function(a,b){var c=$.ig.util.cast($.ig.NavigationSettings.prototype.$type,a);if(c!=null){c.f("AllowZoom")}},$type:new $.ig.Type("NavigationSettings",$.ig.DependencyObjectNotifier.prototype.$type)},true);$.ig.util.defType("PropertyChangedEventArgs$1","PropertyChangedEventArgs",{$t:null,init:function($t,a,b,c){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.PropertyChangedEventArgs.prototype.init.call(this,a);this.oldValue(b);this.newValue(c)},_oldValue:null,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:null,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("PropertyChangedEventArgs$1",$.ig.PropertyChangedEventArgs.prototype.$type)},true);$.ig.util.defType("XamOverviewPlusDetailPane","Control",{_c9:null,c9:function(a){if(arguments.length===1){this._c9=a;return a}else{return this._c9}},init:function(){this.co=false;this.cr=false;$.ig.Control.prototype.init.call(this);this.c9(new $.ig.XamOverviewPlusDetailPaneView(this));this.c9().a8();this.a3($.ig.XamOverviewPlusDetailPane.prototype.$type);this.du({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},windowChanging:null,d1:function(a){if(a==null){throw new $.ig.ArgumentNullException("e")}if(this.da()){this.dd(a.newValue())}if(this.windowChanging!=null){this.windowChanging(this,a)}},windowChanged:null,d4:function(a){if(this.windowChanged!=null){this.windowChanged(this,a)}},thumbnailSizeChanged:null,d7:function(a){if(this.thumbnailSizeChanged!=null){this.thumbnailSizeChanged(this,a)}},da:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.b8,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.b8)}},db:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.b9,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.b9)}},dc:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.ca,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.ca)}},dd:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cb,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cb)}},de:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cc,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cc)}},df:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cd,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cd)}},dg:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.ce,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.ce)}},dh:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cf,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cf)}},eo:function(a,b){a.ep(b.f(),b.e())},ep:function(a,b){if(b){this.eu($.ig.OverviewPlusDetailPaneMode.prototype.minimal)}else{this.eu($.ig.OverviewPlusDetailPaneMode.prototype.compact)}},di:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cg,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cg)}},es:function(a,b){a.et(b.f(),b.e())},et:function(a,b){this.eu(b)},eu:function(a){switch(a){case $.ig.OverviewPlusDetailPaneMode.prototype.full:this.c9().bo();if(this.dq()){this.c9().br()}else{this.c9().bs()}break;case $.ig.OverviewPlusDetailPaneMode.prototype.compact:this.c9().bq();if(this.dq()){this.c9().br()}else{this.c9().bs()}break;case $.ig.OverviewPlusDetailPaneMode.prototype.minimal:this.c9().bq();this.c9().bs();break}},ev:function(){if(this.dh()){this.eu($.ig.OverviewPlusDetailPaneMode.prototype.minimal)}else{this.eu($.ig.OverviewPlusDetailPaneMode.prototype.compact)}},ch:null,dj:function(a){if(arguments.length===1){if(this.ch!=null){var b=$.ig.util.cast($.ig.INotifyPropertyChanged.prototype.$type,this.ch);if(b!=null){b.propertyChanged=$.ig.Delegate.prototype.remove(b.propertyChanged,this.ey.runOn(this))}}this.ch=a;if(this.ch!=null){var c=$.ig.util.cast($.ig.INotifyPropertyChanged.prototype.$type,this.ch);if(c!=null){c.propertyChanged=$.ig.Delegate.prototype.combine(c.propertyChanged,this.ey.runOn(this))}}this.c9().cd();return a}else{return this.ch}},ey:function(a,b){switch(b.propertyName()){case"DefaultInteraction":this.c9().cs(this.ch.defaultInteraction());break}},dk:function(){var b=this.fz(this.db());return new $.ig.Rect(0,0,0,b.width(),b.height())},dl:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.ci,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.ci)}},dm:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cj,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cj)}},dn:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.ck,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.ck)}},dp:function(a){if(arguments.length===1){this.c($.ig.XamOverviewPlusDetailPane.prototype.cl,a);return a}else{return this.b($.ig.XamOverviewPlusDetailPane.prototype.cl)}},cm:null,dq:function(a){if(arguments.length===1){this.cm=a;this.ev();return a}else{return this.cm}},dr:function(){return this.c9().aq()},_ds:null,ds:function(a){if(arguments.length===1){this._ds=a;return a}else{return this._ds}},fd:function(a){var b=a.c();var c=a.d();var d=!this.db().isEmpty()?this.db().width()/this.db().height():1;if(Number.isInfinity(c)){if(Number.isInfinity(b)){b=128}c=b/d}else{if(Number.isInfinity(b)){b=c*d}}return new $.ig.Size(b,c)},_dt:null,dt:function(a){if(arguments.length===1){this._dt=a;return a}else{return this._dt}},_du:null,du:function(a){if(arguments.length===1){this._du=a;return a}else{return this._du}},fi:function(){if(this.dh()){this.eu($.ig.OverviewPlusDetailPaneMode.prototype.full)}},fj:function(){if(this.dh()){this.eu($.ig.OverviewPlusDetailPaneMode.prototype.minimal)}},fk:function(a){switch(a){case $.ig.Key.prototype.escape:if(this.dt()){this.c9().cf();this.dt(false);this.df($.ig.Rect.prototype.empty());return true}break}return false},fl:function(a){if(!this.cs){this.co=false}this.cn=a;var b=this.fz(this.db());if(b.contains1(a)==false){return}var c=this.dr();var d=!c.isEmpty()?this.db():$.ig.Rect.prototype.empty();var e=!d.isEmpty()?this.dd():$.ig.Rect.prototype.empty();this.du(this.fx(a));if(e.isEmpty()==false&&this.c9().cg()){this.dt(true);e=new $.ig.Rect(0,this.du().__x-.5*e.width(),this.du().__y-.5*e.height(),e.width(),e.height());if(!this.mobileMode()){this.d1(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),e))}}},cn:null,fm:function(a,b,c){if(isNaN(this.du().__x)||isNaN(this.du().__y)){this.du(this.fx(a))}var d=$.ig.XamOverviewPlusDetailPane.prototype.b4;if(c){d=$.ig.XamOverviewPlusDetailPane.prototype.b3}var e=false;var f=this.fy(this.du());var g=new $.ig.Rect(2,f,a);if(g.width()>d&&g.height()>d){e=true}if(!this.cs){if(e){this.co=false}}this.cn=a;var h=this.dr();var i=!h.isEmpty()?this.db():$.ig.Rect.prototype.empty();var j=!i.isEmpty()?this.dd():$.ig.Rect.prototype.empty();if(this.dt()){var k=this.fx(a);j=new $.ig.Rect(0,k.__x-.5*j.width(),k.__y-.5*j.height(),j.width(),j.height());this.d1(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),j))}},fn:function(a){this.cn=a;var b=this.dr();var c=!b.isEmpty()?this.db():$.ig.Rect.prototype.empty();var d=!c.isEmpty()?this.dd():$.ig.Rect.prototype.empty();if(this.dt()&&!this.co){this.c9().cf();this.dt(false);var e=this.fx(a);d=new $.ig.Rect(0,e.__x-.5*d.width(),e.__y-.5*d.height(),d.width(),d.height());if(!this.mobileMode()){this.d4(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),d))}return true}return false},fo:function(a){var b=this.dd().getCenter();var c=1-$.ig.MathUtil.prototype.i(a,-.5,.5);var d=b.__x-c*(b.__x-this.dd().left());var e=b.__y+c*(this.dd().bottom()-b.__y);var f=b.__x+c*(this.dd().right()-b.__x);var g=b.__y-c*(b.__y-this.dd().top());var h=new $.ig.Rect(0,d,g,f-d,e-g);this.d4(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),h));return true},co:null,cp:null,fp:function(a){this.cs=true;this.co=true;this.cp=1},fq:function(a){if(this.c9().a2()){this.ft(a)}else{this.fs(a);this.cp=a}},fr:function(a){this.cs=false;this.co=false;if(this.c9().a2()){this.ft(a)}else{this.fs(a)}},fs:function(a){var b=a-this.cp;if(b!=0){var c=.03;var d=b<0?1+c:1-c;var e={__x:this.dd().x()+this.dd().width()/2,__y:this.dd().y()+this.dd().height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f={__x:this.dd().x()-e.__x,__y:this.dd().y()-e.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var g=new $.ig.Rect(0,f.__x*d+e.__x,f.__y*d+e.__y,this.dd().width()*d,this.dd().height()*d);this.d4(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),g))}},ft:function(a){var b=1/a;var c={__x:this.dd().x()+this.dd().width()/2,__y:this.dd().y()+this.dd().height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var d={__x:this.dd().x()-c.__x,__y:this.dd().y()-c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var e=new $.ig.Rect(0,d.__x*b+c.__x,d.__y*b+c.__y,this.dd().width()*b,this.dd().height()*b);this.d4(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),e))},propertyChanged:null,fu:function(a,b,c){this.fv(new $.ig.PropertyChangedEventArgs(a))},fv:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}switch(a.propertyName()){case $.ig.XamOverviewPlusDetailPane.prototype.bw:this.f0(false);break;case $.ig.XamOverviewPlusDetailPane.prototype.by:this.f0(false);break;case $.ig.XamOverviewPlusDetailPane.prototype.b0:this.f0(false);break}},fw:function(){this.c9().b3()},fx:function(a){var b=this.dr();var c=!b.isEmpty()?this.db():$.ig.Rect.prototype.empty();if(!c.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return{__x:(a.__x-e)/d,__y:(a.__y-f)/d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},fy:function(a){var b=this.dr();var c=!b.isEmpty()?this.db():$.ig.Rect.prototype.empty();if(!c.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return{__x:a.__x*d+e,__y:a.__y*d+f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},fz:function(a){var b=this.dr();var c=!b.isEmpty()?this.db():$.ig.Rect.prototype.empty();if(!c.isEmpty()&&!a.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return new $.ig.Rect(0,a.left()*d+e,a.top()*d+f,a.width()*d,a.height()*d)}return $.ig.Rect.prototype.empty()},f0:function(a){var $self=this;this.f3();if(!a){if(!this.ds()){this.ds(true);this.c9().dh(function(){return $self.f0(true)})}return}this.ds(false);var b=this.fz(this.db());var c=this.fz(this.dd());var d=this.fz(this.df());if(this.__visibility!=$.ig.Visibility.prototype.visible||b.isEmpty()||isNaN(b.x())||isNaN(b.y())){this.ds(false);return}this.c9().b8(b);this.c9().ch(b);this.c9().b9(b,c);this.c9().ca(b,d);if(this.dj()!=null){this.dj().renderPreview()}this.c9().cn()},_dv:null,dv:function(a){if(arguments.length===1){this._dv=a;return a}else{return this._dv}},f3:function(){if(this.__visibility!=$.ig.Visibility.prototype.visible||this.dj()==null||!this.c9().ce()){return}var a=this.dj().viewportRect();var b=this.dj().worldRect();if(a.isEmpty()||b.isEmpty()){return}this.dv(true);var c=this.c9().de();var d=this.dj().minimumZoomLevel();var e=this.dj().maximumZoomLevel();if(isNaN(d)){d=Math.min(a.width()/b.width(),a.height()/b.height());d=Math.min(d,.5);d=Math.min(d,c)}if(isNaN(e)){e=$.ig.XamOverviewPlusDetailPane.prototype.bd;e=Math.max(e,c)}this.c9().df(d);this.c9().dg(e);this.dv(false)},f4:function(a){if(this.dj()!=null){this.dj().defaultInteraction(a)}},f5:function(){if(this.dj()!=null){this.dj().scaleToFit()}},f6:function(){if(this.dj()!=null){this.dj().zoomTo100()}},f7:function(){this.f0(false)},f8:function(a){this.c9().ct(a)},f9:function(a){this.c9().ck(a)},ga:function(a){this.c9().cx(a)},cr:null,mobileMode:function(a){if(arguments.length===1){var b=this.cr;this.cr=a;if(b!=this.cr){this.c9().c0(this.cr)}return a}else{return this.cr}},gd:function(a){this.c9().c3(a)},ge:function(a){this.c9().c6(a)},gf:function(){if(this.cn==null){return}var a=this.fx(this.cn);var b=this.dr();var c=!b.isEmpty()?this.db():$.ig.Rect.prototype.empty();var d=!c.isEmpty()?this.dd():$.ig.Rect.prototype.empty();d=new $.ig.Rect(0,a.__x-.5*d.width(),a.__y-.5*d.height(),d.width(),d.height());this.d4(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,this.dd(),this.dd()))},cs:null,dw:function(){return this.cs},gh:function(a){this.cs=false;this.du({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("XamOverviewPlusDetailPane",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("XamOverviewPlusDetailPaneView","Object",{_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},init:function(a){this.b=null;this.c=false;this.__loadingEle=null;this.__backgroundImage=null;this.e=0;this.f=0;$.ig.Object.prototype.init.call(this);this.aq($.ig.Rect.prototype.empty());this.ad(a);this.a1(new $.ig.Size(0,0))},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},a8:function(){var $self=this;this.ah(new $.ig.DoubleAnimator(0,1,300));this.ah().propertyChanged=$.ig.Delegate.prototype.combine(this.ah().propertyChanged,this.a9.runOn(this));this.ak(true);this.ae(new $.ig.XamOverviewPlusDetailPaneViewManager(this));var model_=this.ad();var isTouch_=typeof Modernizr!=="undefined"&&Modernizr.touch||this.ae().bx()&&$.support.touch;model_.mobileMode(isTouch_);this.am(function(){var $ret=new $.ig.Path;$ret.a4(true);$ret.bn(new $.ig.RectangleGeometry);return $ret}());this.am().bn().f($.ig.Rect.prototype.empty());this.ap(function(){var $ret=new $.ig.Path;$ret.a4(true);$ret.bn(new $.ig.RectangleGeometry);return $ret}());this.an(function(){var $ret=new $.ig.Path;$ret.a4(false);$ret.bn(new $.ig.GeometryGroup);return $ret}());$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.an().bn()).e().add(new $.ig.PathGeometry);$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.an().bn()).e().add(new $.ig.PathGeometry);this.ao(function(){var $ret=new $.ig.Path;$ret.a4(false);$ret.bn(new $.ig.GeometryGroup);return $ret}());$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.ao().bn()).e().add(new $.ig.PathGeometry);$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.ao().bn()).e().add(new $.ig.PathGeometry);this.ai(0);this.aj(0);this.az(false)},a9:function(a,b){if(this.al()){this.aj(this.ai()+this.ah().l()*(1-this.ai()))}else{this.aj(this.ai()-this.ah().l()*this.ai())}if(this.aj()>=1){this.ag(true);this.c3(this.ay());this.ad().f0(false)}else if(this.ag()){this.ag(false);this.ae().bt();this.c3(this.ay());this.ad().f0(false)}this.cn()},_af:null,af:function(a){if(arguments.length===1){this._af=a;return a}else{return this._af}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},bo:function(){if(this.al()){return}this.al(true);if(this.ak()){this.ai(this.aj());this.ah().ag();this.ah().af()}else{this.ai(1);this.aj(1);this.cn()}},bp:function(){},bq:function(){if(!this.al()){return}this.al(false);if(this.ak()){this.ai(this.aj());this.ah().ag();this.ah().af()}else{this.ai(1);this.aj(1);this.cn()}},br:function(){},bs:function(){},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},a:null,aq:function(a){if(arguments.length===1){this.a=a;if(this.ax()!=null){this.ax().x(this.a)}return a}else{return this.a}},b3:function(){},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},b8:function(a){this.ar(a);if(this.aw()!=null){var img_=this.aw();var b=a.width()/this.e;var c=a.height()/this.f;var d=b<c?b:c;var e=this.e*d;var f=this.f*d;var g=a.width()-e;var h=a.height()-f;this.as(new $.ig.Rect(0,this.ar().left()+g/2,this.ar().top()+h/2,e,f))}this.am().bn().f(a);this.am().__visibility=a.isEmpty()?$.ig.Visibility.prototype.collapsed:$.ig.Visibility.prototype.visible},b9:function(a,b){this.an().bn().e().__inner[0].d(this.cc(a.inflate11(2)));this.an().bn().e().__inner[1].d(this.cb(b));this.an().__visibility=b.isEmpty()?$.ig.Visibility.prototype.collapsed:$.ig.Visibility.prototype.visible},ca:function(a,b){this.ao().bn().e().__inner[0].d(this.cc(a.inflate11(2)));this.ao().bn().e().__inner[1].d(this.cb(b));this.ao().__visibility=b.isEmpty()?$.ig.Visibility.prototype.collapsed:$.ig.Visibility.prototype.visible},cb:function(a){var b=new $.ig.PathFigureCollection;var c=new $.ig.PathFigure;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.add(c);return b},cc:function(a){var b=new $.ig.PathFigureCollection;var c=new $.ig.PathFigure;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.add(c);return b},cd:function(){},ce:function(){return this.at()!=null},cf:function(){},cg:function(){return true},ch:function(a){var b=false;if(Math.round(this.a1().c())!=Math.round(a.width())){b=true;this.ae().bh(a.width())}if(Math.round(this.a1().d())!=Math.round(a.height())){b=true;this.ae().bi(a.height())}var c=this.a1();this.a1(new $.ig.Size(a.width(),a.height()));if(b){this.ad().d7(new $.ig.PropertyChangedEventArgs$1($.ig.Size.prototype.$type,"ThumbnailSize",c,this.a1()))}},_at:null,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},ck:function(a){this.at(a)},b:null,au:function(a){if(arguments.length===1){if(this.b!=null){this.b.n(this)}this.b=a;if(this.b!=null){this.b.m(this);this.cn()}return a}else{return this.b}},cn:function(){if(!this.c&&this.au()!=null){this.c=true;this.au().p()}},c:null,isDirty:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,__loadingEle:null,av:function(a){if(arguments.length===1){this.d=a;if(this.d!=null){this.__loadingEle=$("<img></img>");var b=this.__loadingEle[0];var self_=this;var ele_=this.__loadingEle;ele_.bind("load readystatechange",function(e){if(this.complete||this.readyState=="complete"&&e.type=="readystatechange"){self_.downloadCompleted(e)}});b.src=this.d}else{if(this.__loadingEle!=null){var ele_=this.__loadingEle;ele_.unbind("load readystatechange");this.__loadingEle=null}this.aw(null)}return a}else{return this.d}},downloadCompleted:function(a){if(this.__loadingEle==null||this.__loadingEle[0]==null||!this.__loadingEle[0].complete){return}this.aw(this.__loadingEle[0])},__backgroundImage:null,e:null,f:null,aw:function(a){if(arguments.length===1){this.__backgroundImage=a;if(this.__backgroundImage!=null){var img_=this.__backgroundImage;this.e=img_.width;this.f=img_.height}else{this.e=0;this.f=0}if(this.ar()!=null){this.b8(this.ar())}this.cn();return a}else{return this.__backgroundImage}},undirty:function(a){this.isDirty(false);if(this.at()==null){return}if(this.ad().__visibility==$.ig.Visibility.prototype.collapsed){return}if(this.at().b()){var b=1;var c=1;var d=1;b=.6+this.aj()*(1-.6);c=.6+this.aj()*(1-.6);d=.7+this.aj()*(1-.7);this.ap().__opacity=d;this.ap().a5(1);this.ae().bj(this.ap());this.am().__opacity=d;this.am().a5(1);this.ae().bk(this.am());this.an().__opacity=d;this.an().a5(1.5);this.ae().bl(this.an());this.ao().__opacity=d;this.ao().a5(2);this.ae().bm(this.ao());var e=this.am().bn().f();if(e.isEmpty()){return}this.at().p();this.at().t(this.ay().right(),this.ay().bottom());this.at().s(b,c);this.at().t(-this.ay().right(),-this.ay().bottom());
this.at().g(this.ap());this.ae().bn(this.at(),e);this.at().r(e);this.at().g(this.am());if(this.aw()!=null){this.at().w(this.aw(),d,this.as().left(),this.as().top(),this.as().width(),this.as().height())}this.at().g(this.ao());this.at().g(this.an());this.at().q()}},index:function(){return 1e4},postRender:function(){},cs:function(a){},ct:function(a){this.a3(window.navigator.msPointerEnabled);if(this.a3()){this.a2(true)}if(a==null){if(this.ax()!=null){this.ax().bl()}this.ae().az(null);this.a0(null);this.ax(null);return}this.ae().az(a);this.a0(this.ae().u())},cu:function(a){if(!this.az()){var val_=a;var obj_=this.ad().dj();obj_.zoomLevel(val_)}},_ax:null,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},cx:function(a){var $self=this;if(a==null){return}this.ax(a.bk());this.ax().aa(this.cz.runOn(this));this.ax().onMouseWheel=$.ig.Delegate.prototype.combine(this.ax().onMouseWheel,function(b,c){return $self.ad().fo(c)});this.ax().onPinchDelta=$.ig.Delegate.prototype.combine(this.ax().onPinchDelta,function(d,e){return $self.ad().fq(e)});this.ax().onPinchStarted=$.ig.Delegate.prototype.combine(this.ax().onPinchStarted,function(f,g){return $self.ad().fp(f)});this.ax().onGestureCompleted=$.ig.Delegate.prototype.combine(this.ax().onGestureCompleted,function(h,i){return $self.ad().gh(h)});this.ax().onMouseUp=$.ig.Delegate.prototype.combine(this.ax().onMouseUp,function(j){return $self.ad().fn(j)});this.ax().onMouseDown=$.ig.Delegate.prototype.combine(this.ax().onMouseDown,this.ad().fl.runOn(this.ad()));this.ax().onMouseEnter=$.ig.Delegate.prototype.combine(this.ax().onMouseEnter,function(k){return $self.ad().fi()});this.ax().onMouseOver=$.ig.Delegate.prototype.combine(this.ax().onMouseOver,function(l,m,n){return $self.ad().fm(l,m,n)});this.ax().onKeyDown=$.ig.Delegate.prototype.combine(this.ax().onKeyDown,this.ad().fk.runOn(this.ad()));this.ax().onMouseLeave=$.ig.Delegate.prototype.combine(this.ax().onMouseLeave,this.cy.runOn(this));this.ax().x(this.aq());this.ae().ac(this.ax())},cy:function(a){if(!this.cz({__x:this.aq().left()+a.__x,__y:this.aq().top()+a.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})){this.ad().fj()}},cz:function(a){if(a==null){return false}if(this.ad().__visibility!=$.ig.Visibility.prototype.visible){return false}var b=a.__x;var c=a.__y;if(b>=this.ay().left()&&c>=this.ay().top()&&b<this.ay().left()+this.ay().width()&&c<this.ay().top()+this.ay().height()){return true}return false},c0:function(a){if(a){this.ak(false);if(this.ae()!=null&&this.ad().__visibility==$.ig.Visibility.prototype.visible){this.ae().bp()}}else{this.ak(true);if(this.ae()!=null){this.ae().bq();this.bq();this.aj(0);this.ai(0);this.ae().bt()}}},_ay:null,ay:function(a){if(arguments.length===1){this._ay=a;return a}else{return this._ay}},c3:function(a){this.ay(a);this.ap().bn().f(this.ay());var b=a.height()-4;var c=a.width()-4;if(this.aj()>=1&&!this.ad().mobileMode()){b-=20;this.ae().bo(this.ay(),c,b)}if(this.ae().x()!=null){if(this.af()){this.ae().x().show()}else{this.ae().bs(true)}}this.aq(new $.ig.Rect(0,this.ay().left()+2,this.ay().top()+2,c,b));this.cn()},_az:null,az:function(a){if(arguments.length===1){this._az=a;return a}else{return this._az}},c6:function(a){this.az(true);this.ae().a6(a);this.az(false)},c7:function(){this.ad().f6()},_a0:null,a0:function(a){if(arguments.length===1){this._a0=a;return a}else{return this._a0}},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},dc:function(a){},dd:function(a,b){if(!this.cz({__x:a,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})){this.ad().fj()}},de:function(){return this.ae().a9()},df:function(a){this.ae().ba(a)},dg:function(a){this.ae().bb(a)},dh:function(a){this.ae().bw(a)},di:function(){this.ad().gf()},_a2:null,a2:function(a){if(arguments.length===1){this._a2=a;return a}else{return this._a2}},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},$type:new $.ig.Type("XamOverviewPlusDetailPaneView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.util.defType("XamOverviewPlusDetailPaneViewManager","Object",{_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_sliderEnabled:null,sliderEnabled:function(a){if(arguments.length===1){this._sliderEnabled=a;return a}else{return this._sliderEnabled}},_isJqueryMobile:null,isJqueryMobile:function(a){if(arguments.length===1){this._isJqueryMobile=a;return a}else{return this._isJqueryMobile}},a:null,b:null,c:null,d:null,e:null,f:null,init:function(a){this.a="Overview";this.b="Close";this.c="Zoom In";this.d="Zoom Out";this.e="Reset Zoom";this.g=false;$.ig.Object.prototype.init.call(this);this.f=a;this.isJqueryMobile(typeof $.mobile!=="undefined"&&$.mobile!==null);var overview_=null;if($.ig.Chart&&$.ig.Chart.locale&&$.ig.Chart.locale.overview){overview_=$.ig.Chart.locale.overview}var close_=null;if($.ig.Chart&&$.ig.Chart.locale&&$.ig.Chart.locale.close){close_=$.ig.Chart.locale.close}var zoomIn_=null;if($.ig.Chart&&$.ig.Chart.locale&&$.ig.Chart.locale.zoomIn){zoomIn_=$.ig.Chart.locale.zoomIn}var zoomOut_=null;if($.ig.Chart&&$.ig.Chart.locale&&$.ig.Chart.locale.zoomOut){zoomOut_=$.ig.Chart.locale.zoomOut}var resetZoom_=null;if($.ig.Chart&&$.ig.Chart.locale&&$.ig.Chart.locale.resetZoom){resetZoom_=$.ig.Chart.locale.resetZoom}if(overview_!=null){this.a=overview_}if(close_!=null){this.b=close_}if(zoomIn_!=null){this.c=zoomIn_}if(zoomOut_!=null){this.d=zoomOut_}if(resetZoom_!=null){this.e=resetZoom_}this.t($("<canvas></canvas>"));this.u(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.t()[0].getContext("2d")))},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},az:function(a){if(a==null){this.a0();this.v(null);this.w(null);this.y(null);return}this.v($(a));var b=$('<div class="ui-chart-toolbar"></div>');b.hide();this.w(b);this.v().append(b);this.a1();if(!this.f.ad().mobileMode()){this.bs(true)}var c=$('<ul class="ui-widget" style="margin: 0; padding: 0"></ul>');b.append(c);var d=$('<div class="ui-chart-slider"></div>');var slider_=this.isJqueryMobile()?$("<input type='range' style='display:none;' max='100' min='0' />"):$("<div></div>");d.append(slider_);this.y(slider_);if(slider_.slider){slider_.slider({mini:true});this.sliderEnabled(true)}if(this.sliderEnabled()){slider_.bind(this.isJqueryMobile()?"change":"slide",this.bg.runOn(this))}var zoomout_=$("<button></button>");var zoomin_=$("<button></button>");var zoom100_=$("<button></button>");var zoomOutText_=this.d;var zoomInText_=this.c;var resetZoomText_=this.e;if(this.isJqueryMobile()){zoomout_=$("<div title="+zoomOutText_+"></div>");zoomout_.buttonMarkup({iconpos:"notext",icon:"zoomout",mini:true,inline:true,corners:false});zoomin_=$("<div title="+zoomInText_+"></div>");zoomin_.buttonMarkup({iconpos:"notext",icon:"zoomin",mini:true,inline:true,corners:false});zoom100_=$("<div title="+resetZoomText_+"></div>");zoom100_.buttonMarkup({iconpos:"notext",icon:"reset",mini:true,inline:true,corners:false})}else{zoomout_.button({icons:{primary:"ui-icon-zoomout"},label:zoomOutText_,text:false});zoomin_.button({icons:{primary:"ui-icon-zoomin"},label:zoomInText_,text:false});zoom100_.button({icons:{primary:"ui-icon-arrow-4-diag"},label:resetZoomText_,text:false})}zoomout_.click(this.a4.runOn(this));zoomin_.click(this.a5.runOn(this));zoom100_.click(this.a7.runOn(this));this.aa(zoomout_);this.z(zoomin_);this.ab(zoom100_);this.a3(c,zoomout_,true);this.a3(c,d,false);this.a3(c,zoomin_,true);this.a3(c,zoom100_,true);b.mouseleave(this.a2.runOn(this))},a0:function(){if(this.x()!=null){this.x().unbind("click")}if(this.aa()!=null){this.aa().unbind("click")}if(this.z()!=null){this.z().unbind("click")}if(this.ab()!=null){this.ab().unbind("click")}if(this.sliderEnabled()){this.y().unbind(this.isJqueryMobile()?"change":"slide")}this.z(null);this.aa(null);this.ab(null);this.y(null);this.x(null)},a1:function(){var closeIcon_=$('<button toggle="closed" class="ui-chart-opd-button"></button>');var overview_=this.a;if(this.isJqueryMobile()){closeIcon_=$('<div toggle="closed" class="ui-chart-opd-button"></div>');closeIcon_.html(overview_).buttonMarkup({icon:"arrow-d",iconpos:"left"})}else{closeIcon_.button({icons:{secondary:"ui-icon-carat-1-s"},label:overview_})}if(!this.f.af()){closeIcon_.hide()}closeIcon_.click(this.a8.runOn(this));this.x(closeIcon_);this.v().append(closeIcon_)},a2:function(a){$.ig.DOMEventProxy.prototype.dh(a);var b=this.ac().b4();var c=a.pageX-b.__x;var d=a.pageY-b.__y;this.f.dd(c,d)},a3:function(a,b,c){var d="";if(c){d='class="ui-corner-all" '}var e=$("<li></li>");if(c){e.mousedown($.ig.XamOverviewPlusDetailPaneViewManager.prototype.bc).mouseup($.ig.XamOverviewPlusDetailPaneViewManager.prototype.bd).hover($.ig.XamOverviewPlusDetailPaneViewManager.prototype.be,$.ig.XamOverviewPlusDetailPaneViewManager.prototype.bf)}else{e.addClass("ui-chart-slider-holder")}e.append(b);a.append(e)},a4:function(a){this.a6(this.a9()-.05);this.f.cu(this.a9());a.preventDefault()},a5:function(a){this.a6(this.a9()+.05);this.f.cu(this.a9());a.preventDefault()},a6:function(zoomLevel_){if(this.sliderEnabled()){var slider_=this.y();if(this.isJqueryMobile()){slider_.slider("refresh",Math.round(zoomLevel_*100),true,false)}else{slider_.slider("option","value",Math.round(zoomLevel_*100))}}},a7:function(a){this.f.c7();a.preventDefault()},a8:function(a){if(this.x().attr("toggle")=="closed"||this.isJqueryMobile()&&this.x().attr("data-toggle")=="closed"){this.br()}else{this.bs(false)}this.f.ad().f0(true);a.preventDefault()},a9:function(){if(this.sliderEnabled()){var slider_=this.y();if(this.isJqueryMobile()){return parseInt(slider_.val()||0)/100}else{return slider_.slider("option","value")/100}}else{return 0}},ba:function(a){var min_=Math.round(a*100);if(this.sliderEnabled()){var slider_=this.y();if(this.isJqueryMobile()){slider_.attr("min",min_)}else{slider_.slider("option","min",min_)}}},bb:function(a){var max_=Math.round(a*100);if(this.sliderEnabled()){var slider_=this.y();if(this.isJqueryMobile()){slider_.attr("max",max_)}else{slider_.slider("option","max",max_)}}},bc:function(a){},bd:function(a){},be:function(a){},bf:function(a){},bg:function(e_,ui_){var a=(ui_?ui_.value:e_.target.value)/100;this.f.cu(a)},bh:function(a){this.t().attr("width",a.toString())},bi:function(a){this.t().attr("height",a.toString())},bj:function(a){var $self=this;a.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill="#AEB8C2";return $ret}();a.__fill=function(){var $ret=new $.ig.Brush;$ret.__fill="#C6CFD9";return $ret}()},bk:function(a){var $self=this;a.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(92,105,124,.4)";return $ret}();a.__fill=function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(147,159,175,0)";return $ret}()},bl:function(a){var $self=this;a.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(68,76,88,.6)";return $ret}();a.__fill=function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(92,105,118,.1)";return $ret}()},bm:function(a){var $self=this;a.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill="#2A3037";return $ret}()},bn:function(a,b){a.w(this.t()[0],1,b.left(),b.top(),b.width(),b.height())},bo:function(a,b,c){this.w().css("top",(a.top()+2+c).toString()+"px");this.w().css("left",(a.left()+2).toString()+"px");this.w().css("width",b.toString()+"px");this.w().css("height","20px");this.w().show()},g:null,bp:function(){this.f.ad().di($.ig.OverviewPlusDetailPaneMode.prototype.full);if(this.w()!=null){this.w().hide()}},bq:function(){this.f.ad().di($.ig.OverviewPlusDetailPaneMode.prototype.minimal)},br:function(){this.g=true;this.f.ad().__visibility=$.ig.Visibility.prototype.visible;this.bp();var mp_=this.x();var close_=this.b;if(this.isJqueryMobile()){mp_.find(".ui-btn-text").html(close_);mp_.find(".ui-icon").removeClass("ui-icon-arrow-d").addClass("ui-icon-delete")}else{mp_.button("option","icons",{secondary:"ui-icon-close"});mp_.button("option","label",close_)}this.x().attr("toggle","open").attr("data-toggle","open");this.w().css("left",(this.f.ad().c9().ay().left()+5).toString()+"px");this.w().css("width",(this.f.ad().c9().ay().width()-10).toString()+"px");this.w().css("top",(this.f.ad().c9().ay().height()-this.w().height()).toString()+"px");this.w().show()},bs:function(a){if(this.g){this.g=false;this.f.ad().__visibility=$.ig.Visibility.prototype.collapsed;var mp_=this.x();var overview_=this.a;if(this.isJqueryMobile()){mp_.find(".ui-btn-text").html(overview_);mp_.find(".ui-icon").removeClass("ui-icon-delete").addClass("ui-icon-arrow-d")}else{mp_.button("option","icons",{secondary:"ui-icon-carat-1-s"});mp_.button("option","label",overview_)}this.x().attr("toggle","closed").attr("data-toggle","closed");this.f.ad().di($.ig.OverviewPlusDetailPaneMode.prototype.minimal);this.w().hide();this.f.di()}if(a){this.x().hide()}},bt:function(){this.w().hide()},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},bw:function(a){window.setTimeout(a,0)},bx:function(){return this.isJqueryMobile()},$type:new $.ig.Type("XamOverviewPlusDetailPaneViewManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamMultiScaleTileSource","DependencyObject",{init:function(a,b,c,d,e){$.ig.DependencyObject.prototype.init.call(this);this.e=a;this.f=b;this.m(c);this.n(d);this.o(e)},e:null,k:function(a){if(arguments.length===1){this.e=a;this.ab(0,0,0,0);return a}else{return this.e}},f:null,l:function(a){if(arguments.length===1){this.f=a;this.ab(0,0,0,0);return a}else{return this.f}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},g:null,z:function(a,b,c){var d=new $.ig.List$1($.ig.Object.prototype.$type,0);this.aa(a,b,c,d);var e=null;if(d.count()>0){e=$.ig.util.cast($.ig.Uri.prototype.$type,d.__inner[0])}return e},aa:function(a,b,c,d){},ab:function(a,b,c,d){if(this.g!=null){this.g.dd(a,b,c,d)}},$type:new $.ig.Type("XamMultiScaleTileSource",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("MapTileSource","XamMultiScaleTileSource",{init:function(a,b,c,d,e){$.ig.XamMultiScaleTileSource.prototype.init.call(this,a,b,c,d,e)},$type:new $.ig.Type("MapTileSource",$.ig.XamMultiScaleTileSource.prototype.$type)},true);$.ig.util.defType("BingMapsTileSource","MapTileSource",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.MapTileSource.prototype.init.call(this,256<<22,256<<22,256,256,0)},init1:function(initNumber,a,b){$.ig.BingMapsTileSource.prototype.init.call(this);this.tilePath(a);this.subDomains(b)},tilePath:function(a){if(arguments.length===1){this.c($.ig.BingMapsTileSource.prototype.tilePathProperty,a);return a}else{return this.b($.ig.BingMapsTileSource.prototype.tilePathProperty)}},subDomains:function(a){if(arguments.length===1){this.c($.ig.BingMapsTileSource.prototype.subDomainsProperty,a);return a}else{return this.b($.ig.BingMapsTileSource.prototype.subDomainsProperty)}},ad:function(a,b){this.ab(0,0,0,0)},ac:null,cultureName:function(a){if(arguments.length===1){this.c($.ig.BingMapsTileSource.prototype.cultureNameProperty,a);return a}else{return this.b($.ig.BingMapsTileSource.prototype.cultureNameProperty)}},aa:function(a,b,c,d){if(!this.ae()){d.clear();return}if(this.tilePath()==null){return}a-=8;if(a>0){var e=this.af(a,b,c);var f=this.tilePath();f=f.replace("{culture}",this.ac);f=f.replace("{quadkey}",e);var g=$.ig.Number.prototype.parseInt(e.substr(e.length-1,1));f=f.replace("{subdomain}",this.subDomains().__inner[g]);f=f.replace("&token={token}","");d.add(new $.ig.Uri(f))}},ae:function(){var a=true;return a},af:function(a,b,c){var d=new $.ig.StringBuilder;for(var e=a;e>0;--e){var f="0";var g=1<<e-1;if((b&g)!=0){f++}if((c&g)!=0){f++;f++}d.f(f)}return d.toString()},ag:function(a,b){var c=a;if(b.d()==$.ig.BingMapsTileSource.prototype.subDomainsProperty||b.d()==$.ig.BingMapsTileSource.prototype.tilePathProperty|b.d()==$.ig.BingMapsTileSource.prototype.cultureNameProperty){if(b.d()==$.ig.BingMapsTileSource.prototype.subDomainsProperty){var d=$.ig.util.cast($.ig.ObservableCollection$1.prototype.$type.specialize(String),b.f());var e=$.ig.util.cast($.ig.ObservableCollection$1.prototype.$type.specialize(String),b.e());if(d!=null){d.collectionChanged=$.ig.Delegate.prototype.remove(d.collectionChanged,c.ad.runOn(c))}if(e!=null){e.collectionChanged=$.ig.Delegate.prototype.combine(e.collectionChanged,c.ad.runOn(c))}}if(b.d()==$.ig.BingMapsTileSource.prototype.cultureNameProperty){c.ac=b.e()}c.ab(0,0,0,0)}},$type:new $.ig.Type("BingMapsTileSource",$.ig.MapTileSource.prototype.$type)},true);$.ig.util.defType("CloudMadeTileSource","MapTileSource",{af:null,init:function(){$.ig.MapTileSource.prototype.init.call(this,134217728,134217728,256,256,0);this.af=new $.ig.Random},key:function(a){if(arguments.length===1){this.c($.ig.CloudMadeTileSource.prototype.keyProperty,a);return a}else{return this.b($.ig.CloudMadeTileSource.prototype.keyProperty)}},parameter:function(a){if(arguments.length===1){this.c($.ig.CloudMadeTileSource.prototype.parameterProperty,a);return a}else{return this.b($.ig.CloudMadeTileSource.prototype.parameterProperty)}},aa:function(a,b,c,d){var $self=this;var e=a-8;if(e>0){var f=function(){var $ret=new Array;$ret.add("a");$ret.add("b");$ret.add("c");return $ret}();var g=$.ig.CloudMadeTileSource.prototype.ac;g=g.replace("{S}",f[this.af.b(f.length)]);g=g.replace("{K}",this.key()==null?"":this.key());g=g.replace("{P}",this.parameter()==null?"":this.parameter());g=g.replace("{Z}",e.toString());g=g.replace("{X}",b.toString());g=g.replace("{Y}",c.toString());d.add(new $.ig.Uri(g))}},ag:function(a,b){var c=a;if(b.d()==$.ig.CloudMadeTileSource.prototype.parameterProperty){c.ab(0,0,0,0)}},$type:new $.ig.Type("CloudMadeTileSource",$.ig.MapTileSource.prototype.$type)},true);$.ig.util.defType("OpenStreetMapTileSource","MapTileSource",{init:function(){$.ig.MapTileSource.prototype.init.call(this,134217728,134217728,256,256,0)},aa:function(a,b,c,d){var e=a-8;if(e>0){var f=$.ig.OpenStreetMapTileSource.prototype.ac;f=f.replace("{Z}",e.toString());f=f.replace("{X}",b.toString());f=f.replace("{Y}",c.toString());d.add(new $.ig.Uri(f))}},$type:new $.ig.Type("OpenStreetMapTileSource",$.ig.MapTileSource.prototype.$type)},true);$.ig.util.defType("ArrayUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},shuffle$1:function($t){if(this!=null){var b=new $.ig.Random;for(var c=this.count()-1;c>0;--c){var d=b.b(c);var e=this.item(c);this.item(c,this.item(d));this.item(d,e)}}},insertionIndex$1:function($t,b){var c=-1;var d=0;var e=this.count();while(c==-1){if(e<=d){c=d}else{var f=$.ig.intDivide(d+e,2);switch(Math.sign(b.compareTo(this.item(f)))){case-1:e=f;break;case 0:c=f;break;case 1:d=f+1;break}}}return c},insertionIndex$11111:function($t,b,c){var d=-1;var e=0;var f=this.count();while(d==-1){if(f<=e){d=e}else{var g=$.ig.intDivide(e+f,2);switch(Math.sign(b(c,this.item(g)))){case-1:f=g;break;case 0:d=g;break;case 1:e=g+1;break}}}return d},binarySearch$1:function($t,b){var c=0;var d=this.count()-1;while(c<=d){var e=c+(d-c>>1);var f=b(this.item(e));if(f<0){d=e-1}else if(f>0){c=e+1}else{return e}}return~c},$type:new $.ig.Type("ArrayUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BrushUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d){var $self=this;var e=new $.ig.Brush;if(a==null&&c==null){e.__fill="transparent";return e}if(a==null){var f=function(){var $ret=new $.ig.Color;$ret.b(0);$ret.c(c.color().c());$ret.d(c.color().d());$ret.e(c.color().e());return $ret}();a=function(){var $ret=new $.ig.Brush;$ret.color(f);return $ret}()}if(c==null){var g=function(){var $ret=new $.ig.Color;$ret.b(0);$ret.c(a.color().c());$ret.d(a.color().d());$ret.e(a.color().e());return $ret}();c=function(){var $ret=new $.ig.Brush;$ret.color(g);return $ret}()}var h=a.color();var i=c.color();var j=h.getInterpolation(b,i,d);e.color(j);return e},b:function(a,b){var c=new Array(2);b.addClass(a);var d=new $.ig.Brush;d.__fill=b.css("background-color");var e=new $.ig.Brush;e.__fill=b.css("border-top-color");b.removeClass(a);c[0]=d;c[1]=e;return c},c:function(palleteName_,a,b,c){b=new $.ig.BrushCollection;c=new $.ig.BrushCollection;var d=1;var e=$("<div></div>");var f=$.ig.util.getClassCount(".ui-"+palleteName_+"-palette-",true);if(f==0){var g=new $.ig.Brush;g.__fill="#B1BFC9";var h=new $.ig.Brush;h.__fill="#50a8be";var i=new $.ig.Brush;i.__fill="#798995";var j=new $.ig.Brush;j.__fill="#fc6754";var k=new $.ig.Brush;k.__fill="#4F606C";var l=new $.ig.Brush;l.__fill="#fec33c";var m=new $.ig.Brush;m.__fill="#374650";var n=new $.ig.Brush;n.__fill="#3c6399";var o=new $.ig.Brush;o.__fill="#162C3B";var p=new $.ig.Brush;p.__fill="#91af49";b.add(h);b.add(j);b.add(l);b.add(n);b.add(p);c.add(g);c.add(i);c.add(k);c.add(m);c.add(o);d=6;f=5}a.append(e);for(var q=d;q<=f;q++){var r=$.ig.BrushUtil.prototype.b("ui-"+palleteName_+"-palette-"+q,e);b.add(r[0]);c.add(r[1])}e.remove();return{brushes:b,outlines:c}},$type:new $.ig.Type("BrushUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Clipper","Object",{h:function(a){if(arguments.length===1){if(this.b!=null){this.b.clear()}this.b=null;this.c=a;var b=this.c;if(this.d!=null){this.d.h(b);b=this.d;this.b=this.d}if(this.e!=null){this.e.h(b);b=this.e;this.e.__nextClipper=this.b;this.b=this.e}if(this.f!=null){this.f.h(b);b=this.f;this.f.__nextClipper=this.b;this.b=this.f}if(this.g!=null){this.g.h(b);b=this.g;this.g.__nextClipper=this.b;this.b=this.g}this.a=b;return a}else{return this.c}},a:null,b:null,c:null,d:null,e:null,f:null,g:null,init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}var $self=this;$.ig.Object.prototype.init.call(this);this.d=function(){var $ret=new $.ig.LeftClipper;$ret.p=a.left();$ret.f=b;return $ret}();this.e=function(){var $ret=new $.ig.BottomClipper;$ret.p=a.bottom();$ret.f=b;return $ret}();this.f=function(){var $ret=new $.ig.RightClipper;$ret.p=a.right();$ret.f=b;return $ret}();this.g=function(){var $ret=new $.ig.TopClipper;$ret.p=a.top();$ret.f=b;return $ret}()},init1:function(initNumber,a,b,c,d,e){var $self=this;$.ig.Object.prototype.init.call(this);this.d=!isNaN(a)?function(){var $ret=new $.ig.LeftClipper;$ret.p=a;$ret.f=e;return $ret}():null;this.e=!isNaN(b)?function(){var $ret=new $.ig.BottomClipper;$ret.p=b;$ret.f=e;return $ret}():null;this.f=!isNaN(c)?function(){var $ret=new $.ig.RightClipper;$ret.p=c;$ret.f=e;return $ret}():null;this.g=!isNaN(d)?function(){var $ret=new $.ig.TopClipper;$ret.p=d;$ret.f=e;return $ret}():null},l:function(a){this.a.add(a)},i:function(a){if(arguments.length===1){if(this.d!=null){this.d.f=a}if(this.e!=null){this.e.f=a}if(this.f!=null){this.f.f=a}if(this.g!=null){this.g.f=a}return a}else{return(this.d==null||this.d.f)&&(this.e==null||this.e.f)&&(this.f==null||this.f.f)&&(this.g==null||this.g.f)}},$type:new $.ig.Type("Clipper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("EdgeClipper","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.b=true;this.g=false},h:function(a){if(arguments.length===1){if(this.a!=a){this.b=true;this.a=a}return a}else{return this.a}},a:null,__nextClipper:null,nextClipper:function(a){if(arguments.length===1){this.__nextClipper=a;return a}else{return this.__nextClipper}},b:null,c:null,d:null,e:null,f:null,g:null,add:function(a){var b=this.m(a);if(this.b){this.b=false;this.c=a}else{if(true){if(b){if(!this.e){this.h().add(this.n(this.d,a))}else{if(!this.f&&!this.g){this.h().add(this.d);this.g=true}}this.h().add(a)}else{if(this.e){if(!this.f&&!this.g){this.h().add(this.d);this.g=true}this.h().add(this.n(this.d,a))}}}}this.d=a;this.e=b},clear:function(){if(this.f&&!this.b){this.add(this.c)}if(this.__nextClipper!=null){this.__nextClipper.clear()}this.b=true;this.g=false},m:function(a){},n:function(a,b){},getEnumerator:function(){return null},isReadOnly:function(){return false},count:function(){return 0},remove:function(a){return false},removeAt:function(a){},o:function(a,b){},contains:function(a){return false},_item:null,item:function(b,a){if(arguments.length===2){this._item=a;return a}else{return{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},insert:function(a,b){},indexOf:function(a){return-1},$type:new $.ig.Type("EdgeClipper",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize($.ig.Point.prototype.$type)])},true);$.ig.util.defType("LeftClipper","EdgeClipper",{init:function(){$.ig.EdgeClipper.prototype.init.call(this)},p:null,m:function(a){return a.__x>=this.p},n:function(a,b){return{__x:this.p,__y:a.__y+(b.__y-a.__y)*(this.p-a.__x)/(b.__x-a.__x),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("LeftClipper",$.ig.EdgeClipper.prototype.$type)},true);$.ig.util.defType("BottomClipper","EdgeClipper",{init:function(){$.ig.EdgeClipper.prototype.init.call(this)},p:null,m:function(a){return a.__y<=this.p},n:function(a,b){return{__x:a.__x+(b.__x-a.__x)*(this.p-a.__y)/(b.__y-a.__y),__y:this.p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("BottomClipper",$.ig.EdgeClipper.prototype.$type)},true);$.ig.util.defType("RightClipper","EdgeClipper",{init:function(){$.ig.EdgeClipper.prototype.init.call(this)},p:null,m:function(a){return a.__x<=this.p},n:function(a,b){return{__x:this.p,__y:a.__y+(b.__y-a.__y)*(this.p-a.__x)/(b.__x-a.__x),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("RightClipper",$.ig.EdgeClipper.prototype.$type)},true);$.ig.util.defType("TopClipper","EdgeClipper",{init:function(){$.ig.EdgeClipper.prototype.init.call(this)},p:null,m:function(a){return a.__y>=this.p},n:function(a,b){return{__x:a.__x+(b.__x-a.__x)*(this.p-a.__y)/(b.__y-a.__y),__y:this.p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("TopClipper",$.ig.EdgeClipper.prototype.$type)},true);$.ig.util.defType("ColorUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},d:function(a){return $.ig.Color.prototype.s(a,$.ig.ColorUtil.prototype.a.c(0,255),$.ig.ColorUtil.prototype.a.c(0,255),$.ig.ColorUtil.prototype.a.c(0,255))},e:function(a){var b=a.getAHSV();return $.ig.ColorUtil.prototype.h(b[0],$.ig.ColorUtil.prototype.a.c(0,359),b[2],b[3])},getInterpolation:function(interpolation_,maximum_,b){var min_=this;switch(b){case $.ig.InterpolationMode.prototype.hSV:var c=this.getAHSV();var d=maximum_.getAHSV();var e=c[1]>=0?c[1]:d[1];var f=d[1]>=0?d[1]:c[1];if(e>=0&&f>=0&&Math.abs(f-e)>180){if(f>e){e+=360}else{f+=360}}interpolation_=Math.max(0,Math.min(1,interpolation_));return $.ig.ColorUtil.prototype.h(c[0]+interpolation_*(d[0]-c[0]),e+interpolation_*(f-e),c[2]+interpolation_*(d[2]-c[2]),c[3]+interpolation_*(d[3]-c[3]));case $.ig.InterpolationMode.prototype.rGB:return $.ig.Color.prototype.s(min_.__a+interpolation_*(maximum_.__a-min_.__a),min_.__r+interpolation_*(maximum_.__r-min_.__r),min_.__g+interpolation_*(maximum_.__g-min_.__g),min_.__b+interpolation_*(maximum_.__b-min_.__b))}return this},f:function(a,b,c){var d=a[1]>=0?a[1]:c[1];var e=c[1]>=0?c[1]:a[1];if(d>=0&&e>=0&&Math.abs(e-d)>180){if(e>d){d+=360}else{e+=360}}b=Math.max(0,Math.min(1,b));return $.ig.ColorUtil.prototype.h(a[0]+b*(c[0]-a[0]),d+b*(e-d),a[2]+b*(c[2]-a[2]),a[3]+b*(c[3]-a[3]))},getLightened:function(b){var c=this.getAHSL();if(b<0){return $.ig.ColorUtil.prototype.g(c[0],c[1],c[2],c[3]*(1-$.ig.MathUtil.prototype.i(-b,0,1)))}else{return $.ig.ColorUtil.prototype.g(c[0],c[1],c[2],c[3]+$.ig.MathUtil.prototype.i(b,0,1)*(1-c[3]))}},getAHSL:function(){var b=new Array(4);var c=this.c()/255;var d=this.d()/255;var e=this.e()/255;var f=Math.min(Math.min(c,d),e);var g=Math.max(Math.max(c,d),e);var h=g-f;b[0]=this.b()/255;b[3]=(g+f)/2;if(h==0){b[1]=-1;b[2]=0}else{b[1]=$.ig.ColorUtil.prototype.i(g,h,c,d,e);b[2]=b[3]<.5?h/(g+f):h/(2-g-f)}return b},getAHSV:function(){var b=this.b()/255;var c=this.c()/255;var d=this.d()/255;var e=this.e()/255;var f=Math.min(c,Math.min(d,e));var g=Math.max(c,Math.max(d,e));var h=g-f;var i=new Array(4);i[0]=b;i[3]=g;if(h==0){i[1]=-1;i[2]=0}else{i[1]=$.ig.ColorUtil.prototype.i(g,h,c,d,e);i[2]=h/g}return i},g:function(a,b,c,d){var e;var f;var g;if(c==0){e=d;f=d;g=d}else{var h=d<.5?d*(1+c):d+c-d*c;var i=2*d-h;var j=b/360;e=$.ig.ColorUtil.prototype.j(i,h,j+1/3);f=$.ig.ColorUtil.prototype.j(i,h,j);g=$.ig.ColorUtil.prototype.j(i,h,j-1/3)}return $.ig.Color.prototype.s(a*255,e*255,f*255,g*255)},h:function(a,b,c,d){var e;var f;var g;while(b>=360){b-=360}if(c==0){e=d;f=d;g=d}else{b/=60;var h=Math.floor(b);var i=b-h;var j=d*(1-c);var k=d*(1-c*i);var l=d*(1-c*(1-i));switch(h){case 0:e=d;f=l;g=j;break;case 1:e=k;f=d;g=j;break;case 2:e=j;f=d;g=l;break;case 3:e=j;f=k;g=d;break;case 4:e=l;f=j;g=d;break;default:e=d;f=j;g=k;break}}return $.ig.Color.prototype.s(a*255,e*255,f*255,g*255)},i:function(a,b,c,d,e){var f=c==a?(d-e)/b:d==a?2+(e-c)/b:4+(c-d)/b;f*=60;if(f<0){f+=360}return f},j:function(a,b,c){c=c<0?c+1:c>1?c-1:c;if(c<1/6){return a+(b-a)*6*c}if(c<1/2){return b}if(c<2/3){return a+(b-a)*6*(2/3-c)}return a},b:null,c:function(){if($.ig.ColorUtil.prototype.b==null){$.ig.ColorUtil.prototype.b=new Array(100);$.ig.ColorUtil.prototype.b[0]=$.ig.Color.prototype.s(255,70,130,180);$.ig.ColorUtil.prototype.b[1]=$.ig.Color.prototype.s(255,65,105,225);$.ig.ColorUtil.prototype.b[2]=$.ig.Color.prototype.s(255,100,149,237);$.ig.ColorUtil.prototype.b[3]=$.ig.Color.prototype.s(255,176,196,222);$.ig.ColorUtil.prototype.b[4]=$.ig.Color.prototype.s(255,123,104,238);$.ig.ColorUtil.prototype.b[5]=$.ig.Color.prototype.s(255,106,90,205);$.ig.ColorUtil.prototype.b[6]=$.ig.Color.prototype.s(255,72,61,139);$.ig.ColorUtil.prototype.b[7]=$.ig.Color.prototype.s(255,25,25,112);for(var b=8;b<100;b++){$.ig.ColorUtil.prototype.b[b]=$.ig.Color.prototype.s(255,$.ig.ColorUtil.prototype.a.b(255),$.ig.ColorUtil.prototype.a.b(255),$.ig.ColorUtil.prototype.a.b(255))}}return $.ig.ColorUtil.prototype.b},l:function(a){a%=100;return $.ig.ColorUtil.prototype.c()[a]},m:function(a){var b=a.b()/255;var c=a.c()*b;var d=a.d()*b;var e=a.e()*b;return a.b()<<24|c<<16|d<<8|e},n:function(a){return a.color()},$type:new $.ig.Type("ColorUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FontUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){var tempSpan_=$("<span>M</span>");var b=$("body");b.append(tempSpan_);tempSpan_.css("font",a);
var offset_=tempSpan_.attr("offsetHeight");if(isNaN(offset_)){offset_=tempSpan_[0].offsetHeight}tempSpan_.remove();return parseInt(offset_)},b:function(a){var b=String.empty();var c=a.css("font-style");var d=a.css("font-variant");var e=a.css("font-weight");var f=a.css("font-size");var g=a.css("line-height");var h=a.css("font-family");var i=true;if(c.length>0){if(!i){b+=" "}else{i=false}b+=c}if(d.length>0){if(!i){b+=" "}else{i=false}b+=d}if(e.length>0){if(!i){b+=" "}else{i=false}b+=e}if(f.length>0){if(!i){b+=" "}else{i=false}b+=f}if(g.length>0){if(!i){b+="/"}else{i=false}b+=g}if(h.length>0){if(!i){b+=" "}else{i=false}b+=h}return b},$type:new $.ig.Type("FontUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DoubleAnimator","Object",{k:function(){return this.l()==0},s:function(){this.ai(true)},a:null,l:function(a){if(arguments.length===1){this.a=a;if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs("TransitionProgress"))}return a}else{return this.a}},b:null,m:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,d:null,n:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},o:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},init:function(a,b,c){this.c=0;this.d=0;this.e=false;this.g=-1;this.h=0;$.ig.Object.prototype.init.call(this);this.c=a;this.d=b;this.b=c;this.p(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/60)})},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},e:null,q:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},af:function(){this.a=0;this.h=0;this.f=$.ig.Date.prototype.now();if(!this.e){this.e=true;this.p()(this.ah.runOn(this))}},ag:function(){this.e=false;this.a=0;this.h=0},f:null,g:null,h:null,ah:function(){this.ai(false)},ai:function(a){if(!this.e){this.ag();return}var b=$.ig.Date.prototype.now();var c=b.getTime()-this.f.getTime();if(c>this.b){c=this.b}if(c-this.h<16&&c!=this.b&&!a){this.p()(this.ah.runOn(this));return}var d=c/this.b;var e=this.c+(this.d-this.c)*d;this.l(e);this.h=c;if(a){return}if(c==this.b){this.ag()}else{this.p()(this.ah.runOn(this))}},aj:function(){return this.e},propertyChanged:null,$type:new $.ig.Type("DoubleAnimator",$.ig.Object.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("Extensions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},reset:function(){this.d().clear();this.d().add(new $.ig.PathFigure);this.d().removeAt(0)},reset1:function(){this.e().clear();this.e().add(new $.ig.PathGeometry);this.e().removeAt(0)},detach:function(){if(this==null){return}var b=$.ig.util.cast($.ig.Panel.prototype.$type,this.y());if(b!=null){b.a1().remove(this);return}var c=$.ig.util.cast($.ig.ContentControl.prototype.$type,this.y());if(c!=null){c.content(null);return}},transferChildrenTo:function(b){var c=new $.ig.List$1($.ig.UIElement.prototype.$type,0);var e=this.a1().ofType$1($.ig.UIElement.prototype.$type).getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}var g=c.getEnumerator();while(g.moveNext()){var f=g.current();this.a1().remove(f);b.a1().add(f)}},isPlottable:function(){return!isNaN(this.__x)&&!isNaN(this.__y)&&!Number.isInfinity(this.__x)&&!Number.isInfinity(this.__y)},isPlottable1:function(){return!isNaN(this.left())&&!isNaN(this.right())&&!isNaN(this.top())&&!isNaN(this.bottom())&&!Number.isInfinity(this.left())&&!Number.isInfinity(this.right())&&!Number.isInfinity(this.top())&&!Number.isInfinity(this.bottom())},$type:new $.ig.Type("Extensions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Flattener","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function(a,b,c,d,e){var $self=this;if(isNaN(e)||e<=0){e=1}var f=new $.ig.List$1(Number,0);var g=new $.ig.Stack$1($.ig.SpiralTodo.prototype.$type);var h=(d-b)/(c-a);var i=b-h*a;var j=h*h;var k=i*i;var l=i*h;g.c(function(){var $ret=new $.ig.SpiralTodo;$ret.a=0;$ret.b=1;return $ret}());while(g.b()!=0){var m=g.e();var n=b+m.a*(d-b);var o=a+m.a*(c-a);var p=o*o;var q=p*o;var r=b+m.b*(d-b);var s=a+m.b*(c-a);var t=s*s;var u=t*s;var v;if(h==0){v=k*(s-o)/2+l*(t-p)/2+j*(u-q)/6}else{v=(Math.pow(i+h*s,3)-Math.pow(i+h*o,3))/(6*h)}var w=.5*n*r*Math.sin(s-o);if(v-w>e){var x=.5*(m.a+m.b);g.c(function(){var $ret=new $.ig.SpiralTodo;$ret.a=x;$ret.b=m.b;return $ret}());g.c(function(){var $ret=new $.ig.SpiralTodo;$ret.a=m.a;$ret.b=x;return $ret}())}else{f.add(m.a)}}f.add(1);return f},c:function(a,b,c,d){var e=new $.ig.List$1($.ig.Number.prototype.$type,0);$.ig.Flattener.prototype.d(e,b,c,0,a-1,d);return e},d:function(a,b,c,d,e,f){var $self=this;return $.ig.Flattener.prototype.f(a,function(g){return g},b,c,d,e,f)},e:function(a,b,c,d,e,f,g){var $self=this;return $.ig.Flattener.prototype.f(a,function(h){return b.item(h)},c,d,e,f,g)},f:function(a,b,c,d,e,f,g){if(e>f){return a}var h=c(b(e));var i=d(b(e));while((isNaN(h)||isNaN(i))&&e<f){++e;h=c(b(e));i=d(b(e))}var j=c(b(f));var k=d(b(f));while((isNaN(j)||isNaN(k))&&e<f){--f;j=c(b(f));k=d(b(f))}if(e==f){a.add(b(e));return a}a.add(b(e));$.ig.Flattener.prototype.n(a,b,c,d,e,f,g);a.add(b(f));return a},g:function(a,b,c,d,e,f){if(d>e){return a}var g=b[d];var h=c[d];while((isNaN(g)||isNaN(h))&&d<e){++d;g=b[d];h=c[d]}var i=b[e];var j=c[e];while((isNaN(i)||isNaN(j))&&d<e){--e;i=b[e];j=c[e]}if(d==e){a.add(d);return a}a.add(d);$.ig.Flattener.prototype.l(a,b,c,d,e,f);a.add(e);return a},h:function(a,b,c,d,e){var f;var g;if(c){f=0;g=1}else if(d){f=0;g=2}else{f=2;g=3}return $.ig.Flattener.prototype.i(a,b,f,g,e)},i:function(a,b,c,d,e){var f=new $.ig.List$1($.ig.Number.prototype.$type,0);$.ig.Flattener.prototype.k(f,b,c,d,0,a-1,e);return f},j:function(a,b,c,d,e,f,g){var h;var i;if(c){h=0;i=1}else if(d){h=0;i=2}else{h=2;i=3}return $.ig.Flattener.prototype.k(a,b,h,i,e,f,g)},k:function(a,b,c,d,e,f,g){if(e>f){return a}var h=b.__inner[e];var i,j;i=h[c];j=h[d];while((isNaN(i)||isNaN(j))&&e<f){++e;h=b.__inner[e];i=h[c];j=h[d]}var k=b.__inner[f];var l,m;l=k[c];m=k[d];while((isNaN(l)||isNaN(m))&&e<f){--f;k=b.__inner[f];l=k[c];m=k[d]}if(e==f){a.add(e);return a}a.add(e);$.ig.Flattener.prototype.m(a,b,c,d,e,f,g);a.add(f);return a},l:function(a,b,c,d,e,f){var g=b[d];var h=c[d];while((isNaN(g)||isNaN(h))&&d<e){++d;g=b[d];h=c[d]}var i=b[e];var j=c[e];while((isNaN(i)||isNaN(j))&&d<e){--e;i=b[e];j=c[e]}if(d+1>=e){return}var k=-1;var l=f*f;var m;var n;m=i-g;n=j-h;var o=m*m+n*n;if(o==0){for(var p=d+1;p<e;++p){var q=b[p];var r=c[p];if(isNaN(q)||isNaN(r)){continue}m=i-q;n=j-r;var s=m*m+n*n;if(s>=l){l=s;k=p}}}else{var t=i-g;var u=j-h;for(var v=d+1;v<e;++v){var w=b[v];var x=c[v];if(isNaN(w)||isNaN(x)){continue}var y=NaN;var z=b[v]-g;var aa=c[v]-h;var ab=t*z+u*aa;if(ab<=0){m=g-w;n=h-x;y=m*m+n*n}else{var ac=t*t+u*u;if(ac<=ab){m=i-w;n=j-x;y=m*m+n*n}else{var ad=ab/ac;m=g+ad*t-w;n=h+ad*u-x;y=m*m+n*n}}if(y>=l){l=y;k=v}}}if(k!=-1){$.ig.Flattener.prototype.l(a,b,c,d,k,f);a.add(k);$.ig.Flattener.prototype.l(a,b,c,k,e,f)}return},m:function(a,b,c,d,e,f,g){var h=b.__inner[e];var i,j;i=h[c];j=h[d];while((isNaN(i)||isNaN(j))&&e<f){++e;h=b.__inner[e];i=h[c];j=h[d]}var k=b.__inner[f];var l,m;l=k[c];m=k[d];while((isNaN(l)||isNaN(m))&&e<f){--f;k=b.__inner[f];l=k[c];m=k[d]}if(e+1>=f){return}var n=-1;var o=g*g;var p;var q;p=l-i;q=m-j;var r=p*p+q*q;if(r==0){for(var s=e+1;s<f;++s){var t=b.__inner[s];var u,v;u=t[c];v=t[d];if(isNaN(u)||isNaN(v)){continue}p=l-u;q=m-v;var w=p*p+q*q;if(w>=o){o=w;n=s}}}else{var x=l-i;var y=m-j;for(var z=e+1;z<f;++z){var aa=b.__inner[z];var ab,ac;ab=aa[c];ac=aa[d];if(isNaN(ab)||isNaN(ac)){continue}var ad=NaN;var ae=ab-i;var af=ac-j;var ag=x*ae+y*af;if(ag<=0){p=i-ab;q=j-ac;ad=p*p+q*q}else{var ah=x*x+y*y;if(ah<=ag){p=l-ab;q=m-ac;ad=p*p+q*q}else{var ai=ag/ah;p=i+ai*x-ab;q=j+ai*y-ac;ad=p*p+q*q}}if(ad>=o){o=ad;n=z}}}if(n!=-1){$.ig.Flattener.prototype.m(a,b,c,d,e,n,g);a.add(n);$.ig.Flattener.prototype.m(a,b,c,d,n,f,g)}return},n:function(a,b,c,d,e,f,g){var h=c(b(e));var i=d(b(e));while((isNaN(h)||isNaN(i))&&e<f){++e;h=c(b(e));i=d(b(e))}var j=c(b(f));var k=d(b(f));while((isNaN(j)||isNaN(k))&&e<f){--f;j=c(b(f));k=d(b(f))}if(e+1>=f){return}var l=-1;var m=g;var n=$.ig.MathUtil.prototype.f(j-h,k-i);if(n==0){for(var o=e+1;o<f;++o){var p=c(b(o));var q=d(b(o));if(isNaN(p)||isNaN(q)){continue}var r=$.ig.MathUtil.prototype.f(j-p,k-q);if(r>=m){m=r;l=o}}}else{var s=j-h;var t=k-i;for(var u=e+1;u<f;++u){var v=c(b(u));var w=d(b(u));if(isNaN(v)||isNaN(w)){continue}var x=NaN;var y=c(b(u))-h;var z=d(b(u))-i;var aa=s*y+t*z;if(aa<=0){x=$.ig.MathUtil.prototype.f(h-v,i-w)}else{var ab=s*s+t*t;if(ab<=aa){x=$.ig.MathUtil.prototype.f(j-v,k-w)}else{var ac=aa/ab;x=$.ig.MathUtil.prototype.f(h+ac*s-v,i+ac*t-w)}}if(x>=m){m=x;l=u}}}if(l!=-1){$.ig.Flattener.prototype.n(a,b,c,d,e,l,g);a.add(b(l));$.ig.Flattener.prototype.n(a,b,c,d,l,f,g)}return},o:function(a,b,c){var d=new $.ig.PointCollection(0);if(a<5){for(var e=0;e<a;++e){d.add({__x:b(e),__y:c(e),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}return d}d.add({__x:b(0),__y:c(0),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var f=a-1;var g;var h={__x:b(0),__y:c(0),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var i={__x:b(0+1),__y:c(0+1),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var j={__x:b(0+2),__y:c(0+2),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var k;var l;var m={__x:i.__x-h.__x,__y:i.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var n=$.ig.MathUtil.prototype.f(m.__x,m.__y);var o={__x:j.__x-i.__x,__y:j.__y-i.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var p=$.ig.MathUtil.prototype.f(o.__x,o.__y);var q;var r;var s=.1;var t=.3;q={__x:j.__x-h.__x,__y:j.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var u=$.ig.MathUtil.prototype.f(q.__x,q.__y);q.__x/=u;q.__y/=u;r=.5+(m.__x*o.__x+m.__y*o.__y)/(2*n*p);d.add({__x:i.__x-q.__x*(s+t*r)*n,__y:i.__y-q.__y*(s+t*r)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i);for(var v=1;v<f-1;++v){g=h;h=i;i=j;j={__x:b(v+2),__y:c(v+2),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};k=m;l=n;m=o;n=p;o={__x:j.__x-i.__x,__y:j.__y-i.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};p=$.ig.MathUtil.prototype.f(o.__x,o.__y);var w=q;var x=r;q={__x:j.__x-h.__x,__y:j.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var y=$.ig.MathUtil.prototype.f(q.__x,q.__y);q.__x/=y;q.__y/=y;r=.5+(m.__x*o.__x+m.__y*o.__y)/(2*n*p);d.add({__x:h.__x+w.__x*(s+t*x)*n,__y:h.__y+w.__y*(s+t*x)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add({__x:i.__x-q.__x*(s+t*r)*n,__y:i.__y-q.__y*(s+t*r)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i)}g=h;h=i;i=j;k=m;l=n;m=o;n=p;var z=q;var aa=r;d.add({__x:h.__x+z.__x*(s+t*aa)*n,__y:h.__y+z.__y*(s+t*aa)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i);return d},$type:new $.ig.Type("Flattener",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SpiralTodo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,$type:new $.ig.Type("SpiralTodo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GeometryUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){if(isNaN(a)||Number.isInfinity(a)){return a}while(a>360){a-=360}while(a<0){a+=360}return a},b:function(a){return Math.atan(a)},c:function(a,b){return(b.__y-a.__y)/(b.__x-a.__x)},d:function(a){return 1-Math.pow(a.height()/2,2)/Math.pow(a.width()/2,2)},e:function(a,b,c,d,e){var f=Math.cos(a);var g=Math.sin(a);var h=Math.sqrt(d*d/(1-b*Math.pow(f,2)));h*=e;return{__x:h*f+c.__x,__y:h*g+c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},f:function(a,b,c,d,e){var f;if(c){f=$.ig.GeometryUtil.prototype.g({__x:a/2,__y:b/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},d,e)}else{f={__x:a/2,__y:b/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return f},g:function(a,b,c){b=b/180*Math.PI;var d=a.__y+c*Math.sin(b);var e=a.__x+c*Math.cos(b);return{__x:e,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},h:function(a,b,c,d,e){var f={__x:(a.__x+b.__x)/2,__y:(a.__y+b.__y)/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var g=b.__x-a.__x;var h=b.__y-a.__y;var i=Math.sqrt(g*g+h*h);var j=h;var k=g*-1;if(e==d){j=h*-1;k=g}var l=Math.max(Math.abs(j),Math.abs(k));j=j/l;k=k/l;var m=Math.sqrt(j*j+k*k);var n=j/m;var o=k/m;var p=i/2;var q=Math.sqrt(c*c-p*p);if(isNaN(q)){q=0}var r=q*n;var s=q*o;var t={__x:f.__x+r,__y:f.__y+s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return t},i:function(a,b){var c=Math.sqrt(Math.pow(b.__x-a.__x,2)+Math.pow(b.__y-a.__y,2));var d=Math.acos((b.__x-a.__x)/c);if(b.__y-a.__y<0){d=2*Math.PI-d}return d},j:function(a,b,c,d){var e=a.__x-c.__x;var f=a.__y-c.__y;var g=b.__x-c.__x;var h=b.__y-c.__y;var i=g-e;var j=h-f;var k=Math.sqrt(i*i+j*j);var l=e*h-g*f;var m=d*d;var n=k*k;var o=l*l;var p=m*n-o;if(p<0){return new $.ig.Tuple$2($.ig.Point.prototype.$type,$.ig.Point.prototype.$type,{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var q=1;if(j<0){q=-1}var r=(l*j+q*i*Math.sqrt(p))/n;var s=(l*j-q*i*Math.sqrt(p))/n;var t=(-1*l*i+Math.abs(j)*Math.sqrt(p))/n;var u=(-1*l*i-Math.abs(j)*Math.sqrt(p))/n;return new $.ig.Tuple$2($.ig.Point.prototype.$type,$.ig.Point.prototype.$type,{__x:r+c.__x,__y:t+c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:s+c.__x,__y:u+c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("GeometryUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InterpolationUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d){var e=1-b;if(a==null){a=new $.ig.List$1($.ig.Point.prototype.$type,0)}if(c==null){c=new $.ig.List$1($.ig.Point.prototype.$type,0)}var f=c.count();var g=d.count();var h=Math.max(f,g);var i=a.count();if(i<h){a.p(i,new Array(h-i))}if(i>h){a.q(h,i-h)}for(var j=0;j<Math.min(f,g);++j){a.__inner[j]={__x:c.__inner[j].__x*e+d.__inner[j].__x*b,__y:c.__inner[j].__y*e+d.__inner[j].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(f<g){var k=f>0?c.__inner[f-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var l=f;l<g;++l){a.__inner[l]={__x:k.__x*e+d.__inner[l].__x*b,__y:k.__y*e+d.__inner[l].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}if(f>g){var m=g>0?d.__inner[g-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var n=g;n<f;++n){a.__inner[n]=a.__inner[n]={__x:c.__inner[n].__x*e+m.__x*b,__y:c.__inner[n].__y*e+m.__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}return a},c:function($t,a,b,c,d,e,f){var g=1-b;if(a==null){a=new $.ig.List$1($t,0)}if(c==null){c=new $.ig.List$1($t,0)}var h=c.count();var i=d.count();var j=Math.max(h,i);if(a.count()<j){var k=j-a.count();var l=new Array(k);a.p(a.count(),l)}if(a.count()>j){a.q(j,a.count()-j)}for(var m=0;m<Math.min(h,i);++m){a.__inner[m]=f(b,g,c.__inner[m],d.__inner[m])}if(h<i){var n=h>0?c.__inner[h-1]:e();for(var o=h;o<i;++o){a.__inner[o]=f(b,g,n,d.__inner[o])}}if(h>i){var p=i>0?d.__inner[i-1]:e();for(var q=i;q<h;++q){a.__inner[q]=f(b,g,c.__inner[q],p)}}return a},$type:new $.ig.Type("InterpolationUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Numeric","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e){var f;var g=a.count();var h=new Array(g);if(b.__inner[0]==0){return false}var i=b.__inner[0];e.__inner[0]=d.__inner[0]/i;for(f=1;f<g;f++){h[f]=c.__inner[f-1]/i;i=b.__inner[f]-a.__inner[f]*h[f];if(i==0){return false}e.__inner[f]=(d.__inner[f]-a.__inner[f]*e.__inner[f-1])/i}for(f=g-2;f>=0;f--){e.__inner[f]-=h[f+1]*e.__inner[f+1]}return true},b:function(a,b){var c=a.getLength(0);var d=new Array(c);var e=new Array(c);var f=new Array(c);for(var g=0;g<c;g++){f[g]=0}for(var h=0;h<c;h++){var i=0;var j=0;var k=0;for(var l=0;l<c;l++){if(f[l]!=1){for(var m=0;m<c;m++){if(f[m]==0){if(Math.abs(a[l][m])>=i){i=Math.abs(a[l][m]);j=l;k=m}}}}}++f[k];if(j!=k){for(var n=0;n<c;n++){var o=a[j][n];a[j][n]=a[k][n];a[k][n]=o}var p=b[j];b[j]=b[k];b[k]=p}e[h]=j;d[h]=k;if(a[k][k]==0){return false}var q=1/a[k][k];a[k][k]=1;for(var r=0;r<c;r++){a[k][r]*=q}b[k]*=q;for(var s=0;s<c;s++){if(s!=k){var t=a[s][k];a[s][k]=0;for(var u=0;u<c;u++){a[s][u]-=a[k][u]*t}b[s]-=b[k]*t}}}for(var v=c-1;v>=0;v--){if(e[v]!=d[v]){for(var w=0;w<c;w++){var x=a[w][e[v]];a[w][e[v]]=a[w][d[v]];a[w][d[v]]=x}}}return true},c:function(a,b,c,d,e){var f=new $.ig.List$1(Number,0);for(var g=0;g<a;++g){while(g<a&&(isNaN(b(g))||isNaN(c(g)))){f.add(NaN);++g}var h=g;while(g<a&&!isNaN(b(g))&&!isNaN(c(g))){++g}--g;if(g-h>0){f.w($.ig.Numeric.prototype.d(h,g-h+1,b,c,d,e))}else{for(;h<=g;++h){f.add(NaN)}}}return f.x()},d:function(a,b,c,d,e,f){var $self=this;return $.ig.Numeric.prototype.e(b,function(g){return c(g+a)},function(h){return d(h+a)},e,f)},e:function(a,b,c,d,e){var f=new Array(a-1);var g=new Array(a);g[0]=isNaN(d)?0:-.5;f[0]=isNaN(d)?0:3/(b(1)-b(0))*((c(1)-c(0))/(b(1)-b(0))-d);for(var h=1;h<a-1;h++){var i=(b(h)-b(h-1))/(b(h+1)-b(h-1));var j=i*g[h-1]+2;g[h]=(i-1)/j;f[h]=(c(h+1)-c(h))/(b(h+1)-b(h))-(c(h)-c(h-1))/(b(h)-b(h-1));f[h]=(6*f[h]/(b(h+1)-b(h-1))-i*f[h-1])/j}var k=isNaN(e)?0:.5;var l=isNaN(e)?0:3/(b(a-1)-b(a-2))*(e-(c(a-1)-c(a-2))/(b(a-1)-b(a-2)));g[a-1]=(l-k*f[a-2])/(k*g[a-2]+1);for(var m=a-2;m>=0;m--){g[m]=g[m]*g[m+1]+f[m]}return g},f:function(a,b,c,d,e,f,g){var h=d-b;var i=(d-a)/h;var j=(a-b)/h;return i*c+j*e+((i*i*i-i)*f+(j*j*j-j)*g)*h*h/6},g:function(a,b,c,d){var e=new $.ig.PathFigureCollection;var f=0;var g=-1;var h=NaN;var i=NaN;for(var j=0;j<a;j++){h=b(j);i=c(j);if(isNaN(h)||isNaN(i)){g=j-1;if(g-f>0){e.add($.ig.Numeric.prototype.h(f,g,b,c,d))}f=j+1}}if(!isNaN(h)&&!isNaN(i)){g=a-1}if(g-f>0){e.add($.ig.Numeric.prototype.h(f,g,b,c,d))}return e},h:function(a,b,c,d,e){var $self=this;e=.5*$.ig.MathUtil.prototype.i(isNaN(e)?.5:e,0,1);var f=new $.ig.PathFigure;var g=b-a+1;if(g<2){return f}if(g==2){f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var h=function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:c(a+1),__y:d(a+1),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();f.__segments.add(h);return f}var i=new $.ig.PolyBezierSegment;var j=c(a);var k=d(a);var l=c(a+1);var m=d(a+1);while(l==j&&m==k&&a+1<=b){a++;l=c(a+1);m=d(a+1)}var n=l-j;var o=m-k;var p=Math.sqrt(n*n+o*o);for(var q=a+1;q<b;++q){var r=c(q);var s=d(q);if(r==j&&s==k){continue}var t=c(q+1)-c(q-1);var u=d(q+1)-d(q-1);var v=t*t+u*u;if(v<.01){t=-(d(q+1)-d(q));u=c(q+1)-c(q);v=t*t+u*u}v=Math.sqrt(v);var w=e*Math.sqrt((r-j)*(r-j)+(s-k)*(s-k));if(v>.01){i.d().add({__x:j+n*w/p,__y:k+o*w/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:r-t*w/v,__y:s-u*w/v,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:r,__y:s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j=r;k=s;n=t;o=u;p=v}}var x=b;var y=c(x);var z=d(x);var aa=c(x)-c(x-1);var ab=d(x)-d(x-1);var ac=aa*aa+ab*ab;var ad=e*Math.sqrt((y-j)*(y-j)+(z-k)*(z-k));i.d().add({__x:j+n*ad/p,__y:k+o*ad/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:y-aa*ad/ac,__y:z-ab*ad/ac,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:y,__y:z,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};f.__segments.add(i);return f},$type:new $.ig.Type("Numeric",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LeastSquaresFit","Numeric",{i:function(){return $.ig.LeastSquaresFit.prototype.l()&&$.ig.LeastSquaresFit.prototype.o()&&$.ig.LeastSquaresFit.prototype.r()&&$.ig.LeastSquaresFit.prototype.u()&&$.ig.LeastSquaresFit.prototype.x()&&$.ig.LeastSquaresFit.prototype.aa()&&$.ig.LeastSquaresFit.prototype.ad()&&$.ig.LeastSquaresFit.prototype.ag()},init:function(){$.ig.Numeric.prototype.init.call(this)},j:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)){d+=k;e+=j*j;f+=j;g+=j*k;++h}}if(h<2){return null}var l=(d*e-f*g)/(h*e-f*f);var m=(h*g-f*d)/(h*e-f*f);return function(){var $ret=new Array;$ret.add(l);$ret.add(m);return $ret}()},k:function(a,b){if(a.length!=2){return NaN}return a[0]+a[1]*b},l:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=-100;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.k(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.j(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){}}return true},m:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0){var l=Math.log(j);d+=k*l;e+=k;f+=l;g+=l*l;++h}}if(h<2){return null}var m=(h*d-e*f)/(h*g-f*f);var n=(e-m*f)/h;return function(){var $ret=new Array;$ret.add(n);$ret.add(m);return $ret}()},n:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]+a[1]*Math.log(b)},o:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=1;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.n(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.m(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){}}return true},p:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;var i=0;for(var j=0;j<a;++j){var k=b(j);var l=c(j);if(!isNaN(k)&&!isNaN(l)&&l>0){var m=Math.log(l);d+=k*k*l;e+=l*m;f+=k*l;g+=k*l*m;h+=l;++i}}if(i<2){return null}var n=(d*e-f*g)/(h*d-f*f);var o=(h*g-f*e)/(h*d-f*f);return function(){var $ret=new Array;$ret.add(Math.exp(n));$ret.add(o);return $ret}()},q:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.exp(a[1]*b)},r:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=2*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=1;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.q(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.p(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){return false}}return true},s:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0&&k>0){var l=Math.log(b(i));var m=Math.log(c(i));d+=l*m;e+=l;f+=m;g+=l*l;++h}}if(h<2){return null}var n=(h*d-e*f)/(h*g-e*e);var o=Math.exp((f-n*e)/h);return function(){var $ret=new Array;$ret.add(o);$ret.add(n);return $ret}()},t:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.pow(b,a[1])},u:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=-100;f<100;++f){d.add(f);e.add($.ig.LeastSquaresFit.prototype.t(b,f))}var i=$.ig.LeastSquaresFit.prototype.s(d.count(),function(g){return d.__inner[g]},function(h){return e.__inner[h]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){return false}}return true},v:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,2,b,c)},w:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},x:function(){return $.ig.LeastSquaresFit.prototype.aj(2)},y:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,3,b,c)},z:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},aa:function(){return $.ig.LeastSquaresFit.prototype.aj(3)},ab:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,4,b,c)},ac:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},ad:function(){return $.ig.LeastSquaresFit.prototype.aj(4)},ae:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,5,b,c)},af:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},ag:function(){return $.ig.LeastSquaresFit.prototype.aj(5)},ah:function(a,b,c,d){var $self=this;var e=new Array(1+2*b);for(var f=0;f<e.length;f++){e[f]=0}var g=function(){var $ret=new Array(b+1);var $currRet=$ret;for(var $rankInit=0;$rankInit<b+1;$rankInit++){$currRet[$rankInit]=new Array(b+1)}return $ret}();var h=new Array(b+1);for(var i=0;i<h.length;i++){h[i]=0}var j=0;for(var k=0;k<a;++k){var l=1;var m=c(k);if(!isNaN(m)&&!isNaN(d(k))){for(var n=0;n<e.length;++n){e[n]+=l;l*=m;++j}}}if(j<b){return null}for(var o=0;o<=b;++o){for(var p=0;p<=b;++p){g[o][p]=e[o+p]}}for(var q=0;q<a;++q){var r=c(q);var s=d(q);if(!isNaN(r)&&!isNaN(s)){for(var t=0;t<=b;++t){h[t]+=Math.pow(r,t)*s}}}return $.ig.Numeric.prototype.b(g,h)?h:null},ai:function(a,b){if(a.length<1||Number.isInfinity(b)||isNaN(b)){return NaN}var c=0;for(var d=0;d<a.length;++d){c+=a[d]*Math.pow(b,d)}return c},aj:function(a){var $self=this;var b=new $.ig.Random;var c=new Array(a+1);for(var d=0;d<c.length;++d){c[d]=2*b.a()}var e=new $.ig.List$1(Number,0);var f=new $.ig.List$1(Number,0);for(var g=-100;g<100;++g){var h=g;var i=$.ig.LeastSquaresFit.prototype.ai(c,h);if(!isNaN(i)){e.add(h);f.add(i)}}var l=$.ig.LeastSquaresFit.prototype.ah(e.count(),a,function(j){return e.__inner[j]},function(k){return f.__inner[k]});for(var m=0;m<a;++m){if(Math.abs(c[m]-l[m])>1e-4){return false}}return true},$type:new $.ig.Type("LeastSquaresFit",$.ig.Numeric.prototype.$type)},true);$.ig.util.defType("MathUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},e:function(a){return Math.log(a+Math.sqrt(a*a+1))},f:function(a,b){return Math.sqrt(a*a+b*b)},g:function(a){return a*a},h:function(a){var $self=this;if(a<=0){return NaN}var b=function(){var $ret=new Array;$ret.add(57.1562356658629);$ret.add(-59.5979603554755);$ret.add(14.1360979747417);$ret.add(-.49191381609762);$ret.add(339946499848119e-19);$ret.add(465236289270486e-19);$ret.add(-983744753048796e-19);$ret.add(.000158088703224912);$ret.add(-.000210264441724105);$ret.add(.000217439618115213);$ret.add(-.000164318106536764);$ret.add(844182239838528e-19);$ret.add(-261908384015814e-19);$ret.add(368991826595316e-20);return $ret}();var c=a;var d=(a+.5)*Math.log(a+5.2421875)-(a+5.2421875);var e=.999999999999997;for(var f=0;f<14;f++){e+=b[f]/++c}return d+Math.log(2.506628274631*e/a)},i:function(a,b,c){return Math.min(c,Math.max(b,a))},j:function(a){return Math.PI*a/180},k:function(a){return 180*a/Math.PI},l:function(a,b,c){var d=Math.floor(a)&255;var e=Math.floor(b)&255;var f=Math.floor(c)&255;a-=Math.floor(a);b-=Math.floor(b);c-=Math.floor(c);var g=$.ig.MathUtil.prototype.m(a);var h=$.ig.MathUtil.prototype.m(b);var i=$.ig.MathUtil.prototype.m(c);var j=$.ig.MathUtil.prototype.d[d]+e;var k=$.ig.MathUtil.prototype.d[j]+f;var l=$.ig.MathUtil.prototype.d[j+1]+f;var m=$.ig.MathUtil.prototype.d[d+1]+e;var n=$.ig.MathUtil.prototype.d[m]+f;var o=$.ig.MathUtil.prototype.d[m+1]+f;return $.ig.MathUtil.prototype.n(i,$.ig.MathUtil.prototype.n(h,$.ig.MathUtil.prototype.n(g,$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[k],a,b,c),$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[n],a-1,b,c)),$.ig.MathUtil.prototype.n(g,$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[l],a,b-1,c),$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[o],a-1,b-1,c))),$.ig.MathUtil.prototype.n(h,$.ig.MathUtil.prototype.n(g,$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[k+1],a,b,c-1),$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[n+1],a-1,b,c-1)),$.ig.MathUtil.prototype.n(g,$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[l+1],a,b-1,c-1),$.ig.MathUtil.prototype.o($.ig.MathUtil.prototype.d[o+1],a-1,b-1,c-1))))
},m:function(a){return a*a*a*(a*(a*6-15)+10)},n:function(a,b,c){return b+a*(c-b)},o:function(a,b,c,d){var e=a&15;var f=e<8?b:c;var g=e<4?c:e==12||e==14?b:d;return((e&1)==0?f:-f)+((e&2)==0?g:-g)},p:function(a){if(a==0){return 0}if(a<0){return-$.ig.MathUtil.prototype.r(-a)}var b=Math.floor(Math.log10(a));var c=a/$.ig.MathUtil.prototype.s(10,b);var d=c<2?1:c<5?2:c<10?5:10;return d*$.ig.MathUtil.prototype.s(10,b)},q:function(a){if(a==0){return 0}if(a<0){return-$.ig.MathUtil.prototype.q(-a)}var b=Math.floor(Math.log10(a));var c=a/$.ig.MathUtil.prototype.s(10,b);var d=c<1?1:c<3?2:c<7?5:10;return d*$.ig.MathUtil.prototype.s(10,b)},r:function(a){if(a==0){return 0}if(a<0){return-$.ig.MathUtil.prototype.p(-a)}var b=Math.floor(Math.log10(a));var c=a/$.ig.MathUtil.prototype.s(10,b);var d=c<=1?1:c<=2?2:c<=5?5:10;return d*$.ig.MathUtil.prototype.s(10,b)},s:function(a,b){var c=1;for(;b>0;--b){c*=a}for(;b<0;++b){c/=a}return c},t:function(a,b,c){return Math.min(a,Math.min(b,c))},u:function(a,b,c){return Math.max(a,Math.max(b,c))},v:function(a){var b=a[0];for(var c=1;c<a.length;++c){b=Math.min(b,a[c])}return b},w:function(a){var b=a[0];for(var c=1;c<a.length;++c){b=Math.max(b,a[c])}return b},$type:new $.ig.Type("MathUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathFigureUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},duplicate:function(){var b=new $.ig.PathFigureCollection;var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c.duplicate1())}return b},duplicate1:function(){var $self=this;if(this==null){return null}var b=new $.ig.PathSegmentCollection;var d=this.__segments.getEnumerator();while(d.moveNext()){var c=d.current();switch(c.a()){case $.ig.PathSegmentType.prototype.arc:var e=c;var f=new $.ig.ArcSegment;f.i(e.i());f.h(e.h());f.l(e.l());f.k(e.k());f.j(e.j());b.add(f);break;case $.ig.PathSegmentType.prototype.line:var g=c;var h=new $.ig.LineSegment(1);h.d(g.d());b.add(h);break;case $.ig.PathSegmentType.prototype.polyLine:var i=c;var j=new $.ig.PolyLineSegment;var l=i.__points.getEnumerator();while(l.moveNext()){var k=l.current();j.__points.add(k)}b.add(j);break}}return function(){var $ret=new $.ig.PathFigure;$ret.__isClosed=$self.__isClosed;$ret.__isFilled=$self.__isFilled;$ret.__startPoint=$self.__startPoint;$ret.__segments=b;return $ret}()},$type:new $.ig.Type("PathFigureUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PointCollectionUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},flattenTo:function(b,c){var $self=this;if(b==null){return}b.clear();if(this.count()>=2){var f=$.ig.Flattener.prototype.c(this.count(),function(d){return $self.item(d).__x},function(e){return $self.item(e).__y},c);var h=f.getEnumerator();while(h.moveNext()){var g=h.current();b.add(this.item(g))}}},getBounds:function(){var b=Number.POSITIVE_INFINITY;var c=Number.POSITIVE_INFINITY;var d=Number.NEGATIVE_INFINITY;var e=Number.NEGATIVE_INFINITY;var g=this.getEnumerator();while(g.moveNext()){var f=g.current();b=Math.min(b,f.__x);c=Math.min(c,f.__y);d=Math.max(d,f.__x);e=Math.max(e,f.__y)}if(Number.isInfinity(b)||Number.isInfinity(c)||Number.isInfinity(c)||Number.isInfinity(e)){return $.ig.Rect.prototype.empty()}return new $.ig.Rect(0,b,c,d-b,e-c)},getBounds11:function(){var b=$.ig.Rect.prototype.empty();var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b.union(c.getBounds())}return b},getBounds2:function(){var b=Number.POSITIVE_INFINITY;var c=Number.POSITIVE_INFINITY;var d=Number.NEGATIVE_INFINITY;var e=Number.NEGATIVE_INFINITY;var f;for(var g=0;g<this.count();g++){f=this.item(g);b=Math.min(b,f.__x);c=Math.min(c,f.__y);d=Math.max(d,f.__x);e=Math.max(e,f.__y)}if(Number.isInfinity(b)||Number.isInfinity(c)||Number.isInfinity(c)||Number.isInfinity(e)){return $.ig.Rect.prototype.empty()}return new $.ig.Rect(0,b,c,d-b,e-c)},getBounds3:function(){var b=$.ig.Rect.prototype.empty();var c;for(var d=0;d<this.count();d++){c=this.__inner[d];b.union(c.getBounds2())}return b},getBounds41:function(){var b=$.ig.Rect.prototype.empty();var c;for(var d=0;d<this.count();d++){c=this.__inner[d];b.union(c.getBounds2())}return b},clipTo:function(b,c){var d=this.count();for(var e=0;e<d;e++){c.l(this.item(e))}c.h(null)},getCentroid:function(){var b=0;var c=0;var d=0;var f=this.getEnumerator();while(f.moveNext()){var e=f.current();b+=e.__x;c+=e.__y;d+=1}return{__x:b/d,__y:c/d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},toPointCollection:function(){var b=new $.ig.PointCollection(0);var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}return b},toPointList:function(){var b=new $.ig.List$1($.ig.Point.prototype.$type,0);var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}return b},toPointCollections:function(){var b=new $.ig.List$1($.ig.PointCollection.prototype.$type,0);var c;var d=this.count();for(var e=0;e<d;e++){c=this.__inner[e];var f=new $.ig.PointCollection(1,c);b.add(f)}return b},$type:new $.ig.Type("PointCollectionUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolygonUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){if(a==null){return false}var c=a.count();if(c<4){return false}var d=false;for(var e=0,f=c-1;e<c;f=e++){if(a.item(e).__y>b.__y!=a.item(f).__y>b.__y&&b.__x<(a.item(f).__x-a.item(e).__x)*(b.__y-a.item(e).__y)/(a.item(f).__y-a.item(e).__y)+a.item(e).__x){d=!d}}return d},$type:new $.ig.Type("PolygonUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolySimplification","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var c=a.c();var d=a.d();if(c.length==0){return 0}var e=0;var f=0;var g=b*b;e++;var h;var i;var j;for(var k=0;k<c.length;k++){h=c[k]-c[f];i=d[k]-d[f];j=h*h+i*i;if(j>g){c[e]=c[k];d[e]=d[k];e++;f=k}}return e},b:function(a,b){var c=b.__x-a.__x;var d=b.__y-a.__y;return c*c+d*d},$type:new $.ig.Type("PolySimplification",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RearrangedList$1","Object",{$t:null,a:null,b:null,init:function($t,a,b){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},indexOf:function(a){var b=this.a.indexOf(a);if(b==-1){return-1}return this.b.indexOf(b)},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.a.item(this.b.item(b))}},add:function(a){throw new $.ig.NotImplementedException},clear:function(){this.b.clear()},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){throw new $.ig.NotImplementedException},count:function(){return this.b.count()},isReadOnly:function(){return true},remove:function(a){throw new $.ig.NotImplementedException},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.b.getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$this.a.item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(this.$t,$iter())},$type:new $.ig.Type("RearrangedList$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("RectUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},getCenter:function(){if(this.isEmpty()){return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return{__x:.5*(this.left()+this.right()),__y:.5*(this.bottom()+this.top()),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},getArea:function(){if(this.isEmpty()){return 0}return this.width()*this.height()},duplicate:function(){if(this.isEmpty()){return this}return new $.ig.Rect(0,this.left(),this.top(),this.width(),this.height())},getLeader:function(b){if(this.contains1(b)){return b}var c={__x:this.left()+.5*this.width(),__y:this.top()+.5*this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var d={__x:b.__x-c.__x,__y:b.__y-c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var e;if(d.__x!=0){e=(this.left()-c.__x)/d.__x;var f=c.__y+e*d.__y;if(f>this.top()&&f<this.bottom()){return e>0?{__x:this.left(),__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}:{__x:this.right(),__y:c.__y-e*d.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}e=(this.top()-c.__y)/d.__y;var g=c.__x+e*d.__x;return e>0?{__x:g,__y:this.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}:{__x:c.__x-e*d.__x,__y:this.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},getDistanceSquared:function(b){if(this.isEmpty()){return NaN}return $.ig.RectUtil.prototype.getDistanceSquared22(this,b.__x,b.__y)},getDistanceSquared11:function(b){if(this.isEmpty()){return Number.POSITIVE_INFINITY}var c=$.ig.RectUtil.prototype.getDistanceSquared22(this,b.left(),b.top());if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(this,b.left(),b.bottom()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(this,b.right(),b.bottom()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(this,b.right(),b.top()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(b,this.left(),this.top()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(b,this.left(),this.bottom()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(b,this.right(),this.bottom()))}if(c>0){c=Math.min(c,$.ig.RectUtil.prototype.getDistanceSquared22(b,this.right(),this.top()))}return c},getDistanceSquared22:function(b,c){var d=b-this.left();var e=c-this.top();var f=this.width()*d;var g=this.height()*e;if(f>0){var h=this.width()*this.width();if(f<h){d-=f/h*this.width()}else{d-=this.width()}}if(g>0){var i=this.height()*this.height();if(g<i){e-=g/i*this.height()}else{e-=this.height()}}return d*d+e*e},contains3:function(b){if(this.isEmpty()||b.isEmpty()){return false}if(this.left()>b.left()){return false}if(this.right()<b.right()){return false}if(this.top()>b.top()){return false}if(this.bottom()<b.bottom()){return false}return true},intersectsWith1:function(b){if(this.isEmpty()||b.isEmpty()){return false}if(this.right()<b.left()){return false}if(this.left()>b.right()){return false}if(this.top()>b.bottom()){return false}if(this.bottom()<b.top()){return false}return true},intersectionArea:function(b){if(this.isEmpty()||b.isEmpty()){return 0}var c=Math.min(this.right(),b.right())-Math.max(this.left(),b.left());if(c<=0){return 0}var d=Math.min(this.bottom(),b.bottom())-Math.max(this.top(),b.top());if(d<=0){return 0}return c*d},getInflated:function(b,c){if(this.isEmpty()){return this}return new $.ig.Rect(0,this.x()-b,this.y()-c,Math.max(0,this.width()+2*b),Math.max(0,this.height()+2*c))},inflate:function(b,c){this.x(this.x()-b);this.y(this.y()-c);var d=this.width()+2*b;var e=this.height()+2*c;this.width(d>1?d:1);this.height(e>1?e:1);return this},inflate11:function(b){var c=this.x()-b;var d=this.y()-b;var e=this.width()+b+b;var f=this.height()+b+b;var g=e>0?e:0;var h=f>0?f:0;return new $.ig.Rect(0,c,d,g,h)},round:function(){this.x(Math.round(this.x()));this.y(Math.round(this.y()));this.width(Math.round(this.width()));this.height(Math.round(this.height()));return this},isNull:function(){return this.x()==0&&this.y()==0&&this.width()==0&&this.height()==0},$type:new $.ig.Type("RectUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ISmartPlaceable","Object",{$type:new $.ig.Type("ISmartPlaceable",null)},true);$.ig.util.defType("SmartPlaceableWrapper$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.i(false)},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},a:null,j:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},getSmartPositions:function(){if(this.i()){return $.ig.SmartPlaceableWrapper$1.prototype.b}else{return $.ig.SmartPlaceableWrapper$1.prototype.c}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},x:function(){return this.m()},getSmartBounds:function(a){var b=this.x();var c=b.c();var d=b.d();var e;e=this.y(a,c,d);return new $.ig.Rect(0,this.l().__x+e.__x,this.l().__y+e.__y,c,d)},opacity:function(a){if(arguments.length===1){this.j().__opacity=a;return a}else{return this.j().__opacity}},smartPosition:function(a){if(arguments.length===1){this.d=a;var b=this.x();var c=b.d();var d=b.c();var e;e=this.y(this.d,d,c);this.k({__x:this.l().__x+e.__x,__y:this.l().__y+e.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return a}else{return this.d}},d:null,y:function(a,b,c){var d=.25;switch(a){case $.ig.SmartPosition.prototype.leftTop:return{__x:-b*d,__y:-c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.centerTop:return{__x:0,__y:-c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.rightTop:return{__x:b*d,__y:-c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.leftCenter:return{__x:-b*d,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.centerCenter:return{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.rightCenter:return{__x:b*d,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.leftBottom:return{__x:-b*d,__y:c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};case $.ig.SmartPosition.prototype.centerBottom:return{__x:0,__y:c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};default:return{__x:b*d,__y:c*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},$type:new $.ig.Type("SmartPlaceableWrapper$1",$.ig.Object.prototype.$type,[$.ig.ISmartPlaceable.prototype.$type])},true);$.ig.util.defType("SmartPlacer","Object",{init:function(){this.a=new $.ig.List$1($.ig.Rect.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.e($.ig.Rect.prototype.empty());this.f(.3);this.g(2)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},n:function(a){if(a==null){return}var b=Number.MAX_VALUE;var c=$.ig.Rect.prototype.empty();var d=$.ig.SmartPosition.prototype.centerBottom;var e=false;for(var g=0;g<a.getSmartPositions().length;g++){var f=a.getSmartPositions()[g];var h=a.getSmartBounds(f);if(this.e().isEmpty()||this.e().contains2(h)){var i=0;var k=this.a.getEnumerator();while(k.moveNext()){var j=k.current();i+=h.intersectionArea(j)}if(i==0){b=i;d=f;c=h;e=true;break}if(i<b){b=i;d=f;c=h;e=true}}}var l=0;if(e){l=b/c.getArea()}if(!e||l>this.f()){a.opacity(0)}else{if(b>0){a.opacity(Math.pow(1-$.ig.MathUtil.prototype.i(0,l,1),this.g()))}else{a.opacity(1)}a.smartPosition(d);this.a.add(c)}},a:null,$type:new $.ig.Type("SmartPlacer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StackPool$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=false;this.b=new $.ig.Dictionary$2(this.$t,$.ig.Object.prototype.$type,0);this.c=new $.ig.Stack$1(this.$t);this.d=new $.ig.Stack$1(this.$t)},p:function(){var a;if(this.c.b()!=0){a=this.c.e()}else{a=this.d.b()!=0?this.d.e():this.l()();this.n()(a)}this.b.add(a,null);return a},q:function(a){this.b.remove(a);if(this.i()){this.c.c(a)}else{this.m()(a);var b=$.ig.StackPool$1.prototype.ad(this.b.count());if(this.d.b()<b){this.o()(a)}else{this.d.c(a)}}},i:function(a){if(arguments.length===1){if(this.a!=a){this.a=a;if(!this.a){var b=$.ig.StackPool$1.prototype.ad(this.b.count());while(this.c.b()>0&&this.d.b()<=b){var c=this.c.e();this.m()(c);this.d.c(c)}while(this.c.b()>0){var d=this.c.e();this.m()(d);this.o()(d)}while(this.d.b()>b){this.o()(this.d.e())}}}return a}else{return this.a}},a:null,j:function(){return this.b.count()},k:function(){return this.d.b()},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},ad:function(a){var b=2;while(a>b){b=b<<1}return b},b:null,c:null,d:null,$type:new $.ig.Type("StackPool$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PrimitiveVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.PrimitiveVisualData.prototype.$type)},containingTag:function(a){var b=new $.ig.PrimitiveVisualDataList;for(var c=0;c<this.count();c++){var d=this.__inner[c];for(var e=0;e<d.tags().count();e++){if(d.tags().__inner[e]==a){b.add(d);break}}}return b},serialize:function(){var a=new $.ig.StringBuilder;a.d("{ items: [");for(var b=0;b<this.count();b++){if(b!=0){a.d(", ")}a.d(this.__inner[b].serialize())}return a.toString()},$type:new $.ig.Type("PrimitiveVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.PrimitiveVisualData.prototype.$type))},true);$.ig.util.defType("LabelAppearanceData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_text:null,text:function(a){if(arguments.length===1){this._text=a;return a}else{return this._text}},_labelBrush:null,labelBrush:function(a){if(arguments.length===1){this._labelBrush=a;return a}else{return this._labelBrush}},_angle:null,angle:function(a){if(arguments.length===1){this._angle=a;return a}else{return this._angle}},_visibility:null,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_font:null,font:function(a){if(arguments.length===1){this._font=a;return a}else{return this._font}},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g('text: "'+(this.text()!=null?this.text():"")+'", ');a.g("labelBrush: "+(this.labelBrush()!=null?$.ig.AppearanceHelper.prototype.e(this.labelBrush()):"null")+", ");a.g("angle: "+this.angle()+", ");a.g("visibility: "+(this.visibility()?"true":"false")+", ");a.g("font: "+'"'+this.font()+'"');a.g("}");return a.toString()},$type:new $.ig.Type("LabelAppearanceData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PrimitiveAppearanceData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_stroke:null,stroke:function(a){if(arguments.length===1){this._stroke=a;return a}else{return this._stroke}},_fill:null,fill:function(a){if(arguments.length===1){this._fill=a;return a}else{return this._fill}},_strokeThickness:null,strokeThickness:function(a){if(arguments.length===1){this._strokeThickness=a;return a}else{return this._strokeThickness}},_visibility:null,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_opacity:null,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_canvasLeft:null,canvasLeft:function(a){if(arguments.length===1){this._canvasLeft=a;return a}else{return this._canvasLeft}},_canvasTop:null,canvasTop:function(a){if(arguments.length===1){this._canvasTop=a;return a}else{return this._canvasTop}},_canvaZIndex:null,canvaZIndex:function(a){if(arguments.length===1){this._canvaZIndex=a;return a}else{return this._canvaZIndex}},_dashArray:null,dashArray:function(a){if(arguments.length===1){this._dashArray=a;return a}else{return this._dashArray}},_dashCap:null,dashCap:function(a){if(arguments.length===1){this._dashCap=a;return a}else{return this._dashCap}},k:function(a){this.canvasLeft((this.canvasLeft()-a.left())/a.width());this.canvasTop((this.canvasTop()-a.top())/a.height())},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g("stroke: "+(this.stroke()!=null?$.ig.AppearanceHelper.prototype.e(this.stroke()):"null")+", ");a.g("fill: "+(this.stroke()!=null?$.ig.AppearanceHelper.prototype.e(this.stroke()):"null")+", ");a.g("strokeThickness: "+this.strokeThickness()+", ");a.g("visibility: "+(this.visibility()==$.ig.Visibility.prototype.visible?"true":"false")+", ");a.g("opacity: "+this.opacity()+", ");a.g("canvasLeft: "+this.canvasLeft()+", ");a.g("canvasTop: "+this.canvasTop()+", ");a.g("canvasZIndex: "+this.canvaZIndex()+", ");a.g("dashArray: null, ");a.g("dashCap: "+this.dashCap());a.g("}");return a.toString()},$type:new $.ig.Type("PrimitiveAppearanceData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GetPointsSettings","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_ignoreFigureStartPoint:null,ignoreFigureStartPoint:function(a){if(arguments.length===1){this._ignoreFigureStartPoint=a;return a}else{return this._ignoreFigureStartPoint}},$type:new $.ig.Type("GetPointsSettings",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PrimitiveVisualData","Object",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this)},init1:function(initNumber,a){$.ig.Object.prototype.init.call(this);this.name(a);this.tags(new $.ig.ShapeTags);this.appearance(new $.ig.PrimitiveAppearanceData)},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},_tags:null,tags:function(a){if(arguments.length===1){this._tags=a;return a}else{return this._tags}},_type:null,type:function(){return this._type},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},scaleByViewport:function(a){this.appearance().k(a)},getPoints:function(a){var b=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);this.getPointsOverride(b,a);return b},getPointsOverride:function(a,b){},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g("appearance: "+(this.appearance()!=null?this.appearance().serialize():"null")+", ");a.g("tags: [");for(var b=0;b<this.tags().count();b++){if(b!=0){a.d(", ")}a.d('"'+this.tags().__inner[b]+'"')}a.g("],");a.g('type: "'+this.type()+'", ');a.g('name: "'+this.name()+'", ');a.g(this.d());a.g("}");return a.toString()},d:function(){return""},$type:new $.ig.Type("PrimitiveVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RectangleVisualData","PrimitiveVisualData",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PrimitiveVisualData.prototype.init1.call(this,1,"rect1")},_width:null,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:null,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},d:function(){return"width: "+this.width()+", height: "+this.height()},init1:function(initNumber,a,b){$.ig.PrimitiveVisualData.prototype.init1.call(this,1,a);this.width(b.width());this.height(b.height());$.ig.AppearanceHelper.prototype.getShapeAppearance(this.appearance(),b)},type:function(){return"Rectangle"},scaleByViewport:function(a){$.ig.PrimitiveVisualData.prototype.scaleByViewport.call(this,a);this.width(this.width()/a.width());this.height(this.height()/a.height())},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);c.add({__x:this.appearance().canvasLeft(),__y:this.appearance().canvasTop(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.appearance().canvasLeft()+this.width(),__y:this.appearance().canvasTop(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.appearance().canvasLeft()+this.width(),__y:this.appearance().canvasTop()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.appearance().canvasLeft(),__y:this.appearance().canvasTop()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("RectangleVisualData",$.ig.PrimitiveVisualData.prototype.$type)},true);$.ig.util.defType("ShapeTags","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,String)},$type:new $.ig.Type("ShapeTags",$.ig.List$1.prototype.$type.specialize(String))},true);$.ig.util.defType("LineVisualData","PrimitiveVisualData",{type:function(){return"Line"},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PrimitiveVisualData.prototype.init1.call(this,1,"line1")},init1:function(initNumber,a,b){$.ig.PrimitiveVisualData.prototype.init1.call(this,1,a);this.x1(b.bo());this.y1(b.bq());this.x2(b.bp());this.y2(b.br());$.ig.AppearanceHelper.prototype.getShapeAppearance(this.appearance(),b)},_x1:null,x1:function(a){if(arguments.length===1){this._x1=a;return a}else{return this._x1}},_y1:null,y1:function(a){if(arguments.length===1){this._y1=a;return a}else{return this._y1}},_x2:null,x2:function(a){if(arguments.length===1){this._x2=a;return a}else{return this._x2}},_y2:null,y2:function(a){if(arguments.length===1){this._y2=a;return a}else{return this._y2}},d:function(){return"x1: "+this.x1()+", y1: "+this.y1()+", x2: "+this.x2()+", y2: "+this.y2()},scaleByViewport:function(a){$.ig.PrimitiveVisualData.prototype.scaleByViewport.call(this,a);this.x1((this.x1()-a.left())/a.width());this.y1((this.y1()-a.top())/a.height())},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);c.add({__x:this.x1(),__y:this.y1(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x2(),__y:this.y2(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("LineVisualData",$.ig.PrimitiveVisualData.prototype.$type)},true);$.ig.util.defType("PolyLineVisualData","PrimitiveVisualData",{type:function(){return"Polyline"},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PrimitiveVisualData.prototype.init1.call(this,1,"polyLine1")},init1:function(initNumber,a,b){$.ig.PrimitiveVisualData.prototype.init1.call(this,1,a);this.points(b.bl());$.ig.AppearanceHelper.prototype.getShapeAppearance(this.appearance(),b)},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},d:function(){var a=new $.ig.StringBuilder;a.g("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.d(", ")}a.d("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.g("]");return a.toString()},scaleByViewport:function(a){$.ig.PrimitiveVisualData.prototype.scaleByViewport.call(this,a);for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);for(var d=0;d<this.points().count();d++){c.add(this.points().__inner[d])}},$type:new $.ig.Type("PolyLineVisualData",$.ig.PrimitiveVisualData.prototype.$type)},true);$.ig.util.defType("PolygonVisualData","PrimitiveVisualData",{type:function(){return"Polygon"},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PrimitiveVisualData.prototype.init1.call(this,1,"polygon1")},init1:function(initNumber,a,b){$.ig.PrimitiveVisualData.prototype.init1.call(this,1,a);this.points(b.bl());$.ig.AppearanceHelper.prototype.getShapeAppearance(this.appearance(),b)},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},d:function(){var a=new $.ig.StringBuilder;a.g("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.d(", ")}a.d("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.g("]");return a.toString()},scaleByViewport:function(a){$.ig.PrimitiveVisualData.prototype.scaleByViewport.call(this,a);for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);for(var d=0;d<this.points().count();d++){c.add(this.points().__inner[d])}},$type:new $.ig.Type("PolygonVisualData",$.ig.PrimitiveVisualData.prototype.$type)},true);$.ig.util.defType("PathVisualData","PrimitiveVisualData",{type:function(){return"Path"
},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.PrimitiveVisualData.prototype.init1.call(this,1,"path1");this.data(new $.ig.List$1($.ig.GeometryData.prototype.$type,0))},init1:function(initNumber,a,b){$.ig.PrimitiveVisualData.prototype.init1.call(this,1,a);this.data($.ig.AppearanceHelper.prototype.fromGeometry(b.bn()));$.ig.AppearanceHelper.prototype.getShapeAppearance(this.appearance(),b)},_data:null,data:function(a){if(arguments.length===1){this._data=a;return a}else{return this._data}},d:function(){var a=new $.ig.StringBuilder;a.g("data: [");for(var b=0;b<this.data().count();b++){if(b!=0){a.d(", ")}a.d(this.data().__inner[b]!=null?this.data().__inner[b].serialize():"null")}a.g("]");return a.toString()},scaleByViewport:function(a){$.ig.PrimitiveVisualData.prototype.scaleByViewport.call(this,a);var c=this.data().getEnumerator();while(c.moveNext()){var b=c.current();b.scaleByViewport(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.data().count();c++){var d=this.data().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathVisualData",$.ig.PrimitiveVisualData.prototype.$type)},true);$.ig.util.defType("GeometryData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_type:null,type:function(){return this._type},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){return'{ type: "'+this.type()+'", '+this.a()+"}"},a:function(){return""},$type:new $.ig.Type("GeometryData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathGeometryData","GeometryData",{init:function(){$.ig.GeometryData.prototype.init.call(this);this.figures(new $.ig.List$1($.ig.PathFigureData.prototype.$type,0))},type:function(){return"Path"},_figures:null,figures:function(a){if(arguments.length===1){this._figures=a;return a}else{return this._figures}},a:function(){var a=new $.ig.StringBuilder;a.g("figures: [");for(var b=0;b<this.figures().count();b++){if(b!=0){a.d(", ")}a.d(this.figures().__inner[b].serialize())}a.g("]");return a.toString()},scaleByViewport:function(a){var c=this.figures().getEnumerator();while(c.moveNext()){var b=c.current();b.c(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.figures().count();c++){var d=this.figures().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathGeometryData",$.ig.GeometryData.prototype.$type)},true);$.ig.util.defType("LineGeometryData","GeometryData",{init:function(){$.ig.GeometryData.prototype.init.call(this)},type:function(){return"Line"},_x1:null,x1:function(a){if(arguments.length===1){this._x1=a;return a}else{return this._x1}},_y1:null,y1:function(a){if(arguments.length===1){this._y1=a;return a}else{return this._y1}},_x2:null,x2:function(a){if(arguments.length===1){this._x2=a;return a}else{return this._x2}},_y2:null,y2:function(a){if(arguments.length===1){this._y2=a;return a}else{return this._y2}},a:function(){return"x1: "+this.x1()+", y1: "+this.y1()+", x2: "+this.x2()+", y2:"+this.y2()},scaleByViewport:function(a){this.x1((this.x1()-a.left())/a.width());this.y1((this.y1()-a.top())/a.height());this.x2((this.x2()-a.left())/a.width());this.y2((this.y2()-a.top())/a.height())},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);c.add({__x:this.x1(),__y:this.y1(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x2(),__y:this.y2(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("LineGeometryData",$.ig.GeometryData.prototype.$type)},true);$.ig.util.defType("RectangleGeometryData","GeometryData",{init:function(){$.ig.GeometryData.prototype.init.call(this)},type:function(){return"Rectangle"},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_width:null,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:null,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},a:function(){return"x: "+this.x()+", y: "+this.y()+", width: "+this.width()+", height: "+this.height()},scaleByViewport:function(a){this.x((this.x()-a.left())/a.width());this.y((this.y()-a.top())/a.height());this.width(this.width()/a.width());this.height(this.height()/a.height())},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);c.add({__x:this.x(),__y:this.y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x()+this.width(),__y:this.y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x()+this.width(),__y:this.y()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x(),__y:this.y()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("RectangleGeometryData",$.ig.GeometryData.prototype.$type)},true);$.ig.util.defType("EllipseGeometryData","GeometryData",{init:function(){$.ig.GeometryData.prototype.init.call(this)},type:function(){return"Ellipse"},_centerX:null,centerX:function(a){if(arguments.length===1){this._centerX=a;return a}else{return this._centerX}},_centerY:null,centerY:function(a){if(arguments.length===1){this._centerY=a;return a}else{return this._centerY}},_radiusX:null,radiusX:function(a){if(arguments.length===1){this._radiusX=a;return a}else{return this._radiusX}},_radiusY:null,radiusY:function(a){if(arguments.length===1){this._radiusY=a;return a}else{return this._radiusY}},a:function(){return"centerX: "+this.centerX()+", centerY: "+this.centerY()+", radiusX: "+this.radiusX()+", radiusY: "+this.radiusY()},scaleByViewport:function(a){this.centerX((this.centerX()-a.left())/a.width());this.centerX((this.centerY()-a.top())/a.height());this.radiusX(this.radiusX()/a.width());this.radiusY(this.radiusY()/a.height())},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);c.add({__x:this.centerX(),__y:this.centerY(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("EllipseGeometryData",$.ig.GeometryData.prototype.$type)},true);$.ig.util.defType("PathFigureData","Object",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.segments(new $.ig.List$1($.ig.SegmentData.prototype.$type,0));this.startPoint(new $.ig.Point(0))},init1:function(initNumber,a){$.ig.Object.prototype.init.call(this);this.segments(new $.ig.List$1($.ig.SegmentData.prototype.$type,0));this.startPoint(a.__startPoint);for(var b=0;b<a.__segments.count();b++){var c=a.__segments.__inner[b];var d=null;switch(c.a()){case $.ig.PathSegmentType.prototype.line:d=new $.ig.LineSegmentData(1,c);break;case $.ig.PathSegmentType.prototype.polyLine:d=new $.ig.PolylineSegmentData(1,c);break;case $.ig.PathSegmentType.prototype.arc:d=new $.ig.ArcSegmentData(1,c);break;case $.ig.PathSegmentType.prototype.polyBezier:d=new $.ig.PolyBezierSegmentData(1,c);break}this.segments().add(d)}},_startPoint:null,startPoint:function(a){if(arguments.length===1){this._startPoint=a;return a}else{return this._startPoint}},_segments:null,segments:function(a){if(arguments.length===1){this._segments=a;return a}else{return this._segments}},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g("startPoint: { x: "+this.startPoint().__x+", y: "+this.startPoint().__y+"}, ");a.g("segments: [");for(var b=0;b<this.segments().count();b++){if(b!=0){a.d(", ")}a.d(this.segments().__inner[b].serialize())}a.g("]");a.g("}");return a.toString()},c:function(a){this.startPoint({__x:(this.startPoint().__x-a.left())/a.width(),__y:(this.startPoint().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});for(var b=0;b<this.segments().count();b++){this.segments().__inner[b].scaleByViewport(a)}},getPointsOverride:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,0);a.add(c);if(!b.ignoreFigureStartPoint()){c.add({__x:this.startPoint().__x,__y:this.startPoint().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}for(var d=0;d<this.segments().count();d++){this.segments().__inner[d].getPointsOverride(c,b)}},$type:new $.ig.Type("PathFigureData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SegmentData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_type:null,type:function(){return this._type},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g('type: "'+this.type()+'", ');a.g(this.a());a.g("}");return a.toString()},a:function(){return""},$type:new $.ig.Type("SegmentData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LineSegmentData","SegmentData",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SegmentData.prototype.init.call(this);this.point(new $.ig.Point(0))},init1:function(initNumber,a){$.ig.SegmentData.prototype.init.call(this);this.point(a.d())},type:function(){return"Line"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},a:function(){return"point: { x: "+this.point().__x+", y: "+this.point().__y+"}"},scaleByViewport:function(a){this.point({__x:(this.point().__x-a.left())/a.width(),__y:(this.point().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},getPointsOverride:function(a,b){a.add({__x:this.point().__x,__y:this.point().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("LineSegmentData",$.ig.SegmentData.prototype.$type)},true);$.ig.util.defType("PolylineSegmentData","SegmentData",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SegmentData.prototype.init.call(this);this.points(new $.ig.List$1($.ig.Point.prototype.$type,0))},init1:function(initNumber,a){$.ig.SegmentData.prototype.init.call(this);this.points(new $.ig.List$1($.ig.Point.prototype.$type,0));for(var b=0;b<a.__points.count();b++){this.points().add(a.__points.__inner[b])}},type:function(){return"Polyline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $.ig.StringBuilder;a.g("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.d(", ")}a.d("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.g("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add({__x:this.points().__inner[c].__x,__y:this.points().__inner[c].__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},$type:new $.ig.Type("PolylineSegmentData",$.ig.SegmentData.prototype.$type)},true);$.ig.util.defType("PolyBezierSegmentData","SegmentData",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SegmentData.prototype.init.call(this);this.points(new $.ig.List$1($.ig.Point.prototype.$type,0))},init1:function(initNumber,a){$.ig.SegmentData.prototype.init.call(this);this.points(new $.ig.List$1($.ig.Point.prototype.$type,0));for(var b=0;b<a.d().count();b++){this.points().add(a.d().__inner[b])}},type:function(){return"PolyBezierSpline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $.ig.StringBuilder;a.g("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.d(", ")}a.d("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.g("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add({__x:this.points().__inner[c].__x,__y:this.points().__inner[c].__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},$type:new $.ig.Type("PolyBezierSegmentData",$.ig.SegmentData.prototype.$type)},true);$.ig.util.defType("ArcSegmentData","SegmentData",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SegmentData.prototype.init.call(this);this.point(new $.ig.Point(0));this.isLargeArc(false);this.isCounterClockwise(true);this.rotationAngle(0)},init1:function(initNumber,a){$.ig.SegmentData.prototype.init.call(this);this.point(a.h());this.isLargeArc(a.i());this.isCounterClockwise(a.j()==$.ig.SweepDirection.prototype.counterclockwise);this.sizeX(a.k().c());this.sizeY(a.k().d());this.rotationAngle(a.l())},type:function(){return"Arc"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},_isLargeArc:null,isLargeArc:function(a){if(arguments.length===1){this._isLargeArc=a;return a}else{return this._isLargeArc}},_isCounterClockwise:null,isCounterClockwise:function(a){if(arguments.length===1){this._isCounterClockwise=a;return a}else{return this._isCounterClockwise}},_sizeX:null,sizeX:function(a){if(arguments.length===1){this._sizeX=a;return a}else{return this._sizeX}},_sizeY:null,sizeY:function(a){if(arguments.length===1){this._sizeY=a;return a}else{return this._sizeY}},_rotationAngle:null,rotationAngle:function(a){if(arguments.length===1){this._rotationAngle=a;return a}else{return this._rotationAngle}},a:function(){return"point: { x: "+this.point().__x+", y: "+this.point().__y+", isLargeArc: "+(this.isLargeArc()?"true":"false")+", isCounterClockwise: "+(this.isCounterClockwise()?"true":"false")+", sizeX: "+this.sizeX()+", sizeY: "+this.sizeY()+", rotationAngle: "+this.rotationAngle()+"}"},scaleByViewport:function(a){this.point({__x:(this.point().__x-a.left())/a.width(),__y:(this.point().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.sizeX(this.sizeX()/a.width());this.sizeY(this.sizeY()/a.height())},getPointsOverride:function(a,b){a.add({__x:this.point().__x,__y:this.point().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("ArcSegmentData",$.ig.SegmentData.prototype.$type)},true);$.ig.util.defType("AppearanceHelper","Object",{init:function(){$.ig.Object.prototype.init.call(this)},fromBrush:function(a){if(a==null){return $.ig.Color.prototype.s(0,0,0,0)}return a.color()},getCanvasLeft:function(a){return a.w()},getCanvasTop:function(a){return a.v()},getCanvasZIndex:function(a){return a.x()},fromPathData:function(a){return $.ig.AppearanceHelper.prototype.fromGeometry(a.bn())},fromGeometry:function(a){if(a==null){return new $.ig.List$1($.ig.GeometryData.prototype.$type,0)}if($.ig.util.cast($.ig.GeometryGroup.prototype.$type,a)!==null){var b=new $.ig.List$1($.ig.GeometryData.prototype.$type,0);var c=a;for(var d=0;d<c.e().count();d++){var e=$.ig.AppearanceHelper.prototype.fromGeometry(c.e().__inner[d]);for(var f=0;f<e.count();f++){b.add(e.__inner[f])}}return b}else if($.ig.util.cast($.ig.PathGeometry.prototype.$type,a)!==null){return $.ig.AppearanceHelper.prototype.d(a)}else if($.ig.util.cast($.ig.LineGeometry.prototype.$type,a)!==null){return $.ig.AppearanceHelper.prototype.c(a)}else if($.ig.util.cast($.ig.RectangleGeometry.prototype.$type,a)!==null){return $.ig.AppearanceHelper.prototype.b(a)}else if($.ig.util.cast($.ig.EllipseGeometry.prototype.$type,a)!==null){return $.ig.AppearanceHelper.prototype.a(a)}else{throw new $.ig.Error(1,"not supported")}},a:function(a){var b=new $.ig.List$1($.ig.GeometryData.prototype.$type,0);var c=new $.ig.EllipseGeometryData;b.add(c);c.centerX(a.f().__x);c.centerY(a.f().__y);c.radiusX(a.g());c.radiusY(a.h());return b},b:function(a){var b=new $.ig.List$1($.ig.GeometryData.prototype.$type,0);var c=new $.ig.RectangleGeometryData;b.add(c);c.x(a.f().x());c.y(a.f().y());c.width(a.f().width());c.height(a.f().height());return b},c:function(a){var b=new $.ig.List$1($.ig.GeometryData.prototype.$type,0);var c=new $.ig.LineGeometryData;b.add(c);c.x1(a.e().__x);c.y1(a.e().__y);c.x2(a.f().__x);c.y2(a.f().__y);return b},d:function(a){var b=new $.ig.List$1($.ig.GeometryData.prototype.$type,0);var c=new $.ig.PathGeometryData;b.add(c);for(var d=0;d<a.d().count();d++){var e=a.d().__inner[d];var f=new $.ig.PathFigureData(1,e);c.figures().add(f)}return b},getShapeAppearance:function(a,b){a.stroke($.ig.AppearanceHelper.prototype.fromBrush(b.__stroke));a.fill($.ig.AppearanceHelper.prototype.fromBrush(b.__fill));a.strokeThickness(b.a5());a.dashArray(null);if(b.a6()!=null){a.dashArray(b.a6().asArrayList())}a.dashCap(b.a7());a.visibility(b.__visibility);a.opacity(b.__opacity);a.canvasLeft($.ig.AppearanceHelper.prototype.getCanvasLeft(b));a.canvasTop($.ig.AppearanceHelper.prototype.getCanvasTop(b));a.canvaZIndex($.ig.AppearanceHelper.prototype.getCanvasZIndex(b))},fromTextElement:function(a,b){var c=new $.ig.LabelAppearanceData;var d=a;c.text(d.a3());c.labelBrush($.ig.AppearanceHelper.prototype.fromBrush(d.a4()));c.visibility(d.__visibility==$.ig.Visibility.prototype.visible?true:false);c.font(b);var e=0;var f=d.f();if($.ig.util.cast($.ig.RotateTransform.prototype.$type,f)!==null){var g=$.ig.util.cast($.ig.RotateTransform.prototype.$type,f);e=g.h()}else if($.ig.util.cast($.ig.TransformGroup.prototype.$type,f)!==null){var h=$.ig.util.cast($.ig.TransformGroup.prototype.$type,f);var j=h.f().getEnumerator();while(j.moveNext()){var i=j.current();if($.ig.util.cast($.ig.RotateTransform.prototype.$type,i)!==null){var k=$.ig.util.cast($.ig.RotateTransform.prototype.$type,i);e=k.h();break}}}c.angle(e);return c},e:function(a){return"{ r: "+a.c()+", g: "+a.d()+", b: "+a.e()+", a: "+a.b()+"}"},$type:new $.ig.Type("AppearanceHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Tile","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:function(){var b=Math.pow(2,-this.c);var c=Math.pow(2,-this.c);return new $.ig.Rect(0,this.a*b,this.b*c,b,c)},$type:new $.ig.Type("Tile",$.ig.Object.prototype.$type)},true);$.ig.util.defType("WriteableBitmap","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.e(a);this.f(b);this.h($.ig.Rect.prototype.empty())},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("WriteableBitmap",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IMapRenderDeferralHandler","Object",{$type:new $.ig.Type("IMapRenderDeferralHandler",null)},true);$.ig.util.defType("XamMultiScaleImage","Control",{init:function(){this.bt=new $.ig.List$1($.ig.Tile.prototype.$type,0);this.bu=false;this.bv=new $.ig.List$1($.ig.Pair$2.prototype.$type.specialize($.ig.Tile.prototype.$type,$.ig.WriteableBitmap.prototype.$type),0);this.bw=new $.ig.List$1($.ig.Tile.prototype.$type,0);this.by=false;$.ig.Control.prototype.init.call(this);this.cn($.ig.Rect.prototype.empty());this.co(new $.ig.CanvasRenderScheduler);this.cc(new $.ig.XamMultiScaleImageView(this));this.a3($.ig.XamMultiScaleImage.prototype.$type);this.cg(this.cf());this.ci(this.ch())},bi:null,_cc:null,cc:function(a){if(arguments.length===1){this._cc=a;return a}else{return this._cc}},bj:null,cd:function(a){if(arguments.length===1){if(this.bj!=null){this.bj.unRegister(this)}this.bj=a;if(this.bj!=null){this.bj.register(this,this.dh.runOn(this))}return a}else{return this.bj}},ce:function(a){if(arguments.length===1){this.c($.ig.XamMultiScaleImage.prototype.bk,a);return a}else{return this.b($.ig.XamMultiScaleImage.prototype.bk)}},cf:function(a){if(arguments.length===1){this.c($.ig.XamMultiScaleImage.prototype.bl,a);return a}else{return this.b($.ig.XamMultiScaleImage.prototype.bl)}},_cg:null,cg:function(a){if(arguments.length===1){this._cg=a;return a}else{return this._cg}},ch:function(a){if(arguments.length===1){this.c($.ig.XamMultiScaleImage.prototype.bm,a);return a}else{return this.b($.ig.XamMultiScaleImage.prototype.bm)}},_ci:null,ci:function(a){if(arguments.length===1){this._ci=a;return a}else{return this._ci}},cj:function(a){if(arguments.length===1){this.c($.ig.XamMultiScaleImage.prototype.bn,a);return a}else{return this.b($.ig.XamMultiScaleImage.prototype.bn)}},ck:function(a){if(arguments.length===1){this.c($.ig.XamMultiScaleImage.prototype.bo,a);return a}else{return this.b($.ig.XamMultiScaleImage.prototype.bo)}},propertyChanged:null,c7:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}switch(a.propertyName()){case $.ig.XamMultiScaleImage.prototype.bd:if(this.ce()!=null){this.ce().g=this}this.dk();this.dc();this.di();break;case $.ig.XamMultiScaleImage.prototype.be:this.de();break;case $.ig.XamMultiScaleImage.prototype.bf:this.de();break;case $.ig.XamMultiScaleImage.prototype.bg:if(!this.cj()){this.cc().an()}break}},_cl:null,cl:function(a){if(arguments.length===1){this._cl=a;return a}else{return this._cl}},_cm:null,cm:function(a){if(arguments.length===1){this._cm=a;return a}else{return this._cm}},dc:function(){this.dj();if(this.ce()!=null){this.cl($.ig.Convert.prototype.c(Math.logBase(this.ce().m(),2)));this.cm($.ig.Convert.prototype.c(Math.logBase(this.ce().k(),2)))}},dd:function(a,b,c,d){this.dk();this.dc();this.di()},bq:null,br:null,bs:null,de:function(){if(this.cj()){this.bq=$.ig.Date.prototype.now();this.br=this.cg();this.bs=this.ci();this.cc().aj()}else{this.cg(this.cf());this.ci(this.ch());this.di()}},df:function(){var a=2;var b=$.ig.Date.prototype.now().getTime()-this.bq.getTime();var c=b/1e3;var d=$.ig.MathUtil.prototype.i(c/a,0,1);var e=this.ck()!=null?this.ck().ease(d):d;var f=1-e;this.ci(this.bs*f+this.ch()*e);this.cg({__x:this.br.__x*f+this.cf().__x*e,__y:this.br.__y*f+this.cf().__y*e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(d>=1){this.cc().ak()}else{}this.di()},bt:null,dg:function(a,b,c){for(var d=0;d<this.bt.count();++d){if(this.bt.__inner[d].a==a&&this.bt.__inner[d].b==b&&this.bt.__inner[d].c==c){return d}}return-1},dh:function(a){var $self=this;this.bu=false;this.by=false;if(this.ce()==null||!this.cc().ah()||this.cn().width()==0||this.cn().height()==0){return}var b=Math.ceil(this.cn().width()/this.ce().m());var c=Math.max(1,Math.floor(-Math.logBase(this.ci()/b,2)));if(c>=this.cm()-8){c=this.cm()-8-1}var d=Math.round(Math.pow(2,c));var e=this.ci();var f=this.cn().height()*e/this.cn().width();var g=this.ce().k()/Math.pow(2,c);var h=this.ce().l()/Math.pow(2,c);var i=Math.max(Math.floor(this.cg().__x*this.ce().k()/g),0);var j=Math.min(Math.ceil((this.cg().__x+e)*this.ce().k()/g),d);var k=Math.max(Math.floor(this.cg().__y*this.ce().l()/h),0);var l=Math.min(Math.ceil((this.cg().__y+f)*this.ce().k()/h),d);var m=(i*g-this.cg().__x*this.ce().k())/g;var n=(k*h-this.cg().__y*this.ce().l())/h;var o=e*this.ce().k()/g*(this.ce().m()/this.cn().width());var p=new $.ig.List$1($.ig.Tile.prototype.$type,0);for(var q=i;q<j;++q){for(var r=k;r<l;++r){var s=this.dg(q,r,c);if(s>=0){p.add(this.bt.__inner[s]);this.bt.removeAt(s)}else{p.add(function(){var $ret=new $.ig.Tile;$ret.a=q;$ret.b=r;$ret.c=c;return $ret}())}}}this.bi.i(true);this.dj();this.bt=p;for(var t=0;t<this.bt.count();++t){if(this.bt.__inner[t].d==null){$.ig.Debug.prototype.c(this.bt.__inner[t].e==null);this.bt.__inner[t].d=this.bi.p();this.bt.__inner[t].d.__opacity=1;this.cc().af(this.bt.__inner[t].d);var u=this.dl(this.bt.__inner[t]);if(u!=null){this.bt.__inner[t].d.a1(u)}else{var v=null;var w=function(){var $ret=new $.ig.Tile;$ret.a=$self.bt.__inner[t].a;$ret.b=$self.bt.__inner[t].b;$ret.c=$self.bt.__inner[t].c;return $ret}();while(w.c>=0&&v==null){w.a=w.a>>1;w.b=w.b>>1;w.c=w.c-1;v=this.dl(w)}if(v!=null){var x=Math.pow(2,this.bt.__inner[t].c-w.c);var y=$.ig.intDivide(256,x);var z=y*(this.bt.__inner[t].a%x);var aa=y*(this.bt.__inner[t].b%x);this.bt.__inner[t].e=this.bi.p();this.bt.__inner[t].e.__opacity=1;this.cc().ag(this.bt.__inner[t].e);u=this.cc().ae(y,v,z,aa);this.bt.__inner[t].e.a1(u)}this.cc().ac(this.bt.__inner[t])}}var ab=this.ce().m()/o;var ac=this.ce().n()/o;var ad=(this.bt.__inner[t].a-i+m)*ab;var ae=(this.bt.__inner[t].b-k+n)*ac;this.bt.__inner[t].d.width(ab+.5);this.bt.__inner[t].d.height(ac+.5);this.cc().aa(this.bt.__inner[t].d,ad,ae);if(this.bt.__inner[t].e!=null){this.bt.__inner[t].e.width(ab+.5);this.bt.__inner[t].e.height(ac+.5);this.cc().aa(this.bt.__inner[t].e,ad,ae)}}this.bi.i(false);this.cc().aw()},bu:null,di:function(){if(this.ce()==null||!this.cc().ah()||this.cn().width()==0||this.cn().height()==0){return}if(this.bu){return}this.bu=true;this.cc().ai(this.dh.runOn(this))},dj:function(){for(var a=0;a<this.bt.count();++a){this.cc().ab(this.bt.__inner[a]);this.dt(this.bt.__inner[a]);if(this.bt.__inner[a].d!=null){this.bi.q(this.bt.__inner[a].d);this.bt.__inner[a].d.a1(null);this.bt.__inner[a].d=null}$.ig.Debug.prototype.c(this.bt.__inner[a].d==null);$.ig.Debug.prototype.c(this.bt.__inner[a].e==null)}},dk:function(){this.bv.clear()},dl:function(a){for(var b=0;b<this.bv.count();++b){if(this.bv.__inner[b].c().a==a.a&&this.bv.__inner[b].c().b==a.b&&this.bv.__inner[b].c().c==a.c){return this.bv.__inner[b].d()}}return null},dm:function(a,b){this.bv.add(new $.ig.Pair$2($.ig.Tile.prototype.$type,$.ig.WriteableBitmap.prototype.$type,a,b))},bv:null,bw:null,dn:function(){return this.bw.count()!=0},imageTilesReady:null,by:null,dr:function(){var a=true;if(this.dn()){a=false}if(!this.cc().az()){a=false}if(a&&!this.by){if(this.imageTilesReady!=null){this.imageTilesReady(this,new $.ig.EventArgs)}}this.by=a},ds:function(a){$.ig.Debug.prototype.c(a.d!=null);if(a.e!=null){a.f=$.ig.Date.prototype.now();this.bw.add(a);this.cc().al()}else{this.dr()}},dt:function(a){if(a.e!=null){this.bi.q(a.e);a.e.a1(null);a.e=null;for(var b=0;b<this.bw.count();++b){if(this.bw.__inner[b]==a){this.bw.removeAt(b);break}}if(this.bw.count()==0){this.cc().am()}$.ig.Debug.prototype.c(a.e==null)}},du:function(){var a=$.ig.Date.prototype.now();var b=.5;for(var c=0;c<this.bw.count();){var d=a.getTime()-this.bw.__inner[c].f.getTime();var e=d/1e3;var f=e/b;f=$.ig.MathUtil.prototype.i(f,0,1);this.bw.__inner[c].e.__opacity=1-f;if(f>=1){this.bi.q(this.bw.__inner[c].e);this.bw.__inner[c].e.a1(null);this.bw.__inner[c].e=null;this.bw.removeAt(c)}else{++c}this.cc().a2()}if(this.bw.count()==0){this.cc().am()}},_cn:null,cn:function(a){if(arguments.length===1){this._cn=a;return a}else{return this._cn}},dx:function(){this.ci(this.ch());this.cg(this.cf());this.di()},dy:function(a){this.cc().au(a)},dz:function(a){this.cc().a3(a)},d0:function(a){this.cc().a4(a)},_co:null,co:function(a){if(arguments.length===1){this._co=a;return a}else{return this._co}},d3:function(){if(this.imagesChanged!=null){this.imagesChanged(this,new $.ig.EventArgs)}},imagesChanged:null,$type:new $.ig.Type("XamMultiScaleImage",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("Pair$2","Object",{$t1:null,$t2:null,init:function($t1,$t2,a,b){this.$t1=$t1;this.$t2=$t2;this.$type=this.$type.specialize(this.$t1,this.$t2);$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("Pair$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IEasingFunction","Object",{$type:new $.ig.Type("IEasingFunction",null)},true);$.ig.util.defType("XamMultiScaleImageView","Object",{_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},init:function(a){var $self=this;this.b=new $.ig.List$1($.ig.Tile.prototype.$type,0);this.c=new $.ig.List$1($.ig.Tile.prototype.$type,0);this.d=$.ig.XamMultiScaleImageView.prototype.a;this.e=$.ig.XamMultiScaleImageView.prototype.a;this.f=$.ig.Rect.prototype.empty();$.ig.Object.prototype.init.call(this);this.n(a);this.n().co().m(this);this.o(new $.ig.List$1($.ig.Image.prototype.$type,0));this.n().bi=function(){var $ret=new $.ig.StackPool$1($.ig.Image.prototype.$type);$ret.l($self.w.runOn($self));$ret.n($self.x.runOn($self));$ret.m($self.y.runOn($self));$ret.o($self.z.runOn($self));return $ret}();for(var b=0;b<4;++b){this.c.add(null)}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},w:function(){return new $.ig.Image},x:function(a){this.o().add(a)},y:function(a){this.o().remove(a)},z:function(a){},aa:function(a,b,c){a.w(b);a.v(c)},ab:function(a){for(var b=0;b<this.c.count();++b){if(a==this.c.__inner[b]){if(a.d!=null&&a.d.a1()!=null){var c=a.d.a1();var d=c.g();var e=$(d);e.unbind("load");e.unbind("readystatechange")}this.c.__inner[b]=null;return}}for(var f=0;f<this.b.count();++f){if(this.b.__inner[f]==a){this.b.removeAt(f);break}}},ac:function(a){var $self=this;this.b.add(a);this.b.t(function(b,c){var d=0;var e=0;if(b.e!=null){d=b.e.a1().e()}if(c.e!=null){e=c.e.a1().e()}if(d<e){return-1}else if(d>e){return 1}return 0});this.ad()},ad:function(){var index_=-1;if(this.b.count()>0){for(var a=0;a<this.c.count();++a){if(this.c.__inner[a]==null){index_=a;break}}}if(index_>=0){this.c.__inner[index_]=this.b.__inner[0];var b=new $.ig.WriteableBitmap(this.n().ce().m(),this.n().ce().n());this.c.__inner[index_].d.a1(b);var ele_=$("<img></img>");var c=ele_[0];b.g(c);var self_=this;ele_.bind("load readystatechange",function(e){if(this.complete||this.readyState=="complete"&&e.type=="readystatechange"){self_.downloadCompleted(e,index_)
}});ele_.bind("error",function(e){self_.downloadError(e,index_)});this.b.removeAt(0);var d=this.n().ce().z(this.c.__inner[index_].c+8,this.c.__inner[index_].a,this.c.__inner[index_].b);c.src=d.value()}},b:null,c:null,downloadError:function(a,b){var c=this.c.__inner[b];this.c.__inner[b]=null;if(c!=null&&c.d!=null&&c.d.a1()!=null){var d=$(c.d.a1());d.unbind("load");d.unbind("readystatechange")}this.ad();this.ax()},downloadCompleted:function(a,b){var c=this.c.__inner[b];var d=true;if(c!=null&&c.d!=null&&c.d.a1()!=null){d=false;var ele_=c.d.a1().g();if(!ele_.complete){d=true}if(ele_.width==0&&ele_.height==0){d=true}}this.c.__inner[b]=null;if(d){this.ad();this.ax();return}var e=$(c.d.a1());e.unbind("load");e.unbind("readystatechange");this.n().dm(c,c.d.a1());if(c.d!=null){this.n().ds(c)}this.ad();this.ax()},ae:function(a,b,c,d){var e=new $.ig.WriteableBitmap(a,a);e.g(b.g());if(!b.h().isEmpty()){c+=Math.round(b.h().left());d+=Math.round(b.h().top())}e.h(new $.ig.Rect(0,c,d,a,a));return e},af:function(a){a.x(0)},ag:function(a){a.x(1)},ah:function(){return true},ai:function(a){if(this.n().cd()!=null){this.n().cd().deferredRefresh()}else{window.setTimeout(a,0)}},d:null,e:null,aj:function(){if(this.d==$.ig.XamMultiScaleImageView.prototype.a){this.d=window.setInterval(this.n().df.runOn(this.n()),50)}},ak:function(){if(this.d!=$.ig.XamMultiScaleImageView.prototype.a){window.clearInterval(this.d);this.d=$.ig.XamMultiScaleImageView.prototype.a}},al:function(){if(this.e==$.ig.XamMultiScaleImageView.prototype.a){this.e=window.setInterval(this.n().du.runOn(this.n()),50)}},am:function(){if(this.e!=$.ig.XamMultiScaleImageView.prototype.a){window.clearInterval(this.e);this.e=$.ig.XamMultiScaleImageView.prototype.a}},an:function(){if(this.d!=$.ig.XamMultiScaleImageView.prototype.a){this.am();this.n().dx()}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},au:function(a){this.p($(a));this.p().css("position","relative");this.q($('<canvas style="position : absolute; top : 0; left : 0" />'));this.p().append(this.q());this.r(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.q()[0].getContext("2d")));this.av(this.p().width(),this.p().height())},av:function(a,b){this.q().attr("width",a.toString());this.q().attr("height",b.toString());this.n().cn(new $.ig.Rect(0,0,0,a,b));this.n().di()},aw:function(){this.ax()},index:function(){return 0},postRender:function(){},_isDirty:null,isDirty:function(a){if(arguments.length===1){this._isDirty=a;return a}else{return this._isDirty}},ax:function(){if(this.r()==null){return}if(!this.isDirty()){this.isDirty(true);this.n().co().p()}},undirty:function(a){this.isDirty(false);this.ay()},f:null,ay:function(){if(this.r()==null){return}if(!this.f.isEmpty()){this.r().u(this.f.left(),this.f.top(),this.f.width(),this.f.height())}this.f=this.n().cn();for(var a=0;a<this.o().count();a++){var b=this.o().__inner[a];if(b.x()==0){this.a0(b)}}for(var c=0;c<this.o().count();c++){var d=this.o().__inner[c];if(d.x()==1){this.a0(d)}}this.n().dr();this.n().d3()},az:function(){var a=true;for(var b=0;b<this.c.count();b++){if(this.c.__inner[b]!=null){a=false}}return a},a0:function(a){if(this.r()==null){return}var b=a.a1();var c=a.__opacity;if(b==null||b.g()==null){return}if(this.a1(b.g())){return}if(!b.h().isEmpty()){if(b.h().width()<1||b.h().height()<1){return}this.r().v(b.g(),c,b.h().left(),b.h().top(),b.h().width(),b.h().height(),Math.round(a.w()+this.n().cn().left()),Math.round(a.v()+this.n().cn().top()),a.width(),a.height())}else{this.r().w(b.g(),c,Math.round(a.w()+this.n().cn().left()),Math.round(a.v()+this.n().cn().top()),a.width(),a.height())}},a1:function(a){var img_=a;if(!img_.complete){return true}if(img_.width==0&&img_.height==0){return true}return false},a2:function(){this.ax()},a3:function(a){this.r(a);this.ax()},a4:function(a){this.n().cn(a);this.n().di()},$type:new $.ig.Type("XamMultiScaleImageView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.SmartPosition.prototype.leftTop=0;$.ig.SmartPosition.prototype.centerTop=1;$.ig.SmartPosition.prototype.rightTop=2;$.ig.SmartPosition.prototype.leftCenter=3;$.ig.SmartPosition.prototype.centerCenter=4;$.ig.SmartPosition.prototype.rightCenter=5;$.ig.SmartPosition.prototype.leftBottom=6;$.ig.SmartPosition.prototype.centerBottom=7;$.ig.SmartPosition.prototype.rightBottom=8;$.ig.InterpolationMode.prototype.rGB=0;$.ig.InterpolationMode.prototype.hSV=1;$.ig.OverviewPlusDetailPaneMode.prototype.minimal=0;$.ig.OverviewPlusDetailPaneMode.prototype.full=1;$.ig.OverviewPlusDetailPaneMode.prototype.compact=2;$.ig.InteractionState.prototype.none=0;$.ig.InteractionState.prototype.dragZoom=1;$.ig.InteractionState.prototype.dragPan=2;$.ig.InteractionState.prototype.auto=3;$.ig.GradientDirection.prototype.topBottom=0;$.ig.GradientDirection.prototype.bottomTop=1;$.ig.GradientDirection.prototype.leftRight=2;$.ig.GradientDirection.prototype.rightLeft=3;$.ig.GradientDirection.prototype.radial=4;$.ig.FastItemsSourceEventAction.prototype.remove=0;$.ig.FastItemsSourceEventAction.prototype.insert=1;$.ig.FastItemsSourceEventAction.prototype.replace=2;$.ig.FastItemsSourceEventAction.prototype.change=3;$.ig.FastItemsSourceEventAction.prototype.reset=4;$.ig.ErrorBarCalculatorType.prototype.fixed=0;$.ig.ErrorBarCalculatorType.prototype.percentage=1;$.ig.ErrorBarCalculatorType.prototype.data=2;$.ig.ErrorBarCalculatorType.prototype.standardDeviation=3;$.ig.ErrorBarCalculatorType.prototype.standardError=4;$.ig.ErrorBarCalculatorReference.prototype.x=0;$.ig.ErrorBarCalculatorReference.prototype.y=1;$.ig.UnknownValuePlotting.prototype.linearInterpolate=0;$.ig.UnknownValuePlotting.prototype.dontPlot=1;$.ig.TrendLineType.prototype.none=0;$.ig.TrendLineType.prototype.linearFit=1;$.ig.TrendLineType.prototype.quadraticFit=2;$.ig.TrendLineType.prototype.cubicFit=3;$.ig.TrendLineType.prototype.quarticFit=4;$.ig.TrendLineType.prototype.quinticFit=5;$.ig.TrendLineType.prototype.logarithmicFit=6;$.ig.TrendLineType.prototype.exponentialFit=7;$.ig.TrendLineType.prototype.powerLawFit=8;$.ig.TrendLineType.prototype.simpleAverage=9;$.ig.TrendLineType.prototype.exponentialAverage=10;$.ig.TrendLineType.prototype.modifiedAverage=11;$.ig.TrendLineType.prototype.cumulativeAverage=12;$.ig.TrendLineType.prototype.weightedAverage=13;$.ig.BrushCollection.prototype.ai=new $.ig.Random;$.ig.DOMEventProxy.prototype.b9=0;$.ig.DOMEventProxy.prototype.b8=-1;$.ig.NavigationSettings.prototype.g=$.ig.DependencyProperty.prototype.l("AllowPan",$.ig.Boolean.prototype.$type,$.ig.NavigationSettings.prototype.$type,new $.ig.PropertyMetadata(1,true,$.ig.NavigationSettings.prototype.m));$.ig.NavigationSettings.prototype.h=$.ig.DependencyProperty.prototype.l("AllowZoom",$.ig.Boolean.prototype.$type,$.ig.NavigationSettings.prototype.$type,new $.ig.PropertyMetadata(1,true,$.ig.NavigationSettings.prototype.p));$.ig.XamOverviewPlusDetailPane.prototype.bd=2;$.ig.XamOverviewPlusDetailPane.prototype.be="SizeStates";$.ig.XamOverviewPlusDetailPane.prototype.bf="Full";$.ig.XamOverviewPlusDetailPane.prototype.bg="Minimal";$.ig.XamOverviewPlusDetailPane.prototype.bh="ZoomableStates";$.ig.XamOverviewPlusDetailPane.prototype.bi="ZoomEnabled";$.ig.XamOverviewPlusDetailPane.prototype.bj="ZoomDisabled";$.ig.XamOverviewPlusDetailPane.prototype.bk="Root";$.ig.XamOverviewPlusDetailPane.prototype.bl="ContentPresenter";$.ig.XamOverviewPlusDetailPane.prototype.bm="ZoomOut";$.ig.XamOverviewPlusDetailPane.prototype.bn="ZoomLevel";$.ig.XamOverviewPlusDetailPane.prototype.bo="ZoomIn";$.ig.XamOverviewPlusDetailPane.prototype.bp="ZoomTo100";$.ig.XamOverviewPlusDetailPane.prototype.bq="ScaleToFit";$.ig.XamOverviewPlusDetailPane.prototype.br="ButtonCursor";$.ig.XamOverviewPlusDetailPane.prototype.bs="DragPan";$.ig.XamOverviewPlusDetailPane.prototype.bt="DragZoom";$.ig.XamOverviewPlusDetailPane.prototype.bu="ButtonsGrid";$.ig.XamOverviewPlusDetailPane.prototype.bv="Immediate";$.ig.XamOverviewPlusDetailPane.prototype.bw="World";$.ig.XamOverviewPlusDetailPane.prototype.bx="WorldStyle";$.ig.XamOverviewPlusDetailPane.prototype.by="Window";$.ig.XamOverviewPlusDetailPane.prototype.bz="WindowStyle";$.ig.XamOverviewPlusDetailPane.prototype.b0="Preview";$.ig.XamOverviewPlusDetailPane.prototype.b1="PreviewStyle";$.ig.XamOverviewPlusDetailPane.prototype.b2="ZoomLevelLargeChange";$.ig.XamOverviewPlusDetailPane.prototype.b3=10;$.ig.XamOverviewPlusDetailPane.prototype.b4=2;$.ig.XamOverviewPlusDetailPane.prototype.b8=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.bv,$.ig.Boolean.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Boolean.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.bv,b.f(),b.e()))}));$.ig.XamOverviewPlusDetailPane.prototype.b9=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.bw,$.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Rect.prototype.empty(),function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.bw,b.f(),b.e()))}));$.ig.XamOverviewPlusDetailPane.prototype.ca=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.bx,$.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.bx,$.ig.util.cast($.ig.Style.prototype.$type,b.f()),$.ig.util.cast($.ig.Style.prototype.$type,b.e())))}));$.ig.XamOverviewPlusDetailPane.prototype.cb=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.by,$.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Rect.prototype.empty(),function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.by,b.f(),b.e()))}));$.ig.XamOverviewPlusDetailPane.prototype.cc=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.bz,$.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.bz,$.ig.util.cast($.ig.Style.prototype.$type,b.f()),$.ig.util.cast($.ig.Style.prototype.$type,b.e())))}));$.ig.XamOverviewPlusDetailPane.prototype.cd=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.b0,$.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Rect.prototype.empty(),function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Rect.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.b0,b.f(),b.e()))}));$.ig.XamOverviewPlusDetailPane.prototype.ce=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.b1,$.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamOverviewPlusDetailPane.prototype.$type,a).fv(new $.ig.PropertyChangedEventArgs$1($.ig.Style.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.b1,$.ig.util.cast($.ig.Style.prototype.$type,b.f()),$.ig.util.cast($.ig.Style.prototype.$type,b.e())))}));$.ig.XamOverviewPlusDetailPane.prototype.cf=$.ig.DependencyProperty.prototype.l("ShrinkToThumbnail",$.ig.Boolean.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,true,$.ig.XamOverviewPlusDetailPane.prototype.eo));$.ig.XamOverviewPlusDetailPane.prototype.cg=$.ig.DependencyProperty.prototype.l("Mode",$.ig.OverviewPlusDetailPaneMode.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.OverviewPlusDetailPaneMode.prototype.minimal,$.ig.XamOverviewPlusDetailPane.prototype.es));$.ig.XamOverviewPlusDetailPane.prototype.ci=$.ig.DependencyProperty.prototype.l("ZoomTo100ButtonVisibility",$.ig.Visibility.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){return a.fu("ZoomTo100ButtonVisibility",b.f(),b.e())}));$.ig.XamOverviewPlusDetailPane.prototype.cj=$.ig.DependencyProperty.prototype.l("ScaleToFitButtonVisibility",$.ig.Visibility.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){return a.fu("ScaleToFitButtonVisibility",b.f(),b.e())}));$.ig.XamOverviewPlusDetailPane.prototype.ck=$.ig.DependencyProperty.prototype.l("InteractionStatesToolVisibility",$.ig.Visibility.prototype.$type,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){return a.fu("InteractionStatesToolVisibility",b.f(),b.e())}));$.ig.XamOverviewPlusDetailPane.prototype.cl=$.ig.DependencyProperty.prototype.l($.ig.XamOverviewPlusDetailPane.prototype.b2,Number,$.ig.XamOverviewPlusDetailPane.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){return a.fu($.ig.XamOverviewPlusDetailPane.prototype.b2,b.f(),b.e())}));$.ig.BingMapsTileSource.prototype.tilePathProperty=$.ig.DependencyProperty.prototype.l("TilePath",String,$.ig.BingMapsTileSource.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.BingMapsTileSource.prototype.ag));$.ig.BingMapsTileSource.prototype.subDomainsProperty=$.ig.DependencyProperty.prototype.l("SubDomains",$.ig.ObservableCollection$1.prototype.$type.specialize(String),$.ig.BingMapsTileSource.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.BingMapsTileSource.prototype.ag));$.ig.BingMapsTileSource.prototype.cultureNameProperty=$.ig.DependencyProperty.prototype.l("CultureName",String,$.ig.BingMapsTileSource.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.BingMapsTileSource.prototype.ag));$.ig.CloudMadeTileSource.prototype.ac="http://{S}.tile.cloudmade.com/{K}/{P}/256/{Z}/{X}/{Y}.png";$.ig.CloudMadeTileSource.prototype.ad="Key";$.ig.CloudMadeTileSource.prototype.ae="Parameter";$.ig.CloudMadeTileSource.prototype.keyProperty=$.ig.DependencyProperty.prototype.l($.ig.CloudMadeTileSource.prototype.ad,String,$.ig.CloudMadeTileSource.prototype.$type,new $.ig.PropertyMetadata(0,null));$.ig.CloudMadeTileSource.prototype.parameterProperty=$.ig.DependencyProperty.prototype.l($.ig.CloudMadeTileSource.prototype.ae,String,$.ig.CloudMadeTileSource.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.CloudMadeTileSource.prototype.ag));$.ig.OpenStreetMapTileSource.prototype.ac="http://tile.openstreetmap.org/{Z}/{X}/{Y}.png";$.ig.ColorUtil.prototype.a=new $.ig.Random;$.ig.MathUtil.prototype.a=Math.PI/180;$.ig.MathUtil.prototype.b=(1+Math.sqrt(5))/2;$.ig.MathUtil.prototype.c=Math.sqrt(2);$.ig.MathUtil.prototype.d=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180,151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180];$.ig.SmartPlaceableWrapper$1.prototype.b=[$.ig.SmartPosition.prototype.centerCenter];$.ig.SmartPlaceableWrapper$1.prototype.c=[$.ig.SmartPosition.prototype.centerCenter,$.ig.SmartPosition.prototype.rightCenter,$.ig.SmartPosition.prototype.rightTop,$.ig.SmartPosition.prototype.centerTop,$.ig.SmartPosition.prototype.rightBottom,$.ig.SmartPosition.prototype.centerBottom,$.ig.SmartPosition.prototype.leftTop,$.ig.SmartPosition.prototype.leftCenter,$.ig.SmartPosition.prototype.leftBottom];$.ig.XamMultiScaleImage.prototype.bd="Source";$.ig.XamMultiScaleImage.prototype.be="ViewportOrigin";$.ig.XamMultiScaleImage.prototype.bf="ViewportWidth";$.ig.XamMultiScaleImage.prototype.bg="UseSprings";$.ig.XamMultiScaleImage.prototype.bh="SpringsEasingFunction";$.ig.XamMultiScaleImage.prototype.bk=$.ig.DependencyProperty.prototype.l($.ig.XamMultiScaleImage.prototype.bd,$.ig.XamMultiScaleTileSource.prototype.$type,$.ig.XamMultiScaleImage.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.c7(new $.ig.PropertyChangedEventArgs$1($.ig.XamMultiScaleTileSource.prototype.$type,$.ig.XamMultiScaleImage.prototype.bd,$.ig.util.cast($.ig.XamMultiScaleTileSource.prototype.$type,b.f()),$.ig.util.cast($.ig.XamMultiScaleTileSource.prototype.$type,b.e())))}));$.ig.XamMultiScaleImage.prototype.bl=$.ig.DependencyProperty.prototype.l($.ig.XamMultiScaleImage.prototype.be,$.ig.Point.prototype.$type,$.ig.XamMultiScaleImage.prototype.$type,new $.ig.PropertyMetadata(1,{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},function(a,b){a.c7(new $.ig.PropertyChangedEventArgs$1($.ig.Point.prototype.$type,$.ig.XamMultiScaleImage.prototype.be,b.f(),b.e()))}));$.ig.XamMultiScaleImage.prototype.bm=$.ig.DependencyProperty.prototype.l($.ig.XamMultiScaleImage.prototype.bf,Number,$.ig.XamMultiScaleImage.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.c7(new $.ig.PropertyChangedEventArgs$1(Number,$.ig.XamMultiScaleImage.prototype.bf,b.f(),b.e()))}));$.ig.XamMultiScaleImage.prototype.bn=$.ig.DependencyProperty.prototype.l($.ig.XamMultiScaleImage.prototype.bg,$.ig.Boolean.prototype.$type,$.ig.XamMultiScaleImage.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.c7(new $.ig.PropertyChangedEventArgs$1($.ig.Boolean.prototype.$type,$.ig.XamMultiScaleImage.prototype.bg,b.f(),b.e()))}));$.ig.XamMultiScaleImage.prototype.bo=$.ig.DependencyProperty.prototype.l($.ig.XamMultiScaleImage.prototype.bh,$.ig.IEasingFunction.prototype.$type,$.ig.XamMultiScaleImage.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.c7(new $.ig.PropertyChangedEventArgs$1($.ig.IEasingFunction.prototype.$type,$.ig.XamMultiScaleImage.prototype.bh,b.f(),b.e()))}));$.ig.XamMultiScaleImageView.prototype.a=-1;$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1],["shuffle$1","insertionIndex$1","insertionIndex$11111","binarySearch$1"]]]);$.ig.util.extCopy($.ig.ColorUtil,[[[$.ig.Color],["getInterpolation","getLightened","getAHSL","getAHSV"]]]);$.ig.util.extCopy($.ig.Extensions,[[[$.ig.PathGeometry],["reset"]],[[$.ig.GeometryGroup],["reset1"]],[[$.ig.FrameworkElement],["detach"]],[[$.ig.Panel],["transferChildrenTo"]],[[$.ig.Point],["isPlottable"]],[[$.ig.Rect],["isPlottable1"]]]);$.ig.util.extCopy($.ig.PathFigureUtil,[[[$.ig.PathFigureCollection],["duplicate"]],[[$.ig.PathFigure],["duplicate1"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1],["flattenTo","getBounds2","clipTo"]],[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2],["getBounds","getBounds11","getCentroid","toPointCollection","toPointList"]],[[$.ig.List$1],["getBounds3","getBounds41","toPointCollections"]]]);$.ig.util.extCopy($.ig.RectUtil,[[[$.ig.Rect],["getCenter","getArea","duplicate","getLeader","getDistanceSquared","getDistanceSquared11","getDistanceSquared22","contains3","intersectsWith1","intersectionArea","getInflated","inflate","inflate11","round","isNull"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["asQueryable"]]]);/*!@license
* Infragistics.Web.ClientUI infragistics.datachart.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["IProvidesViewport","Series","AnnotationLayer","SeriesView","AnnotationLayerView","CrosshairLayer","Frame","CrosshairLayerFrame","CrosshairLayerView","AxisLabelPanelBaseView","AngleAxisLabelPanelView","AxisLabelPanelBase","AngleAxisLabelPanel","AutoRangeCalculator","Axis","AxisCollection","AxisComponentsForView","AxisComponentsFromView","AxisLabelInfo","AxisLabelManager","LabelPosition","AxisLabelSettings","AxisRange","Snapper","LinearNumericSnapper","LogarithmicNumericSnapper","LinearCategorySnapper","AxisView","IScaler","ICategoryScaler","CategoryAxisBase","IAngleScaler","CategoryAngleAxis","CategoryAxisBaseView","CategoryAngleAxisView","ISortingAxis","CategoryDateTimeXAxis","CategoryDateTimeXAxisView","AxisRenderingParametersBase","CategoryAxisRenderingParameters","AxisRendererBase","CategoryAxisRenderer","CategoryXAxis","CategoryXAxisView","CategoryYAxis","CategoryYAxisView","HorizontalAxisLabelPanelBase","HorizontalAxisLabelPanel","HorizontalAxisLabelPanelBaseView","NumericAxisBase","NumericAngleAxis","NumericAxisBaseView","NumericAngleAxisView","StraightNumericAxisBase","NumericRadiusAxis","NumericRadiusAxisView","NumericXAxis","StraightNumericAxisBaseView","NumericXAxisView","NumericYAxis","NumericYAxisView","PolarAxes","PolarAxisRenderingManager","IPolarRadialRenderingParameters","NumericAxisRenderingParameters","PolarAxisRenderingParameters","RadialAxisRenderingParameters","RadialAxes","RadialAxisLabelPanel","RadialAxisLabelPanelView","GetSnapperInfoStrategy","NumericAxisRenderer","RangeInfo","NumericScaler","LinearScaler","HorizontalLinearScaler","LogarithmicScaler","HorizontalLogarithmicScaler","NumericScaleMode","ScalerParams","VerticalLinearScaler","VerticalLogarithmicScaler","TickmarkValues","CategoryTickmarkValues","LinearTickmarkValues","LogarithmicTickmarkValues","TickmarkValuesInitializationParameters","ViewportUtils","FramePreparer","CategoryFramePreparerBase","CategoryFramePreparer","BarFramePreparer","BarTrendFitCalculator","TrendLineManagerBase$1","IPreparesCategoryTrendline","CategoryTrendLineManagerBase","CategoryTrendLineManager","BarTrendLineManager","BrushScale","MarkerManagerBase","BubbleMarkerManager","MarkerSeries","ISupportsErrorBars","ScatterBase","BubbleSeries","MarkerSeriesView","ScatterBaseView","BubbleSeriesView","CustomPaletteBrushScale","SizeScale","ValueBrushScale","IHasCategoryAxis","IHasCategoryModePreference","CategorySeries","IIsCategoryBased","IHasSingleValueCategory","IHasTrendline","IHasCategoryTrendline","AnchoredCategorySeries","VerticalAnchoredCategorySeries","IBarSeries","BarSeries","ISupportsMarkers","CategorySeriesView","AnchoredCategorySeriesView","BarSeriesView","IBucketizer","CategoryBucketCalculator","AnchoredCategoryBucketCalculator","BarBucketCalculator","RangeCategoryBucketCalculator","HorizontalAnchoredCategorySeries","PointSeries","PointSeriesView","IHasHighLowValueCategory","RangeCategorySeries","HorizontalRangeCategorySeries","RangeAreaSeries","RangeCategorySeriesView","RangeAreaSeriesView","RangeCategoryFramePreparer","ValuesHolder","HighLowValuesHolder","DefaultHighLowValueProvider","RangeValueList","RangeColumnSeries","RangeColumnSeriesView","SplineSeriesBaseView","SplineAreaSeriesView","VerticalAxisLabelPanel","VerticalAxisLabelPanelView","AreaSeries","AreaSeriesView","CategoryFrame","SingleValuesHolder","DefaultSingleValueProvider","PreparationParams","CategoryLineRasterizer","ColumnSeries","ColumnSeriesView","DefaultSupportsMarkers","DefaultProvidesViewport","DefaultSupportsErrorBars","LineSeries","LineSeriesView","SplineSeriesBase","SplineAreaSeries","SplineSeries","SplineSeriesView","StepAreaSeries","StepAreaSeriesView","StepLineSeries","StepLineSeriesView","WaterfallSeries","WaterfallSeriesView","MarkerTemplates","DataSourceManager","PieChartBase","Arc","ArcItem","PieChartBaseView","ArcView","RingSeriesBase","HierarchicalRingSeries","HoleDimensionsChangedEventHandler","HoleDimensionsChangedEventArgs","Ring","RingCollection","RingControl","RingControlView","RingSeries","RingSeriesBaseView","RingSeriesCollection","SliceItem","SliceCollection","XamDoughnutChart","XamDoughnutChartView","BrushSelectionMode","IndicatorDisplayType","TimeAxisDisplayType","ChartAxisRangeChangedEventArgs","DataChartAxisRangeChangedEventHandler","StackedSeriesCreatedEventArgs","StackedSeriesCreatedEventHandler","FinancialSeries","FinancialIndicator","StrategyBasedIndicator","AbsoluteVolumeOscillatorIndicator","IndicatorCalculationStrategy","AbsoluteVolumeOscillatorIndicatorStrategy","AccumulationDistributionIndicator","StreamingIndicatorCalculationStrategy","AccumulationDistributionIndicatorStrategy","AverageDirectionalIndexIndicator","AverageDirectionalIndexIndicatorStrategy","AverageTrueRangeIndicator","AverageTrueRangeIndicatorStrategy","FinancialOverlay","BollingerBandsOverlay","FinancialBucketCalculator","BollingerBandsBucketCalculator","FinancialSeriesView","BollingerBandsOverlayView","BollingerBandWidthIndicator","BollingerBandWidthIndicatorStrategy","ChaikinOscillatorIndicator","ChaikinOscillatorIndicatorStrategy","ChaikinVolatilityIndicator","ChaikinVolatilityIndicatorStrategy","CommodityChannelIndexIndicator","CommodityChannelIndexIndicatorStrategy","CustomIndicator","CustomIndicatorStrategy","PriceChannelOverlayView","DetrendedPriceOscillatorIndicator","DetrendedPriceOscillatorIndicatorStrategy","EaseOfMovementIndicator","EaseOfMovementIndicatorStrategy","FastStochasticOscillatorIndicator","FastStochasticOscillatorIndicatorStrategy","FinancialIndicatorBucketCalculator","FinancialIndicatorView","ForceIndexIndicator","ForceIndexIndicatorStrategy","FullStochasticOscillatorIndicator","FullStochasticOscillatorIndicatorStrategy","PercentKCalculationStrategy","IndicatorRenderer","ItemwiseIndicatorCalculationStrategy","ItemwiseStrategyBasedIndicator","ItemwiseStrategyCalculationStrategy","MarketFacilitationIndexIndicator","MarketFacilitationIndexIndicatorStrategy","MassIndexIndicator","MassIndexIndicatorStrategy","MedianPriceIndicator","MedianPriceIndicatorStrategy","MoneyFlowIndexIndicator","MoneyFlowIndexIndicatorStrategy","MovingAverageConvergenceDivergenceIndicator","MovingAverageConvergenceDivergenceIndicatorStrategy","NegativeVolumeIndexIndicator","NegativeVolumeIndexIndicatorStrategy","OnBalanceVolumeIndicator","OnBalanceVolumeIndicatorStrategy","PercentagePriceOscillatorIndicator","PercentagePriceOscillatorIndicatorStrategy","PercentageVolumeOscillatorIndicator","PercentageVolumeOscillatorIndicatorStrategy","PositiveVolumeIndexIndicator","PositiveVolumeIndexIndicatorStrategy","PriceChannelOverlay","PriceChannelBucketCalculator","PriceVolumeTrendIndicator","PriceVolumeTrendIndicatorStrategy","RateOfChangeAndMomentumIndicator","RateOfChangeAndMomentumIndicatorStrategy","RelativeStrengthIndexIndicator","RelativeStrengthIndexIndicatorStrategy","SlowStochasticOscillatorIndicator","SlowStochasticOscillatorIndicatorStrategy","StandardDeviationIndicator","StandardDeviationIndicatorStrategy","StochRSIIndicator","StochRSIIndicatorStrategy","TRIXIndicator","TRIXIndicatorStrategy","TypicalPriceIndicator","TypicalPriceIndicatorStrategy","UltimateOscillatorIndicator","UltimateOscillatorIndicatorCalculationStrategy","WeightedCloseIndicator","WeightedCloseIndicatorStrategy","WilliamsPercentRIndicator","WilliamsPercentRIndicatorStrategy","FunnelDataContext","FunnelFrame","FunnelSliceDisplay","IItemProvider","IFunnelLabelSizeDecider","IOuterLabelWidthDecider","OuterLabelAlignment","SliceInfo","SliceAppearance","SliceInfoList","SliceInfoComparison","SliceInfoUnaryComparison","SliceSelectionManager","XamFunnelController","Message","InteractionMessage","LabelSizeChangedMessage","RenderingMessage","RenderOuterLabelMessage","RenderSliceMessage","ModelUpdateMessage","SelectedItemsChangedMessage","SliceClickedMessage","ConfigurationMessage","UserSelectedItemsChangedMessage","FunnelSliceClickedEventArgs","FunnelSliceClickedEventHandler","XamFunnelChart","XamFunnelConnector","XamFunnelSlice","XamFunnelView","LegendBaseViewManager","LegendBase","ScaleLegend","LegendBaseView","ScaleLegendView","GradientData","GradientStopData","ClearMessage","ClearTooltipMessage","DataUpdatedMessage","FrameRenderCompleteMessage","MessageChannel","MessageEventHandler","MessageHandler","MessageHandlerEventHandler","MouseButtonMessage","MouseButtonType","MouseButtonAction","MouseLeaveMessage","MouseMoveMessage","PropertyChangedMessage","ServiceProvider","SetAreaSizeMessage","TemplateChangedMessage","TooltipUpdateMessage","TooltipValueChangedMessage","ViewportChangedMessage","ContainerSizeChangedMessage","ViewPropertyChangedMessage","PieChartViewManager","RadialBase","AnchoredRadialSeries","RadialAreaSeries","RadialBaseView","AnchoredRadialSeriesView","RadialAreaSeriesView","HighDensityScatterSeries","MouseMoveThunk","ScatterMouseOverEventArgs","ProgressiveLoadStatusEventArgs","HighDensityScatterSeriesView","KDTree2D","KNearestResults","KNearestResult","KDTreeThunk","SearchArgs","KDTreeNode2D","SearchData","PointData","ScatterLineSeries","ScatterLineSeriesView","ScatterSplineSeries","ScatterSplineSeriesView","SeriesViewerComponentsForView","SeriesViewerComponentsFromView","SeriesViewer","XamDataChart","SeriesViewerView","XamDataChartView","ChartCollection","ChartContentManager","ContentInfo","ChartContentType","DataContext","PieSliceDataContext","FunnelSliceDataContext","LabelPanelArranger","LabelPanelsArrangeState","LegendTemplates","Marker","CollisionAvoidanceType","NumericMarkerManager","CategoryMarkerManager","MarkerManagerBucket","PathRenderer","NaNSegmenter","IFlattener","DefaultFlattener","RenderSurface","RenderRequestedEventArgs","SeriesCollection","SeriesComponentsForView","SeriesComponentsFromView","SeriesRenderingArguments","SeriesRenderer$2","IFastItemsSourceProvider","SyncLink","FastItemsSourceReference","SyncSettings","SyncSettingsConverter","SyncLinkManager","SyncManager","DefaultCategoryTrendlineHost","DefaultCategoryTrendlinePreparer","TrendResolutionParams","TrendFitCalculator","TrendAverageCalculator","PolarTrendLineManager","RadialTrendLineManager","ScatterTrendLineManager","SortingTrendLineManager","AxisLabelsLocation","CategoryMode","AxisOrientation","GridMode","LabelsPosition","MarkerType","OthersCategoryType","PriceDisplayType","SplineType","WindowMode","WindowResponse","ErrorBarSettingsBase","CategoryErrorBarSettings","EnableErrorBars","ErrorBarsHelper","ScatterErrorBarSettings","AxisRangeChangedEventArgs","AxisRangeChangedEventHandler","DataChartMouseButtonEventArgs","DataChartMouseButtonEventHandler","DataChartLegendMouseButtonEventArgs","DataChartLegendMouseButtonEventHandler","ChartMouseEventArgs","DataChartMouseEventHandler","ChartLegendMouseEventArgs","DataChartLegendMouseEventHandler","ChartCursorEventArgs","DataChartCursorEventHandler","FinancialEventArgs","FinancialEventHandler","PropertyUpdatedEventArgs","PropertyUpdatedEventHandler","SliceClickEventArgs","SliceClickEventHandler","FinancialPriceSeries","FinancialPriceBucketCalculator","FinancialPriceSeriesView","FinancialValueList","FinancialCalculationDataSource","FinancialCalculationSupportingCalculations","SupportingCalculation$1","SupportingCalculationStrategy","ColumnSupportingCalculation","ProvideColumnValuesStrategy","DataSourceSupportingCalculation","CalculatedColumn","ItemLegend","ItemLegendView","Legend","LegendItemInfo","LegendView","PieLabel","IndexCollection","IndexCollectionTypeConverter","Slice","SliceView","XamPieChart","XamPieChartView","PolarBase","PolarLineSeriesBase","PolarAreaSeries","PolarBaseView","PolarLineSeriesBaseView","PolarAreaSeriesView","PolarAxisInfoCache","ScatterFrameBase$1","PolarFrame","AngleRadiusPair","PolarLinePlanner","PolarLineSeries","PolarLineSeriesView","PolarScatterSeries","PolarScatterSeriesView","PolarSplineAreaSeries","PolarSplineAreaSeriesView","PolarSplineSeries","PolarSplineSeriesView","RadialBucketCalculator","AnchoredRadialBucketCalculator","RadialFrame","RadialColumnSeries","RadialColumnSeriesView","RadialLineSeries","RadialLineSeriesView","RadialPieSeries","SliceCoords","RadialPieSeriesView","ScatterAxisInfoCache","DictInterpolator$3","OwnedPoint","ScatterFrame","ScatterSeries","ScatterSeriesView","CoercionInfo","SeriesViewerSurfaceViewer","OverviewPlusDetailViewportHost","SeriesViewerViewManager","FragmentBase","AreaFragment","AreaFragmentView","ColumnFragment","BarFragment","AreaFragmentBucketCalculator","LineFragmentBucketCalculator","SplineFragmentBucketCalculator","StackedBucketCalculator","StackedBarBucketCalculator","Stacked100BarBucketCalculator","StackedColumnBucketCalculator","Stacked100ColumnBucketCalculator","ColumnFragmentView","LineFragment","LineFragmentView","SplineFragmentBase","SplineAreaFragment","SplineAreaFragmentView","SplineFragment","SplineFragmentView","StackedSeriesBase","HorizontalStackedSeriesBase","StackedAreaSeries","IStacked100Series","Stacked100AreaSeries","VerticalStackedSeriesBase","StackedBarSeries","Stacked100BarSeries","StackedSeriesView","StackedBarSeriesView","Stacked100BarSeriesView","StackedColumnSeries","Stacked100ColumnSeries","StackedColumnSeriesView","Stacked100ColumnSeriesView","StackedLineSeries","Stacked100LineSeries","StackedSplineAreaSeries","Stacked100SplineAreaSeries","StackedSplineSeries","Stacked100SplineSeries","StackedFragmentSeries","StackedSeriesCollection","StackedSeriesFramePreparer","StackedSeriesManager","Bezier","BezierPointComparison","BezierOp","BezierPoint","ChartVisualData","PieChartVisualData","SeriesVisualDataList","SeriesVisualData","MarkerVisualDataList","MarkerVisualData","AxisVisualDataList","AxisVisualData","PieSliceVisualDataList","PieSliceVisualData","AxisLabelVisualDataList","AxisLabelVisualData","StackedSeriesVisualData","IDetectsCollisions","CollisionAvoider","DoubleColumn","StringColumn","ObjectColumn","IntColumn","IntColumnComparison","ColumnUtil","ItemsSourceAction","PointList","IPool$1","IIndexedPool$1","Pool$1","IHashPool$2","HashPool$2","SafeEnumerable","SafeReadOnlyDoubleCollection","SafeSortedReadOnlyDoubleCollection","SortedListView$1","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise","BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView"]);$.ig.util.defType("ItemsSourceAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ItemsSourceAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("EnableErrorBars","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("EnableErrorBars",$.ig.Object.prototype.$type)},true);$.ig.util.defType("WindowResponse","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("WindowResponse",$.ig.Object.prototype.$type)},true);$.ig.util.defType("WindowMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("WindowMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SplineType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SplineType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PriceDisplayType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("PriceDisplayType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OthersCategoryType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("OthersCategoryType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MarkerType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MarkerType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LabelsPosition","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("LabelsPosition",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GridMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("GridMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisOrientation","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("AxisOrientation",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CategoryMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("CategoryMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisLabelsLocation","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("AxisLabelsLocation",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CollisionAvoidanceType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("CollisionAvoidanceType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ChartContentType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ChartContentType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseButtonAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MouseButtonAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseButtonType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MouseButtonType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OuterLabelAlignment","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("OuterLabelAlignment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FunnelSliceDisplay","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("FunnelSliceDisplay",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TimeAxisDisplayType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("TimeAxisDisplayType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IndicatorDisplayType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("IndicatorDisplayType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BrushSelectionMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("BrushSelectionMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NumericScaleMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("NumericScaleMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IProvidesViewport","Object",{$type:new $.ig.Type("IProvidesViewport",null)},true);$.ig.util.defType("Series","Control",{_view:null,view:function(a){if(arguments.length===1){this._view=a;return a}else{return this._view}},_uniqueIndex:null,init:function(){var $self=this;this.cp=true;this.c0=new $.ig.SeriesComponentsForView;this.c1=false;$.ig.Control.prototype.init.call(this);this._uniqueIndex=$.ig.Series.prototype.ck++;this.d9(true);this.view(this.et());this.view().ad($.ig.Rect.prototype.empty());this.eq(this.view());this.view().ah(true);this.view().ak();this.view().ah(false);this.a3($.ig.Series.prototype.$type);this.cu=function(a,b){$self.fk(b.oldRect(),b.newRect())};this.ct=function(c,d){$self.ft(c,d.propertyName(),d.oldValue(),d.newValue())};this.cw=function(e,f){if($self.seriesViewer()!=null){$self.d9(true);$self.seriesViewer().ju()}$self.fz(f.action(),f.position(),f.count(),f.propertyName())};this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(g,h){$self.ft(g,h.propertyName(),h.oldValue(),h.newValue())});this.rootCanvas(new $.ig.Canvas);this.d4(new $.ig.DoubleAnimator(0,1,this.transitionDuration()));this.d4().propertyChanged=$.ig.Delegate.prototype.combine(this.d4().propertyChanged,this.en.runOn(this));this.d($.ig.Series.prototype.cl,function(){var $ret=new $.ig.Binding(1,"Visibility");$ret.d($self);return $ret}())},en:function(a,b){this.ed(this.d4().l())},_d4:null,d4:function(a){if(arguments.length===1){this._d4=a;return a}else{return this._d4}},eq:function(a){},er:function(){this.g9(this.actualLegend(),this.actualLegend());if(this.eb()==null&&this.syncLink()!=null&&this.itemsSource()!=null){this.eb($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,this.syncLink()).getFastItemsSource(this.itemsSource()))}this.view().bf()},es:function(){this.g8();if(this.eb()!=null&&this.syncLink()!=null&&this.itemsSource()!=null){this.eb($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,this.syncLink()).releaseFastItemsSource(this.itemsSource()))}this.view().be()},et:function(){return new $.ig.SeriesView(this)},_rootCanvas:null,rootCanvas:function(a){if(arguments.length===1){this._rootCanvas=a;return a}else{return this._rootCanvas}},ev:function(){return false},getExactItemIndex:function(a){return this.getItemIndex(a)},getItemIndex:function(a){return-1},getItem:function(a){return null},ew:function(a,b){return a.getItem(b)},isAnnotationLayer:function(){return false},isVertical:function(){return false},isPolar:function(){return false},isScatter:function(){return false},isRadial:function(){return false},isStacked:function(){return false},isFinancial:function(){return false},isRange:function(){return false},isCategory:function(){return false},isDefaultCrosshairBehaviorDisabled:function(){return false},isDefaultTooltipBehaviorDisabled:function(){return false},ex:function(a,b,c,d,e){return Number.POSITIVE_INFINITY},ey:function(a,b,c,d,e,f,g){if(c==null){return Number.POSITIVE_INFINITY}if(b<0||b>f-1){return Number.POSITIVE_INFINITY}var h=0;var i;var j=NaN;var k=NaN;var l=NaN;var m=NaN;if(c.isSorting()){var n=c;i=g(a);var o=Math.floor(i);var p=Math.ceil(i);m=i-o;if(o>=0&&o<f){var q=n.getUnscaledValueAt(n.sortedIndices().__inner[o]);j=c.getScaledValue(q,d)+e}else{j=NaN}if(p>=0&&p<f){var r=n.getUnscaledValueAt(n.sortedIndices().__inner[p]);k=c.getScaledValue(r,d)+e}else{k=NaN}if(isNaN(j)&&!isNaN(k)){j=k}if(isNaN(k)&&!isNaN(j)){k=j}if(b>=0&&b<f){var s=n.getUnscaledValueAt(n.sortedIndices().__inner[b]);l=c.getScaledValue(s,d)+e}}else{i=this.getExactItemIndex(a);var t=Math.floor(i);var u=Math.ceil(i);m=i-t;if(t>=0&&t<f){j=c.getScaledValue(t,d)+e}else{j=NaN}if(u>=0&&u<f){k=c.getScaledValue(u,d)+e}else{k=NaN}if(isNaN(j)&&!isNaN(k)){j=k}if(isNaN(k)&&!isNaN(j)){k=j}if(b>=0&&b<f){l=c.getScaledValue(b,d)+e}}var v=j+m*(k-j);return Math.abs(l-v)},d5:function(){return false},e0:function(a,b,c,d,e,f,g,h){if(a==null){return NaN}var i=this.d5();var j=this.e2(b,h,c,f,a);var k=this.e3(b,h,c,f,a);var l=this.ex(b,j,c,d,e);var m=this.ex(b,k,c,d,e);var n=j;var o=k;var p=c.isSorting();if(p&&!i){var q=c;if(j>=0&&j<q.sortedIndices().count()){j=q.sortedIndices().__inner[j]}if(k>=0&&j<q.sortedIndices().count()){k=q.sortedIndices().__inner[k]}}var r=l/(m+l);if(l==0){r=0}if(m==0){r=1}if(!g){if(m<=l){if(k>=0&&k<a.count()){return a.item(k)}}else{if(j>=0&&j<a.count()){return a.item(j)}}return NaN}return this.e1(r,a,j,k,n,o,e,p)},e1:function(a,b,c,d,e,f,g,h){var i=NaN;if(c>=0&&c<b.count()){i=b.item(c)}var j=NaN;if(d>=0&&d<b.count()){j=b.item(d)}if(f==0){return j}if(e==b.count()-1){return i}if(isNaN(j)&&g!=0&&a<=.5&&!h){return i}if(isNaN(i)&&g!=0&&a>=.5&&!h){return j}return i*(1-a)+j*a},e2:function(a,b,c,d,e){if(c==null){return-1}var f=c.isSorting();var g=this.d5();var h=null;if(f){h=c}var i=-1;var j=-1;var k=-1;if(f){i=d(a);j=Math.floor(i);
k=Math.ceil(i)}else{i=this.getExactItemIndex(a);j=Math.floor(i);k=Math.ceil(i)}if(e==null){return-1}if(j<0||j>e.count()-1){return-1}if(!b){return j}var l=NaN;if(f&&!g){if(j<h.sortedIndices().count()&&h.sortedIndices().__inner[j]<e.count()){l=e.item(h.sortedIndices().__inner[j])}}else{l=e.item(j)}while(isNaN(l)){j--;if(j<0||j>e.count()-1){return-1}if(f&&!g){l=e.item(h.sortedIndices().__inner[j])}else{l=e.item(j)}}return j},e3:function(a,b,c,d,e){var f=this.d5();var g=c.isSorting();var h=null;if(g){h=c}var i=-1;var j=-1;var k=-1;if(g){i=d(a);j=Math.floor(i);k=Math.ceil(i)}else{i=this.getExactItemIndex(a);j=Math.floor(i);k=Math.ceil(i)}if(e==null){return-1}if(k<0||k>e.count()-1){return-1}if(!b){return k}var l=NaN;if(g&&!f){if(k<h.sortedIndices().count()&&h.sortedIndices().__inner[k]<e.count()){l=e.item(h.sortedIndices().__inner[k])}}else{l=e.item(k)}while(isNaN(l)){k++;if(k<0||k>e.count()-1){return-1}if(g&&!f){l=e.item(h.sortedIndices().__inner[k])}else{l=e.item(k)}}return k},e4:function(a,b){var c=this.view().ae();var d=this.view().ad();if(c.isEmpty()||d.isEmpty()){return-1}var e=null;if(b.isSorting()){e=b}var f=new $.ig.ScalerParams(c,d,b.isInverted());if(this.seriesViewer()==null){return-1}f.c=this.seriesViewer().effectiveViewport();var g=0;if(b.isVertical()){var h=b.getUnscaledValue(d.top(),f);var i=b.getUnscaledValue(d.bottom(),f);var j=(a.__y-c.top())/c.height();g=h+(i-h)*j}else{var k=b.getUnscaledValue(d.left(),f);var l=b.getUnscaledValue(d.right(),f);var m=(a.__x-c.left())/c.width();g=k+(l-k)*m}if(b.isDateTime()){}var n=e.getExactUnsortedIndexClosestToUnscaledValue(g);return n},getPreviousOrExactIndex:function(a,b){return-1},getNextOrExactIndex:function(a,b){return-1},getSeriesValue:function(a,b,c){return NaN},getSeriesValuePosition:function(a,b,c){return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},e5:function(a,b,c,d,e,f,g,h,i){if(e==null||f==null||this.view()==null||this.view().ae().isEmpty()||this.view().ad().isEmpty()){return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}var j=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),e.isInverted());j.c=this.seriesViewer().effectiveViewport();var k;if(f.isVertical()){k=a.__y;k=this.view().ad().top()+this.view().ad().height()*(k-this.view().ae().top())/this.view().ae().height()}else{k=a.__x;k=this.view().ad().left()+this.view().ad().width()*(k-this.view().ae().left())/this.view().ae().width()}if(!b&&f!=null){var l;var m;if(h!=null){l=h(a,c)}else{l=this.getPreviousOrExactIndex(a,c)}if(i!=null){m=i(a,c)}else{m=this.getNextOrExactIndex(a,c)}var n=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),f.isInverted());n.c=this.seriesViewer().viewportRect();var o=this.ex(a,l,f,n,d);var p=this.ex(a,m,f,n,d);var q=m;var r=l;if(f.isSorting()){var s=f;if(q>=0&&q<s.sortedIndices().count()){q=s.getUnscaledValueAt(s.sortedIndices().__inner[q])}if(r>=0&&r<s.sortedIndices().count()){r=s.getUnscaledValueAt(s.sortedIndices().__inner[r])}}if(p+o!=0){var t=p/(o+p);if(Math.abs(t-.5)<$.ig.Series.prototype.bh){p=o}}if(p<=o){k=f.getScaledValue(q,n)+d}else{k=f.getScaledValue(r,n)+d}}else{if(f.isCategory()&&!f.isDateTime()&&f.categoryMode()!=$.ig.CategoryMode.prototype.mode0){var u=.5*f.getCategorySize(this.view().ae(),this.view().ad());if(this.isVertical()){u=u*-1}if(f.isInverted()){u=u*-1}k-=u;k+=d}}var v;if(g!=null){v=g(a,b,c)}else{v=this.getSeriesValue(a,b,c)}var w=e.getScaledValue(v,j);if(f.isVertical()){return{__x:w,__y:k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{return{__x:k,__y:w,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getSeriesHighValue:function(a,b,c){return this.getSeriesValue(a,b,c)},getSeriesHighValuePosition:function(a,b,c){return this.getSeriesValuePosition(a,b,c)},getSeriesLowValue:function(a,b,c){return this.getSeriesValue(a,b,c)},getSeriesLowValuePosition:function(a,b,c){return this.getSeriesValuePosition(a,b,c)},getSeriesValuePositionFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesValuePosition(d,b,c)},getSeriesValueFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesValue(d,b,c)},getSeriesHighValuePositionFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesHighValuePosition(d,b,c)},getSeriesHighValueFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesHighValue(d,b,c)},getSeriesLowValuePositionFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesLowValuePosition(d,b,c)},getSeriesLowValueFromSeriesPixel:function(a,b,c){var d=this.toWorldPosition(a);return this.getSeriesLowValue(d,b,c)},getItemIndexFromSeriesPixel:function(a){var b=this.toWorldPosition(a);return this.getItemIndex(b)},getExactItemIndexFromSeriesPixel:function(a){var b=this.toWorldPosition(a);return this.getExactItemIndex(b)},getItemFromSeriesPixel:function(a){var b=this.toWorldPosition(a);return this.getItem(b)},propertyChanged:null,propertyUpdated:null,e6:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},d6:function(){return false},toWorldPosition:function(a){var b=this.view().ad();var c=this.view().ae();var d={__x:c.left()+c.width()*(a.__x-b.left())/b.width(),__y:c.top()+c.height()*(a.__y-b.top())/b.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return d},e8:function(a,b){var c=this.view().bk(a);var d=c!=null?c.item():null;if(d==null){var e=this.view().ad();var f=this.view().ae();var g=this.toWorldPosition(b);d=this.getItem(g)}return d},scrollIntoView:function(a){return false},e9:function(a){return new $.ig.AxisRange(NaN,NaN)},renderSeries:function(a){if(this.seriesViewer()!=null){this.seriesViewer().fp().u($.ig.ChartContentType.prototype.series,this,this.d8(),a);if(this.renderRequested!=null){var b=new $.ig.RenderRequestedEventArgs;b.animate(a);this.renderRequested(this,b);a=b.animate()}}},renderRequested:null,fa:function(a){this.fb(a)},fb:function(a){},_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},fe:function(a,b){if(this.d7()==null){this.d7(this.et());this.d7().af(true);if(this.seriesViewer()!=null){this.seriesViewer().f3().m(this.d7())}this.d7().ak()}this.d7().ad(a)},getViewInfo:function(a,b){a=this.view().ad();b=this.view().ae();return{viewportRect:a,windowRect:b}},ff:function(a,b,c){if($.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,this)!==null||$.ig.util.cast($.ig.FragmentBase.prototype.$type,this)!==null){return true}return this.__visibility==$.ig.Visibility.prototype.visible},fg:function(a,b){if(a){this.d9(true)}},fh:function(){return this.fi(this.view())},fi:function(a){var b=a.ad();var c=a.ae();if(!this.ff(b,c,a)){this.fg(true,a);return true}return false},fj:function(a,b){this.view().ad(b);this.fl(a,b);if(this.seriesViewer()!=null){this.seriesViewer().fp().ag($.ig.ChartContentType.prototype.series,this,this.d8(),b)}},fk:function(a,b){},fl:function(a,b){},_d8:null,d8:function(a){if(arguments.length===1){this._d8=a;return a}else{return this._d8}},cp:null,d9:function(a){if(arguments.length===1){this.cp=a;return a}else{return this.cp}},fq:function(a){a.f5()},fr:function(){this.d9(true);if(this.seriesViewer()!=null){this.seriesViewer().ju()}},fs:function(){this.d9(true);if(this.seriesViewer()!=null){this.seriesViewer().jv()}},isIndexed:function(){return true},isUsableInLegend:function(){return true},ft:function(a,b,c,d){var $self=this;switch(b){case $.ig.Series.prototype.bi:if($.ig.util.cast($.ig.SyncLink.prototype.$type,c)!=null){$.ig.util.cast($.ig.SyncLink.prototype.$type,c).propertyUpdated=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.SyncLink.prototype.$type,c).propertyUpdated,this.ct);this.hb($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,c))}if($.ig.util.cast($.ig.SyncLink.prototype.$type,d)!=null){$.ig.util.cast($.ig.SyncLink.prototype.$type,d).propertyUpdated=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.SyncLink.prototype.$type,d).propertyUpdated,this.ct);this.hc($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,d))}if(this.index()==-1){this.index($.ig.XamDataChart.prototype.lx(this))}break;case $.ig.XamDataChart.prototype.lc:case $.ig.XamDataChart.prototype.lf:case $.ig.XamDataChart.prototype.ld:case $.ig.XamDataChart.prototype.le:this.f5();break;case $.ig.Series.prototype.bj:if($.ig.util.cast($.ig.SeriesViewer.prototype.$type,c)!=null){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).windowRectChanged=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).windowRectChanged,this.cu);$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).series().collectionChanged=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).series().collectionChanged,this.cs);$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).propertyUpdated=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).propertyUpdated,this.ct);$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c).fp().s($.ig.ChartContentType.prototype.series,this);this.view().b5(c)}if($.ig.util.cast($.ig.SeriesViewer.prototype.$type,d)!=null){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).windowRectChanged=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).windowRectChanged,this.cu);$.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).series().collectionChanged=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).series().collectionChanged,this.cs);$.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).propertyUpdated=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).propertyUpdated,this.ct);this.d8($.ig.util.cast($.ig.SeriesViewer.prototype.$type,d).fp().r($.ig.ChartContentType.prototype.series,this,this.fa.runOn(this)));this.view().b6(d);this._uniqueIndex=this.seriesViewer().j6()}if(this.index()==-1||d==null){this.index($.ig.XamDataChart.prototype.lx(this))}this.actualLegend(this.hd());this.g7($.ig.util.cast($.ig.XamDataChart.prototype.$type,c),$.ig.util.cast($.ig.XamDataChart.prototype.$type,d));break;case $.ig.Series.prototype.bz:if(this.view()!=null){this.view().cg()}break;case $.ig.Series.prototype.bp:case $.ig.Series.prototype.bq:case $.ig.Series.prototype.b1:case $.ig.Series.prototype.b3:this.view().ce();break;case $.ig.Series.prototype.b0:case $.ig.Series.prototype.b2:case $.ig.Series.prototype.b8:case $.ig.Series.prototype.b7:this.f5();this.renderSeries(false);break;case $.ig.Series.prototype.bs:if(c!=d){this.f5();this.renderSeries(false)}break;case"Visibility":this.view().ck();break;case $.ig.Series.prototype.bk:if(this.syncLink()!=null){this.hc(this.syncLink())}break;case $.ig.Series.prototype.bl:this.fr();if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event,this.cw)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d).event=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d).event,this.cw)}break;case $.ig.XamDataChart.prototype.be:if(d!=null){if(a==this){$.ig.util.cast($.ig.LegendBase.prototype.$type,d).bw(this)}else if($.ig.util.cast($.ig.XamDataChart.prototype.$type,a)!==null){$.ig.util.cast($.ig.LegendBase.prototype.$type,d).bx(a)}}this.actualLegend(this.hd());break;case $.ig.Series.prototype.bn:this.g9($.ig.util.cast($.ig.LegendBase.prototype.$type,c),$.ig.util.cast($.ig.LegendBase.prototype.$type,d));break;case $.ig.Series.prototype.bm:this.ha($.ig.util.cast($.ig.Control.prototype.$type,c),$.ig.util.cast($.ig.Control.prototype.$type,d));break;case $.ig.Series.prototype.bo:this.view().cf();break;case $.ig.Series.prototype.b9:this.view().ba(this.toolTip());break;case $.ig.XamDataChart.prototype.bd:if(this.seriesViewer()!=null){if(!this.ea()){this.seriesViewer().gt(this,this.getItem(this.seriesViewer().crosshairPoint()))}}break;case $.ig.Series.prototype.by:this.renderSeries(false);this.fs();break;case $.ig.Series.prototype.b6:this.view().ce();this.renderSeries(false);break;case $.ig.Series.prototype.bu:case $.ig.Series.prototype.bt:this.ec(true);this.d4().m(this.transitionDuration());break;case $.ig.Series.prototype.br:this.renderSeries(false);break;case $.ig.Series.prototype.bf:if(c!=d){this.renderSeries(false)}this.fs();this.view().ck();break}},_ea:null,ea:function(a){if(arguments.length===1){this._ea=a;return a}else{return this._ea}},fw:function(a){a.ea(true)},syncLink:function(a){if(arguments.length===1){if(this.syncLink()!=a){var b=this.syncLink();this.cq=a;this.e6($.ig.Series.prototype.bi,b,this.syncLink())}return a}else{return this.cq}},cq:null,seriesViewer:function(a){if(arguments.length===1){if(this.seriesViewer()!=a){var b=this.seriesViewer();this.cr=a;this.e6($.ig.Series.prototype.bj,b,this.cr)}return a}else{return this.cr}},cr:null,chart:function(a){if(arguments.length===1){this.seriesViewer(a);return a}else{return $.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer())}},cs:null,ct:null,cu:null,itemsSource:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.Series.prototype.itemsSourceProperty)}},eb:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.cv,a);return a}else{return this.b($.ig.Series.prototype.cv)}},cw:null,fz:function(a,b,c,d){},legend:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.legendProperty,a);return a}else{return this.b($.ig.Series.prototype.legendProperty)}},legendItem:function(a){if(arguments.length===1){if(this.legendItem()!=a){var b=this.legendItem();this.cx=a;this.e6($.ig.Series.prototype.bm,b,this.cx)}return a}else{return this.cx}},cx:null,f1:function(){return this.f2()},f2:function(){var $self=this;var a=$.ig.util.cast($.ig.ContentControl.prototype.$type,this.legendItem());var b=this.legendItemTemplate();if(b!=null){if(a==null){a=new $.ig.ContentControl}a.content(function(){var $ret=new $.ig.DataContext;$ret.series($self);$ret.item(null);return $ret}());a.bf(b)}else{a=null}return a},actualLegend:function(a){if(arguments.length===1){if(this.actualLegend()!=a){var b=this.cy;this.cy=a;this.e6($.ig.Series.prototype.bn,b,this.cy)}return a}else{return this.cy}},cy:null,legendItemVisibility:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.legendItemVisibilityProperty,a);return a}else{return this.b($.ig.Series.prototype.legendItemVisibilityProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.legendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.Series.prototype.legendItemBadgeTemplateProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.legendItemTemplateProperty,a);return a}else{return this.b($.ig.Series.prototype.legendItemTemplateProperty)}},discreteLegendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.discreteLegendItemTemplateProperty,a);return a}else{return this.b($.ig.Series.prototype.discreteLegendItemTemplateProperty)}},index:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.indexProperty,a);return a}else{return this.b($.ig.Series.prototype.indexProperty)}},f4:function(){this.f6()},f5:function(){this.f6()},f6:function(){this.fs();if(this.index()<0){return}if(this.brush()!=null){this.view().bg();this.view().bh()}else{this.actualBrush(this.seriesViewer()==null?null:this.seriesViewer().ge(this.index()))}if(this.outline()!=null){this.view().bi();this.view().bj()}else{this.actualOutline(this.seriesViewer()==null?null:this.seriesViewer().gf(this.index()))}},_ec:null,ec:function(a){if(arguments.length===1){this._ec=a;return a}else{return this._ec}},transitionDuration:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.transitionDurationProperty,a);return a}else{return this.b($.ig.Series.prototype.transitionDurationProperty)}},ed:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.cz,a);return a}else{return this.b($.ig.Series.prototype.cz)}},gb:function(){return this.d4().aj()},gc:function(){this.d4().af()},resolution:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.resolutionProperty,a);return a}else{return this.b($.ig.Series.prototype.resolutionProperty)}},title:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.titleProperty,a);return a}else{return this.b($.ig.Series.prototype.titleProperty)}},brush:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.brushProperty,a);return a}else{return this.b($.ig.Series.prototype.brushProperty)}},actualBrush:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.actualBrushProperty,a);return a}else{return this.b($.ig.Series.prototype.actualBrushProperty)}},outline:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.outlineProperty,a);return a}else{return this.b($.ig.Series.prototype.outlineProperty)}},actualOutline:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.actualOutlineProperty,a);return a}else{return this.b($.ig.Series.prototype.actualOutlineProperty)}},miterLimit:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.miterLimitProperty,a);return a}else{return this.b($.ig.Series.prototype.miterLimitProperty)}},thickness:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.thicknessProperty,a);return a}else{return this.b($.ig.Series.prototype.thicknessProperty)}},dashCap:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.dashCapProperty,a);return a}else{return this.b($.ig.Series.prototype.dashCapProperty)}},dashArray:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.dashArrayProperty,a);return a}else{return this.b($.ig.Series.prototype.dashArrayProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.toolTipProperty,a);return a}else{return this.b($.ig.Series.prototype.toolTipProperty)}},_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},gh:function(){this.view().cl()},gi:function(){},wMA:function(a,b){return $.ig.TrendCalculators.prototype.a(a,b)},eMA:function(a,b){return $.ig.TrendCalculators.prototype.b(a,b)},mMA:function(a,b){return $.ig.TrendCalculators.prototype.c(a,b)},cMA:function(a){return $.ig.TrendCalculators.prototype.d(a)},sMA:function(a,b){return $.ig.TrendCalculators.prototype.e(a,b)},movingSum:function(a,b){return $.ig.TrendCalculators.prototype.f(a,b)},sTDEV:function(a,b){return $.ig.TrendCalculators.prototype.g(a,b)},toEnumerableRange:function(a,b,c){var $self=this;var $iter=function(){return function(a,b,c){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=b;this.$state=5;break;case 2:this.$current=a(this.$d);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$d++;this.$state=5;break;case 5:if(this.$d<c){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b,c)};return new $.ig.GenericEnumerable$1(Number,$iter)},toEnumerable:function(a,b){return $.ig.Series.prototype.toEnumerableRange(a,0,b)},startCap:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.startCapProperty,a);return a}else{return this.b($.ig.Series.prototype.startCapProperty)}},endCap:function(a){if(arguments.length===1){this.c($.ig.Series.prototype.endCapProperty,a);return a}else{return this.b($.ig.Series.prototype.endCapProperty)}},c0:null,gj:function(){return this.c0},gk:function(a){this.hi(a)},gl:function(){return this.transitionDuration()},_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},_eg:null,eg:function(a){if(arguments.length===1){this._eg=a;return a}else{return this._eg}},_eh:null,eh:function(a){if(arguments.length===1){this._eh=a;return a}else{return this._eh}},c1:null,ei:function(a){if(arguments.length===1){this.c1=a;return a}else{return this.c1}},ej:function(){return this.ei()},c2:null,ek:function(a){if(arguments.length===1){this.c2=a;return a}else{return this.c2}},c3:null,el:function(a){if(arguments.length===1){this.c3=a;return a}else{return this.c3}},gz:function(a,b,c){this.view().a7();this.eg(true);var d=this.e8(b,a);this.ef(d);if(this.seriesViewer()!=null&&!this.d8().j()){this.view().bt(a,d,c)}this.c2=false;if(this.ej()&&d==null){this.c2=true}if(this.seriesViewer()!=null&&!this.c2){if(this.ej()){this.c3=true}this.seriesViewer().gm(this,d,c)}},g0:function(a,b,c){this.eg(true);var d=this.e8(b,a);this.view().bt(a,d,c);if(d!=null){this.ef(d)}if(this.seriesViewer()!=null&&d!=null&&this.c2){this.c2=false;this.c3=true;this.seriesViewer().gm(this,d,c)}if(this.seriesViewer()!=null&&(!this.ej()||d!=null)&&!this.c2){this.seriesViewer().gn(this,d,c)}if(d==null&&!this.c2&&this.ej()){this.seriesViewer().go(this,this.ef(),c);this.c3=false;this.c2=true}},g1:function(a,b,c){this.view().a8();this.eg(false);var d=this.ef();this.view().a9();if(this.seriesViewer()!=null&&(this.c3||!this.ej())){this.c3=false;this.c2=false;this.seriesViewer().go(this,d,c)}},g2:function(a,b,c){this.eh(true);if(this.seriesViewer()!=null){this.seriesViewer().gp(this,this.e8(b,a),c)}},g3:function(a,b,c){this.eh(false);if(this.seriesViewer()!=null&&this.eg()){this.seriesViewer().gq(this,this.e8(b,a),c)}},g4:function(a,b,c){if(this.eh()){this.g3(a,b,c)}if(this.eg()){this.g1(a,b,c)}},g5:function(a,b,c){if(this.seriesViewer()!=null){this.seriesViewer().gr(this,this.e8(b,a),c)}},g6:function(a,b,c){if(this.seriesViewer()!=null){this.seriesViewer().gs(this,this.e8(b,a),c)}},g7:function(a,b){if(this.actualLegend()!=null&&this.legendItem()!=null){if(b==null&&this.actualLegend().children().contains(this.legendItem())){this.actualLegend().children().remove(this.legendItem())}if(b!=null&&!this.actualLegend().children().contains(this.legendItem())&&this.legendItemVisibility()!=$.ig.Visibility.prototype.collapsed){this.actualLegend().b3(this.legendItem(),this)}}},g8:function(){if(this.actualLegend()==null||this.legendItem()==null){return}this.actualLegend().children().remove(this.legendItem())},g9:function(a,b){if(this.legendItem()!=null){if(a!=null&&a.children().contains(this.legendItem())){a.children().remove(this.legendItem())}if(this.seriesViewer()!=null&&b!=null&&!b.children().contains(this.legendItem())&&this.legendItemVisibility()!=$.ig.Visibility.prototype.collapsed){b.b3(this.legendItem(),this)}}},ha:function(a,b){if(this.actualLegend()!=null&&a!=null&&this.actualLegend().children().contains(a)){this.actualLegend().children().remove(a)}if(this.seriesViewer()!=null&&this.actualLegend()!=null&&b!=null&&this.legendItemVisibility()!=$.ig.Visibility.prototype.collapsed){this.actualLegend().b3(b,this)}},hb:function(a){this.eb(a.releaseFastItemsSource(this.itemsSource()))},hc:function(a){this.eb(a.getFastItemsSource(this.itemsSource()))},hd:function(){if(this.legend()!=null){return this.legend()}if(this.seriesViewer()!=null&&this.seriesViewer().legend()!=null){return this.seriesViewer().legend()}return null},he:function(a){return a&&this.gl()>0||this.gb()},hf:function(a){if(a!=null){a.deregisterSeries(this)}},hg:function(a){if(a!=null){a.registerSeries(this)}},hh:function(){return this.view().bb()},hi:function(a){this.view().bc(a)},hj:function(a,b){this.view().bu(a,b)},provideContext:function(a,b){this.view().bz(a,b)},provideViewport:function(a){this.fj(this.em(),a)},handleCollectionChanged:function(a){if(this.eb()!=null){this.eb().ae(a)}},notifySetItem:function(a,b,c){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,c,b,a))},notifyClearItems:function(){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))},notifyInsertItem:function(a,b){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a))},notifyRemoveItem:function(a,b){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a))},styleUpdated:function(){this.renderSeries(false)},__coercionMethods:null,coercionMethods:function(a){if(arguments.length===1){this.__coercionMethods=a;return a}else{return this.__coercionMethods}},getHitDataContext:function(a){return null},hk:function(a){if(a==null){return this.eb().ab(null,null)}var b=null;var c=$.ig.SeriesViewer.prototype.getCoercionMethod(a,this.coercionMethods());a=c.c();b=c.d();return this.eb().ab(a,b)},hl:function(a){if(a==null){return this.eb().aa(null,null)}var b=null;var c=$.ig.SeriesViewer.prototype.getCoercionMethod(a,this.coercionMethods());a=c.c();b=c.d();return this.eb().aa(a,b)},hm:function(a){if(a==null){return this.eb().z(null,null)}var b=null;var c=$.ig.SeriesViewer.prototype.getCoercionMethod(a,this.coercionMethods());a=c.c();b=c.d();return this.eb().z(a,b)},em:function(){return this.view()!=null?this.view().ad():$.ig.Rect.prototype.empty()},exportVisualData:function(){var a=new $.ig.SeriesVisualData;a.viewport(this.em());a.type(this.getType().typeName());a.name(this.name());this.ho(a);this.view().ca(a);return a},ho:function(a){},$type:new $.ig.Type("Series",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type,$.ig.IProvidesViewport.prototype.$type])},true);$.ig.util.defType("AnnotationLayer","Series",{init:function(){this.im={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.io={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};$.ig.Series.prototype.init.call(this);this.iz({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},et:function(){return new $.ig.AnnotationLayerView(this)},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.iy(a)},i3:function(a){if(a==null){return false}if(a.isAnnotationLayer()){return false}if(a==this){return false}return a.ff(a.view().ad(),a.view().ae(),a.view())},_iy:null,iy:function(a){if(arguments.length===1){this._iy=a;return a}else{return this._iy}},useIndex:function(a){if(arguments.length===1){this.c($.ig.AnnotationLayer.prototype.useIndexProperty,a);return a}else{return this.b($.ig.AnnotationLayer.prototype.useIndexProperty)}},useLegend:function(a){if(arguments.length===1){this.c($.ig.AnnotationLayer.prototype.useLegendProperty,a);return a}else{return this.b($.ig.AnnotationLayer.prototype.useLegendProperty)}},cursorPosition:function(a){if(arguments.length===1){this.c($.ig.AnnotationLayer.prototype.cursorPositionProperty,a);return a}else{return this.b($.ig.AnnotationLayer.prototype.cursorPositionProperty)}},isDefaultCrosshairDisabled:function(a){if(arguments.length===1){this.c($.ig.AnnotationLayer.prototype.isDefaultCrosshairDisabledProperty,a);return a}else{return this.b($.ig.AnnotationLayer.prototype.isDefaultCrosshairDisabledProperty)}},isDefaultCrosshairBehaviorDisabled:function(){return this.isDefaultCrosshairDisabled()},isIndexed:function(){return this.useIndex()||this.useLegend()},isUsableInLegend:function(){return this.useLegend()},ft:function(a,b,c,d){$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.AnnotationLayer.prototype.bj:var e=c;var f=d;if(e!=null){this.i8(e.series());e.series().collectionChanged=$.ig.Delegate.prototype.remove(e.series().collectionChanged,this.jg.runOn(this));if($.ig.util.cast($.ig.XamDataChart.prototype.$type,e)!==null){var g=e;this.i9(g.axes());g.axes().collectionChanged=$.ig.Delegate.prototype.remove(g.axes().collectionChanged,this.jh.runOn(this))}}if(f!=null){this.ja(f.series());f.series().collectionChanged=$.ig.Delegate.prototype.combine(f.series().collectionChanged,this.jg.runOn(this));if($.ig.util.cast($.ig.XamDataChart.prototype.$type,f)!==null){var h=f;this.jb(h.axes());h.axes().collectionChanged=$.ig.Delegate.prototype.combine(h.axes().collectionChanged,this.jh.runOn(this))}}break;case $.ig.AnnotationLayer.prototype.ij:case $.ig.AnnotationLayer.prototype.ii:if(this.isIndexed()){if(this.index()==-1){this.index($.ig.XamDataChart.prototype.lx(this))}}else{this.index(-1);this.actualBrush(null);this.actualOutline(null)}if(this.seriesViewer()!=null){this.seriesViewer().gk()}this.renderSeries(true);break;case $.ig.Series.prototype.bv:this.i2().a(this.ed(),this.i0(),this.i1());if(this.fi(this.view())){return}if(this.ed()==1){this.jt(this.i1(),this.view())}else{this.jt(this.i2(),this.view())}break;case $.ig.AnnotationLayer.prototype.il:if(this.seriesViewer()!=null){this.seriesViewer().j5()}break;case $.ig.AnnotationLayer.prototype.ik:this.iz(this.cursorPosition());this.jv(this.cursorPosition());break}},_iz:null,iz:function(a){if(arguments.length===1){this._iz=a;return a}else{return this._iz}},i8:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();if(!(b==this)){b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.jd.runOn(this))}}this.renderSeries(true)},i9:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.jc.runOn(this))}this.renderSeries(true)},ja:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();if(!(b==this)){b.renderRequested=$.ig.Delegate.prototype.combine(b.renderRequested,this.jd.runOn(this))}}this.renderSeries(true)},jb:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.combine(b.renderRequested,this.jc.runOn(this))}this.renderSeries(true)},jc:function(a,b){this.je(a,b.animate())},jd:function(a,b){this.jf(a,b.animate())},je:function(a,b){},jf:function(a,b){},jg:function(a,b){this.jl(b)},jh:function(a,b){this.jk(b)},ji:function(){if(this.actualBrush()!=null){return this.actualBrush()}return this.brush()},jj:function(){if(this.actualOutline()!=null){return this.actualOutline()}return this.outline()},jk:function(a){if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.jc.runOn(this))}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.renderRequested=$.ig.Delegate.prototype.combine(d.renderRequested,this.jc.runOn(this))}}this.renderSeries(true)},jl:function(a){if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.renderRequested=$.ig.Delegate.prototype.remove(b.renderRequested,this.jd.runOn(this))}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.renderRequested=$.ig.Delegate.prototype.combine(d.renderRequested,this.jd.runOn(this))}}this.renderSeries(true)},_i0:null,i0:function(a){if(arguments.length===1){this._i0=a;
return a}else{return this._i0}},_i1:null,i1:function(a){if(arguments.length===1){this._i1=a;return a}else{return this._i1}},_i2:null,i2:function(a){if(arguments.length===1){this._i2=a;return a}else{return this._i2}},fk:function(a,b){this.renderSeries(false)},fl:function(a,b){this.renderSeries(false)},fb:function(a){$.ig.Series.prototype.fb.call(this,a);if(this.fi(this.view())){return}if(this.he(a)){var b=this.i0();if(this.gb()){if(this.d4().k()){this.d4().s()}this.i0(this.i2());this.i2(b)}else{this.i0(this.i1());this.i1(b)}this.js(this.i1(),this.view());this.gc()}else{this.js(this.i1(),this.view());this.jt(this.i1(),this.view())}},isAnnotationLayer:function(){return true},js:function(a,b){},jt:function(a,b){},im:null,moveCursorPoint:function(a){if(!this.im.equals(a)){this.im=a;this.jv(a)}},ju:function(a){var b={__x:this.io.__x,__y:this.io.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(a.isVertical()){if(isNaN(this.io.__y)){return new $.ig.Tuple$2($.ig.Boolean.prototype.$type,$.ig.Point.prototype.$type,false,b)}if(isNaN(this.io.__x)){b.__x=0;return new $.ig.Tuple$2($.ig.Boolean.prototype.$type,$.ig.Point.prototype.$type,true,b)}}else{if(isNaN(this.io.__x)){return new $.ig.Tuple$2($.ig.Boolean.prototype.$type,$.ig.Point.prototype.$type,false,b)}if(isNaN(this.io.__y)){b.__y=0;return new $.ig.Tuple$2($.ig.Boolean.prototype.$type,$.ig.Point.prototype.$type,true,b)}}return new $.ig.Tuple$2($.ig.Boolean.prototype.$type,$.ig.Point.prototype.$type,true,b)},jv:function(a){if(isNaN(this.iz().__x)&&isNaN(this.iz().__y)){if(isNaN(a.__x)&&isNaN(a.__y)){this.iy().cv();return}else{this.iy().cw();this.io=a}}else{this.io=this.iz()}this.renderSeries(true)},io:null,ff:function(a,b,c){var d=$.ig.Series.prototype.ff.call(this,a,b,c);if(!this.view().bd()){return d=false}return d},$type:new $.ig.Type("AnnotationLayer",$.ig.Series.prototype.$type)},true);$.ig.util.defType("SeriesView","Object",{_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},init:function(a){this.d=$.ig.Rect.prototype.empty();this.e=new $.ig.Brush;this.__toolTipObject=null;this.f=null;this.g=new $.ig.SeriesComponentsFromView;this.h=true;this.i=false;this.k=false;this.l=false;$.ig.Object.prototype.init.call(this);this.ag(true);this.w(a);this.af(false);this.c=new $.ig.Rectangle},ak:function(){var $self=this;if(!this.af()){this.w().legendItemTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($self.an());$ret.measure($self.ao());return $ret}());this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($self.ap());$ret.measure($self.aq());return $ret}());this.w().discreteLegendItemTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($self.al());$ret.measure($self.am());return $ret}());this.aa(new $.ig.DataContext);this.aa().series(this.w())}},al:function(){return $.ig.LegendTemplates.prototype.b},am:function(){return $.ig.LegendTemplates.prototype.l},an:function(){return $.ig.LegendTemplates.prototype.a},ao:function(){return $.ig.LegendTemplates.prototype.k},ap:function(){return $.ig.LegendTemplates.prototype.h},aq:function(){return $.ig.LegendTemplates.prototype.m},_isDirty:null,isDirty:function(a){if(arguments.length===1){this._isDirty=a;return a}else{return this._isDirty}},index:function(){var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.w().chart());var c=0;if(b!=null){if(b.gridMode()==$.ig.GridMode.prototype.behindSeries||b.gridMode()==$.ig.GridMode.prototype.none){c=b.axes().count()}}return c+this.w().seriesViewer().series().indexOf(this.w())},ar:function(){if(this.w().seriesViewer()==null){return}if(!this.isDirty()){this.isDirty(true);if(this.k){this.w().seriesViewer().f3().q(this.ab(),this.ac())}else{this.w().seriesViewer().canvasRenderScheduler().q(this.ab(),this.ac())}}},undirty:function(a){this.isDirty(false);this.as(a)},c:null,as:function(a){if(this.ab()==null){return}if(this.d.isEmpty()){this.d=this.ad()}var b=this.d;var c=this.w().seriesViewer().getContainerRect();if(this.ab().b()){if(!b.isEmpty()&&a){this.ab().u(c.left(),c.top(),c.width(),c.height())}if(a){if(this.w().seriesViewer().plotAreaBackground()!=null){this.c.v(this.ad().top());this.c.w(this.ad().left());this.c.width(this.ad().width());this.c.height(this.ad().height());this.c.__fill=this.w().seriesViewer().plotAreaBackground();if(this.l){this.ab().e($.ig.GradientDirection.prototype.bottomTop,this.ad())}this.ab().f(this.c)}}}if(this.ac()!=null&&this.ag()){if(this.ac().b()){if(!b.isEmpty()&&a){this.ac().u(b.left(),b.top(),b.width(),b.height())}this.az(true);this.a4(this.ac(),true);this.a5(this.ac(),true)}}if(this.ab().b()&&this.ag()){this.ab().p();this.ab().r(this.ad());this.az(false);this.ab().aa(this.w().__opacity);this.a4(this.ab(),false);this.a5(this.ab(),false);this.ab().aa(1);this.ab().q()}},d:null,at:function(a,b,c){if(c){this.ax(a,b)}else{this.av(a,b)}},au:function(a,b,c){if(c){this.ay(a,b)}else{this.aw(a,b)}},av:function(a,b){},aw:function(a,b){},ax:function(a,b){},ay:function(a,b){},az:function(a){if(a){this.a1()}else{this.a0()}},a0:function(){},a1:function(){},e:null,a2:function(a){return this.a3()},a3:function(){var a=this.w()._uniqueIndex;var num_=(a+1)*$.ig.SeriesView.prototype.a;var b=(num_&63)<<2;num_=num_>>6;var c=(num_&63)<<2;num_=num_>>6;var d=(num_&63)<<2;this.e.__fill="rgb("+b+","+c+","+d+")";return this.e},a4:function(a,b){this.d=this.ad()},a5:function(a,b){},a6:function(){},a7:function(){},a8:function(){},a9:function(){if(this.__toolTipObject!=null&&this.z()){this.z(false);var context_=this.aa();if(this.__toolTipObject.hideToolTip){this.__toolTipObject.hideToolTip(context_)}}},__toolTipObject:null,f:null,ba:function(a){var b=this.__toolTipObject;this.f=null;this.__toolTipObject=null;if($.ig.util.cast(String,a)!==null||typeof a==="string"){this.f=a}else{this.__toolTipObject=a;if(this.__toolTipObject!=null){this.__toolTipObject.css("position","absolute");this.__toolTipObject.css("top","0");this.__toolTipObject.css("left","0");this.__toolTipObject.css("z-index","10000")}else{if(!this.h&&b!=null){this.w().seriesViewer().ji(b);this.h=true}}}},g:null,bb:function(){return this.g},bc:function(a){},bd:function(){return true},be:function(){},bf:function(){},bg:function(){this.w().actualBrush(null)},bh:function(){this.w().actualBrush(this.w().brush())},bi:function(){this.w().actualOutline(null)},bj:function(){this.w().actualOutline(this.w().outline())},bk:function(a){if($.ig.util.cast($.ig.DataContext.prototype.$type,a)!==null){return a}return null},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},h:null,i:null,bt:function(a,b,c){var d=false;if(this.w().seriesViewer()!=null){d=this.w().seriesViewer().f5()}if(d){return}if(this.w().seriesViewer()==null||this.w().seriesViewer().dragCrosshairActivated()){return}this.z(true);this.x(a);this.y(b);this.aa().item(b);var e=this.w().seriesViewer().getContainerOffsets();var pos_={__x:a.__x+15+e.c(),__y:a.__y+15+e.d(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var context_=this.aa();if(this.__toolTipObject!=null){if(this.i){this.i=false;this.__toolTipObject.remove();this.__toolTipObject.css("position","absolute");this.__toolTipObject.addClass(this.w().seriesViewer().tooltipStyle());this.w().seriesViewer().addTooltipToView(this.__toolTipObject);this.__toolTipObject.hide()}if(this.h){this.w().seriesViewer().addTooltipToView(this.__toolTipObject);this.h=false}context_.hideOthers=true;if(this.__toolTipObject.updateToolTip){this.__toolTipObject.updateToolTip(context_)}if(this.__toolTipObject.offset){this.__toolTipObject.offset({left:pos_.__x,top:pos_.__y})}}},bu:function(a,b){this.z(true);var c={__x:a.__x+this.ad().left(),__y:a.__y+this.ad().top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var d=this.w().e8(null,c);if(this.aa()!=null){this.aa().series(this.w());this.aa().item(d)}var tooltip_=this.__toolTipObject;var context_=this.aa();if(context_!=null){context_.hideOthers=false}if(!this.i&&tooltip_!=null){this.i=true;tooltip_.remove();tooltip_.css("position","relative");tooltip_.css("top","");tooltip_.css("left","");tooltip_.removeClass(this.w().seriesViewer().tooltipStyle())}if(this.__toolTipObject!=null){if(tooltip_.updateToolTip){tooltip_.updateToolTip(context_)}}if(tooltip_!=null){b(tooltip_)}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},bz:function(a,b){this.ab(a);this.ac(b)},j:null,ad:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},ae:function(){if(this.af()){return $.ig.XamDataChart.prototype.dm}else{return this.w().seriesViewer()!=null?this.w().seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty()}},k:null,af:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},b5:function(a){if(a!=null){a.canvasRenderScheduler().n(this);if(this.w().d7()!=null){a.f3().n(this.w().d7())}}},b6:function(a){if(a!=null){a.canvasRenderScheduler().m(this);if(this.w().d7()!=null){a.f3().m(this.w().d7());this.w().d7().ar()}this.ar()}},postRender:function(){this.b7()},b7:function(){},b8:function(a){return null},b9:function(a){this.w().d7().ab(a.b())},ca:function(a){},cb:function(a,b,c,d,e){},cc:function(a){},cd:function(a){return $.ig.Rect.prototype.empty()},ce:function(){if(this.ah()){return}if(this.w().seriesViewer()!=null){var a=this.w().legend()!=null?this.w().legend():this.w().seriesViewer().legend();if(a!=null&&this.w().legendItem()!=null&&a.children().contains(this.w().legendItem())){a.children().remove(this.w().legendItem());var b=this.w().f1();b.content().actualItemBrush(this.w().actualBrush());b.content().outline(this.w().outline());b.content().thickness(this.w().thickness());a.b3(this.w().legendItem(),this.w())}}},cf:function(){this.w().g9(this.w().actualLegend(),this.w().actualLegend())},cg:function(){this.w().g9(this.w().actualLegend(),this.w().actualLegend())},getViewInfo:function(a,b){a=this.ad();b=this.ae();return{viewportRect:a,windowRect:b}},ch:function(){return this.ab()!=null},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},ck:function(){this.ag(this.w().__visibility==$.ig.Visibility.prototype.visible);this.ar()},l:null,cl:function(){},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},$type:new $.ig.Type("SeriesView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type,$.ig.IProvidesViewport.prototype.$type])},true);$.ig.util.defType("AnnotationLayerView","SeriesView",{init:function(a){this.co=false;this.cp=-1;$.ig.SeriesView.prototype.init.call(this,a);this.cr(a)},_cr:null,cr:function(a){if(arguments.length===1){this._cr=a;return a}else{return this._cr}},co:null,cp:null,cu:function(){if(this.co){this.co=false;this.cp=-1;this.cr().io={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.cr().renderSeries(true)}},cv:function(){this.co=true;this.cp=window.setTimeout(this.cu.runOn(this),300)},cw:function(){if(this.co==true){this.co=false;if(this.cp!=-1){window.clearTimeout(this.cp);this.cp=-1}}},$type:new $.ig.Type("AnnotationLayerView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("CrosshairLayer","AnnotationLayer",{init:function(){$.ig.AnnotationLayer.prototype.init.call(this);var a=new $.ig.CrosshairLayerFrame;var b=new $.ig.CrosshairLayerFrame;var c=new $.ig.CrosshairLayerFrame;var d=this.transitionDuration()/1e3;this.i0(a);this.i1(b);this.i2(c);this.a3($.ig.CrosshairLayer.prototype.$type)},et:function(){return new $.ig.CrosshairLayerView(this)},eq:function(a){$.ig.AnnotationLayer.prototype.eq.call(this,a);this.kb(a)},_kb:null,kb:function(a){if(arguments.length===1){this._kb=a;return a}else{return this._kb}},targetSeries:function(a){if(arguments.length===1){this.c($.ig.CrosshairLayer.prototype.targetSeriesProperty,a);return a}else{return this.b($.ig.CrosshairLayer.prototype.targetSeriesProperty)}},useInterpolation:function(a){if(arguments.length===1){this.c($.ig.CrosshairLayer.prototype.useInterpolationProperty,a);return a}else{return this.b($.ig.CrosshairLayer.prototype.useInterpolationProperty)}},verticalLineVisiblity:function(a){if(arguments.length===1){this.c($.ig.CrosshairLayer.prototype.verticalLineVisiblityProperty,a);return a}else{return this.b($.ig.CrosshairLayer.prototype.verticalLineVisiblityProperty)}},horizontalLineVisiblity:function(a){if(arguments.length===1){this.c($.ig.CrosshairLayer.prototype.horizontalLineVisiblityProperty,a);return a}else{return this.b($.ig.CrosshairLayer.prototype.horizontalLineVisiblityProperty)}},skipUnknownValues:function(a){if(arguments.length===1){this.c($.ig.CrosshairLayer.prototype.skipUnknownValuesProperty,a);return a}else{return this.b($.ig.CrosshairLayer.prototype.skipUnknownValuesProperty)}},jf:function(a,b){if(this.targetSeries()==null||this.targetSeries()==a){if(!this.d8().j()){this.renderSeries(b)}}},js:function(a,b){$.ig.AnnotationLayer.prototype.js.call(this,a,b);var c=a;var d=this.useInterpolation();var e=this.skipUnknownValues();c.i().clear();c.j().clear();c.k().clear();if(this.i3(this.targetSeries())){this.ke(this.targetSeries(),c,d,e)}else{var g=this.seriesViewer().series().getEnumerator();while(g.moveNext()){var f=g.current();if(this.i3(f)){this.ke(f,c,d,e)}}}},i3:function(a){if(!$.ig.AnnotationLayer.prototype.i3.call(this,a)){return false}var b=this.ju(a);if(!b.c()){return false}return true},ke:function(a,b,c,d){var e=this.ju(a);if(!e.c()){return}var f=e.d();f=a.getSeriesValuePosition(f,c,d);var g=this.actualBrush();if(g==null){g=this.brush()}if(g==null){g=a.actualBrush();if(g!=null){g=this.kb().de(g)}}b.k().add(g);b.i().add(f.__y);b.j().add(f.__x)},jt:function(a,b){$.ig.AnnotationLayer.prototype.jt.call(this,a,b);var c=this.kb().c1();var d=a;var e=d.i().count();var f=0;var g=b.ad().left();var h=b.ad().right();var i=b.ad().top();var j=b.ad().bottom();var k=this.verticalLineVisiblity()==$.ig.Visibility.prototype.visible;var l=this.horizontalLineVisiblity()==$.ig.Visibility.prototype.visible;for(var m=0;m<e;m++){var n=c.item(f);f++;n.__stroke=d.k().__inner[m];n.a5(this.thickness());n.__fill=d.k().__inner[m];n.a6(this.dashArray());n.a7(this.dashCap());var o=Math.floor(d.i().__inner[m]);var p=Math.floor(d.j().__inner[m]);var q=new $.ig.PathGeometry;if(k){var r=new $.ig.PathFigure;r.__startPoint={__x:p,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var s=new $.ig.LineSegment(1);s.d({__x:p,__y:j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});r.__segments.add(s);q.d().add(r)}if(l){var t=new $.ig.PathFigure;t.__startPoint={__x:g,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var u=new $.ig.LineSegment(1);u.d({__x:h,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});t.__segments.add(u);q.d().add(t)}n.bn(q)}c.g(f)},ft:function(a,b,c,d){$.ig.AnnotationLayer.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.CrosshairLayer.prototype.j3:this.renderSeries(true);break;case $.ig.CrosshairLayer.prototype.j2:this.renderSeries(true);break;case $.ig.CrosshairLayer.prototype.j0:this.renderSeries(true);break;case $.ig.CrosshairLayer.prototype.j1:this.renderSeries(true);break}},$type:new $.ig.Type("CrosshairLayer",$.ig.AnnotationLayer.prototype.$type)},true);$.ig.util.defType("Frame","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c){},b:function(a,b,c,d){var e=c.count();var f=d.count();var g=Math.max(e,f);var h=1-b;if(a.count()<g){a.p(a.count(),new Array(g-a.count()))}if(a.count()>g){a.q(g,a.count()-g)}for(var i=0;i<Math.min(e,f);++i){a.__inner[i]={__x:c.__inner[i].__x*h+d.__inner[i].__x*b,__y:c.__inner[i].__y*h+d.__inner[i].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(e<f){var j=e>0?c.__inner[e-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var k=e;k<f;++k){a.__inner[k]={__x:j.__x*h+d.__inner[k].__x*b,__y:j.__y*h+d.__inner[k].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}if(e>f){var l=f>0?d.__inner[f-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var m=f;m<e;++m){a.__inner[m]={__x:c.__inner[m].__x*h+l.__x*b,__y:c.__inner[m].__y*h+l.__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}},c:function(a,b,c,d){var e=c.count();var f=d.count();var g=Math.max(e,f);var h=1-b;if(a.count()<g){var i=new Array(g-a.count());for(var j=0;j<g-a.count();j++){i[j]=0}a.p(a.count(),i)}if(a.count()>g){a.q(g,a.count()-g)}for(var k=0;k<Math.min(e,f);++k){a.__inner[k]=c.__inner[k]*h+d.__inner[k]*b}if(e<f){var l=e>0?c.__inner[e-1]:0;for(var m=e;m<f;++m){a.__inner[m]=l*h+d.__inner[m]*b}}if(e>f){var n=f>0?d.__inner[f-1]:0;for(var o=f;o<e;++o){a.__inner[o]=c.__inner[o]*h+n*b}}},d:function(a,b,c,d){var e=b.color();var f=c.color();var g=e.getInterpolation(a,f,d);var h=new $.ig.Brush;h.color(g);return h},e:function(a,b,c,d,e){var $self=this;var f=c.count();var g=d.count();var h=Math.max(f,g);var i=function(){var $ret=new $.ig.Brush;$ret.__fill="transparent";return $ret}();var j=1-b;if(a.count()<h){var k=new Array(h-a.count());for(var l=0;l<h-a.count();l++){k[l]=new $.ig.Brush}a.p(a.count(),k)}if(a.count()>h){a.q(h,a.count()-h)}for(var m=0;m<Math.min(f,g);++m){a.__inner[m]=$.ig.Frame.prototype.d(b,c.__inner[m],d.__inner[m],e)}if(f<g){var n=f>0?c.__inner[f-1]:i;for(var o=f;o<g;++o){a.__inner[o]=$.ig.Frame.prototype.d(b,n,d.__inner[o],e)}}if(f>g){var p=g>0?d.__inner[g-1]:i;for(var q=g;q<f;++q){a.__inner[q]=$.ig.Frame.prototype.d(b,c.__inner[q],p,e)}}},$type:new $.ig.Type("Frame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CrosshairLayerFrame","Frame",{_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},init:function(){$.ig.Frame.prototype.init.call(this);this.i(new $.ig.List$1(Number,0));this.j(new $.ig.List$1(Number,0));this.k(new $.ig.List$1($.ig.Brush.prototype.$type,0))},a:function(a,b,c){var d=b;var e=c;$.ig.CrosshairLayerFrame.prototype.c(this.i(),a,d.i(),e.i());$.ig.CrosshairLayerFrame.prototype.c(this.j(),a,d.j(),e.j());$.ig.CrosshairLayerFrame.prototype.e(this.k(),a,d.k(),e.k(),$.ig.InterpolationMode.prototype.rGB)},$type:new $.ig.Type("CrosshairLayerFrame",$.ig.Frame.prototype.$type)},true);$.ig.util.defType("CrosshairLayerView","AnnotationLayerView",{init:function(a){$.ig.AnnotationLayerView.prototype.init.call(this,a);this.c0(a)},_c0:null,c0:function(a){if(arguments.length===1){this._c0=a;return a}else{return this._c0}},_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},ak:function(){var $self=this;$.ig.SeriesView.prototype.ak.call(this);this.c1(function(){var $ret=new $.ig.Pool$1($.ig.Path.prototype.$type);$ret.create($self.c9.runOn($self));$ret.activate($self.da.runOn($self));$ret.disactivate($self.db.runOn($self));$ret.destroy($self.dc.runOn($self));return $ret}())},c9:function(){var a=new $.ig.Path;a.f(new $.ig.TranslateTransform);this.c2().add(a);return a},da:function(a){a.__visibility=$.ig.Visibility.prototype.visible},db:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},dc:function(a){this.c2().remove(a)},dd:function(a,b,c,d){var $self=this;if(a.bn()==null||a.bn().f().__x!=d||a.bn().e().__x!=c){var e=function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:c,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:d,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();a.bn(e)}},de:function(a){var $self=this;var b=a.color().getLightened(.1);return function(){var $ret=new $.ig.Brush;$ret.color(b);return $ret}()},$type:new $.ig.Type("CrosshairLayerView",$.ig.AnnotationLayerView.prototype.$type)},true);$.ig.util.defType("AxisLabelPanelBaseView","Object",{_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},init:function(a){this.b=$.ig.Rect.prototype.empty();this.d=0;$.ig.Object.prototype.init.call(this);this.g(a)},k:function(a,b){var c=$.ig.util.cast($.ig.TextBlock.prototype.$type,a);if(c!=null){c.__visibility=$.ig.Visibility.prototype.visible;if(b.width()==0&&b.height()==0){c.__visibility=$.ig.Visibility.prototype.collapsed}c.w(b.left()+this.l());c.v(b.top()+this.m());c.width(b.width());c.height(b.height())}if(c.f()!=null){var d=c.f();d.i(d.i()+c.w());d.j(d.j()+c.v())}},l:function(){return this.g().bu().left()},m:function(){return 0},n:function(a){var b=a;b.f(null)},o:function(a){},p:function(a,b){var $self=this;var c=$.ig.util.cast($.ig.FrameworkElement.prototype.$type,a);var d=0,e=0;var f=function(){var $ret=new $.ig.RotateTransform;$ret.h(b);$ret.i(d);$ret.j(e);return $ret}();c.f(f)},q:function(a,b){var c=a.a3().length;var d=a.a3();while(this.h().z(d)+$.ig.AxisLabelPanelBaseView.prototype.a>b&&c>0){c--;d=d.substr(0,c)+"…"}return d},r:function(){var a=this.s();var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.FrameworkElement.prototype.$type,b);if(d!=null){this.g().dr(d)}this.g().dq(b)}},s:function(){var a=this.g().ds();var b=this.g().dn();if(!this.g().bq().dh()){return a}else{return b}},t:function(a){return this.d+$.ig.AxisLabelPanelBaseView.prototype.a},u:function(){},v:function(a){var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,a);if(b!=null&&b.a3()!=null){return this.h().z(b.a3())+$.ig.AxisLabelPanelBaseView.prototype.a}return 0},w:function(){this.g().b5(this.g().bq().labelSettings().extent())},x:function(){this.ae();this.g().di(new $.ig.Size(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},aa:function(a){this.h(a)},ab:function(){if(this.g().bu().isEmpty()){return}var a=this.g().b5();this.g().dg(new $.ig.Size(this.g().bu().width(),this.g().bu().height()));if(this.g().b5()!=a){this.g().bq().chart().iw();this.ac()}},ac:function(){},b:null,ad:function(){if(this.h()==null){return}if(this.h().b()){this.ae();this.b=this.g().bu();var a=this.g().bq().chart().jd();if(this.g().bq().labelSettings()!=null&&this.g().bq().labelSettings().textColor()!=null){a=this.g().bq().labelSettings().textColor()}var c=this.s().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.TextBlock.prototype.$type,b);if(d!=null){d.a4(a);if(d.f()!=null){this.h().p();this.h().n(d.f())}this.h().i(d);if(d.f()!=null){this.h().q()}}}}},c:null,ae:function(){if(this.h()==null){return}var a=this.g().bq().seriesViewer().je();if(this.g().bq().labelSettings()!=null&&this.g().bq().labelSettings().textStyle()!=null){a=this.g().bq().labelSettings().textStyle()}if(this.c!=a){this.af()}this.h().y(a)},d:null,af:function(){if(this.g().bq()!=null&&this.g().bq().seriesViewer()!=null){if(this.g().bq().labelSettings()==null||this.g().bq().labelSettings().textStyle()==null){this.d=this.g().bq().seriesViewer().fo().ax();return}if(this.d==0){this.d=this.g().bq().seriesViewer().fo().ax()}var a=this.d;var b=$.ig.FontUtil.prototype.a(this.g().bq().labelSettings().textStyle());this.d=b;if(a!=this.d){this.g().bq().seriesViewer().iw()}}},$type:new $.ig.Type("AxisLabelPanelBaseView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AngleAxisLabelPanelView","AxisLabelPanelBaseView",{_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},init:function(a){$.ig.AxisLabelPanelBaseView.prototype.init.call(this,a);this.ah(a)},u:function(){$.ig.AxisLabelPanelBaseView.prototype.u.call(this);this.ah().d6(true)},l:function(){return 0},m:function(){return 0},ak:function(a){this.ah().d8(-Number.MAX_VALUE);this.ah().d9(-Number.MAX_VALUE);for(var b=0;b<this.g().bx().count();b++){var c=this.g().bx().__inner[b];var d=this.g().bs().__inner[b];var e=this.ah().d7()(d.b());var f=e.__x-this.v(c)/2;var g=e.__y-this.t(c)/2;var h=this.v(c);var i=this.t(c);this.ah().d8(Math.max(h,this.ah().d8()));this.ah().d9(Math.max(i,this.ah().d9()));var j=new $.ig.Rect(0,f,g,h,i);a.add(j)}},$type:new $.ig.Type("AngleAxisLabelPanelView",$.ig.AxisLabelPanelBaseView.prototype.$type)},true);$.ig.util.defType("AxisLabelPanelBase","Panel",{b6:function(){return new $.ig.AxisLabelPanelBaseView(this)},b7:function(a){},_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(){$.ig.Panel.prototype.init.call(this);this.bt($.ig.Rect.prototype.empty());this.bu($.ig.Rect.prototype.empty());this.bo(this.b6());this.b7(this.bo());this.bo().u();this.bx(new $.ig.List$1($.ig.FrameworkElement.prototype.$type,0));this.bs(new $.ig.List$1($.ig.LabelPosition.prototype.$type,0));this.by(new $.ig.List$1($.ig.Rect.prototype.$type,0));this.b1(false);this.b0(false);this.b2(false);this.bz(false)},_bp:null,bp:function(a){if(arguments.length===1){this._bp=a;return a}else{return this._bp}},_bq:null,bq:function(a){if(arguments.length===1){this._bq=a;return a}else{return this._bq}},_br:null,br:function(a){if(arguments.length===1){this._br=a;return a}else{return this._br}},_bs:null,bs:function(a){if(arguments.length===1){this._bs=a;return a}else{return this._bs}},_bt:null,bt:function(a){if(arguments.length===1){this._bt=a;return a}else{return this._bt}},_bu:null,bu:function(a){if(arguments.length===1){this._bu=a;return a}else{return this._bu}},_bv:null,bv:function(a){if(arguments.length===1){this._bv=a;return a}else{return this._bv}},a5:null,bw:function(a){if(arguments.length===1){this.a5=a;return a}else{return this.a5}},_bx:null,bx:function(a){if(arguments.length===1){this._bx=a;return a}else{return this._bx}},_by:null,by:function(a){if(arguments.length===1){this._by=a;return a}else{return this._by}},_bz:null,bz:function(a){if(arguments.length===1){this._bz=a;return a}else{return this._bz}},_b0:null,b0:function(a){if(arguments.length===1){this._b0=a;return a}else{return this._b0}},_b1:null,b1:function(a){if(arguments.length===1){this._b1=a;return a}else{return this._b1}},_b2:null,b2:function(a){if(arguments.length===1){this._b2=a;return a}else{return this._b2}},_b3:null,b3:function(a){if(arguments.length===1){this._b3=a;return a}else{return this._b3}},_b4:null,b4:function(a){if(arguments.length===1){this._b4=a;return a}else{return this._b4}},c6:function(a){for(var b=0;b<a.count()-1;b++){for(var c=b;c<a.count()-1;c++){if(a.__inner[b].intersectsWith(a.__inner[c+1])){return true}}}return false},c7:function(a,b){return{ret:0,rectangles:b};return{rectangles:b}},c8:function(){return null},c9:function(){},da:function(a){},db:function(){return this.bq().labelSettings()!=null?this.bq().labelSettings().angle():0},dc:function(a,b){return true},dd:function(a){return this.bo().v(a)},de:function(a){return this.bo().t(a)},df:function(){if(this.a1().count()<1||this.bs().count()==0){return new $.ig.List$1($.ig.Rect.prototype.$type,0)}this.bx(new $.ig.List$1($.ig.FrameworkElement.prototype.$type,0));this.by(new $.ig.List$1($.ig.Rect.prototype.$type,0));this.c9();this.bo().r();var a=this.db();if(a%360==0){this.b0(false)}if(this.bx().count()==0){return new $.ig.List$1($.ig.Rect.prototype.$type,0)}this.by(this.c8());return this.by()},dg:function(a){if(this.bq()==null||this.a1().count()==0){return a}this.by(this.df());if(this.bx().count()!=this.by().count()){return a}if(this.b0()){for(var b=0;b<this.bx().count();b++){if(this.dc(b,this.by().__inner[b])){this.bo().k(this.bx().__inner[b],this.by().__inner[b])}this.dh(this.bx().__inner[b],this.db())}}for(var c=0;c<this.bx().count();c++){if(!this.b0()){this.bo().n(this.bx().__inner[c])}if(this.dc(c,this.by().__inner[c])){this.bo().k(this.bx().__inner[c],this.by().__inner[c])}else{this.bo().k(this.bx().__inner[c],new $.ig.Rect(0,0,0,0,0))}}this.da(a);return a},dh:function(a,b){var c=this.db();this.bo().p(a,c)},di:function(a){var c=this.a1().getEnumerator();while(c.moveNext()){var b=c.current();this.bo().o(b)}var d=this.bq()==null||this.b5()<=0||isNaN(this.b5())?50:this.b5();if(this.bq()!=null&&(this.bq().dj()==null||this.bq().dj().count()==0)){if(this.bq().labelSettings()!=null&&!isNaN(this.bq().labelSettings().extent())&&this.bq().fh()){d=this.bq().labelSettings().extent()}}var e=new $.ig.Size(d,d);if(Number.isInfinity(e.c())){e.c(50)}if(Number.isInfinity(e.d())){e.d(50)}return e},b5:function(a){if(arguments.length===1){this.c($.ig.AxisLabelPanelBase.prototype.a6,a);return a}else{return this.b($.ig.AxisLabelPanelBase.prototype.a6)}},dl:function(){return $.ig.AxisLabelsLocation.prototype.outsideBottom},dm:function(a){return true},dn:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.a1().getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.Object.prototype.$type,$iter)},dp:function(a,b,c){var d=this.bo().q(b,c);return d},dq:function(a){if(this.b3()==null||this.dd(this.b3())<this.dd(a)){this.b3(a)}},dr:function(a){this.bx().add(a)},ds:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.bq().dm().item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.bq().dm().g()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.Object.prototype.$type,$iter)
},dt:function(){this.du()},du:function(){this.by(this.df())},dv:function(){this.bo().x()},dw:function(a){this.bo().aa(a)},dx:function(){this.bo().ab()},dy:function(){this.bo().ad()},$type:new $.ig.Type("AxisLabelPanelBase",$.ig.Panel.prototype.$type)},true);$.ig.util.defType("AngleAxisLabelPanel","AxisLabelPanelBase",{b6:function(){return new $.ig.AngleAxisLabelPanelView(this)},b7:function(a){$.ig.AxisLabelPanelBase.prototype.b7.call(this,a);this.d5(a)},_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},init:function(){$.ig.AxisLabelPanelBase.prototype.init.call(this)},_d6:null,d6:function(a){if(arguments.length===1){this._d6=a;return a}else{return this._d6}},_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},dc:function(a,b){if(!b.isPlottable1()){return false}if(this.bq()==null||this.bq().c9().isEmpty()){return $.ig.AxisLabelPanelBase.prototype.dc.call(this,a,b)}return true},_d8:null,d8:function(a){if(arguments.length===1){this._d8=a;return a}else{return this._d8}},_d9:null,d9:function(a){if(arguments.length===1){this._d9=a;return a}else{return this._d9}},c8:function(){var a=new $.ig.List$1($.ig.Rect.prototype.$type,0);if(this.bx().count()!=this.bs().count()){return a}this.d5().ak(a);var b=false;this.bz(this.c6(a));if(!this.bq().fh()){b=true;this.b5(this.d8()/2);this.b5(this.b5()+this.ek())}else{b=true;this.d5().w()}if(b){for(var c=0;c<a.count();c++){var d=this.bx().__inner[c];var e=this.bs().__inner[c];var f=a.__inner[c];var g=this.d7()(e.b());var h=g.__x-this.dd(d)/2;var i=g.__y-this.de(d)/2;f.x(h);f.y(i);a.__inner[c]=f}}this.bz(this.c6(a));if(this.bz()){}return a},ek:function(){var $self=this;var a;var b;b=this.bq();a=null;if(b!=null){a=$.ig.util.cast($.ig.XamDataChart.prototype.$type,b.seriesViewer())}if(a==null||b==null){return 0}var d=a.axes().where$1($.ig.Axis.prototype.$type,function(c){return($.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,c)!==null||$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,c)!==null)&&$.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,c.dd())!==null&&$.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,c.dd()).bx().count()>0&&!c.fh()&&!c.ft()&&(c.crossingAxis()==null||$self.bq().crossingAxis()==null||$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,c.crossingAxis()).i0()==$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,b.crossingAxis()).i0())}).toList$1($.ig.Axis.prototype.$type);var e=d.indexOf(b);if(e==-1){return 0}var f=0;for(var g=0;g<e;g++){f+=d.__inner[g].dd().b5()*2+5}return f},dl:function(){return $.ig.AxisLabelsLocation.prototype.insideTop},dm:function(a){return a==$.ig.AxisLabelsLocation.prototype.insideTop||a==$.ig.AxisLabelsLocation.prototype.insideBottom},$type:new $.ig.Type("AngleAxisLabelPanel",$.ig.AxisLabelPanelBase.prototype.$type)},true);$.ig.util.defType("AutoRangeCalculator","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){return a.c9().width()},b:function(a){return a.c9().height()},c:function(a,b,c,d,e,f,g){f=!isNaN(b)&&!Number.isInfinity(b)?b:Number.POSITIVE_INFINITY;g=!isNaN(c)&&!Number.isInfinity(c)?c:Number.NEGATIVE_INFINITY;if(Number.isInfinity(f)||Number.isInfinity(g)){if(a!=null){var h=a.hw();if(h!=null){f=Math.min(f,h.c());g=Math.max(g,h.d())}}}if(!Number.isInfinity(f)&&!Number.isInfinity(g)){if(f==g&&f!=0){f*=f>0?.9:1.1;g*=g>0?1.1:.9}if(f==g&&f==0){g=1}if(b>c){var i=c;c=b;b=i}var j=isNaN(b)||Number.isInfinity(b)?f:b;var k=isNaN(c)||Number.isInfinity(c)?g:c;if(d){if(j<=0){if(k>1){j=1}else{j=Math.pow(e,Math.floor(Math.logBase(k,e)))}}if(isNaN(b)||Number.isInfinity(b)){f=Math.pow(e,Math.floor(Math.logBase(j,e)))}else{f=j}if(isNaN(c)||Number.isInfinity(c)){g=Math.pow(e,Math.ceil(Math.logBase(k,e)))}else{g=k}}else{var l=Math.pow(10,Math.floor(Math.log10(k-j))-1);var m=$.ig.AutoRangeCalculator.prototype.a(a);if($.ig.util.cast($.ig.NumericYAxis.prototype.$type,a)!==null){m=$.ig.AutoRangeCalculator.prototype.b(a)}if($.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,a)!==null&&m>0){var n=a.i0();var o=a.i1();m=Math.min($.ig.AutoRangeCalculator.prototype.a(a),$.ig.AutoRangeCalculator.prototype.b(a))*(n-o)/2;m=Math.max(m,14)}if(a!=null&&m>0&&!a.hasUserMinimum()&&!a.hasUserMaximum()){var p=new $.ig.LinearNumericSnapper(0,f,g,m);l=p.h()}if((isNaN(b)||Number.isInfinity(b))&&!isNaN(f)&&!isNaN(l)&&l!=0){f=l*Math.floor(f/l)}else{f=j}if((isNaN(c)||Number.isInfinity(c))&&!isNaN(g)&&!isNaN(l)&&l!=0){var q=Math.ceil(g/l);g=l*q}else{g=k}}}return{minimumValue:f,maximumValue:g}},$type:new $.ig.Type("AutoRangeCalculator",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Axis","Control",{dt:function(){return new $.ig.AxisView(this)},_c6:null,c6:function(a){if(arguments.length===1){this._c6=a;return a}else{return this._c6}},dw:function(a){},isCategory:function(){return false},isNumeric:function(){return false},isAngular:function(){return false},isVertical:function(){return false},isSorting:function(){return false},isDateTime:function(){return false},init:function(){var $self=this;this.b2=$.ig.Rect.prototype.empty();this.b3=false;this.b7=new $.ig.AxisComponentsForView;this.b8=new $.ig.AxisLabelSettings;$.ig.Control.prototype.init.call(this);this.c6(this.dt());this.dw(this.c6());this.c6().w();this.dm(function(){var $ret=new $.ig.Pool$1($.ig.TextBlock.prototype.$type);$ret.create($self.c6().ag.runOn($self.c6()));$ret.activate($self.c6().ah.runOn($self.c6()));$ret.disactivate($self.c6().ai.runOn($self.c6()));$ret.destroy($self.c6().aj.runOn($self.c6()));return $ret}());this.da($.ig.Rect.prototype.empty());this.db(new $.ig.List$1($.ig.Object.prototype.$type,0));this.dc(new $.ig.List$1($.ig.LabelPosition.prototype.$type,0));this.dd(this.dy());this.dd().bq(this);this.dj(new $.ig.List$1($.ig.Series.prototype.$type,0));this.a3($.ig.Axis.prototype.$type);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){return $self.ep(a,b.propertyName(),b.oldValue(),b.newValue())});this.b0=function(c,d){return $self.el(d.oldRect(),d.newRect())};this.c6().a4()},formatLabel:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.formatLabelProperty,a);return a}else{return this.b($.ig.Axis.prototype.formatLabelProperty)}},dx:function(a,b){if(!a.equals(b)){this.ei(a,b)}},dy:function(){},onApplyTemplate:function(){$.ig.Control.prototype.a8.call(this);this.c6().ak()},_rootCanvas:null,rootCanvas:function(a){if(arguments.length===1){this._rootCanvas=a;return a}else{return this._rootCanvas}},c7:function(a){if(arguments.length===1){if(this.c7()!=a){var b=this.c7();this.by=a;this.e8($.ig.Axis.prototype.bf,b,this.by)}return a}else{return this.by}},by:null,seriesViewer:function(a){if(arguments.length===1){if(this.seriesViewer()!=a){var b=this.seriesViewer();this.bz=a;this.e8($.ig.Axis.prototype.bg,b,this.bz)}return a}else{return this.bz}},bz:null,chart:function(a){if(arguments.length===1){this.seriesViewer(a);return a}else{return $.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer())}},b0:null,stroke:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.strokeProperty,a);return a}else{return this.b($.ig.Axis.prototype.strokeProperty)}},strokeThickness:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.strokeThicknessProperty,a);return a}else{return this.b($.ig.Axis.prototype.strokeThicknessProperty)}},strokeDashArray:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.strokeDashArrayProperty,a);return a}else{return this.b($.ig.Axis.prototype.strokeDashArrayProperty)}},strip:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.stripProperty,a);return a}else{return this.b($.ig.Axis.prototype.stripProperty)}},majorStroke:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.majorStrokeProperty,a);return a}else{return this.b($.ig.Axis.prototype.majorStrokeProperty)}},majorStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.majorStrokeThicknessProperty,a);return a}else{return this.b($.ig.Axis.prototype.majorStrokeThicknessProperty)}},majorStrokeDashArray:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.majorStrokeDashArrayProperty,a);return a}else{return this.b($.ig.Axis.prototype.majorStrokeDashArrayProperty)}},minorStroke:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.minorStrokeProperty,a);return a}else{return this.b($.ig.Axis.prototype.minorStrokeProperty)}},minorStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.minorStrokeThicknessProperty,a);return a}else{return this.b($.ig.Axis.prototype.minorStrokeThicknessProperty)}},minorStrokeDashArray:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.minorStrokeDashArrayProperty,a);return a}else{return this.b($.ig.Axis.prototype.minorStrokeDashArrayProperty)}},isDisabled:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.isDisabledProperty,a);return a}else{return this.b($.ig.Axis.prototype.isDisabledProperty)}},isInverted:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.isInvertedProperty,a);return a}else{return this.b($.ig.Axis.prototype.isInvertedProperty)}},_c8:null,c8:function(a){if(arguments.length===1){this._c8=a;return a}else{return this._c8}},labelSettings:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.labelSettingsProperty,a);return a}else{return this.b($.ig.Axis.prototype.labelSettingsProperty)}},labelPanelStyle:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.labelPanelStyleProperty,a);return a}else{return this.b($.ig.Axis.prototype.labelPanelStyleProperty)}},crossingAxis:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.crossingAxisProperty,a);return a}else{return this.b($.ig.Axis.prototype.crossingAxisProperty)}},crossingValue:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.crossingValueProperty,a);return a}else{return this.b($.ig.Axis.prototype.crossingValueProperty)}},rangeChanged:null,d4:function(a){if(this.rangeChanged!=null){this.rangeChanged(this,a)}},b2:null,c9:function(a){if(arguments.length===1){this.b2=a;return a}else{if(this.da().isEmpty()){return this.b2}return this.da()}},_da:null,da:function(a){if(arguments.length===1){this._da=a;return a}else{return this._da}},d9:function(){var a=$.ig.Visibility.prototype.visible;var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());if(b!=null&&b.gridMode()==$.ig.GridMode.prototype.none){a=$.ig.Visibility.prototype.collapsed}this.c6().ap(a)},ea:function(a,b,c){return this.seriesViewer()!=null},eb:function(){var a=$.ig.Rect.prototype.empty();if(this.seriesViewer()!=null){a=this.seriesViewer().windowRect()}return this.ea(this.c9(),a,this.c6())},_db:null,db:function(a){if(arguments.length===1){this._db=a;return a}else{return this._db}},_dc:null,dc:function(a){if(arguments.length===1){this._dc=a;return a}else{return this._dc}},_dd:null,dd:function(a){if(arguments.length===1){this._dd=a;return a}else{return this._dd}},ei:function(a,b){this.c9(b);this.de(true);this.updateRange();this.e1(false);if(this.seriesViewer()!=null){this.seriesViewer().fp().ag($.ig.ChartContentType.prototype.axis,this,this.df(),b)}},b3:null,de:function(a){if(arguments.length===1){this.b3=a;return a}else{return this.b3}},el:function(a,b){this.de(true);this.e1(true)},em:function(){this.e1(false)},_df:null,df:function(a){if(arguments.length===1){this._df=a;return a}else{return this._df}},ep:function(a,b,c,d){var $self=this;switch(b){case $.ig.Axis.prototype.bg:var e=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c);if(e!=null){e.windowRectChanged=$.ig.Delegate.prototype.remove(e.windowRectChanged,this.b0);e.fp().s($.ig.ChartContentType.prototype.axis,this);this.c6().bf(e)}var f=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,d);if(f!=null){f.windowRectChanged=$.ig.Delegate.prototype.combine(f.windowRectChanged,this.b0);this.df(f.fp().r($.ig.ChartContentType.prototype.axis,this,this.e2.runOn(this)));this.c6().bg(f);if(this.di()&&!this.df().m()){this.di(false);this.updateRange()}}break;case $.ig.Axis.prototype.br:this.e1(false);break;case $.ig.Axis.prototype.bs:this.c8(this.isInverted());var g=new $.ig.AxisRangeChangedEventArgs(0,0,1,1);this.fi(g);var i=this.dj().getEnumerator();while(i.moveNext()){var h=i.current();h.gi();if(h.seriesViewer()!=null){h.fs()}}break;case $.ig.Axis.prototype.bx:if($.ig.util.cast($.ig.DataTemplate.prototype.$type,d)!==null){this.dh(true)}else{this.dh(false)}this.de(true);this.es();this.e1(false);break;case $.ig.Axis.prototype.bm:case $.ig.Axis.prototype.bp:case $.ig.Axis.prototype.bi:this.e1(false);break;case $.ig.Axis.prototype.bu:this.c6().x(d);this.e1(false);break;case $.ig.Axis.prototype.bt:var j=$.ig.util.cast($.ig.AxisLabelSettings.prototype.$type,d);if(j!=null){j.r(this);this.b8=j}else{this.b8=new $.ig.AxisLabelSettings}if(this.c6().al()){this.c6().ar(this.b8)}break;case $.ig.Axis.prototype.bo:if(d!=null){this.dg(true);this.e1(false)}else{this.dg(false)}break;case $.ig.Axis.prototype.bd:case $.ig.Axis.prototype.bl:case $.ig.Axis.prototype.bh:case $.ig.Axis.prototype.bj:case $.ig.Axis.prototype.bn:case $.ig.Axis.prototype.bq:this.e1(false);break}},_coercionMethods:null,coercionMethods:function(a){if(arguments.length===1){this._coercionMethods=a;return a}else{return this._coercionMethods}},_dg:null,dg:function(a){if(arguments.length===1){this._dg=a;return a}else{return this._dg}},es:function(){this.dm().g(0);if(this.c6().al()){this.c6().aq()}},_dh:null,dh:function(a){if(arguments.length===1){this._dh=a;return a}else{return this._dh}},ev:function(a,b,c,d){var e=Math.min(b,c);var f=Math.max(b,c);if(e<d.bottom()&&f>d.top()){var g=new $.ig.RectangleGeometry;g.f(new $.ig.Rect(0,d.left(),e,d.width(),f-e));a.add(g)}},ew:function(a,b,c){if(b<=c.bottom()&&b>=c.top()){var d=new $.ig.LineGeometry;d.e({__x:c.left(),__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.f({__x:c.right(),__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.add(d)}},ex:function(a,b,c,d){var e=Math.min(b,c);var f=Math.max(b,c);if(f>d.left()&&e<d.right()){var g=new $.ig.RectangleGeometry;g.f(new $.ig.Rect(0,e,d.top(),f-e,d.height()));a.add(g)}},ey:function(a,b,c){if(b>=c.left()&&b<=c.right()){var d=new $.ig.LineGeometry;d.e({__x:b,__y:c.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.f({__x:b,__y:c.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.add(d)}},ez:function(a){this.c6().at(a)},e0:function(){this.dm().g(0);this.c6().ao();this.db().clear();this.dc().clear()},renderAxis:function(){this.e1(false)},e1:function(a){if(this.seriesViewer()!=null){this.seriesViewer().fp().u($.ig.ChartContentType.prototype.axis,this,this.df(),a);if(this.renderRequested!=null){var b=new $.ig.RenderRequestedEventArgs;b.animate(a);this.renderRequested(this,b);a=b.animate()}}},renderRequested:null,e2:function(a){if(this.c6().bh()){return}var b=0;if(this.dc()!=null&&this.dc().count()>0){b=this.dc().last$1($.ig.LabelPosition.prototype.$type).b()}this.e7(a);var c=1;if(this.dc()!=null&&this.dc().count()>0){c=this.dc().last$1($.ig.LabelPosition.prototype.$type).b()}if(c!=b||this.de()){this.de(false);if(this.c6().al()){this.c6().am()}}this.c6().be();this.e3()},e3:function(){if(!this.c6().al()){return}if(!this.fh()){this.c6().an()}},_di:null,di:function(a){if(arguments.length===1){this._di=a;return a}else{return this._di}},updateRange:function(){return this.updateRange1(false)},updateRange1:function(a){if(a||this.seriesViewer()==null){var b=this.e6();if(b){this.de(true)}this.di(false);return b}if(!this.di()){this.di(true);this.seriesViewer().fp().ah(this,this.df())}return false},e6:function(){return false},e7:function(a){},propertyChanged:null,propertyUpdated:null,e8:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},_dj:null,dj:function(a){if(arguments.length===1){this._dj=a;return a}else{return this._dj}},registerSeries:function(a){var b=this.dj().contains(a);if(!b){this.dj().add(a)}return!b},deregisterSeries:function(a){var b=this.dj().contains(a);if(b){this.dj().remove(a)}return b},label:function(a){if(arguments.length===1){this.c($.ig.Axis.prototype.labelProperty,a);return a}else{return this.b($.ig.Axis.prototype.labelProperty)}},fb:function(a){return this.c6().a5(a)},getScaledValue:function(a,b){return 0},getScaledValue1:function(a,b,c){var d=new $.ig.ScalerParams(b,c,this.isInverted());return this.getScaledValue(a,d)},getScaledValueList:function(a,b,c,d){},getUnscaledValue:function(a,b){return 0},getUnscaledValue1:function(a,b,c){var d=new $.ig.ScalerParams(b,c,this.isInverted());return this.getUnscaledValue(a,d)},getUnscaledValueList:function(a,b,c,d){},scaleValue:function(a){var b=new $.ig.ScalerParams(this.seriesViewer().windowRect(),this.c9(),this.isInverted());b.c=this.seriesViewer().effectiveViewport();return this.getScaledValue(a,b)},_dk:null,dk:function(){return this._dk},_dl:null,dl:function(a){if(arguments.length===1){this._dl=a;return a}else{return this._dl}},ff:function(){this.da(new $.ig.Rect(0,0,0,this.dl().c(),this.dl().d()))},b7:null,fg:function(){this.b7.b(this.dd());return this.b7},fh:function(){if(this.labelSettings()==null){return false}else{return this.labelSettings().z()}},fi:function(a){this.d4(a)},_dm:null,dm:function(a){if(arguments.length===1){this._dm=a;return a}else{return this._dm}},dn:function(){return this.fq().e()},dp:function(){return this.fq().f()},dq:function(){return this.c6().as().g()},dr:function(){return this.fq().h()},fp:function(){return $.ig.SyncManager.prototype.e(this.bz)},fq:function(){return this.c6().as()},b8:null,ds:function(){return this.b8},fs:function(a,b){if(this.dd()!=null){this.dd().dw(a)}this.c6().ba(a,b)},ft:function(){return false},exportVisualData:function(){var $self=this;var a=new $.ig.AxisVisualData;a.viewport(this.c9());a.type(this.getType().typeName());a.name(this.name());a.axisLine(new $.ig.PathVisualData(1,"axisLine",this.c6().n()));a.minorLines(new $.ig.PathVisualData(1,"minorLines",this.c6().q()));a.majorLines(new $.ig.PathVisualData(1,"majorLines",this.c6().o()));for(var b=0;b<this.dd().bs().count();b++){var c=this.dd().bs().__inner[b];var d=this.dd().br().__inner[b];var e=function(){var $ret=new $.ig.AxisLabelVisualData;$ret.labelPosition(c.b());$ret.labelValue(d);return $ret}();if(b<this.dd().bx().count()){var f=this.seriesViewer().je();e.appearance($.ig.AppearanceHelper.prototype.fromTextElement(this.dd().bx().__inner[b],f))}a.labels().add(e)}return a},fu:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$b=this.$this.dj().__inner[this.$a];this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.dj().count()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.Series.prototype.$type,$iter)},$type:new $.ig.Type("Axis",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("AxisCollection","ObservableCollection$1",{init:function(){var $self=this;$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.Axis.prototype.$type);this.propertyChanged=$.ig.Delegate.prototype.combine(this.propertyChanged,function(a,b){if(b.propertyName()=="Name"){for(var c=0;c<$self.count();++c){if($self.__inner[c].name()==b.propertyName()){$self.ah(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,$self.__inner[c],$self.__inner[c],c))}}}})},collectionResetting:null,m:function(){if(this.collectionResetting!=null){this.collectionResetting(this,null)}$.ig.ObservableCollection$1.prototype.m.call(this)},$type:new $.ig.Type("AxisCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.Axis.prototype.$type))},true);$.ig.util.defType("AxisComponentsForView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("AxisComponentsForView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisComponentsFromView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("AxisComponentsFromView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisLabelInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("AxisLabelInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisLabelManager","Object",{_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},init:function(){var $self=this;$.ig.Object.prototype.init.call(this);this.k(function(a){})},w:function(a,b){this.g().clear();this.h().clear();this.i().bq(this.j());this.i().bv(a);this.i().bt(b);if(b.isEmpty()||a.isEmpty()){this.ae(0)}if(this.j().dm().g()==0){this.i().a1().clear()}},x:function(a,b){this.g().add1(a);this.h().add(b)},y:function(){this.i().br(this.g());this.i().bs(this.h())},z:function(a){},aa:function(a){this.i().a1().add(a)},ab:function(a){this.i().bp(a)},ac:function(a){this.k()(a)},ad:function(a){var b=this.j().dm().item(a);return b},ae:function(a){if(this.j()==null){return}this.j().dm().g(a)},l:function(){if(this.j()==null||this.j().labelSettings()==null){return false}return this.j().labelSettings().visibility()!=$.ig.Visibility.prototype.visible},ag:function(){this.j().dm().g(0);this.j().dd().bx().clear()},$type:new $.ig.Type("AxisLabelManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LabelPosition","Object",{_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},init:function(a){$.ig.Object.prototype.init.call(this);this.b(a)},$type:new $.ig.Type("LabelPosition",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisLabelSettings","Object",{init:function(){var $self=this;this.h=null;this.i=$.ig.AxisLabelsLocation.prototype.outsideBottom;this.j=$.ig.Visibility.prototype.visible;this.k=0;this.l=NaN;$.ig.Object.prototype.init.call(this);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){return $self.x(a,b.propertyName(),b.oldValue(),b.newValue())})},g:null,textStyle:function(a){if(arguments.length===1){var b=this.g;this.g=a;this.w($.ig.AxisLabelSettings.prototype.a,b,a);return a}else{return this.g}},h:null,textColor:function(a){if(arguments.length===1){var b=this.h;this.h=a;this.w($.ig.AxisLabelSettings.prototype.b,b,a);return a}else{return this.h}},location:function(a){if(arguments.length===1){var b=this.i;this.i=a;this.w($.ig.AxisLabelSettings.prototype.c,b,a);return a}else{return this.i}},i:null,visibility:function(a){if(arguments.length===1){var b=this.j;this.j=a;this.w($.ig.AxisLabelSettings.prototype.d,b,a);return a}else{return this.j}},j:null,_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},angle:function(a){if(arguments.length===1){var b=this.k;this.k=a;this.w($.ig.AxisLabelSettings.prototype.e,b,a);return a}else{return this.k}},k:null,extent:function(a){if(arguments.length===1){var b=this.l;this.l=a;this.w($.ig.AxisLabelSettings.prototype.f,b,a);return a}else{return this.l}},l:null,propertyChanged:null,propertyUpdated:null,w:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},x:function(a,b,c,d){switch(b){case $.ig.AxisLabelSettings.prototype.c:this.q(this.location());break}if(this.r()==null||this.r().chart()==null){return}switch(b){case $.ig.AxisLabelSettings.prototype.e:this.r().de(true);this.r().renderAxis();break;case $.ig.AxisLabelSettings.prototype.c:this.r().de(true);if(this.r().seriesViewer()!=null){this.r().seriesViewer().iw()}this.r().renderAxis();break;case $.ig.AxisLabelSettings.prototype.f:this.r().de(true);if(this.r().seriesViewer()!=null){this.r().seriesViewer().iw()}this.r().renderAxis();break;case $.ig.AxisLabelSettings.prototype.d:this.r().de(true);if(this.r().seriesViewer()!=null){this.r().seriesViewer().iw()}this.r().renderAxis();break;case $.ig.AxisLabelSettings.prototype.a:this.r().de(true);if(this.r().seriesViewer()!=null){this.r().seriesViewer().iw()}this.r().renderAxis();break;case $.ig.AxisLabelSettings.prototype.b:this.r().renderAxis();break}},y:function(){return this.k!=0},z:function(){return!isNaN(this.l)},$type:new $.ig.Type("AxisLabelSettings",$.ig.Object.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("AxisRange","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},equals:function(a){return a!=null&&this.c()==a.c()&&this.d()==a.d()},equals1:function(a){return this.equals($.ig.util.cast($.ig.AxisRange.prototype.$type,a))},getHashCode:function(){return $.ig.Object.prototype.getHashCode.call(this)},$type:new $.ig.Type("AxisRange",$.ig.Object.prototype.$type,[$.ig.IEquatable$1.prototype.$type.specialize($.ig.AxisRange.prototype.$type)])},true);$.ig.util.defType("Snapper","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function(a,b){var c=1;if(b>0){for(;b>0;--b){c*=a}}else{for(;b<0;++b){c/=a}}return c},c:function(a,b){var c=Math.floor(Math.log10(a));var d=a/Math.pow(10,c);if(b){var e=d<1.5?1:d<3?2:d<7?5:10;return e*Math.pow(10,c)}else{var f=d<=1?1:d<=2?2:d<=5?5:10;return f*Math.pow(10,c)}},d:function(a,b){var c=$.ig.Date.prototype.zero;if(a.totalDays()>1){c=$.ig.Date.prototype.fromDays(Math.ceil(a.totalDays()))}else if(a.totalHours()>1){c=$.ig.Date.prototype.fromHours(Math.ceil(a.totalHours()))}else if(a.totalMinutes()>1){c=$.ig.Date.prototype.fromMinutes(Math.ceil(a.totalMinutes()))}else if(a.totalSeconds()>1){c=$.ig.Date.prototype.fromSeconds(Math.ceil(a.totalSeconds()))}else if(a.totalMilliseconds()>1){c=$.ig.Date.prototype.fromMilliseconds(Math.ceil(a.totalMilliseconds()))}return c},$type:new $.ig.Type("Snapper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LinearNumericSnapper","Snapper",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Snapper.prototype.init.call(this);this.k(a,b,c,10)},init1:function(initNumber,a,b,c,d){$.ig.Snapper.prototype.init.call(this);this.k(a,b,c,d)},k:function(a,b,c,d){this.h(NaN);this.i(0);this.j(0);var e=Math.min(d,c/$.ig.LinearNumericSnapper.prototype.a);if(e>0){var f=$.ig.LinearNumericSnapper.prototype.c(b-a,false);this.h($.ig.LinearNumericSnapper.prototype.c(f/(e-1),true));var g=Math.floor(a/this.h())*this.h();var h=Math.ceil(b/this.h())*this.h();e=Math.round((h-g)/this.h());if(c/e>$.ig.LinearNumericSnapper.prototype.a*10){this.j(10)}else{if(c/e>$.ig.LinearNumericSnapper.prototype.a*5){this.j(5)}else{if(c/e>$.ig.LinearNumericSnapper.prototype.a*2){this.j(2)}}}this.i(Math.max(-Math.floor(Math.log10(this.h())),0))}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("LinearNumericSnapper",$.ig.Snapper.prototype.$type)},true);$.ig.util.defType("LogarithmicNumericSnapper","Snapper",{init:function(a,b,c,d){$.ig.Snapper.prototype.init.call(this);this.g(1);this.h(c)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("LogarithmicNumericSnapper",$.ig.Snapper.prototype.$type)},true);$.ig.util.defType("LinearCategorySnapper","Snapper",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.LinearCategorySnapper.prototype.init1.call(this,1,a,b,c,NaN,$.ig.CategoryMode.prototype.mode0)},init1:function(initNumber,a,b,c,d,e){$.ig.Snapper.prototype.init.call(this);this.g(d);this.h(0);var f=Math.min(10,c/$.ig.LinearCategorySnapper.prototype.a);if(f>0){var g=$.ig.LinearCategorySnapper.prototype.c(b-a,false);if(isNaN(this.g())){this.g($.ig.LinearCategorySnapper.prototype.c(g/(f-1),true))}if(this.g()<1){this.g(1)}var h=Math.floor(a/this.g())*this.g();var i=Math.ceil(b/this.g())*this.g();f=Math.round((i-h)/this.g());if(c/f>$.ig.LinearCategorySnapper.prototype.a*10){this.h(10)}else{if(c/f>$.ig.LinearCategorySnapper.prototype.a*5){this.h(5)}else{if(c/f>$.ig.LinearCategorySnapper.prototype.a*2){this.h(2)}}}}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("LinearCategorySnapper",$.ig.Snapper.prototype.$type)},true);$.ig.util.defType("AxisView","Object",{_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},init:function(a){this.a=new $.ig.AxisComponentsFromView;this.c=false;this.d=$.ig.Rect.prototype.empty();$.ig.Object.prototype.init.call(this);this.m(a);this.b=new $.ig.Rectangle},w:function(){var $self=this;this.n(function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}());this.p(function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);$ret.a4(false);$ret.__stroke=null;return $ret}());this.o(function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);$ret.a4(false);return $ret}());this.q(function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);$ret.a4(false);return $ret}());this.m().majorStrokeThickness(1);this.m().strokeThickness(1)},x:function(a){},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},ag:function(){var a=new $.ig.TextBlock;
return a},ah:function(a){a.__visibility=$.ig.Visibility.prototype.visible;if(a.y()==null){this.m().dd().a1().add(a)}},ai:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},aj:function(a){if(this.m().dd().a1().contains(a)){this.m().dd().a1().remove(a)}},ak:function(){},al:function(){return true},index:function(){var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.m().chart());var c=0;if(b==null){return 0}if(b!=null&&b.gridMode()==$.ig.GridMode.prototype.beforeSeries){c=b.series().count()}return c+b.axes().indexOf(this.m())},am:function(){this.r().dv();this.r().dx()},an:function(){this.r().dt()},ao:function(){if(this.r()!=null){this.r().a1().clear()}this.at($.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.n().bn()).e());this.at($.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.p().bn()).e());this.at($.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.o().bn()).e());this.at($.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.q().bn()).e());this.bb()},ap:function(a){this.n().__visibility=a;this.o().__visibility=a;this.p().__visibility=a;this.q().__visibility=a},aq:function(){},ar:function(a){this.m().de(true);if(this.m().seriesViewer()!=null){this.m().seriesViewer().iw()}this.m().renderAxis()},a:null,as:function(){this.a.e(this.n());this.a.f(this.o());this.a.h(this.q());this.a.g(this.p());return this.a},at:function(a){if(a!=null){a.clear()}},au:function(){return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.n().bn()).e()},av:function(){return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.p().bn()).e()},aw:function(){return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.o().bn()).e()},ax:function(){return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.q().bn()).e()},r:function(){return this.m().fg().b()},az:function(a,b,c){this.r().bq(a);this.r().bv(b);this.r().bt(c);this.bb()},a0:function(){this.r().a1().clear();this.bb()},a1:function(a){this.r().bp(a);this.bb()},a2:function(a,b){this.r().br(a);this.r().bs(b)},a3:function(a){this.r().bw(a)},a4:function(){},a5:function(dataItem_){if(this.m().formatLabel()!=null){return this.m().formatLabel()(dataItem_)}var label_=this.m().label();return typeof dataItem_[label_]!="undefined"?dataItem_[label_]:label_},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},ba:function(a,b){this.t(a);this.s(b)},_isDirty:null,isDirty:function(a){if(arguments.length===1){this._isDirty=a;return a}else{return this._isDirty}},bb:function(){if(this.m().chart()==null){return}if(!this.isDirty()){this.isDirty(true);this.m().chart().canvasRenderScheduler().p()}},undirty:function(a){this.isDirty(false);this.bc(a)},b:null,c:null,bc:function(a){if(this.t()==null){return}if(this.t().b()){var b=this.d;var c=this.m().chart().getContainerRect();if(!b.isEmpty()&&a){this.t().u(c.left(),c.top(),c.width(),c.height())}if(a){if(this.m().seriesViewer().plotAreaBackground()!=null){this.b.v(this.m().c9().top());this.b.w(this.m().c9().left());this.b.width(this.m().c9().width());this.b.height(this.m().c9().height());this.b.__fill=this.m().seriesViewer().plotAreaBackground();if(this.c){this.t().e($.ig.GradientDirection.prototype.bottomTop,this.m().c9())}this.t().f(this.b)}}this.t().p();this.t().r(this.m().c9());this.bd();this.t().q()}if(this.s().b()){var d=this.d;var e=this.m().chart().getContainerRect();if(!d.isEmpty()&&a){this.s().u(e.left(),e.top(),e.width(),e.height())}}},postRender:function(){this.r().dy()},d:null,bd:function(){if(this.t().b()){if(this.m().stroke()==null){this.n().__stroke=this.m().chart().jf()}else{this.n().__stroke=this.m().stroke()}this.p().__fill=this.m().strip();this.q().__stroke=this.m().minorStroke();if(this.m().majorStroke()==null){this.o().__stroke=this.m().chart().jf()}else{this.o().__stroke=this.m().majorStroke()}this.q().a5(this.m().minorStrokeThickness());this.o().a5(this.m().majorStrokeThickness());this.n().a5(this.m().strokeThickness());this.q().a6(this.m().minorStrokeDashArray());this.o().a6(this.m().majorStrokeDashArray());this.n().a6(this.m().strokeDashArray());this.d=this.m().c9();if(this.c){this.t().e($.ig.GradientDirection.prototype.bottomTop,null)}this.t().g(this.n());this.t().g(this.p());this.t().g(this.o());this.t().g(this.q())}},be:function(){this.bb()},bf:function(a){if(a!=null){a.canvasRenderScheduler().n(this)}},bg:function(a){if(a!=null){a.canvasRenderScheduler().m(this);this.bb()}},bh:function(){return this.t()==null},$type:new $.ig.Type("AxisView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.util.defType("IScaler","Object",{$type:new $.ig.Type("IScaler",null)},true);$.ig.util.defType("ICategoryScaler","Object",{$type:new $.ig.Type("ICategoryScaler",null,[$.ig.IScaler.prototype.$type])},true);$.ig.util.defType("CategoryAxisBase","Axis",{dt:function(){return new $.ig.CategoryAxisBaseView(this)},dw:function(a){$.ig.Axis.prototype.dw.call(this,a);this.gy(a)},_gy:null,gy:function(a){if(arguments.length===1){this._gy=a;return a}else{return this._gy}},init:function(){this.gp=0;this.gq=false;$.ig.Axis.prototype.init.call(this);this.gz(new $.ig.List$1(Number,0))},ea:function(a,b,c){var d=$.ig.Axis.prototype.ea.call(this,a,b,c);if(!d){return false}return this.itemsSource()!=null&&this.itemsCount()>0},g4:function(){if(this.g0()!=null&&this.c7()!=null&&this.itemsSource()!=null){this.g0(this.c7().releaseFastItemsSource(this.itemsSource()))}},g5:function(){if(this.g0()==null&&this.c7()!=null&&this.itemsSource()!=null){this.g0(this.c7().getFastItemsSource(this.itemsSource()))}},_gz:null,gz:function(a){if(arguments.length===1){this._gz=a;return a}else{return this._gz}},isCategory:function(){return true},getCategoryBoundingBox:function(a,b,c){if(this.isAngular()){return $.ig.Rect.prototype.empty()}return this.getCategoryBoundingBoxHelper(a,b,c,this.isVertical())},getCategoryBoundingBoxHelper:function(a,b,c,d){var e=0;var f=a.__x;var g=this.c9().left();var h=this.c9().right();if(d){f=a.__y;g=this.c9().top();h=this.c9().bottom()}var i=this.gz();if(d&&!this.isInverted()||!d&&this.isInverted()){i=new $.ig.List$1(Number,0);for(var j=this.gz().count()-1;j>=0;j--){i.add(this.gz().__inner[j])}}if(this.categoryMode()==$.ig.CategoryMode.prototype.mode0){if(b){var k;if(d){k=new $.ig.Rect(0,this.c9().left(),a.__y-c/2,this.c9().width(),c)}else{k=new $.ig.Rect(0,a.__x-c/2,this.c9().top(),c,this.c9().height())}k.intersect(this.c9());return k}else{if(f>h){return $.ig.Rect.prototype.empty()}if(f<g){return $.ig.Rect.prototype.empty()}var l=Number.MAX_VALUE;var m=-1;for(e=0;e<i.count();e++){var n=Math.abs(i.__inner[e]-f);if(n<l){l=n;m=e}}if(m==-1){return $.ig.Rect.prototype.empty()}var o=i.__inner[m];var p;if(d){p=new $.ig.Rect(0,this.c9().left(),o-c/2,this.c9().width(),c)}else{p=new $.ig.Rect(0,o-c/2,this.c9().top(),c,this.c9().height())}p.intersect(this.c9());return p}}else{for(e=0;e<i.count();e++){if(i.__inner[e]>f){break}}if(e==0){return $.ig.Rect.prototype.empty()}if(f>h){return $.ig.Rect.prototype.empty()}if(f<g){return $.ig.Rect.prototype.empty()}var q=this.c9().right();if(d){q=this.c9().bottom()}if(e<i.count()){q=i.__inner[e]}if(d){return new $.ig.Rect(0,this.c9().left(),i.__inner[e-1],this.c9().width(),q-i.__inner[e-1])}else{return new $.ig.Rect(0,i.__inner[e-1],this.c9().top(),q-i.__inner[e-1],this.c9().height())}}},g0:function(a){if(arguments.length===1){this.c($.ig.CategoryAxisBase.prototype.fastItemsSourceProperty,a);return a}else{return this.b($.ig.CategoryAxisBase.prototype.fastItemsSourceProperty)}},gn:null,itemsSource:function(a){if(arguments.length===1){this.c($.ig.CategoryAxisBase.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.CategoryAxisBase.prototype.itemsSourceProperty)}},itemsCount:function(){return this.gn==null?0:this.gn.g()},categoryMode:function(a){if(arguments.length===1){if(this.go!=a){var b=this.go;this.go=a;this.e8($.ig.CategoryAxisBase.prototype.gi,b,a)}return a}else{return this.go}},go:null,gap:function(a){if(arguments.length===1){this.c($.ig.CategoryAxisBase.prototype.gapProperty,a);return a}else{return this.b($.ig.CategoryAxisBase.prototype.gapProperty)}},overlap:function(a){if(arguments.length===1){this.c($.ig.CategoryAxisBase.prototype.overlapProperty,a);return a}else{return this.b($.ig.CategoryAxisBase.prototype.overlapProperty)}},useClusteringMode:function(a){if(arguments.length===1){this.c($.ig.CategoryAxisBase.prototype.useClusteringModeProperty,a);return a}else{return this.b($.ig.CategoryAxisBase.prototype.useClusteringModeProperty)}},g1:function(a){if(arguments.length===1){if(a!=this.gp){var b=this.gp;this.gp=a;this.e8($.ig.CategoryAxisBase.prototype.gm,b,this.gp)}return a}else{return this.gp}},gp:null,getUnscaledValue:function(a,b){return NaN},hd:function(a,b,c,d){return NaN},getCategorySize:function(a,b){return NaN},he:function(a,b){return NaN},getGroupCenter:function(a,b,c){return NaN},unscaleValue:function(a){var b=this.seriesViewer().windowRect();var c=this.c9();var d=new $.ig.ScalerParams(b,c,this.isInverted());return this.getUnscaledValue(a,d)},hf:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.dj().getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=6;break;case 6:if(this.$this.seriesViewer()!=null&&this.$this.seriesViewer().fz()&&this.$this.hh(this.$this.seriesViewer())){this.$state=7}else{this.$state=20}break;case 7:this.$state=8;break;case 8:this.$d=this.$this.seriesViewer().ik().getEnumerator();this.$state=18;break;case 9:this.$c=this.$d.current();this.$state=10;break;case 10:if(this.$c!=this.$this.seriesViewer()){this.$state=11}else{this.$state=17}break;case 11:this.$state=12;break;case 12:this.$f=this.$c.series().getEnumerator();this.$state=15;break;case 13:this.$e=this.$f.current();this.$current=this.$e;this.$state=14;return true;case 14:this.$state=15;break;case 15:if(this.$f.moveNext()){this.$state=13}else{this.$state=16}break;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:if(this.$d.moveNext()){this.$state=9}else{this.$state=19}break;case 19:this.$state=20;break;case 20:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.Series.prototype.$type,$iter)},hg:function(a){return this.dj().contains(a)},hh:function(a){return false},hi:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.$this.seriesViewer());this.$state=1;break;case 1:if(this.$a!=null&&this.$a.fz()&&this.$this.hh(this.$a)){this.$state=2}else{this.$state=21}break;case 2:this.$state=3;break;case 3:this.$c=this.$a.ik().getEnumerator();this.$state=19;break;case 4:this.$b=this.$c.current();this.$state=5;break;case 5:if(this.$b!=this.$this.seriesViewer()){this.$state=6}else{this.$state=18}break;case 6:this.$d=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.$b);this.$state=7;break;case 7:if(this.$d==null){this.$state=8}else{this.$state=9}break;case 8:continue;this.$state=9;break;case 9:this.$state=10;break;case 10:this.$f=this.$d.axes().getEnumerator();this.$state=16;break;case 11:this.$e=this.$f.current();this.$state=12;break;case 12:if($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.$e)!==null){this.$state=13}else{this.$state=15}break;case 13:this.$current=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.$e);this.$state=14;return true;case 14:this.$state=15;break;case 15:this.$state=16;break;case 16:if(this.$f.moveNext()){this.$state=11}else{this.$state=17}break;case 17:this.$state=18;break;case 18:this.$state=19;break;case 19:if(this.$c.moveNext()){this.$state=4}else{this.$state=20}break;case 20:this.$state=21;break;case 21:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.CategoryAxisBase.prototype.$type,$iter)},gq:null,hj:function(a){if(this.gq){return}try{this.gq=true;var b=$.ig.CategoryMode.prototype.mode0;var c=0;var d=false;var f=this.hf().getEnumerator();while(f.moveNext()){var e=f.current();var g=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,e);if(g!=null){var h=g.preferredCategoryMode(this);if(h==$.ig.CategoryMode.prototype.mode2){b=$.ig.CategoryMode.prototype.mode2;d=true;if(this.hg(e)){c++}}if(h==$.ig.CategoryMode.prototype.mode1&&!d){b=$.ig.CategoryMode.prototype.mode1}}}var i=this.useClusteringMode();var k=this.hi().getEnumerator();while(k.moveNext()){var j=k.current();if(j.useClusteringMode()){i=true}if(a){j.hj(false)}}if(b==$.ig.CategoryMode.prototype.mode0&&i){b=$.ig.CategoryMode.prototype.mode2;if(c==0){c=1}}this.categoryMode(b);this.g1(c)}finally{this.gq=false}},ep:function(a,b,c,d){var $self=this;$.ig.Axis.prototype.ep.call(this,a,b,c,d);switch(b){case $.ig.CategoryAxisBase.prototype.bf:if($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,c)!=null){this.g0($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,c).releaseFastItemsSource(this.itemsSource()))}if($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,d)!=null){this.g0($.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,d).getFastItemsSource(this.itemsSource()))}this.hj(true);break;case $.ig.CategoryAxisBase.prototype.gg:if(this.c7()!=null){this.g0(this.c7().getFastItemsSource(this.itemsSource()))}break;case $.ig.CategoryAxisBase.prototype.gf:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);this.ho();this.de(true);if(e!=null){e.event=$.ig.Delegate.prototype.remove(e.event,this.hl.runOn(this))}if(this.g0()!=null){this.g0().event=$.ig.Delegate.prototype.combine(this.g0().event,this.hl.runOn(this));this.e1(false);var g=this.fu().getEnumerator();while(g.moveNext()){var f=g.current();f.renderSeries(false);if(f.seriesViewer()!=null){f.fs()}}}else{this.e0();var i=this.fu().getEnumerator();while(i.moveNext()){var h=i.current();h.fg(true,h.view());if(h.seriesViewer()!=null){h.fs()}}}break;case $.ig.CategoryAxisBase.prototype.gh:this.d4(new $.ig.AxisRangeChangedEventArgs(0,0,c-1,d-1));this.e1(false);break;case $.ig.CategoryAxisBase.prototype.gl:this.de(true);this.hm();this.e1(false);this.hk();break;case $.ig.CategoryAxisBase.prototype.gi:this.de(true);this.e1(false);this.hn();this.hk();break;case $.ig.CategoryAxisBase.prototype.gk:case $.ig.CategoryAxisBase.prototype.gj:this.de(true);var k=this.fu().getEnumerator();while(k.moveNext()){var j=k.current();j.d9(true);var l=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,j);if(l!=null&&l.preferredCategoryMode(this)==$.ig.CategoryMode.prototype.mode2){j.renderSeries(false)}}this.e1(false);if(this.seriesViewer()!=null){this.seriesViewer().jv()}break;case $.ig.CategoryAxisBase.prototype.bw:case $.ig.CategoryAxisBase.prototype.bv:this.de(true);this.e1(true);break}},hk:function(){var b=this.fu().getEnumerator();while(b.moveNext()){var a=b.current();a.renderSeries(false)}},hl:function(a,b){switch(b.action()){case $.ig.FastItemsSourceEventAction.prototype.change:case $.ig.FastItemsSourceEventAction.prototype.remove:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.replace:case $.ig.FastItemsSourceEventAction.prototype.reset:this.e1(false);break}},hm:function(){var a=false,b=false;var d=this.dj().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,c);if(e==null){continue}var f=e.preferredCategoryMode(this);a|=f==$.ig.CategoryMode.prototype.mode1;b|=f==$.ig.CategoryMode.prototype.mode2}var g=b?$.ig.CategoryMode.prototype.mode2:a?$.ig.CategoryMode.prototype.mode1:$.ig.CategoryMode.prototype.mode0;if(g==$.ig.CategoryMode.prototype.mode0&&this.useClusteringMode()){g=$.ig.CategoryMode.prototype.mode1;if(this.g1()==0){this.g1(1)}}this.categoryMode(g)},registerSeries:function(a){var b=$.ig.Axis.prototype.registerSeries.call(this,a);if(b){this.hj(true);var c=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,a);if(c!=null&&c.preferredCategoryMode(this)==$.ig.CategoryMode.prototype.mode2){var e=this.fu().getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,d);if(f!=null&&f!=c&&f.preferredCategoryMode(this)==$.ig.CategoryMode.prototype.mode2){d.renderSeries(false)}}}this.e1(false);this.updateRange()}return b},deregisterSeries:function(a){var b=$.ig.Axis.prototype.deregisterSeries.call(this,a);if(b){this.hj(true);var c=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,a);if(c!=null&&c.preferredCategoryMode(this)!=$.ig.CategoryMode.prototype.mode0){var e=this.fu().getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($.ig.IHasCategoryModePreference.prototype.$type,d);if(f!=null){d.renderSeries(false)}}}this.e1(false)}return b},hn:function(){var a=null;var c=this.fu().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.CategorySeries.prototype.$type,b);if(d!=null){var e=d.j7();if(e!=null&&e.crossingAxis()==this){a=e}}}if(a!=null){a.renderAxis()}},ho:function(){this.gn=this.g0()},hp:function(){var c=this.labelSettings();if(c==null){c=new $.ig.AxisLabelSettings}if(c.visibility()==$.ig.Visibility.prototype.collapsed){this.dm().g(0)}else{var d=0;d=this.gy().bm(this.db());this.dm().g(d)}},handleCollectionChanged:function(e){if(this.g0()!=null){this.g0().ae(e)}},notifySetItem:function(f,g,h){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,h,g,f))},notifyClearItems:function(){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))},notifyInsertItem:function(i,j){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,j,i))},notifyRemoveItem:function(k,l){this.handleCollectionChanged(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,l,k))},$type:new $.ig.Type("CategoryAxisBase",$.ig.Axis.prototype.$type,[$.ig.ICategoryScaler.prototype.$type])},true);$.ig.util.defType("IAngleScaler","Object",{$type:new $.ig.Type("IAngleScaler",null)},true);$.ig.util.defType("CategoryAngleAxis","CategoryAxisBase",{dt:function(){return new $.ig.CategoryAngleAxisView(this)},dw:function(a){$.ig.CategoryAxisBase.prototype.dw.call(this,a);this.h6(a)},_h6:null,h6:function(a){if(arguments.length===1){this._h6=a;return a}else{return this._h6}},isAngular:function(){return true},hw:null,init:function(){this.hx=false;this.hy=NaN;this.h0=0;this.h1=1;$.ig.CategoryAxisBase.prototype.init.call(this);this.a3($.ig.CategoryAngleAxis.prototype.$type);this.h7(this.ig());this.hw=new $.ig.PolarAxisRenderingManager},dy:function(){var $self=this;var a=new $.ig.AngleAxisLabelPanel;a.d7(function(b){var c=$self.seriesViewer()!=null?$self.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var d=!c.isEmpty()?$self.c9():$.ig.Rect.prototype.empty();return $self.ih(b,{__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},c,d,$self.dd().b5())});return a},_h7:null,h7:function(a){if(arguments.length===1){this._h7=a;return a}else{return this._h7}},hx:null,ie:function(a){return Math.round(a*Math.pow(10,10))/Math.pow(10,10)},hy:null,ig:function(){var $self=this;var a=function(){var $ret=new $.ig.AxisLabelManager;$ret.j($self);$ret.h($self.dc());$ret.g($self.db());$ret.i($self.dd());return $ret}();if(this.labelSettings()!=null){this.labelSettings().r(this)}var b=new $.ig.CategoryAxisRenderer(a);b.am(function(){var c=$self.c6().au();var d=$self.c6().av();var e=$self.c6().aw();var f=$self.c6().ax();$self.d9();$self.ez(c);$self.ez(d);$self.ez(e);$self.ez(f)});b.an(function(g,h){return!h.isEmpty()&&!g.isEmpty()&&$self.h8()!=null});b.a1(function(i,j){return $self.ij(i,j)});b.ao(function(){if(!$self.hx){$self.hx=true;$self.h8().updateRange();$self.hx=false}});b.a0(function(k){var l=k;if(l>$self.g0().g()-1){l-=$self.g0().g()}var m=$self.g0().item(l);return $self.fb(m)});b.az().k(function(n){if(($self.labelSettings()==null||$self.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&$self.h8()!=null&&$self.hy!=n){var o=$.ig.util.cast($.ig.XamDataChart.prototype.$type,$self.seriesViewer());if(o==null){return}$self.hy=n;$self.dd().bw(n);o.iw()}});b.ar(function(p,q,r){var s=$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,p);$self.hw.f(q,r,p.r(),p.s(),s.minLength(),s.maxLength(),s.center())});b.aq(function(t,u,v,w){var x=$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,t);$self.hw.e(u,v,w,x.r(),t.s(),x.minLength(),x.maxLength(),x.center())});b.ap(function(y,z){return $self.getScaledAngle(z)});b.as(function(aa,ab){if($self.ie(ab-$self.h0)<0){return false}if($self.ie(ab-$self.h0-2*Math.PI)>0){return false}return true});b.au(function(ac){var ad=$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,ac);if(ad.u()==ad.t().__inner[0]){$self.hw.d(ac.z(),ac.ac(),ac.r(),ac.s(),ad.center(),ad.minAngle(),ad.maxAngle())}});b.av(function(ae){ae.ac($self.ii())});b.aw(function(af,ag,ah){var ai=$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,af);if(ah){return false}var aj=$self.ih(ag,ai.center(),af.s(),af.r(),0);if(aj.__x<af.r().right()&&aj.__x>=af.r().left()&&aj.__y<af.r().bottom()&&aj.__y>=af.r().top()){return true}return false});b.a3(function(ak,al,am,an){var ao=new $.ig.ScalerParams(ak.s(),ak.r(),$self.isInverted());var ap=al;if($self.categoryMode()!=$.ig.CategoryMode.prototype.mode0){var aq=am*an+1;aq=Math.min(aq,$self.itemsCount());var ar=$self.getScaledValue(aq,ao);ap=(al+ar)/2}return ap});b.a4(this.getGroupCenter.runOn(this));b.a5(this.im.runOn(this));return b},ih:function(a,b,c,d,e){var f=this.ii();var g=$.ig.ViewportUtils.prototype.f(e,c,d);if(this.labelSettings()!=null&&(this.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideBottom||this.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.outsideBottom)){g*=-1}var h=b.__x+(f+g)*Math.cos(a);var i=b.__y+(f+g)*Math.sin(a);h=$.ig.ViewportUtils.prototype.a(h,c,d);i=$.ig.ViewportUtils.prototype.c(i,c,d);return{__x:h,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},ii:function(){if(this.h8()==null){return 0}if(!this.ft()){return this.h8().jl()}else{return this.h8().getScaledValue2(this.crossingValue())}},ij:function(a,b){if(this.g0()==null){return null}var c=new $.ig.RadialAxisRenderingParameters;var d=this.g0().g()-1;var e=this.c6().au();var f=this.c6().av();var g=this.c6().aw();var h=this.c6().ax();c.z(e);c.w(f);c.x(g);c.y(h);c.ab(d);c.aa(0);c.ag(false);c.r(a);c.s(b);c.af(this.is());c.ae(this.interval());c.ad(this.label());var i=this.hw.k(b);var j=this.hw.l(b);var k=.5*this.h8().i0();var l=.5*this.h8().i1();var m=i;var n=j;var o=this.h8().jl();if(isNaN(o)||Number.isInfinity(o)){return null}if(n>=k){n=o}if(m<l){m=l}var p=a.width();this.hw.p(b,c,0,this.g0().g(),this.isInverted(),this.getUnscaledAngle.runOn(this),p);var q={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.center(q);c.maxLength(n);c.minLength(m);c.effectiveMaximum(o);c.bl(this.g0().g());c.bm(this.categoryMode());c.bn(true);c.bp(this.isInverted());c.bo(this.g1());c.v(new $.ig.CategoryTickmarkValues);c.ah(this.dg());return c},getMinMaxAngle:function(a,b,c){var $self=this;(function(){var $ret=$self.hw.o(a,b,c);b=$ret.minAngle;c=$ret.maxAngle;return $ret.ret})();return{visibleMinimum:b,visibleMaximum:c}},onApplyTemplate:function(){$.ig.Axis.prototype.onApplyTemplate.call(this);this.e1(false)},hz:null,h8:function(a){if(arguments.length===1){this.hz=a;return a}else{if(this.hz!=null){return this.hz}var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());if(b!=null){return b.axes().ofType$1($.ig.NumericRadiusAxis.prototype.$type).firstOrDefault$1($.ig.NumericRadiusAxis.prototype.$type)}return this.hz}},startAngleOffset:function(a){if(arguments.length===1){this.c($.ig.CategoryAngleAxis.prototype.startAngleOffsetProperty,a);return a}else{return this.b($.ig.CategoryAngleAxis.prototype.startAngleOffsetProperty)}},h0:null,getCategorySize:function(a,b){return 2*Math.PI/this.itemsCount()},he:function(a,b){var c=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var d=0;if(!isNaN(this.overlap())){d=Math.min(this.overlap(),1)}var e=1-.5*c;return this.getCategorySize(a,b)*e/(this.g1()-(this.g1()-1)*d)},getGroupCenter:function(a,b,c){var d=.5;if(this.g1()>1){var e=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var f=0;if(!isNaN(this.overlap())){f=Math.min(this.overlap(),1)}var g=1-.5*e;var h=g/(this.g1()-(this.g1()-1)*f);var i=(g-h)/(this.g1()-1);d=.25*e+.5*h+a*i}return this.getCategorySize(b,c)*d},im:function(a){var b=.5;if(this.g1()>1){var c=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var d=0;if(!isNaN(this.overlap())){d=Math.min(this.overlap(),1)}var e=1-.5*c;var f=e/(this.g1()-(this.g1()-1)*d);var g=(e-f)/(this.g1()-1);b=.25*c+.5*f+a*g}return b},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=!b.isEmpty()?this.c9():$.ig.Rect.prototype.empty();this.h7().ca(a,c,b)},io:function(a,b){var $self=this;var c;var d;(function(){var $ret=$self.hw.o(b,c,d);c=$ret.minAngle;d=$ret.maxAngle;return $ret.ret})();if(c==0){if(this.isInverted()){return this.itemsCount()}else{return 0}}var e=this.getUnscaledAngle(c);if(e<0||e>this.itemsCount()){e=this.getUnscaledAngle(c+Math.PI*2)}return e},ip:function(a,b){var $self=this;var c;var d;(function(){var $ret=$self.hw.o(b,c,d);c=$ret.minAngle;d=$ret.maxAngle;return $ret.ret})();if(d>Math.PI*2){d=d-Math.PI*2}if(d==Math.PI*2){if(this.isInverted()){return 0}else{return this.itemsCount()}}var e=this.getUnscaledAngle(d);if(e<0||e>this.itemsCount()){e=this.getUnscaledAngle(d+Math.PI*2)}return e},getScaledAngle:function(a){var b=this.itemsCount();var c=b>=2?a/b:b==1?.5:NaN;if(this.c8()){c=1-c}return c*2*Math.PI+this.h0},getUnscaledAngle:function(a){var b=(a-this.h0)/(2*Math.PI);if(this.isInverted()){b=1-b}return b*this.itemsCount()},getScaledValue:function(a,b){return this.getScaledAngle(a)},ep:function(a,b,c,d){$.ig.CategoryAxisBase.prototype.ep.call(this,a,b,c,d);var e=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());switch(b){case $.ig.CategoryAngleAxis.prototype.bv:var f=$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,d);this.ir(f);if(f!=null){f.jg(this)}this.de(true);this.e1(false);break;case $.ig.CategoryAngleAxis.prototype.hu:this.h0=this.startAngleOffset();while(this.h0<0){this.h0+=360}while(this.h0>=360){this.h0-=360}this.h0=this.h0*Math.PI/180;this.de(true);this.e1(false);var h=this.dj().getEnumerator();while(h.moveNext()){var g=h.current();g.renderSeries(false);g.fs()}break;case $.ig.CategoryAngleAxis.prototype.bx:if(e!=null){var j=e.axes().getEnumerator();while(j.moveNext()){var i=j.current();i.de(true);i.renderAxis()}}break;case $.ig.CategoryAngleAxis.prototype.bw:if(e!=null){var l=e.axes().getEnumerator();while(l.moveNext()){var k=l.current();if($.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,k)!==null||$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,k)!==null){k.de(true);k.renderAxis()}}}break;case $.ig.CategoryAngleAxis.prototype.bt:this.h7(this.ig());this.iq();this.de(true);this.e1(false);break}},iq:function(){this.hy=NaN},ir:function(a){this.h8(a)},interval:function(a){if(arguments.length===1){this.c($.ig.CategoryAngleAxis.prototype.intervalProperty,a);return a}else{return this.b($.ig.CategoryAngleAxis.prototype.intervalProperty)}},is:function(){return false},dk:function(){return $.ig.AxisOrientation.prototype.angular},e6:function(){if(this.g0()==null){return false}var a=this.g0().g();if(a!=this.h9()){var b=new $.ig.AxisRangeChangedEventArgs(1,1,this.h9(),a);this.h9(a);this.d4(b);return true}return false},h1:null,h9:function(a){if(arguments.length===1){this.h1=a;return a}else{return this.h1}},$type:new $.ig.Type("CategoryAngleAxis",$.ig.CategoryAxisBase.prototype.$type,[$.ig.IAngleScaler.prototype.$type])},true);$.ig.util.defType("CategoryAxisBaseView","AxisView",{_bj:null,bj:function(a){if(arguments.length===1){this._bj=a;return a}else{return this._bj}},init:function(a){$.ig.AxisView.prototype.init.call(this,a);this.bj(a)},bm:function(a){var b=0;for(var c=0;c<a.count();c++){var d=$.ig.util.cast($.ig.FrameworkElement.prototype.$type,a.__inner[c]);if(d==null){d=this.m().dm().item(c);$.ig.util.cast($.ig.TextBlock.prototype.$type,d).a3(a.__inner[c]==null?"":a.__inner[c].toString());b++}else{this.r().a1().add(d)}}return b},$type:new $.ig.Type("CategoryAxisBaseView",$.ig.AxisView.prototype.$type)},true);$.ig.util.defType("CategoryAngleAxisView","CategoryAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.CategoryAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("CategoryAngleAxisView",$.ig.CategoryAxisBaseView.prototype.$type)},true);$.ig.util.defType("ISortingAxis","Object",{$type:new $.ig.Type("ISortingAxis",null)},true);$.ig.util.defType("CategoryDateTimeXAxis","CategoryAxisBase",{init:function(){$.ig.CategoryAxisBase.prototype.init.call(this);this.a3($.ig.CategoryDateTimeXAxis.prototype.$type);this.h3=new Date;this.h4=new Date},dt:function(){return new $.ig.CategoryDateTimeXAxisView(this)},dw:function(a){$.ig.CategoryAxisBase.prototype.dw.call(this,a);this.ie(a)},_ie:null,ie:function(a){if(arguments.length===1){this._ie=a;return a}else{return this._ie}},isSorting:function(){return true},isDateTime:function(){return true},displayType:function(a){if(arguments.length===1){this.c($.ig.CategoryDateTimeXAxis.prototype.displayTypeProperty,a);return a}else{return this.b($.ig.CategoryDateTimeXAxis.prototype.displayTypeProperty)}},minimumValue:function(a){if(arguments.length===1){this.c($.ig.CategoryDateTimeXAxis.prototype.minimumValueProperty,a);return a}else{return this.b($.ig.CategoryDateTimeXAxis.prototype.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.CategoryDateTimeXAxis.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.CategoryDateTimeXAxis.prototype.maximumValueProperty)}},interval:function(a){if(arguments.length===1){this.c($.ig.CategoryDateTimeXAxis.prototype.intervalProperty,a);return a}else{return this.b($.ig.CategoryDateTimeXAxis.prototype.intervalProperty)}},ea:function(a,b,c){var d=$.ig.CategoryAxisBase.prototype.ea.call(this,a,b,c);if(!d){return false}return this.actualMinimumValue()!=this.actualMaximumValue()},dy:function(){return new $.ig.HorizontalAxisLabelPanel},getCategorySize:function(a,b){return b.width()/(this.itemsCount()*a.width())},getGroupCenter:function(a,b,c){return this.getCategorySize(b,c)*.5},he:function(a,b){var c=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var d=1-.5*c;var e=this.getCategorySize(a,b)*d;return e},h2:null,ig:function(a){if(arguments.length===1){this.h2=a;return a}else{return this.h2}},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();
var c=!b.isEmpty()?this.c9():$.ig.Rect.prototype.empty();var d=new $.ig.ScalerParams(b,c,this.isInverted());var e=this.c6().au();var f=this.c6().av();var g=this.c6().aw();var h=this.c6().ax();this.d9();this.ez(e);this.ez(f);this.ez(g);this.ez(h);this.db().clear();this.dc().clear();this.gz().clear();this.dd().bq(this);this.dd().bv(b);this.dd().bt(c);if(b.isEmpty()||c.isEmpty()){this.dm().g(0)}if(this.dm().g()==0){this.dd().a1().clear()}if(this.labelSettings()!=null){this.labelSettings().r(this)}this.iq();if(!b.isEmpty()&&!c.isEmpty()&&(this.displayType()!=$.ig.TimeAxisDisplayType.prototype.discrete||this.ij()!=null)){var i=c.bottom();if(this.crossingAxis()!=null){var j=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.crossingAxis());if(j!=null){var k=new $.ig.ScalerParams(b,c,j.isInverted());i=this.crossingValue();i=j.getScaledValue(i,k);if(i<c.top()){i=c.top()}else if(i>c.bottom()){i=c.bottom()}}}if(isNaN(i)){i=0}this.ew(e,i,c);this.dd().bw(i);if(this.displayType()==$.ig.TimeAxisDisplayType.prototype.discrete){var l=this.getFirstVisibleIndex(b,c);var m=this.getLastVisibleIndex(b,c);if(l<0||m<0){return}var n=NaN;for(var o=l;o<=m;o++){var p=this.ig()==null?o:this.ig().__inner[o];var q=this.getScaledValue(this.ij().item(p).getTime(),d);if(q==n){continue}n=q;if(this.categoryMode()==$.ig.CategoryMode.prototype.mode2){q+=this.isInverted()?-this.getGroupCenter(o,b,c):this.getGroupCenter(o,b,c)}if(q<c.left()||q>c.right()){continue}this.ey(g,q,c);this.gz().add(q);if(this.g0()!=null&&o<this.g0().g()){var r=this.g0().item(p);var s=$.ig.Axis.prototype.fb.call(this,r);if(!isNaN(q)&&!Number.isInfinity(q)){this.db().add1(s);this.dc().add(new $.ig.LabelPosition(q))}}}}else{var t=this.getUnscaledValue(c.left(),d);var u=this.getUnscaledValue(c.right(),d);var v=Math.min(t,u);var w=Math.max(t,u);var x=new $.ig.LinearNumericSnapper(0,v,w,c.width());var y=this.ih()?this.ip():x.h();var z=Math.floor((v-this.actualMinimumValue().getTime())/y);var aa=Math.ceil((w-this.actualMinimumValue().getTime())/y);var ab=0;if(this.categoryMode()==$.ig.CategoryMode.prototype.mode2){ab=this.getGroupCenter(0,b,c);ab=this.isInverted()?-ab:ab}var ac=Math.ceil(c.right());var ad=Math.floor(c.left());var ae=this.getScaledValue(this.actualMinimumValue().getTime()+z*y,d)+ab;for(var af=z;af<=aa;af++){var ag=this.getScaledValue(this.actualMinimumValue().getTime()+(af+1)*y,d)+ab;if(!isNaN(ae)&&!Number.isInfinity(ae)){var ah=Math.round(ae);if(ah<=ac){if(af%2==0){this.ex(f,ae,ag,c)}this.ey(g,ae,c);this.gz().add(ae);for(var ai=1;ai<x.j();++ai){var aj=this.getScaledValue(this.actualMinimumValue().getTime()+af*y+ai*y/x.j(),d)+ab;this.ey(h,aj,c)}}if(ah>=ad&&ah<=ac){var ak=this.actualMinimumValue().getTime()+af*y;var ticks_=Math.floor(ak);var al=new Date(ticks_);var am=this.fb(al);this.db().add1(am);this.dc().add(new $.ig.LabelPosition(ae))}}ae=ag}}if((this.labelSettings()==null||this.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&this.crossingAxis()!=null){if(this.labelSettings()!=null&&(this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideTop||this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideBottom)){this.seriesViewer().iw()}}this.dd().br(this.db());this.dd().bs(this.dc());this.hp()}},ip:function(){return this.ii()},iq:function(){var a=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var b=!a.isEmpty()?this.c9():$.ig.Rect.prototype.empty();var c=new Date;var d=new Date;if(!a.isEmpty()&&!b.isEmpty()&&this.ij()!=null){var e=$.ig.util.cast($.ig.FastItemDateTimeColumn.prototype.$type,this.ij());if(e!=null){if(this.ig()==null){this.ig(e.v())}}else{this.ig(null)}if(this.ij().count()>0){var f=this.ig()==null?0:this.ig().__inner[0];var g=this.ig()==null?this.ij().count()-1:this.ig().__inner[this.ij().count()-1];c=this.ij().item(f);d=this.ij().item(g);this.ih(false);if(this.categoryMode()==$.ig.CategoryMode.prototype.mode2){var h=d.getTime()-c.getTime();var timeOffset_=Math.round(h*1.25/this.itemsCount()/2);if(timeOffset_==0){timeOffset_=1}var minTime_=c.getTime();var maxTime_=d.getTime();c=new Date(minTime_-timeOffset_);d=new Date(maxTime_+timeOffset_)}}}if(this.it()){c=this.minimumValue()}if(this.iu()){d=this.maximumValue()}if(this.ir()){this.ii(this.interval());var i=Math.abs(d.getTime()-c.getTime());this.ih(this.is()||this.displayType()==$.ig.TimeAxisDisplayType.prototype.discrete||1*i/this.ip()>b.width()/a.width()?false:true)}this.actualMinimumValue(c);this.actualMaximumValue(d)},ir:function(){return this.interval()!=0},is:function(){return this.ii()==0},it:function(){return this.minimumValue()!=null},iu:function(){return this.maximumValue()!=null},h3:null,actualMinimumValue:function(a){if(arguments.length===1){var b=this.h3!=a;if(b){var c=this.h3;this.h3=a;this.e8($.ig.CategoryDateTimeXAxis.prototype.hy,c,a)}return a}else{return this.h3}},h4:null,actualMaximumValue:function(a){if(arguments.length===1){var b=this.h4!=a;if(b){var c=this.h4;this.h4=a;this.e8($.ig.CategoryDateTimeXAxis.prototype.hz,c,a)}return a}else{return this.h4}},_ih:null,ih:function(a){if(arguments.length===1){this._ih=a;return a}else{return this._ih}},h5:null,ii:function(a){if(arguments.length===1){this.h5=a;return a}else{return this.h5}},getScaledValue:function(a,b){var c;if(this.actualMaximumValue()==this.actualMinimumValue()){c=-1}else{c=(a-this.actualMinimumValue().getTime())/(this.actualMaximumValue().getTime()-this.actualMinimumValue().getTime())}var d=0;if(this.categoryMode()==$.ig.CategoryMode.prototype.mode2){d=this.getGroupCenter(0,b.a,b.b)}if(this.isInverted()){c=1-c;d=-d}return b.b.left()+b.b.width()*(c-b.a.left())/b.a.width()-d},getUnscaledValue:function(a,b){return this.hd(a,b.a,b.b,this.categoryMode())},hd:function(a,b,c,d){var e=b.left()+b.width()*(a-c.left())/c.width();if(this.isInverted()){e=1-e}return Math.floor(this.actualMinimumValue().getTime()+e*(this.actualMaximumValue().getTime()-this.actualMinimumValue().getTime()))},i1:function(a){return this.ij()==null?$.ig.Date.prototype.minValue():this.ij().item(a)},dateTimeMemberPath:function(a){if(arguments.length===1){this.c($.ig.CategoryDateTimeXAxis.prototype.dateTimeMemberPathProperty,a);return a}else{return this.b($.ig.CategoryDateTimeXAxis.prototype.dateTimeMemberPathProperty)}},ij:function(a){if(arguments.length===1){if(this.h6!=a){var b=this.h6;this.h6=a;this.e8($.ig.CategoryDateTimeXAxis.prototype.h1,b,this.h6)}return a}else{return this.h6}},h6:null,i4:function(a){if(a==null){return this.g0().y(null,null)}var b=null;var c=$.ig.SeriesViewer.prototype.getCoercionMethod(a,this.coercionMethods());a=c.c();b=c.d();return this.g0().y(a,b)},ep:function(a,b,c,d){$.ig.CategoryAxisBase.prototype.ep.call(this,a,b,c,d);switch(b){case $.ig.CategoryDateTimeXAxis.prototype.gf:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(e!=null){e.ac(this.ij());this.ij(null);e.event=$.ig.Delegate.prototype.remove(e.event,this.i5.runOn(this))}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(f!=null){this.ig(null);this.ij(this.i4(this.dateTimeMemberPath()));f.event=$.ig.Delegate.prototype.combine(f.event,this.i5.runOn(this))}this.i6(false);break;case $.ig.CategoryDateTimeXAxis.prototype.h0:if(this.g0()!=null){this.g0().ac(this.ij());this.ij(this.i4(this.dateTimeMemberPath()));this.ig(null)}break;case $.ig.CategoryDateTimeXAxis.prototype.hu:this.de(true);this.dd().b4(this.displayType()==$.ig.TimeAxisDisplayType.prototype.discrete);this.e1(false);break;case $.ig.CategoryDateTimeXAxis.prototype.hv:this.updateRange();this.i6(false);break;case $.ig.CategoryDateTimeXAxis.prototype.hw:this.updateRange();this.i6(false);break;case $.ig.CategoryDateTimeXAxis.prototype.hx:this.de(true);this.e1(false);break}},i5:function(a,b){this.ig(null)},i6:function(a){this.e7(a);if(this.g0()==null){return}var c=this.fu().getEnumerator();while(c.moveNext()){var b=c.current();b.renderSeries(a)}},e6:function(){var a=this.actualMinimumValue().getTime();var b=this.actualMaximumValue().getTime();var c=!this.it()?this.actualMinimumValue().getTime():this.minimumValue().getTime();var d=!this.iu()?this.actualMaximumValue().getTime():this.maximumValue().getTime();var e=new $.ig.AxisRangeChangedEventArgs(a,c,b,d);this.d4(e);return true},sortedIndices:function(){if(this.ig()==null){var b=$.ig.util.cast($.ig.FastItemDateTimeColumn.prototype.$type,this.ij());if(b!=null){this.ig(b.v())}else{this.ig(null)}}return this.ig()},getFirstVisibleIndex:function(a,b){var c=new $.ig.ScalerParams(a,b,this.isInverted());var d,e;if(this.isInverted()){e=this.getUnscaledValue(b.left(),c);d=this.getUnscaledValue(b.right(),c)}else{d=this.getUnscaledValue(b.left(),c);e=this.getUnscaledValue(b.right(),c)}var f=0;for(var g=0;g<this.ig().count();g++){if(this.ij()==null){break}var h=this.ij().item(this.ig().__inner[g]);if(h.getTime()>=d){break}f=g}return f},getLastVisibleIndex:function(a,b){var c=new $.ig.ScalerParams(a,b,this.isInverted());var d,e;if(this.isInverted()){e=this.getUnscaledValue(b.left(),c);d=this.getUnscaledValue(b.right(),c)}else{d=this.getUnscaledValue(b.left(),c);e=this.getUnscaledValue(b.right(),c)}var f=this.ig().count()-1;var g=f;for(var h=f;h>=0;h--){if(this.ij()==null||this.ig().count()<=h){break}var i=this.ig().__inner[h];if(i>=this.ij().count()){break}var j=this.ij().item(i);if(j.getTime()<e){break}g=Math.min(h+1,this.ig().count()-1)}return g},getUnscaledValueAt:function(a){if(this.ij()==null){return NaN}var b=this.h6.item(a);var c=b.getTime();var d=c;return d},getExactUnsortedIndexClosestToUnscaledValue:function(a){var b=this;var c=new $.ig.SortedListView$1($.ig.Date.prototype.$type,this.ij(),b.sortedIndices());var ticks_=a;var d=new Date(ticks_);var e=this.i7(a,d,c);if(e>=0&&e<b.sortedIndices().count()&&e-1>=0&&e-1<b.sortedIndices().count()){var diff1_=d.getTime()-c.item(e-1).getTime();var diff2_=c.item(e).getTime()-d.getTime();var f=e-1;var g=e;if(f<0&&g>=0){return g}if(g>b.sortedIndices().count()-1&&f<b.sortedIndices().count()){return f}if(f<0&&g<0){return-1}if(f>b.sortedIndices().count()-1&&g>b.sortedIndices().count()-1){return-1}var h=diff1_/(diff1_+diff2_);if(isNaN(h)){h=0}return f+h}if(e>=0&&e<b.sortedIndices().count()){return e}return-1},i7:function(a,b,c){var $self=this;var d=this;if(this.ij()==null||d.sortedIndices()==null){return-1}var e=-1;var g=c.binarySearch$1($.ig.Date.prototype.$type,function(f){if(b<f){return-1}if(b>f){return 1}return 0});if(g>=0){e=g}else{e=~g}while(e>=0&&e<c.count()&&e-1>=0&&c.item(e)==c.item(e-1)){e--}return e},getIndexClosestToUnscaledValue:function(a){var b=this;var c=new $.ig.SortedListView$1($.ig.Date.prototype.$type,this.ij(),b.sortedIndices());var ticks_=a;var d=new Date(ticks_);var e=this.i7(a,d,c);if(e>=0&&e<b.sortedIndices().count()&&e-1>=0&&e-1<b.sortedIndices().count()){var f=d-c.item(e-1);var g=c.item(e)-d;if(f<g){e=e-1}}if(e>=0&&e<b.sortedIndices().count()){return b.sortedIndices().__inner[e]}if(e==b.sortedIndices().count()&&this.seriesViewer()!=null&&Math.abs(this.getScaledValue(a,new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.c9(),this.isInverted()))-this.c9().right())<2){return e-1}if(e==-1&&this.seriesViewer()!=null&&Math.abs(this.getScaledValue(a,new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.c9(),this.isInverted()))-this.c9().left())<2){return 0}return-1},notifyDataChanged:function(){this.ig(null);this.renderAxis()},dk:function(){return $.ig.AxisOrientation.prototype.horizontal},$type:new $.ig.Type("CategoryDateTimeXAxis",$.ig.CategoryAxisBase.prototype.$type,[$.ig.ISortingAxis.prototype.$type])},true);$.ig.util.defType("CategoryDateTimeXAxisView","CategoryAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.CategoryAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("CategoryDateTimeXAxisView",$.ig.CategoryAxisBaseView.prototype.$type)},true);$.ig.util.defType("AxisRenderingParametersBase","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.t(new $.ig.List$1($.ig.RangeInfo.prototype.$type,0))},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},_af:null,af:function(a){if(arguments.length===1){this._af=a;return a}else{return this._af}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},$type:new $.ig.Type("AxisRenderingParametersBase",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CategoryAxisRenderingParameters","AxisRenderingParametersBase",{init:function(){$.ig.AxisRenderingParametersBase.prototype.init.call(this)},_bl:null,bl:function(a){if(arguments.length===1){this._bl=a;return a}else{return this._bl}},_bm:null,bm:function(a){if(arguments.length===1){this._bm=a;return a}else{return this._bm}},_bn:null,bn:function(a){if(arguments.length===1){this._bn=a;return a}else{return this._bn}},_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},_bp:null,bp:function(a){if(arguments.length===1){this._bp=a;return a}else{return this._bp}},$type:new $.ig.Type("CategoryAxisRenderingParameters",$.ig.AxisRenderingParametersBase.prototype.$type)},true);$.ig.util.defType("AxisRendererBase","Object",{init:function(a){var $self=this;$.ig.Object.prototype.init.call(this);this.am(function(){});this.an(function(b,c){return false});this.ao(function(){});this.ap(function(d,e){return e});this.aq(function(f,g,h,i){});this.ar(function(j,k,l){});this.as(function(m,n){return false});this.at(function(o,p){return $self.as()(o,p)});this.au(function(q){});this.av(function(r){});this.aw(function(s,t,u){return false});this.ax(function(v,w){return new $.ig.LabelPosition(w)});this.ay(function(x,y){return y});this.a0(function(z){return null});this.a2(function(aa,ab,ac,ad){return ab});this.a3(function(ae,af,ag,ah){return af});this.az(a);this.a1(function(ai,aj){return null})},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},_at:null,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},_au:null,au:function(a){if(arguments.length===1){this._au=a;return a}else{return this._au}},_av:null,av:function(a){if(arguments.length===1){this._av=a;return a}else{return this._av}},_aw:null,aw:function(a){if(arguments.length===1){this._aw=a;return a}else{return this._aw}},_ax:null,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},_ay:null,ay:function(a){if(arguments.length===1){this._ay=a;return a}else{return this._ay}},_az:null,az:function(a){if(arguments.length===1){this._az=a;return a}else{return this._az}},_a0:null,a0:function(a){if(arguments.length===1){this._a0=a;return a}else{return this._a0}},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},_a2:null,a2:function(a){if(arguments.length===1){this._a2=a;return a}else{return this._a2}},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},ca:function(a,b,c){var $self=this;this.cd(c,b);if(this.an()(b,c)){this.ao()();var d=this.a1()(b,c);this.cd(c,b);if(d==null){this.cb();return}if(d.t().count()>1&&!d.af()){this.cc(d)}var f=d.t().getEnumerator();while(f.moveNext()){var e=f.current();d.u(e);if(isNaN(e.g())||Number.isInfinity(e.g())||isNaN(e.f())||Number.isInfinity(e.f())){continue}if(e.f()==e.g()){continue}this.av()(d);this.az().ac(d.ac());var g=$.ig.CategoryMode.prototype.mode0;var h=0;var i=false;var k=function(j){return j};if(this.a4()!=null){k=this.a5()}if($.ig.util.cast($.ig.CategoryAxisRenderingParameters.prototype.$type,d)!==null){g=d.bm();h=d.bo();i=d.bp()}d.v(this.cf(d));d.v().o(function(){var $ret=new $.ig.TickmarkValuesInitializationParameters;$ret.r(d.u().f());$ret.s(d.u().g());$ret.t(d.aa());$ret.u(d.ab());$ret.v(d.u().i());$ret.w(d.af());$ret.x(d.ae());$ret.y(d.u().h());$ret.z(d.u().j());$ret.aa(g);$ret.ab(h);$ret.ad(d.s());$ret.ac(d.r());$ret.ae(i);$ret.ah(k);return $ret}());this.cg(d)}this.ce()}},cb:function(){this.az().ag()},cc:function(a){var $self=this;var b=-Number.MAX_VALUE;var c=-Number.MAX_VALUE;var d=$.ig.CategoryMode.prototype.mode0;var e=0;var f=false;var h=function(g){return g};if(this.a4()!=null){h=this.a5()}if($.ig.util.cast($.ig.CategoryAxisRenderingParameters.prototype.$type,a)!==null){d=a.bm();e=a.bo();f=a.bp()}var j=a.t().getEnumerator();while(j.moveNext()){var i=j.current();a.u(i);a.v().o(function(){var $ret=new $.ig.TickmarkValuesInitializationParameters;$ret.r(i.f());$ret.s(i.g());$ret.t(a.aa());$ret.u(a.ab());$ret.v(i.i());$ret.w(a.af());$ret.x(a.ae());$ret.y(i.h());$ret.z(i.j());$ret.aa(d);$ret.ab(e);$ret.ad(a.s());$ret.ac(a.r());$ret.ae(f);$ret.ah(h);return $ret}());i.h(a.v().k());i.j(a.v().n());if(!isNaN(a.v().k())){b=Math.max(b,a.v().k());c=Math.max(c,a.v().n())}}var l=a.t().getEnumerator();while(l.moveNext()){var k=l.current();if(k.h()==b){k.h(-1);k.j(-1)}else{k.h(b);k.j(c)}}},cd:function(a,b){this.am()();this.az().w(a,b);this.az().y()},ce:function(){this.az().y();if(this.az().l()){this.az().ae(0)}else{var a=0;var c=this.az().g().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.FrameworkElement.prototype.$type,b);if(d==null){d=this.az().ad(a);d.a3(b.toString());a++}else{this.az().aa(d)}}this.az().ae(a)}},cf:function(a){var b=$.ig.util.cast($.ig.LogarithmicTickmarkValues.prototype.$type,a.v());if(b!=null){var c=Math.min(a.u().f(),a.u().g());var d=Math.max(a.u().f(),a.u().g());var e=Math.floor(Math.logBase(c,b.af()));var f=Math.ceil(Math.logBase(d,b.af()));if(f-e<2){return new $.ig.LinearTickmarkValues}}return a.v()},cg:function(a){var b=a.v().x().toArray$1(Number);var c=a.v().y().toArray$1(Number);this.az().ab(this.ap()(a,a.v().k()));this.au()(a);for(var d=0;d<b.length;d++){var e=a.v().l()+d;var f=b[d];var g=f;var h=0;if(d<b.length-1){h=b[d+1]}else{h=Number.POSITIVE_INFINITY}g=this.a2()(a,g,e,a.v().k());h=this.a2()(a,h,e,a.v().k());var i=this.ap()(a,g);var j=this.ap()(a,h);if(this.as()(a,i)){if(e%2==0&&this.at()(a,j)&&!Number.isInfinity(j)){this.aq()(a,a.w(),i,j)}this.ar()(a,a.x(),i)}i=this.a3()(a,i,e,a.v().k());if(!isNaN(i)&&!Number.isInfinity(i)&&this.aw()(a,i,d==b.length-1)){var k=this.ch(a,g,e,a.v().k());if(k!=null){this.az().x(k,this.ax()(a,i))}}}if(a.ah()){for(var l=0;l<c.length;l++){var m=c[l];var n=this.ap()(a,m);this.ar()(a,a.y(),n)}}},ch:function(a,b,c,d){return null},$type:new $.ig.Type("AxisRendererBase",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CategoryAxisRenderer","AxisRendererBase",{init:function(a){$.ig.AxisRendererBase.prototype.init.call(this,a)},c1:function(a,b,c,d,e){var f=$.ig.util.cast($.ig.CategoryAxisRenderingParameters.prototype.$type,a);var g=$.ig.CategoryMode.prototype.mode0;if(f!=null){g=f.bm()}var h=new $.ig.LinearCategorySnapper(1,a.u().f(),a.u().g(),a.u().i(),a.ae(),g);b=h.g();if(a.u().h()!=-1){b=a.u().h()}var i=Math.floor((a.u().f()-a.aa())/b);var j=Math.ceil((a.u().g()-a.aa())/b);d=i;e=j;c=h.h();if(a.u().j()!=-1){c=a.u().j()}return{interval:b,minorCount:c,first:d,last:e}},ch:function(a,b,c,d){var e=$.ig.util.cast($.ig.CategoryAxisRenderingParameters.prototype.$type,a);if(e==null){return null}var f=0;if(d>=1){f=c*Math.floor(d)}else{if(c*d*2%2==0){f=Math.floor(c*d)}else{f=-1}}var g=null;if(e.bl()>0&&f<e.bl()&&f>=0||e.bn()){while(f>=e.bl()&&e.bn()){f-=e.bl()}g=this.a0()(f)}return g},c2:function(a,b,c,d,e,f){var g=$.ig.util.cast($.ig.CategoryAxisRenderingParameters.prototype.$type,a);if(g.bm()!=$.ig.CategoryMode.prototype.mode0&&g.bo()!=0){for(var h=0;h<b;h++){for(var i=0;i<g.bo();i++){var j=this.a4()(i,a.s(),a.r());if(g.bp()){j=-j}var k=this.ap()(a,h+e*b)+j;this.ar()(a,a.y(),k)}}}},$type:new $.ig.Type("CategoryAxisRenderer",$.ig.AxisRendererBase.prototype.$type)},true);$.ig.util.defType("CategoryXAxis","CategoryAxisBase",{dt:function(){return new $.ig.CategoryXAxisView(this)},dw:function(a){$.ig.CategoryAxisBase.prototype.dw.call(this,a);this.hz(a)},_hz:null,hz:function(a){if(arguments.length===1){this._hz=a;return a}else{return this._hz}},init:function(){this.hv=1;this.hw=1;$.ig.CategoryAxisBase.prototype.init.call(this);this.gz(new $.ig.List$1(Number,0));this.a3($.ig.CategoryXAxis.prototype.$type)},hv:null,h0:function(a){if(arguments.length===1){this.hv=a;return a}else{return this.hv}},hw:null,h1:function(a){if(arguments.length===1){this.hw=a;return a}else{return this.hw}},dy:function(){return new $.ig.HorizontalAxisLabelPanel},getCategorySize:function(a,b){return b.width()/(this.itemsCount()*a.width())},he:function(a,b){var c=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var d=0;if(!isNaN(this.overlap())){d=Math.min(this.overlap(),1)}else{d=0}var e=1-.5*c;var f=this.g1()==0?1:this.g1();var g=this.getCategorySize(a,b)*e/(f-(f-1)*d);return g},getGroupCenter:function(a,b,c){var d=.5;if(this.g1()>1){var e=!isNaN(this.gap())?$.ig.MathUtil.prototype.i(this.gap(),0,1):0;var f=0;if(!isNaN(this.overlap())){f=Math.min(this.overlap(),1)}var g=1-.5*e;var h=g/(this.g1()-(this.g1()-1)*f);var i=(g-h)/(this.g1()-1);d=.25*e+.5*h+a*i}return this.getCategorySize(b,c)*d},scrollIntoView:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.c9();var d=new $.ig.Rect(0,0,0,1,1);var e=new $.ig.ScalerParams(d,d,this.isInverted());var f=!b.isEmpty()&&!c.isEmpty()&&this.g0()!=null?this.g0().x(a):-1;var g=f>-1?this.getScaledValue(f,e):NaN;if(!isNaN(g)&&this.seriesViewer().fz()){if(!isNaN(g)){if(g<b.left()+.1*b.width()){g=g+.4*b.width();b.x(g-.5*b.width())}if(g>b.right()-.1*b.width()){g=g-.4*b.width();b.x(g-.5*b.width())}}this.seriesViewer().ig(b)}},getScaledValue:function(a,b){var c=this.categoryMode()==$.ig.CategoryMode.prototype.mode0?this.itemsCount()-1:this.itemsCount();if(c<0){c=0}var d=c>=1?a/c:c==0?.5:NaN;if(this.c8()){d=1-d}return b.b.left()+b.b.width()*(d-b.a.left())/b.a.width()},getUnscaledValue:function(a,b){return this.hd(a,b.a,b.b,this.categoryMode())},hd:function(a,b,c,d){var e=b.left()+(a-c.left())*b.width()/c.width();if(this.c8()){e=1-e}var f=d==$.ig.CategoryMode.prototype.mode0?this.itemsCount()-1:this.itemsCount();if(f<0){f=0}return e*f},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.c9();var d=new $.ig.ScalerParams(b,c,this.isInverted());var e=this.c6().au();var f=this.c6().av();var g=this.c6().aw();var h=this.c6().ax();this.d9();this.ez(e);this.ez(f);this.ez(g);this.ez(h);this.db().clear();this.dc().clear();this.gz().clear();this.c6().az(this,b,c);if(b.isEmpty()||c.isEmpty()){this.dm().g(0)}if(this.dm().g()==0){this.c6().a0()}if(this.labelSettings()!=null){this.labelSettings().r(this)}if(this.itemsSource()==null){return}if(!b.isEmpty()&&!c.isEmpty()){var i=this.getUnscaledValue(c.left(),d);var j=this.getUnscaledValue(c.right(),d);if(this.isInverted()){i=Math.ceil(i);j=Math.floor(j)}else{i=Math.floor(i);j=Math.ceil(j)}var k=c.bottom();if(this.crossingAxis()!=null){var l=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.crossingAxis());if(l!=null){var m=new $.ig.ScalerParams(b,c,l.isInverted());k=this.crossingValue();k=l.getScaledValue(k,m);if(k<c.top()){k=c.top()}else if(k>c.bottom()){k=c.bottom()}}}this.ew(e,k,c);this.c6().a3(k);var n=Math.min(i,j);var o=Math.max(i,j);var p=new $.ig.LinearCategorySnapper(1,n,o,c.width(),this.interval(),this.categoryMode());var q=Math.floor((n-0)/p.g());var r=Math.ceil((o-0)/p.g());if(!isNaN(q)&&!isNaN(r)){var s=q;var t=r;var u=this.getScaledValue(0+s*p.g(),d);this.c6().a1(this.getScaledValue(p.g(),d));var v=Math.ceil(c.right());var w=Math.floor(c.left());for(var x=s;x<=t;++x){var y=this.getScaledValue(0+(x+1)*p.g(),d);if(u<=c.right()){if(x%2==0){this.ex(f,u,y,c)}this.ey(g,u,c);this.gz().add(u);if(this.categoryMode()!=$.ig.CategoryMode.prototype.mode0&&this.g1()!=0&&this.dg()){for(var z=0;z<p.g();z++){for(var aa=0;aa<this.g1();aa++){var ab=this.getGroupCenter(aa,b,c);if(this.isInverted()){ab=-ab}var ac=this.getScaledValue(z+x*p.g(),d)+ab;this.ey(h,ac,c)}}}}var ad=u;if(this.categoryMode()!=$.ig.CategoryMode.prototype.mode0){var ae=this.getScaledValue(x*p.g()+1,d);ad=(u+ae)/2}var af=Math.round(ad);if(af>=w&&af<=v){var ag=0;if(p.g()>=1){ag=x*Math.floor(p.g())}else{if(x*p.g()*2%2==0){ag=Math.floor(x*p.g())}else{ag=-1}}if(this.g0()!=null&&ag<this.g0().g()&&ag>=0){var ah=this.g0().item(ag);var ai=this.fb(ah);if(!isNaN(ad)&&!Number.isInfinity(ad)){this.db().add1(ai);this.dc().add(new $.ig.LabelPosition(ad))}}}u=y}}if((this.labelSettings()==null||this.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&this.crossingAxis()!=null){if(this.labelSettings()!=null&&(this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideTop||this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideBottom)){this.seriesViewer().iw()}}this.c6().a2(this.db(),this.dc());this.hp()}},e6:function(){if(this.g0()==null){return false}var a=this.g0().g();if(a!=this.h1()){var b=new $.ig.AxisRangeChangedEventArgs(1,1,this.h1(),a);this.h1(a);this.d4(b);return true}return false},interval:function(a){if(arguments.length===1){this.c($.ig.CategoryXAxis.prototype.intervalProperty,a);return a}else{return this.b($.ig.CategoryXAxis.prototype.intervalProperty)}},hh:function(a){if(a==null){return false}var b=this.fp();if(b==null){return false}return b.synchronizeHorizontally()},dk:function(){return $.ig.AxisOrientation.prototype.horizontal},$type:new $.ig.Type("CategoryXAxis",$.ig.CategoryAxisBase.prototype.$type)},true);$.ig.util.defType("CategoryXAxisView","CategoryAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.CategoryAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("CategoryXAxisView",$.ig.CategoryAxisBaseView.prototype.$type)},true);$.ig.util.defType("CategoryYAxis","CategoryAxisBase",{dt:function(){return new $.ig.CategoryYAxisView(this)},dw:function(a){$.ig.CategoryAxisBase.prototype.dw.call(this,a);this.hz(a)},_hz:null,hz:function(a){if(arguments.length===1){this._hz=a;return a}else{return this._hz}},isVertical:function(){return true},getCategoryBoundingBox:function(a,b,c){return this.getCategoryBoundingBoxHelper(a,b,c,true)},init:function(){var $self=this;this.hv=1;this.hw=1;$.ig.CategoryAxisBase.prototype.init.call(this);this.gz(new $.ig.List$1(Number,0));this.a3($.ig.CategoryYAxis.prototype.$type);this.labelSettings(function(){var $ret=new $.ig.AxisLabelSettings;$ret.location($.ig.AxisLabelsLocation.prototype.outsideLeft);$ret.r($self);return $ret}())},interval:function(a){if(arguments.length===1){this.c($.ig.CategoryYAxis.prototype.intervalProperty,a);return a}else{return this.b($.ig.CategoryYAxis.prototype.intervalProperty)}},hv:null,h0:function(a){if(arguments.length===1){this.hv=a;return a}else{return this.hv}},hw:null,h1:function(a){if(arguments.length===1){this.hw=a;return a}else{return this.hw}},getScaledValue:function(a,b){var c=this.categoryMode()==$.ig.CategoryMode.prototype.mode0?this.itemsCount()-1:this.itemsCount();if(c<0){c=0}var d=c>=1?a/c:c==0?.5:NaN;if(!this.c8()){d=1-d}return b.b.top()+b.b.height()*(d-b.a.top())/b.a.height()},getUnscaledValue:function(a,b){return this.hd(a,b.a,b.b,this.categoryMode())},hd:function(a,b,c,d){var e=b.top()+(a-c.top())*b.height()/c.height();if(!this.c8()){e=1-e}var f=d==$.ig.CategoryMode.prototype.mode0?this.itemsCount()-1:this.itemsCount();if(f<0){f=0}return e*f},dy:function(){return new $.ig.VerticalAxisLabelPanel},getCategorySize:function(a,b){return b.height()/(this.itemsCount()*a.height())},he:function(a,b){var c=0;if(!isNaN(this.gap())){c=$.ig.MathUtil.prototype.i(this.gap(),0,1)}var d=0;if(!isNaN(this.overlap())){d=Math.min(this.overlap(),1)}var e=1-.5*c;var f=this.getCategorySize(a,b)*e/(this.g1()-(this.g1()-1)*d);return f},getGroupCenter:function(a,b,c){var d=.5;if(this.g1()>1){var e=0;if(!isNaN(this.gap())){e=$.ig.MathUtil.prototype.i(this.gap(),0,1)}var f=0;if(!isNaN(this.overlap())){f=Math.min(this.overlap(),1)}var g=1-.5*e;var h=g/(this.g1()-(this.g1()-1)*f);var i=(g-h)/(this.g1()-1);d=.25*e+.5*h+a*i}return this.getCategorySize(b,c)*d},scrollIntoView:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.c9();var d=new $.ig.Rect(0,0,0,1,1);var e=new $.ig.ScalerParams(d,d,this.isInverted());var f=!b.isEmpty()&&!c.isEmpty()&&this.g0()!=null?this.g0().x(a):-1;var g=f>-1?this.getScaledValue(f,e):NaN;if(!isNaN(g)&&this.seriesViewer().fz()){if(!isNaN(g)){if(g<b.top()+.1*b.height()){g=g+.4*b.height();b.y(g-.5*b.height())}if(g>b.bottom()-.1*b.height()){g=g-.4*b.height();b.y(g-.5*b.height())}}this.seriesViewer().ig(b)}},e6:function(){if(this.g0()==null){return false}var a=this.g0().g();if(a!=this.h1()){var b=new $.ig.AxisRangeChangedEventArgs(1,1,this.h1(),a);this.h1(a);this.d4(b);return true}return false},hh:function(a){if(a==null){return false}var b=this.fp();if(b==null){return false}return b.synchronizeVertically()},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.c9();var d=new $.ig.ScalerParams(b,c,this.isInverted());var e=this.c6().au();var f=this.c6().av();var g=this.c6().aw();var h=this.c6().ax();this.d9();this.ez(e);this.ez(f);this.ez(g);this.ez(h);this.db().clear();this.dc().clear();this.gz().clear();this.c6().az(this,b,c);if(b.isEmpty()||c.isEmpty()){this.dm().g(0)}if(this.dm().g()==0){this.c6().a0()}if(this.labelSettings()!=null){this.labelSettings().r(this)}if(this.itemsSource()==null){return}if(!b.isEmpty()&&!c.isEmpty()){var i=this.getUnscaledValue(c.top(),d);var j=this.getUnscaledValue(c.bottom(),d);if(!this.isInverted()){i=Math.ceil(i);j=Math.floor(j)}else{i=Math.floor(i);j=Math.ceil(j)}var k=c.left();if(this.crossingAxis()!=null){var l=$.ig.util.cast($.ig.NumericXAxis.prototype.$type,this.crossingAxis());if(l!=null){var m=new $.ig.ScalerParams(b,c,l.isInverted());k=this.crossingValue();k=l.getScaledValue(k,m);if(k<c.left()){k=c.left()}else if(k>c.right()){k=c.right()
}}}this.ey(e,k,c);this.c6().a3(k);var n=Math.min(i,j);var o=Math.max(i,j);var p=new $.ig.LinearCategorySnapper(1,n,o,c.height(),this.interval(),this.categoryMode());var q=Math.floor((n-0)/p.g());var r=Math.ceil((o-0)/p.g());if(!isNaN(q)&&!isNaN(r)){var s=q;var t=r;var u=this.getScaledValue(0+s*p.g(),d);this.dd().bp(this.getScaledValue(p.g(),d));for(var v=s;v<=t;++v){var w=this.getScaledValue(0+(v+1)*p.g(),d);if(u<=c.bottom()){if(v%2==0){this.ev(f,u,w,c)}this.ew(g,u,c);this.gz().add(u);if(this.categoryMode()!=$.ig.CategoryMode.prototype.mode0&&this.g1()!=0){for(var x=0;x<p.g();x++){for(var y=0;y<this.g1();y++){var z=this.getGroupCenter(y,b,c);if(!this.isInverted()){z=-z}var aa=this.getScaledValue(x+v*p.g(),d)+z;this.ew(h,aa,c)}}}}var ab=u;if(this.categoryMode()!=$.ig.CategoryMode.prototype.mode0){var ac=this.getScaledValue(v*p.g()+1,d);ab=(u+ac)/2}if(ab<=c.bottom()&&ab>=c.top()){var ad=0;if(p.g()>=1){ad=v*Math.floor(p.g())}else{if(v*p.g()*2%2==0){ad=Math.floor(v*p.g())}else{ad=-1}}if(this.g0()!=null&&ad<this.g0().g()&&ad>=0){var ae=this.g0().item(ad);var af=this.fb(ae);if(!isNaN(ab)&&!Number.isInfinity(ab)){this.db().add1(af);this.dc().add(new $.ig.LabelPosition(ab))}}}u=w}}if((this.labelSettings()==null||this.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&this.crossingAxis()!=null){if(this.labelSettings()!=null&&(this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideLeft||this.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideRight)){this.seriesViewer().iw()}}this.c6().a2(this.db(),this.dc());this.hp()}},dk:function(){return $.ig.AxisOrientation.prototype.vertical},$type:new $.ig.Type("CategoryYAxis",$.ig.CategoryAxisBase.prototype.$type)},true);$.ig.util.defType("CategoryYAxisView","CategoryAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.CategoryAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("CategoryYAxisView",$.ig.CategoryAxisBaseView.prototype.$type)},true);$.ig.util.defType("HorizontalAxisLabelPanelBase","AxisLabelPanelBase",{init:function(){$.ig.AxisLabelPanelBase.prototype.init.call(this)},b6:function(){return new $.ig.HorizontalAxisLabelPanelBaseView(this)},b7:function(a){$.ig.AxisLabelPanelBase.prototype.b7.call(this,a);this.d2(a)},_d2:null,d2:function(a){if(arguments.length===1){this._d2=a;return a}else{return this._d2}},_d3:null,d3:function(a){if(arguments.length===1){this._d3=a;return a}else{return this._d3}},c9:function(){this.d2().ak()},d8:function(){return this.bq().labelSettings()!=null&&this.bq().labelSettings().y()&&this.db()%360!=0},d9:function(){return this.bz()&&!this.b0()},c8:function(){var $self=this;var a=new $.ig.List$1($.ig.Rect.prototype.$type,0);this.b1(false);this.b0(false);this.b2(false);var b=Math.abs(this.db()%180);var c=this.bq().labelSettings()!=null?this.bq().labelSettings().angle()*Math.PI/180:0;if(this.d8()){this.b0(true)}this.d2().al(a,c);this.bz(this.bz()||this.c6(a));if(this.bz()){this.eb(a)}else{this.ec()}if(!this.bq().fh()){if(!this.bz()){this.b5(this.d3())}else{var d=this.bq().labelSettings()!=null&&!isNaN(this.bq().labelSettings().extent())?this.bq().labelSettings().extent():$.ig.AxisLabelSettings.prototype.extentPropertyDefault;this.b5(Math.min(d,this.de(this.b3())))}}else{this.bo().w()}if(this.b0()){for(var e=0;e<a.count();e++){var f=a.__inner[e];f.x(this.bs().__inner[e].b());a.__inner[e]=f}}var g=0;if(this.d9()){g=function(){var $ret=$self.c7($self.d3(),a);a=$ret.rectangles;return $ret.ret}()}if(this.bz()&&!this.b1()){if(g>0){if(this.d2().am()){this.b2(true)}}}if(this.bz()&&this.ee()){var h=this.bu().width();var i=this.bs().count()>1?this.bs().__inner[1].b()-this.bs().__inner[0].b():h;var j=Math.abs(i*.8);var k=0;var l=Math.abs(Math.atan(this.d3()/i)*180/Math.PI);for(var m=0;m<a.count();m++){if(this.b4()){if(m>0&&m<a.count()-1){var n=this.bs().count()>1?this.bs().__inner[m].b()-(a.__inner[m-1].x()+a.__inner[m-1].width()):h;var o=this.bs().count()>1?a.__inner[m+1].x()-this.bs().__inner[m].b():h;j=Math.abs(Math.min(Math.abs(n*2),Math.abs(o*2))*.8)}else{if(m==0){var p=this.bs().count()>1?a.__inner[m+1].x()-this.bs().__inner[m].b():h;j=Math.abs(i*2*.8)}if(m==a.count()-1){var q=this.bs().count()>1?this.bs().__inner[m].b()-(a.__inner[m-1].x()+a.__inner[m-1].width()):h;j=Math.abs(q*2*.8)}}}var r=Math.min(this.dd(this.bx().__inner[m]),j);k=this.b0()?this.bs().__inner[m].b():this.bs().__inner[m].b()-r/2;var s=b>=l&&b<=180-l;if(this.b0()&&s){var t=this.dd(this.bx().__inner[m]);j=Math.min(this.b5()/Math.abs(Math.sin(c)),t)}var u=a.__inner[m];u.x(k);u.width(Math.min(j,this.dd(this.bx().__inner[m])));a.__inner[m]=u;if(!($.ig.util.cast($.ig.TextBlock.prototype.$type,this.bx().__inner[m])!==null)){this.bx().__inner[m].width(Math.min(j,this.dd(this.bx().__inner[m])))}var v=$.ig.util.cast($.ig.TextBlock.prototype.$type,this.bx().__inner[m]);if(v!=null){var w=this.dp(m,v,j);if(this.b2()){v.height(this.b5())}else if(!v.a3().equals(w)){v.a3(w);this.bx().__inner[m].width(Math.min(j,this.dd(this.bx().__inner[m])))}}}}if(this.ed()){this.ea(a)}return a},ea:function(a){this.d2().an(a)},eb:function(a){},ec:function(){},dh:function(a,b){var $self=this;var c=0;var d=this.d3()/2;var e=function(){var $ret=new $.ig.RotateTransform;$ret.h($self.db());$ret.i(c);$ret.j(d);return $ret}();a.f(e)},ed:function(){return!this.b1()&&!this.b0()},ee:function(){return true},c7:function(a,b){var c=0;var d=new $.ig.List$1($.ig.Rect.prototype.$type,0);if(a*3<=this.b5()){c=3}else if(a*2<=this.b5()){c=2}else{return{ret:c,rectangles:b}}for(var e=0;e<b.count();e++){var f=b.__inner[e].duplicate();if(e%c==0){f.y(0)}else if(e%c==c-1){f.y(this.b5()-f.height())}else{f.y(this.b5()/2-f.height()/2)}d.add(f)}this.bz(this.c6(d));if(!this.bz()){this.b1(true);b=d}return{ret:c,rectangles:b};return{rectangles:b}},$type:new $.ig.Type("HorizontalAxisLabelPanelBase",$.ig.AxisLabelPanelBase.prototype.$type)},true);$.ig.util.defType("HorizontalAxisLabelPanel","HorizontalAxisLabelPanelBase",{init:function(){$.ig.HorizontalAxisLabelPanelBase.prototype.init.call(this)},dl:function(){return $.ig.AxisLabelsLocation.prototype.outsideBottom},dm:function(a){return a==$.ig.AxisLabelsLocation.prototype.insideBottom||a==$.ig.AxisLabelsLocation.prototype.insideTop||a==$.ig.AxisLabelsLocation.prototype.outsideBottom||a==$.ig.AxisLabelsLocation.prototype.outsideTop},$type:new $.ig.Type("HorizontalAxisLabelPanel",$.ig.HorizontalAxisLabelPanelBase.prototype.$type)},true);$.ig.util.defType("HorizontalAxisLabelPanelBaseView","AxisLabelPanelBaseView",{_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},init:function(a){$.ig.AxisLabelPanelBaseView.prototype.init.call(this,a);this.ah(a)},ak:function(){},al:function(a,b){this.ah().d3(-Number.MAX_VALUE);for(var c=0;c<this.g().bx().count();c++){if(this.g().bs()==null||c>=this.g().bs().count()){break}var d,e,f,g,h;var i=this.g().bx().__inner[c];h=this.v(i);if(this.g().b0()){d=this.g().bs().__inner[c].b()}else{d=this.g().bs().__inner[c].b()-h/2}e=0;f=this.v(i);g=this.t(i);this.ah().d3(Math.max(g,this.ah().d3()));var j=new $.ig.Rect(0,d,e,f,g);a.add(j);var k=h*Math.abs(Math.sin(b));var l=this.g().bu().height();this.g().bz(k>l)}},am:function(){return false},an:function(a){},l:function(){return 0},m:function(){return this.g().bu().top()},$type:new $.ig.Type("HorizontalAxisLabelPanelBaseView",$.ig.AxisLabelPanelBaseView.prototype.$type)},true);$.ig.util.defType("NumericAxisBase","Axis",{dt:function(){return new $.ig.NumericAxisBaseView(this)},dw:function(a){$.ig.Axis.prototype.dw.call(this,a);this.g8(a)},_g8:null,g8:function(a){if(arguments.length===1){this._g8=a;return a}else{return this._g8}},isNumeric:function(){return true},init:function(){$.ig.Axis.prototype.init.call(this);this.hc(10)},minimumValue:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.minimumValueProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.minimumValueProperty)}},actualMinimumValue:function(a){if(arguments.length===1){if(this.actualMinimumValue()!=a){var b=this.gq;this.gq=a;this.g9(Math.log(this.actualMinimumValue()));this.e8($.ig.NumericAxisBase.prototype.gg,b,this.actualMinimumValue())}return a}else{return this.gq}},gq:null,_g9:null,g9:function(a){if(arguments.length===1){this._g9=a;return a}else{return this._g9}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.maximumValueProperty)}},actualMaximumValue:function(a){if(arguments.length===1){if(this.actualMaximumValue()!=a){var b=this.gr;this.gr=a;this.ha(Math.log(this.actualMaximumValue()));this.e8($.ig.NumericAxisBase.prototype.gi,b,this.actualMaximumValue())}return a}else{return this.gr}},gr:null,_ha:null,ha:function(a){if(arguments.length===1){this._ha=a;return a}else{return this._ha}},interval:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.intervalProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.intervalProperty)}},referenceValue:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.referenceValueProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.referenceValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.isLogarithmicProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.isLogarithmicProperty)}},gs:null,actualIsLogarithmic:function(a){if(arguments.length===1){if(this.actualIsLogarithmic()!=a){var b=this.gs;if(b!=a){this.gs=a;this.e8($.ig.NumericAxisBase.prototype.gm,b,this.actualIsLogarithmic())}}return a}else{return this.gs}},hb:function(){return this.actualIsLogarithmic()&&this.actualMinimumValue()>0&&this.hc()>1},logarithmBase:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.logarithmBaseProperty,a);return a}else{return this.b($.ig.NumericAxisBase.prototype.logarithmBaseProperty)}},_hc:null,hc:function(a){if(arguments.length===1){this._hc=a;return a}else{return this._hc}},_hd:null,hd:function(a){if(arguments.length===1){this._hd=a;return a}else{return this._hd}},_he:null,he:function(a){if(arguments.length===1){this._he=a;return a}else{return this._he}},ep:function(a,b,c,d){var $self=this;$.ig.Axis.prototype.ep.call(this,a,b,c,d);switch(b){case $.ig.NumericAxisBase.prototype.gf:this.updateRange();this.e1(false);break;case $.ig.NumericAxisBase.prototype.gh:this.updateRange();this.e1(false);break;case $.ig.NumericAxisBase.prototype.gl:this.he(true);this.actualIsLogarithmic(this.isLogarithmic());break;case $.ig.Axis.prototype.bw:case $.ig.Axis.prototype.bv:case $.ig.NumericAxisBase.prototype.gj:this.de(true);this.e1(false);break;case $.ig.NumericAxisBase.prototype.gn:this.he(true);this.hc(this.logarithmBase());if(this.actualIsLogarithmic()){this.updateRange();this.hv();this.e1(false)}break;case $.ig.NumericAxisBase.prototype.gk:var e=new $.ig.AxisRangeChangedEventArgs(this.actualMinimumValue(),this.actualMinimumValue(),this.actualMaximumValue(),this.actualMaximumValue());this.d4(e);this.de(true);this.e1(false);break;case $.ig.NumericAxisBase.prototype.bt:this.hd(this.hz());this.de(true);this.e1(false);break;case $.ig.NumericAxisBase.prototype.go:this.h5();break;case $.ig.NumericAxisBase.prototype.gm:this.updateRange();this.hv();this.de(true);this.h5();this.e1(false);break;case $.ig.NumericAxisBase.prototype.gp:this.de(true);this.e1(false);break}},hv:function(){var b=this.fu().getEnumerator();while(b.moveNext()){var a=b.current();a.renderSeries(false)}},hw:function(){var a=new $.ig.AxisRange(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY);var b=false;if(this.seriesViewer()!=null){var d=this.fu().getEnumerator();while(d.moveNext()){var c=d.current();var e=c.e9(this);if(e!=null){b=true;a=new $.ig.AxisRange(Math.min(a.c(),e.c()),Math.max(a.d(),e.d()))}}}if(b){return a}return null},hx:function(a,b,c,d,e,f,g){var $self=this;(function(){var $ret=$.ig.AutoRangeCalculator.prototype.c(a,b,c,d,e,f,g);f=$ret.minimumValue;g=$ret.maximumValue;return $ret.ret})();return{actualMinimumValue:f,actualMaximumValue:g}},e6:function(){var $self=this;var a=this.actualIsLogarithmic()&&!isNaN(this.logarithmBase())&&!Number.isInfinity(this.logarithmBase())&&this.logarithmBase()>1;var b;var c;(function(){var $ret=$self.hx($self,$self.minimumValue(),$self.maximumValue(),a,$self.logarithmBase(),b,c);b=$ret.actualMinimumValue;c=$ret.actualMaximumValue;return $ret.ret})();if(b!=this.actualMinimumValue()||c!=this.actualMaximumValue()||this.he()){this.he(false);var d=new $.ig.AxisRangeChangedEventArgs(this.actualMinimumValue(),b,this.actualMaximumValue(),c);this.actualMinimumValue(b);this.actualMaximumValue(c);this.d4(d);this.hy(d);this.e1(true);return true}return false},hy:function(a){},registerSeries:function(a){var b=$.ig.Axis.prototype.registerSeries.call(this,a);if(b){this.updateRange()}return b},deregisterSeries:function(a){var b=$.ig.Axis.prototype.deregisterSeries.call(this,a);if(b){this.updateRange()}return b},hz:function(){var $self=this;var a=function(){var $ret=new $.ig.AxisLabelManager;$ret.j($self);$ret.h($self.dc());$ret.g($self.db());$ret.i($self.dd());return $ret}();if(this.labelSettings()!=null){this.labelSettings().r(this)}var b=new $.ig.NumericAxisRenderer(a);b.am(function(){var c=$self.c6().au();var d=$self.c6().av();var e=$self.c6().aw();var f=$self.c6().ax();$self.d9();$self.ez(c);$self.ez(d);$self.ez(e);$self.ez(f)});b.an(function(g,h){return!h.isEmpty()&&!g.isEmpty()});b.a1(function(i,j){return $self.h3(i,j)});b.a0(function(k){return $self.fb(k)});return b},h0:function(){return new $.ig.NumericAxisRenderingParameters},h1:function(){},h2:function(){return null},h3:function(a,b){var c=this.h0();var d=this.c6().au();var e=this.c6().av();var f=this.c6().aw();var g=this.c6().ax();c.z(d);c.w(e);c.x(f);c.y(g);c.ab(this.actualMaximumValue());c.aa(this.actualMinimumValue());c.ag(this.hasUserMaximum());c.v(this.actualTickmarkValues());c.r(a);c.s(b);c.af(this.h4());c.ae(this.interval());c.ad(this.label());if(this.label()==null&&this.formatLabel()!=null){c.ad("Format")}c.ah(this.dg());return c},unscaleValue:function(a){var b=new $.ig.ScalerParams(this.seriesViewer().windowRect(),this.c9(),this.isInverted());b.c=this.seriesViewer().effectiveViewport();return this.getUnscaledValue(a,b)},h4:function(){return!isNaN(this.interval())},hasUserMinimum:function(){return!isNaN(this.minimumValue())},hasUserMaximum:function(){return!isNaN(this.maximumValue())},h5:function(){if(this.tickmarkValues()!=null){this.actualTickmarkValues(this.tickmarkValues())}else if(this.actualIsLogarithmic()){this.actualTickmarkValues(new $.ig.LogarithmicTickmarkValues);this.g8().bm()}else{this.actualTickmarkValues(new $.ig.LinearTickmarkValues)}},tickmarkValues:function(a){if(arguments.length===1){this.c($.ig.NumericAxisBase.prototype.tickmarkValuesProperty,a);return a}else{return $.ig.util.cast($.ig.TickmarkValues.prototype.$type,this.b($.ig.NumericAxisBase.prototype.tickmarkValuesProperty))}},gt:null,actualTickmarkValues:function(a){if(arguments.length===1){var b=this.gt;var c=b!=a;if(c){this.gt=a;this.e8($.ig.NumericAxisBase.prototype.gp,b,a)}return a}else{if(this.gt==null){this.h5()}return this.gt}},$type:new $.ig.Type("NumericAxisBase",$.ig.Axis.prototype.$type)},true);$.ig.util.defType("NumericAngleAxis","NumericAxisBase",{dt:function(){return new $.ig.NumericAngleAxisView(this)},dw:function(a){$.ig.NumericAxisBase.prototype.dw.call(this,a);this.iq(a)},_iq:null,iq:function(a){if(arguments.length===1){this._iq=a;return a}else{return this._iq}},_ir:null,ir:function(a){if(arguments.length===1){this._ir=a;return a}else{return this._ir}},isAngular:function(){return true},init:function(){this.ih=false;this.ii=NaN;this.ij=0;$.ig.NumericAxisBase.prototype.init.call(this);this.a3($.ig.NumericAngleAxis.prototype.$type);this.ir(new $.ig.PolarAxisRenderingManager);this.hd(this.hz())},dy:function(){var $self=this;var a=new $.ig.AngleAxisLabelPanel;a.d7(function(b){var c=$self.seriesViewer()!=null?$self.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var d=!c.isEmpty()?$self.c9():$.ig.Rect.prototype.empty();return $self.iz(b,{__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},c,d,$self.dd().b5())});return a},ix:function(){if(this.is()==null){return 0}if(!this.ft()){return this.is().jl()}else{return this.is().getScaledValue2(this.crossingValue())}},iy:function(a){return Math.round(a*Math.pow(10,10))/Math.pow(10,10)},ih:null,ii:null,hz:function(){var $self=this;var a=$.ig.NumericAxisBase.prototype.hz.call(this);a.az().k(function(b){if(($self.labelSettings()==null||$self.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&$self.is()!=null&&$self.ii!=b){var c=$.ig.util.cast($.ig.XamDataChart.prototype.$type,$self.seriesViewer());if(c==null){return}$self.ii=b;$self.dd().bw(b);c.iw()}});a.av(function(d){d.ac($self.ix())});a.au(function(e){var f=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,e);if(f.u()==f.t().__inner[0]){$self.ir().d(e.z(),e.ac(),e.r(),e.s(),f.center(),f.minAngle(),f.maxAngle())}});a.ar(function(g,h,i){var j=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,g);$self.ir().f(h,i,g.r(),g.s(),j.minLength(),j.maxLength(),j.center())});a.aq(function(k,l,m,n){var o=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,k);$self.ir().e(l,m,n,o.r(),k.s(),o.minLength(),o.maxLength(),o.center())});a.a1(function(p,q){var r=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,$self.h3(p,q));return r});a.ao(function(){if(!$self.ih){$self.ih=true;$self.is().updateRange();$self.ih=false}});a.ap(function(s,t){return $self.getScaledAngle1(t)});a.an(function(u,v){return!v.isEmpty()&&!u.isEmpty()&&$self.is()!=null});a.as(function(w,x){if($self.iy(x-$self.ij)<0){return false}if($self.iy(x-$self.ij-2*Math.PI)>0){return false}return true});a.aw(function(y,z,aa){var ab=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,y);var ac=$self.iz($self.getScaledAngle1(ab.ab()),ab.center(),y.s(),y.r(),0);var ad=$self.iz(z,ab.center(),y.s(),y.r(),0);if(aa&&$.ig.MathUtil.prototype.f(ac.__x-ad.__x,ac.__y-ad.__y)<2){return false}if(ad.__x<y.r().right()&&ad.__x>=y.r().left()&&ad.__y<y.r().bottom()&&ad.__y>=y.r().top()){return true}return false});a.a2(function(ae,af,ag,ah){if(af<ae.aa()&&$.ig.util.cast($.ig.LogarithmicTickmarkValues.prototype.$type,ae.v())!==null){return ae.aa()}else if(af>ae.ab()&&($.ig.util.cast($.ig.LogarithmicTickmarkValues.prototype.$type,ae.v())!==null||ae.ag())){return ae.ab()}return af});return a},iz:function(a,b,c,d,e){var f=this.ix();var g=$.ig.ViewportUtils.prototype.f(e,c,d);if(this.labelSettings()!=null&&(this.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideBottom||this.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.outsideBottom)){g*=-1}var h=b.__x+(f+g)*Math.cos(a);var i=b.__y+(f+g)*Math.sin(a);h=$.ig.ViewportUtils.prototype.a(h,c,d);i=$.ig.ViewportUtils.prototype.c(i,c,d);return{__x:h,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},getScaledValue:function(a,b){return this.getScaledAngle1(a)},i0:function(a,b,c){var d=0;if(b){d=(Math.log(a)-this.g9())/(this.ha()-this.g9())}else{d=(a-this.actualMinimumValue())/(this.actualMaximumValue()-this.actualMinimumValue())}if(c){d=1-d}return d*2*Math.PI+this.ij},getScaledAngle1:function(a){return this.i0(a,this.hb(),this.c8())},getUnscaledAngle:function(a){var b=(a-this.ij)/(2*Math.PI);if(this.isInverted()){b=1-b}if(this.hb()){return Math.exp(b*(this.ha()-this.g9())+this.g9())}else{return this.actualMinimumValue()+b*(this.actualMaximumValue()-this.actualMinimumValue())}},startAngleOffset:function(a){if(arguments.length===1){this.c($.ig.NumericAngleAxis.prototype.startAngleOffsetProperty,a);return a}else{return this.b($.ig.NumericAngleAxis.prototype.startAngleOffsetProperty)}},ij:null,ep:function(a,b,c,d){$.ig.NumericAxisBase.prototype.ep.call(this,a,b,c,d);var e=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());switch(b){case $.ig.NumericAngleAxis.prototype.bv:var f=$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,d);this.i4(f);if(f!=null){f.jg(this)}this.e1(false);break;case $.ig.NumericAngleAxis.prototype.ig:this.ij=this.startAngleOffset();while(this.ij<0){this.ij+=360}while(this.ij>=360){this.ij-=360}this.ij=this.startAngleOffset()*Math.PI/180;this.e1(false);var h=this.fu().getEnumerator();while(h.moveNext()){var g=h.current();g.renderSeries(false);g.fs()}break;case $.ig.NumericAngleAxis.prototype.bx:if(e!=null){var j=e.axes().getEnumerator();while(j.moveNext()){var i=j.current();i.renderAxis()}}break;case $.ig.NumericAngleAxis.prototype.bw:if(e!=null){var l=e.axes().getEnumerator();while(l.moveNext()){var k=l.current();if($.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,k)!==null||$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,k)!==null){k.renderAxis()}}}break;case $.ig.NumericAngleAxis.prototype.bt:this.hd(this.hz());this.i1();this.de(true);this.e1(false);break}},i1:function(){this.ii=NaN},h0:function(){return new $.ig.PolarAxisRenderingParameters},h3:function(a,b){var c=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,$.ig.NumericAxisBase.prototype.h3.call(this,a,b));var d=this.ir().k(b);var e=this.ir().l(b);var f=.5*this.is().i0();var g=.5*this.is().i1();var h=d;var i=e;var j=this.is().jl();if(isNaN(j)||Number.isInfinity(j)){return null}if(i>=f){i=j}if(h<g){h=g}var k=a.width();this.ir().p(b,c,this.actualMinimumValue(),this.actualMaximumValue(),this.isInverted(),this.getUnscaledAngle.runOn(this),k);var l={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.center(l);c.maxLength(i);c.minLength(h);c.effectiveMaximum(j);return c},getMinMaxAngle:function(a,b,c){var $self=this;(function(){var $ret=$self.ir().o(a,b,c);b=$ret.minAngle;c=$ret.maxAngle;return $ret.ret})();return{minAngle:b,maxAngle:c}},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=!b.isEmpty()?this.c9():$.ig.Rect.prototype.empty();this.hd().ca(a,c,b)},ik:null,is:function(a){if(arguments.length===1){this.ik=a;return a}else{if(this.ik!=null){return this.ik}var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());if(b!=null){return b.axes().ofType$1($.ig.NumericRadiusAxis.prototype.$type).firstOrDefault$1($.ig.NumericRadiusAxis.prototype.$type)}return this.ik}},i4:function(a){this.is(a)},ei:function(a,b){$.ig.Axis.prototype.ei.call(this,a,b);if(b.height()!=a.height()||b.width()!=a.width()){this.updateRange()}},dk:function(){return $.ig.AxisOrientation.prototype.angular},$type:new $.ig.Type("NumericAngleAxis",$.ig.NumericAxisBase.prototype.$type,[$.ig.IAngleScaler.prototype.$type])},true);$.ig.util.defType("NumericAxisBaseView","AxisView",{_bj:null,bj:function(a){if(arguments.length===1){this._bj=a;return a}else{return this._bj}},init:function(a){$.ig.AxisView.prototype.init.call(this,a);this.bj(a)},bm:function(){},$type:new $.ig.Type("NumericAxisBaseView",$.ig.AxisView.prototype.$type)},true);$.ig.util.defType("NumericAngleAxisView","NumericAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.NumericAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("NumericAngleAxisView",$.ig.NumericAxisBaseView.prototype.$type)},true);$.ig.util.defType("StraightNumericAxisBase","NumericAxisBase",{init:function(){$.ig.NumericAxisBase.prototype.init.call(this);this.i0()},dt:function(){return new $.ig.StraightNumericAxisBaseView(this)},dw:function(a){$.ig.NumericAxisBase.prototype.dw.call(this,a);this.io(a)},_io:null,io:function(a){if(arguments.length===1){this._io=a;return a}else{return this._io}},scaleMode:function(a){if(arguments.length===1){this.c($.ig.StraightNumericAxisBase.prototype.scaleModeProperty,a);return a}else{return this.b($.ig.StraightNumericAxisBase.prototype.scaleModeProperty)}},scaler:function(a){if(arguments.length===1){this.c($.ig.StraightNumericAxisBase.prototype.scalerProperty,a);return a}else{return this.b($.ig.StraightNumericAxisBase.prototype.scalerProperty)}},it:function(a,b){var c=$.ig.util.cast($.ig.StraightNumericAxisBase.prototype.$type,a);c.i0();c.e8($.ig.StraightNumericAxisBase.prototype.ih,b.f(),b.e())},iu:function(){return null},ij:null,ip:function(a){if(arguments.length===1){var b=this.ij!=a;if(b){var c=this.ij;this.ij=a;this.e8($.ig.StraightNumericAxisBase.prototype.ii,c,a)}return a}else{if(this.ij==null){this.i0()}return this.ij}},hx:function(a,b,c,d,e,f,g){var $self=this;(function(){var $ret=$self.ip().q(a,b,c,f,g);f=$ret.actualMinimumValue;g=$ret.actualMaximumValue;return $ret.ret})();return{actualMinimumValue:f,actualMaximumValue:g}},ix:function(a){var b=this.iq();this.iq(true);a.invoke();this.iq(b)},_iq:null,iq:function(a){if(arguments.length===1){this._iq=a;return a}else{return this._iq}},i0:function(){var a=this.scaler();if(a==null){a=this.h2()}this.ip(a);if(this.ip()==null){throw new $.ig.ArgumentNullException("ActualScaler")}this.i1()},i1:function(){this.io().br()},ep:function(a,b,c,d){var $self=this;if(this.iq()){return}$.ig.NumericAxisBase.prototype.ep.call(this,a,b,c,d);switch(b){case $.ig.NumericAxisBase.prototype.gn:this.i0();break;case $.ig.NumericAxisBase.prototype.gl:this.i0();break;case $.ig.StraightNumericAxisBase.prototype.ig:this.i0();break;case $.ig.StraightNumericAxisBase.prototype.ih:this.i0();break;case $.ig.StraightNumericAxisBase.prototype.ii:this.actualIsLogarithmic($.ig.util.cast($.ig.LogarithmicScaler.prototype.$type,this.ip())!==null);this.i1();this.updateRange();this.e1(false);break;case $.ig.NumericAxisBase.prototype.gi:this.i3();break;case $.ig.NumericAxisBase.prototype.gg:this.i2();this.i0();break}},i2:function(){this.ip().v(this.actualMinimumValue())},i3:function(){this.ip().w(this.actualMaximumValue())},$type:new $.ig.Type("StraightNumericAxisBase",$.ig.NumericAxisBase.prototype.$type)},true);$.ig.util.defType("NumericRadiusAxis","NumericAxisBase",{dt:function(){return new $.ig.NumericRadiusAxisView(this)},dw:function(a){$.ig.NumericAxisBase.prototype.dw.call(this,a);this.iy(a)},_iy:null,iy:function(a){if(arguments.length===1){this._iy=a;return a}else{return this._iy}},ii:null,init:function(){this.ij=NaN;$.ig.NumericAxisBase.prototype.init.call(this);this.a3($.ig.NumericRadiusAxis.prototype.$type);this.i0(this.radiusExtentScale());this.i1(this.innerRadiusExtentScale());this.ii=new $.ig.PolarAxisRenderingManager;this.hd(this.hz())},dy:function(){return new $.ig.RadialAxisLabelPanel},_iz:null,iz:function(a){if(arguments.length===1){this._iz=a;return a}else{return this._iz}},i8:function(a){return a},ij:null,hz:function(){var $self=this;var a=$.ig.NumericAxisBase.prototype.hz.call(this);a.az().k(function(b){if(($self.labelSettings()==null||$self.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&$self.i3()!=null){if(($self.labelSettings()==null||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideBottom)&&$self.ij!=b){$self.ij=b;$self.dd().bw(b);$self.seriesViewer().iw()}}});a.ar(function(c,d,e){var f=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,c);$self.ii.d(d,e,f.r(),f.s(),f.center(),f.minAngle(),f.maxAngle())});a.aq(function(g,h,i,j){if(i==j){return}var k=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,g);$self.ii.b(h,i,j,k.r(),k.s(),k.center(),k.minAngle(),k.maxAngle())});a.ap(function(l,m){return $self.getScaledValue2(m)});a.as(function(n,o){var p=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,n);return o<=p.effectiveMaximum()});a.at(function(q,r){var s=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,q);return r<=s.effectiveMaximum()});a.au(function(t){var u=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,t);$self.ii.f(t.z(),u.crossingAngleRadians(),t.r(),t.s(),u.minLength(),u.maxLength(),u.center())});a.av(function(v){v.ac($self.labelSettings()==null||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.outsideTop?v.r().top():v.r().bottom());var w=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,v);w.crossingAngleRadians($self.i8($self.crossingValue())*Math.PI/180);if($self.labelSettings()==null||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideBottom){w.ac($.ig.ViewportUtils.prototype.c(.5,w.s(),w.r())-v.r().top());var x=$.ig.util.cast($.ig.RadialAxisLabelPanel.prototype.$type,$self.dd());if(x!=null){var y=0;if($self.labelSettings()!=null&&$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop){y=1}x.ek({__x:$.ig.ViewportUtils.prototype.a(.5,w.s(),w.r()),__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});x.el(w.crossingAngleRadians())}}});a.aw(function(z,aa,ab){var ac=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,z);if($self.i3()==null){return false}if(aa>ac.effectiveMaximum()){return false}var ad=false;ad=$self.labelSettings()==null||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop||$self.labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideBottom;var ae=0;if(ad){ae=$self.i2()}var af=ac.center().__x+aa*Math.cos(ae);var ag=ac.center().__y+aa*Math.sin(ae);af=$.ig.ViewportUtils.prototype.a(af,ac.s(),ac.r());ag=$.ig.ViewportUtils.prototype.c(ag,ac.s(),ac.r());if(af<=z.r().right()&&af>=z.r().left()&&(ag<=z.r().bottom()&&ag>=z.r().top()||!ad)){return true}return false});a.ax(function(ah,ai){var aj=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,ah);return new $.ig.LabelPosition($.ig.ViewportUtils.prototype.a(aj.center().__x+ai,aj.s(),aj.r()))});a.a2(function(ak,al,am,an){if(al<ak.aa()){return ak.aa()}else if(al>ak.ab()){return ak.ab()}return al});return a},getScaledValue:function(a,b){return this.getScaledValue2(a)},i9:function(a,b,c,d,e){var f=0;if(b){if(a<=0){f=(Math.log(this.actualMinimumValue())-this.g9())/(this.ha()-this.g9())}else{f=(Math.log(a)-this.g9())/(this.ha()-this.g9())}}else{f=(a-this.actualMinimumValue())/(this.actualMaximumValue()-this.actualMinimumValue())}if(c){f=1-f}f=e+f*(d-e);f/=2;return f},getScaledValue2:function(a){return this.i9(a,this.hb(),this.c8(),this.i0(),this.i1())},getUnscaledValue:function(a){var b=a*2;b=(b-this.i1())/(this.i0()-this.i1());if(this.isInverted()){b=1-b}if(this.hb()){return Math.exp(b*(this.ha()-this.g9())+this.g9())}else{return this.actualMinimumValue()+b*(this.actualMaximumValue()-this.actualMinimumValue())}},radiusExtentScale:function(a){if(arguments.length===1){this.c($.ig.NumericRadiusAxis.prototype.radiusExtentScaleProperty,a);return a}else{return this.b($.ig.NumericRadiusAxis.prototype.radiusExtentScaleProperty)}},_i0:null,i0:function(a){if(arguments.length===1){this._i0=a;return a}else{return this._i0}},innerRadiusExtentScale:function(a){if(arguments.length===1){this.c($.ig.NumericRadiusAxis.prototype.innerRadiusExtentScaleProperty,a);return a}else{return this.b($.ig.NumericRadiusAxis.prototype.innerRadiusExtentScaleProperty)}},_i1:null,i1:function(a){if(arguments.length===1){this._i1=a;return a}else{return this._i1}},ep:function(a,b,c,d){switch(b){case $.ig.NumericRadiusAxis.prototype.bw:this.i2(this.i8(this.crossingValue())*Math.PI/180);break}$.ig.NumericAxisBase.prototype.ep.call(this,a,b,c,d);
switch(b){case $.ig.NumericRadiusAxis.prototype.ig:this.i0(this.radiusExtentScale());if(this.i0()<0){this.i0(.1)}if(this.i0()>1){this.i0(1)}if(this.i1()>=this.i0()){this.i1(this.i0()-.01);if(this.i1()<0){this.i1(0);this.i0(.01)}}this.de(true);this.e1(false);if(this.i3()!=null){this.i3().renderAxis()}var f=this.fu().getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false)}break;case $.ig.NumericRadiusAxis.prototype.ih:this.i1(this.innerRadiusExtentScale());if(this.i1()<0){this.i1(.1)}if(this.i1()>1){this.i1(1)}if(this.i1()>=this.i0()){this.i1(this.i0()-.01);if(this.i1()<0){this.i1(0);this.i0(.01)}}this.de(true);this.e1(false);if(this.i3()!=null){this.i3().renderAxis()}var h=this.fu().getEnumerator();while(h.moveNext()){var g=h.current();g.d9(true);g.renderSeries(false)}if(this.seriesViewer()!=null){this.seriesViewer().jv()}break;case $.ig.NumericRadiusAxis.prototype.bv:var i=$.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,d);var j=$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,d);if(i==null&&j==null){this.jg(null)}if(i!=null){this.jg(i);i.i4(this)}if(j!=null){this.jg(j);j.ir(this)}this.de(true);this.e1(false);break;case $.ig.NumericRadiusAxis.prototype.bs:if(this.i3()!=null){this.i3().de(true);this.i3().e1(false)}break}},_i2:null,i2:function(a){if(arguments.length===1){this._i2=a;return a}else{return this._i2}},jg:function(a){this.i3(a)},ik:null,i3:function(a){if(arguments.length===1){this.ik=a;return a}else{var $self=this;if(this.ik!=null){return this.ik}var b=$.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer());if(b!=null){return b.axes().where$1($.ig.Axis.prototype.$type,function(c){return $.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,c)!==null||$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,c)!==null}).firstOrDefault$1($.ig.Axis.prototype.$type)}return this.ik}},h0:function(){return new $.ig.PolarAxisRenderingParameters},h3:function(a,b){var $self=this;var c=$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,$.ig.NumericAxisBase.prototype.h3.call(this,a,b));var d=this.ii.k(b);var e=this.ii.l(b);var f=.5*this.i0();var g=.5*this.i1();var h,i;if(b==$.ig.SeriesViewer.prototype.dm){i=this.actualMaximumValue();h=this.actualMinimumValue()}else{i=Math.min(e,f);h=this.getUnscaledValue(d);i=this.getUnscaledValue(i);(function(){var $ret=$self.jj(a,b,h,i);h=$ret.visibleMinimum;i=$ret.visibleMaximum;return $ret.ret})()}var j={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var k=d;var l=e;var m=Math.min(a.width(),a.height())*(this.i0()-this.i1())/2;c.center(j);var n=Math.max(l,k);var o=Math.min(k,l);c.maxLength(n);c.minLength(o);var p=Math.min(h,i);var q=Math.max(h,i);if(p<this.actualMinimumValue()){p=this.actualMinimumValue()}if(q>this.actualMaximumValue()){q=this.actualMaximumValue()}c.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(p);$ret.g(q);$ret.i(m);return $ret}());var r=$.ig.util.cast($.ig.IAngleScaler.prototype.$type,this.i3());if(r!=null){var s;var t;(function(){var $ret=r.getMinMaxAngle(b,s,t);s=$ret.minAngle;t=$ret.maxAngle;return $ret.ret})();c.minAngle(Math.min(s,t));c.maxAngle(Math.max(s,t))}var u=this.jl();if(l>=f){l=u}if(k<g){k=g}c.minLength(k);c.maxLength(l);c.effectiveMaximum(u);c.v(this.actualTickmarkValues());var v=$.ig.util.cast($.ig.LinearTickmarkValues.prototype.$type,c.v());if(v!=null){v.ad(this.jk(j,c.minLength(),c.maxLength(),b,a))}return c},jj:function(a,b,c,d){var e={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f=0;if(this.isInverted()){f=this.getScaledValue2(this.actualMinimumValue())}else{f=this.getScaledValue2(this.actualMaximumValue())}var g=0;if(this.crossingValue()!=null){g=this.i2()}var h=e.__x+f*Math.cos(g);var i=e.__y+f*Math.sin(g);e.__x=$.ig.ViewportUtils.prototype.a(e.__x,b,a);e.__y=$.ig.ViewportUtils.prototype.c(e.__y,b,a);h=$.ig.ViewportUtils.prototype.a(h,b,a);i=$.ig.ViewportUtils.prototype.c(i,b,a);if(h>=a.left()&&h<=a.right()&&i>=a.top()&&i<=a.bottom()){if(this.isInverted()){d=this.actualMinimumValue()}else{d=this.actualMaximumValue()}}if(e.__x>=a.left()&&e.__x<=a.right()&&e.__y>=a.top()&&e.__y<=a.bottom()){if(this.isInverted()){c=this.actualMaximumValue()}else{c=this.actualMinimumValue()}}return{visibleMinimum:c,visibleMaximum:d}},jk:function(a,b,c,d,e){var f=$.ig.ViewportUtils.prototype.e(c-b,d,e);var g=f/Math.min(e.width(),e.height());if(g>.7){return 10}return 5},jl:function(){var a=0;if(!this.isInverted()){a=this.getScaledValue2(this.actualMaximumValue())}else{a=this.getScaledValue2(this.actualMinimumValue())}return a},hy:function(a){if(this.i3()!=null){this.i3().renderAxis()}},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=!b.isEmpty()?this.c9():$.ig.Rect.prototype.empty();this.hd().ca(a,c,b)},ei:function(a,b){$.ig.Axis.prototype.ei.call(this,a,b);if(b.height()!=a.height()||b.width()!=a.width()){this.updateRange()}},jm:function(a,b,c){var d=$.ig.util.cast($.ig.IPolarRadialRenderingParameters.prototype.$type,this.h3(b,c));if(d==null){return}this.ii.b(a.e(),d.minLength(),d.maxLength(),b,c,d.center(),d.minAngle(),d.maxAngle())},dk:function(){return $.ig.AxisOrientation.prototype.radial},$type:new $.ig.Type("NumericRadiusAxis",$.ig.NumericAxisBase.prototype.$type)},true);$.ig.util.defType("NumericRadiusAxisView","NumericAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.NumericAxisBaseView.prototype.init.call(this,a);this.bo(a)},$type:new $.ig.Type("NumericRadiusAxisView",$.ig.NumericAxisBaseView.prototype.$type)},true);$.ig.util.defType("NumericXAxis","StraightNumericAxisBase",{dt:function(){return new $.ig.NumericXAxisView(this)},dw:function(a){$.ig.StraightNumericAxisBase.prototype.dw.call(this,a);this.i8(a)},_i8:null,i8:function(a){if(arguments.length===1){this._i8=a;return a}else{return this._i8}},init:function(){$.ig.StraightNumericAxisBase.prototype.init.call(this);this.a3($.ig.NumericXAxis.prototype.$type);this.hd(this.hz())},dy:function(){return new $.ig.HorizontalAxisLabelPanel},hz:function(){var $self=this;var a=$.ig.NumericAxisBase.prototype.hz.call(this);a.az().k(function(b){if(($self.labelSettings()==null||$self.labelSettings().visibility()==$.ig.Visibility.prototype.visible)&&$self.crossingAxis()!=null){$self.dd().bw(b);if($self.labelSettings()!=null&&($self.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideTop||$self.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideBottom)){$self.seriesViewer().iw()}}});a.ar(function(c,d,e){$self.ey(d,e,c.r())});a.aq(function(f,g,h,i){$self.ex(g,h,i,f.r())});a.ap(function(j,k){var l=new $.ig.ScalerParams(j.s(),j.r(),$self.c8());return $self.getScaledValue(k,l)});a.as(function(m,n){return true});a.au(function(o){$self.ew(o.z(),o.ac(),o.r())});a.av(function(p){p.ac(p.r().bottom());var q=new $.ig.ScalerParams(p.s(),p.r(),$self.c8());if($self.crossingAxis()!=null&&$self.crossingAxis().seriesViewer()!=null){p.ac($self.crossingValue());p.ac($self.crossingAxis().getScaledValue(p.ac(),q));var r=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,$self.crossingAxis());if(r!=null&&r.categoryMode()==$.ig.CategoryMode.prototype.mode2){var s=.5*r.getCategorySize(p.s(),p.r());if(!r.isInverted()){s=-s}p.ac(p.ac()+s)}if(p.ac()<p.r().top()){p.ac(p.r().top())}else if(p.ac()>p.r().bottom()){p.ac(p.r().bottom())}}});a.aw(function(t,u,v){var w=Math.round(u);return w>=Math.floor(t.r().left())&&w<=Math.ceil(t.r().right())});return a},getScaledValue:function(a,b){if(this.ij!=null){return this.ij.ac(a,b)}return this.ip().ac(a,b)},getUnscaledValue:function(a,b){if(this.ij!=null){return this.ij.ab(a,b)}return this.ip().ab(a,b)},getScaledValueList:function(a,b,c,d){if(this.ij!=null){this.ij.ae(a,b,c,d);return}this.ip().ae(a,b,c,d)},getUnscaledValueList:function(a,b,c,d){if(this.ij!=null){this.ij.ad(a,b,c,d);return}this.ip().ad(a,b,c,d)},h3:function(a,b){var $self=this;var c=$.ig.NumericAxisBase.prototype.h3.call(this,a,b);var d=new $.ig.ScalerParams(b,a,this.isInverted());var e=NaN;var f=NaN;if(!this.isInverted()&&b.right()==1){f=this.actualMaximumValue()}else if(this.isInverted()&&b.left()==0){e=this.actualMaximumValue()}if(isNaN(e)){e=this.getUnscaledValue(a.left(),d)}if(isNaN(f)){f=this.getUnscaledValue(a.right(),d)}var g=Math.min(e,f);var h=Math.max(e,f);c.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(g);$ret.g(h);$ret.i(a.width());return $ret}());return c},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=!b.isEmpty()?this.c9():$.ig.Rect.prototype.empty();this.hd().ca(a,c,b)},ei:function(a,b){$.ig.Axis.prototype.ei.call(this,a,b);if(b.height()!=a.height()){this.updateRange()}},dk:function(){return $.ig.AxisOrientation.prototype.horizontal},h2:function(){if(this.isLogarithmic()){return new $.ig.HorizontalLogarithmicScaler}switch(this.scaleMode()){case $.ig.NumericScaleMode.prototype.linear:return new $.ig.HorizontalLinearScaler;case $.ig.NumericScaleMode.prototype.logarithmic:return new $.ig.HorizontalLogarithmicScaler}return null},$type:new $.ig.Type("NumericXAxis",$.ig.StraightNumericAxisBase.prototype.$type,[$.ig.IScaler.prototype.$type])},true);$.ig.util.defType("StraightNumericAxisBaseView","NumericAxisBaseView",{_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},init:function(a){$.ig.NumericAxisBaseView.prototype.init.call(this,a);this.bo(a)},br:function(){this.bo().ip().w(this.bo().actualMaximumValue());this.bo().ip().v(this.bo().actualMinimumValue())},$type:new $.ig.Type("StraightNumericAxisBaseView",$.ig.NumericAxisBaseView.prototype.$type)},true);$.ig.util.defType("NumericXAxisView","StraightNumericAxisBaseView",{_bt:null,bt:function(a){if(arguments.length===1){this._bt=a;return a}else{return this._bt}},init:function(a){$.ig.StraightNumericAxisBaseView.prototype.init.call(this,a);this.bt(a)},$type:new $.ig.Type("NumericXAxisView",$.ig.StraightNumericAxisBaseView.prototype.$type)},true);$.ig.util.defType("NumericYAxis","StraightNumericAxisBase",{dt:function(){return new $.ig.NumericYAxisView(this)},init:function(){$.ig.StraightNumericAxisBase.prototype.init.call(this);this.a3($.ig.NumericYAxis.prototype.$type);this.hd(this.hz())},dy:function(){return new $.ig.VerticalAxisLabelPanel},isVertical:function(){return true},getScaledValue:function(a,b){if(this.ij!=null){return this.ij.ac(a,b)}return this.ip().ac(a,b)},getScaledValueList:function(a,b,c,d){if(this.ij!=null){this.ij.ae(a,b,c,d);return}this.ip().ae(a,b,c,d)},getUnscaledValue:function(a,b){if(this.ij!=null){return this.ij.ab(a,b)}return this.ip().ab(a,b)},getUnscaledValueList:function(a,b,c,d){if(this.ij!=null){this.ij.ad(a,b,c,d);return}this.ip().ad(a,b,c,d)},hz:function(){var $self=this;var a=$.ig.NumericAxisBase.prototype.hz.call(this);a.az().k(function(b){if($self.labelSettings()==null||$self.labelSettings().visibility()==$.ig.Visibility.prototype.visible){$self.dd().bw(b);if($self.labelSettings()!=null&&($self.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideRight||$self.labelSettings().location()==$.ig.AxisLabelsLocation.prototype.insideLeft)){$self.seriesViewer().iw()}}});a.ar(function(c,d,e){$self.ew(d,e,c.r())});a.aq(function(f,g,h,i){$self.ev(g,h,i,f.r())});a.ap(function(j,k){var l=new $.ig.ScalerParams(j.s(),j.r(),$self.c8());return $self.getScaledValue(k,l)});a.as(function(m,n){return true});a.au(function(o){$self.ey(o.z(),o.ac(),o.r())});a.av(function(p){p.ac(p.r().left());var q=new $.ig.ScalerParams(p.s(),p.r(),$self.c8());if($self.crossingAxis()!=null&&$self.crossingAxis().seriesViewer()!=null){p.ac($self.crossingValue());p.ac($self.crossingAxis().getScaledValue(p.ac(),q));var r=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,$self.crossingAxis());if(r!=null&&r.categoryMode()==$.ig.CategoryMode.prototype.mode2){var s=.5*r.getCategorySize(p.s(),p.r());if(r.isInverted()){s=-s}p.ac(p.ac()+s)}if(p.ac()<p.r().left()){p.ac(p.r().left())}else if(p.ac()>p.r().right()){p.ac(p.r().right())}}});a.aw(function(t,u,v){var w=Math.round(u);return w>=Math.floor(t.r().top())&&w<=Math.ceil(t.r().bottom())});return a},h3:function(a,b){var $self=this;var c=$.ig.NumericAxisBase.prototype.h3.call(this,a,b);var d=new $.ig.ScalerParams(b,a,this.isInverted());var e=NaN;var f=NaN;if(!this.isInverted()&&b.top()==0){f=this.actualMaximumValue()}else if(this.isInverted()&&b.bottom()==1){e=this.actualMaximumValue()}if(isNaN(e)){e=this.getUnscaledValue(a.bottom(),d)}if(isNaN(f)){f=this.getUnscaledValue(a.top(),d)}var g=Math.min(e,f);var h=Math.max(e,f);var i=function(){var $ret=new $.ig.RangeInfo;$ret.f(g);$ret.g(h);$ret.i(a.height());return $ret}();c.t().add(i);return c},e7:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.c9();this.hd().ca(a,c,b)},ei:function(a,b){$.ig.Axis.prototype.ei.call(this,a,b);if(b.height()!=a.height()){this.updateRange()}},dk:function(){return $.ig.AxisOrientation.prototype.vertical},h2:function(){if(this.isLogarithmic()){return new $.ig.VerticalLogarithmicScaler}switch(this.scaleMode()){case $.ig.NumericScaleMode.prototype.linear:return new $.ig.VerticalLinearScaler;case $.ig.NumericScaleMode.prototype.logarithmic:return new $.ig.VerticalLogarithmicScaler}return null},iu:function(){return new $.ig.VerticalLinearScaler},$type:new $.ig.Type("NumericYAxis",$.ig.StraightNumericAxisBase.prototype.$type,[$.ig.IScaler.prototype.$type])},true);$.ig.util.defType("NumericYAxisView","StraightNumericAxisBaseView",{init:function(a){$.ig.StraightNumericAxisBaseView.prototype.init.call(this,a);this.bt(a)},_bt:null,bt:function(a){if(arguments.length===1){this._bt=a;return a}else{return this._bt}},$type:new $.ig.Type("NumericYAxisView",$.ig.StraightNumericAxisBaseView.prototype.$type)},true);$.ig.util.defType("PolarAxes","Object",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},init:function(a,b){this.a={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};$.ig.Object.prototype.init.call(this);this.d(a);this.e(b)},a:null,j:function(a,b,c,d,e){var f=this.a.__x+b*e(a);return $.ig.ViewportUtils.prototype.a(f,c,d)},k:function(a,b,c,d,e,f,g,h,i,j){var k=this.e().i0(a,e,f);var l=this.d().i9(b,g,h,i,j);var m=this.a.__x;var n=this.a.__y;var o=m+l*Math.cos(k);var p=n+l*Math.sin(k);o=d.left()+d.width()*(o-c.left())/c.width();p=d.top()+d.height()*(p-c.top())/c.height();return{__x:o,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},l:function(a,b,c,d,e,f,g,h){var i=Math.min(b!=null?b.count():0,c!=null?c.count():0);a.clear();var j;var k;var l=this.a.__x;var m=this.a.__y;var n;var o;var p=Math.min(this.e().actualMinimumValue(),this.e().actualMaximumValue());var q=Math.max(this.e().actualMinimumValue(),this.e().actualMaximumValue());var r=Math.min(this.d().actualMaximumValue(),this.d().actualMinimumValue());var s=Math.max(this.d().actualMaximumValue(),this.d().actualMinimumValue());var t=this.e().hb();var u=this.e().isInverted();var v=this.d().hb();var w=this.d().isInverted();var x=this.d().i0();var y=this.d().i1();for(var z=0;z<i;z++){if(b.item(z)<=q&&b.item(z)>=p&&c.item(z)<=s&&c.item(z)>=r||isNaN(b.item(z))||isNaN(c.item(z))){j=this.e().i0(b.item(z),t,u);k=this.d().i9(c.item(z),v,w,x,y);n=l+k*f(z,j);o=m+k*g(z,j);n=e.left()+e.width()*(n-d.left())/d.width();o=e.top()+e.height()*(o-d.top())/d.height();a.add({__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}else{a.add({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},m:function(a,b,c,d,e,f){var g=$.ig.ViewportUtils.prototype.b(a,c,d);var h=$.ig.ViewportUtils.prototype.d(b,c,d);var i=Math.sqrt(Math.pow(g-this.a.__x,2)+Math.pow(h-this.a.__y,2));var j=Math.acos((g-this.a.__x)/i);if(h-this.a.__y<0){j=2*Math.PI-j}e=this.e().getUnscaledAngle(j);f=this.d().getUnscaledValue(i);return{unscaledAngle:e,unscaledRadius:f}},n:function(a,b,c,d,e){var f=this.a.__y+b*e(a);return $.ig.ViewportUtils.prototype.c(f,c,d)},$type:new $.ig.Type("PolarAxes",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolarAxisRenderingManager","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e,f){var $self=this;var g=$.ig.ViewportUtils.prototype.e(a,e,f);var h=$.ig.ViewportUtils.prototype.g(a,e,f);var i=$.ig.ViewportUtils.prototype.a(b.__x,e,f);var j=$.ig.ViewportUtils.prototype.c(b.__y,e,f);if(d-c<Math.PI&&d-c>0){var k={__x:$.ig.ViewportUtils.prototype.a(b.__x+a*Math.cos(c),e,f),__y:$.ig.ViewportUtils.prototype.c(b.__y+a*Math.sin(c),e,f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var l={__x:$.ig.ViewportUtils.prototype.a(b.__x+a*Math.cos(d),e,f),__y:$.ig.ViewportUtils.prototype.c(b.__y+a*Math.sin(d),e,f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var m=new $.ig.PathFigure;m.__startPoint=k;m.__isClosed=false;m.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.i(false);$ret.h(l);$ret.k(new $.ig.Size(g,h));$ret.j($.ig.SweepDirection.prototype.clockwise);return $ret}());return m}else{var n=new $.ig.PathFigure;n.__startPoint={__x:i,__y:j-h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};n.__isClosed=true;n.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.i(false);$ret.h({__x:i,__y:j+h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.k(new $.ig.Size(g,h));$ret.j($.ig.SweepDirection.prototype.clockwise);return $ret}());n.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.i(false);$ret.h({__x:i,__y:j-h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.k(new $.ig.Size(g,h));$ret.j($.ig.SweepDirection.prototype.clockwise);return $ret}());return n}},b:function(a,b,c,d,e,f,g,h){var $self=this;var i=Math.min(b,c);var j=Math.max(b,c);var k=new $.ig.PathGeometry;var l=null;var m=null;var n=null;var o=null;if(i>0){l=this.a(i,f,g,h,e,d);if(h-g<Math.PI&&h-g>0){var p=$.ig.util.cast($.ig.ArcSegment.prototype.$type,l.__segments.__inner[0]);if(p!=null){var q={__x:$.ig.ViewportUtils.prototype.a(f.__x+j*Math.cos(h),e,d),__y:$.ig.ViewportUtils.prototype.c(f.__y+j*Math.sin(h),e,d),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};m=function(){var $ret=new $.ig.LineSegment(1);$ret.d(q);return $ret}()}}}if(j>0){n=this.a(j,f,g,h,e,d)}if(i>0){if(h-g<Math.PI&&h-g>0){var r=n.__startPoint;var s=$.ig.util.cast($.ig.ArcSegment.prototype.$type,n.__segments.__inner[0]);if(s!=null){n.__startPoint=s.h();s.h(r);s.j($.ig.SweepDirection.prototype.counterclockwise);var t={__x:$.ig.ViewportUtils.prototype.a(f.__x+i*Math.cos(g),e,d),__y:$.ig.ViewportUtils.prototype.c(f.__y+i*Math.sin(g),e,d),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};o=function(){var $ret=new $.ig.LineSegment(1);$ret.d(t);return $ret}()}}}if(m!=null&&o!=null){l.__segments.add(m);var u=n.__segments.__inner[0];n.__segments.remove(u);l.__segments.add(u);l.__segments.add(o);l.__isClosed=true;k.d().add(l)}else{if(l!=null){k.d().add(l);this.c(n)}if(n!=null){k.d().add(n)}}a.add(k)},c:function(a){if(a.__segments.count()>1){var b=$.ig.util.cast($.ig.ArcSegment.prototype.$type,a.__segments.__inner[0]);var c=$.ig.util.cast($.ig.ArcSegment.prototype.$type,a.__segments.__inner[1]);a.__segments.__inner[0]=c;a.__segments.__inner[1]=b;var d=c.h();var e=a.__startPoint;var f=b.h();a.__startPoint=d;c.h(f);b.h(e);b.j($.ig.SweepDirection.prototype.counterclockwise);c.j($.ig.SweepDirection.prototype.counterclockwise)}else{var g=a.__startPoint;var h=$.ig.util.cast($.ig.ArcSegment.prototype.$type,a.__segments.__inner[0]);if(h!=null){a.__startPoint=h.h();h.h(g);h.j($.ig.SweepDirection.prototype.counterclockwise)}}},d:function(a,b,c,d,e,f,g){if(b>0){var h=new $.ig.PathGeometry;h.d().add(this.a(b,e,f,g,d,c));a.add(h)}},e:function(a,b,c,d,e,f,g,h){var $self=this;var i=Math.min(b,c);var j=Math.max(b,c);var k=false;if(j-i>Math.PI){k=true}var l=Math.cos(i);var m=Math.sin(i);var n=h.__x+l*f;var o=h.__y+m*f;var p=h.__x+l*g;var q=h.__y+m*g;var r=Math.cos(j);var s=Math.sin(j);var t=h.__x+r*f;var u=h.__y+s*f;var v=h.__x+r*g;var w=h.__y+s*g;n=$.ig.ViewportUtils.prototype.a(n,e,d);o=$.ig.ViewportUtils.prototype.c(o,e,d);p=$.ig.ViewportUtils.prototype.a(p,e,d);q=$.ig.ViewportUtils.prototype.c(q,e,d);t=$.ig.ViewportUtils.prototype.a(t,e,d);u=$.ig.ViewportUtils.prototype.c(u,e,d);v=$.ig.ViewportUtils.prototype.a(v,e,d);w=$.ig.ViewportUtils.prototype.c(w,e,d);var x=new $.ig.PathFigure;x.__startPoint={__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};x.__isClosed=true;x.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:p,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());x.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:v,__y:w,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.k(new $.ig.Size($.ig.ViewportUtils.prototype.e(g,e,d),$.ig.ViewportUtils.prototype.g(g,e,d)));$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(k);return $ret}());x.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:t,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());x.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.k(new $.ig.Size($.ig.ViewportUtils.prototype.e(f,e,d),$.ig.ViewportUtils.prototype.g(f,e,d)));$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.i(k);return $ret}());var y=new $.ig.PathGeometry;y.d().add(x);a.add(y)},f:function(a,b,c,d,e,f,g){var h=new $.ig.LineGeometry;var i=Math.cos(b);var j=Math.sin(b);var k=g.__x+i*e;var l=g.__y+j*e;var m=g.__x+i*f;var n=g.__y+j*f;k=$.ig.ViewportUtils.prototype.a(k,d,c);l=$.ig.ViewportUtils.prototype.c(l,d,c);m=$.ig.ViewportUtils.prototype.a(m,d,c);n=$.ig.ViewportUtils.prototype.c(n,d,c);h.e({__x:k,__y:l,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});h.f({__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.add(h)},g:function(a,b){return a.__x>=b.left()&&a.__x<=b.right()},h:function(a,b){return a.__y>=b.top()&&a.__y<=b.bottom()},i:function(a,b){var c=Math.sqrt(Math.pow(a.__x-b.left(),2)+Math.pow(a.__y-b.top(),2));var d=Math.sqrt(Math.pow(a.__x-b.right(),2)+Math.pow(a.__y-b.top(),2));var e=Math.sqrt(Math.pow(a.__x-b.right(),2)+Math.pow(a.__y-b.bottom(),2));var f=Math.sqrt(Math.pow(a.__x-b.left(),2)+Math.pow(a.__y-b.bottom(),2));return Math.min(c,Math.min(d,Math.min(e,f)))},j:function(a,b){var c=Math.sqrt(Math.pow(a.__x-b.left(),2)+Math.pow(a.__y-b.top(),2));var d=Math.sqrt(Math.pow(a.__x-b.right(),2)+Math.pow(a.__y-b.top(),2));var e=Math.sqrt(Math.pow(a.__x-b.right(),2)+Math.pow(a.__y-b.bottom(),2));var f=Math.sqrt(Math.pow(a.__x-b.left(),2)+Math.pow(a.__y-b.bottom(),2));return Math.max(c,Math.max(d,Math.max(e,f)))},k:function(a){var b={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(this.g(b,a)&&this.h(b,a)){return 0}if(this.g(b,a)){if(b.__y<a.top()){return a.top()-b.__y}else{return b.__y-a.bottom()}}if(this.h(b,a)){if(b.__x<a.left()){return a.left()-b.__x}else{return b.__x-a.right()}}return this.i(b,a)},l:function(a){var b={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return this.j(b,a)},m:function(a,b){var c=Math.sqrt(Math.pow(b.__x-a.__x,2)+Math.pow(b.__y-a.__y,2));var d=Math.acos((b.__x-a.__x)/c);if(b.__y-a.__y<0){d=2*Math.PI-d}return d},n:function(a,b){return(a.__y-.5)*b.__x+(.5-a.__x)*b.__y+(a.__x*.5-.5*a.__y)},o:function(a,b,c){var d={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(this.g(d,a)&&this.h(d,a)){b=0;c=Math.PI*2;return{minAngle:b,maxAngle:c}}var e=this.m(d,{__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var f=this.m(d,{__x:a.right(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var g=this.m(d,{__x:a.right(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var h=this.m(d,{__x:a.left(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(this.h(d,a)&&a.left()>d.__x){b=e;c=2*Math.PI+h;return{minAngle:b,maxAngle:c}}b=Math.min(e,Math.min(f,Math.min(g,h)));c=Math.max(e,Math.max(f,Math.max(g,h)));return{minAngle:b,maxAngle:c}},p:function(a,b,c,d,e,f,g){var $self=this;var h;var i;(function(){var $ret=$self.o(a,h,i);h=$ret.minAngle;i=$ret.maxAngle;return $ret.ret})();var j=Math.min(h,i);var k=Math.max(h,i);if($.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,b)!==null){$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,b).minAngle(j);$.ig.util.cast($.ig.PolarAxisRenderingParameters.prototype.$type,b).maxAngle(k)}else if($.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,b)!==null){$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,b).minAngle(j);$.ig.util.cast($.ig.RadialAxisRenderingParameters.prototype.$type,b).maxAngle(k)}if(h==0&&i==Math.PI*2){var l=c;var m=d;var n=Math.min(l,m);var o=Math.max(l,m);b.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(n);$ret.g(o);$ret.i(g);return $ret}());return}else{if(i>Math.PI*2){i=i-Math.PI*2}var p=f(h);var q=f(i);if(p<c||p>d){p=f(h+Math.PI*2)}if(q<c||q>d){q=f(i+Math.PI*2)}var r=Math.min(p,q);var s=Math.max(p,q);if(!e&&p>q||e&&p<q){var t=d-s;var u=r-c;b.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(s);$ret.g(d);$ret.i(t/(t+u)*g);return $ret}());b.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(c);$ret.g(r);$ret.i(u/(t+u)*g);return $ret}())}else{b.t().add(function(){var $ret=new $.ig.RangeInfo;$ret.f(r);$ret.g(s);$ret.i(g);return $ret}())}}},$type:new $.ig.Type("PolarAxisRenderingManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IPolarRadialRenderingParameters","Object",{$type:new $.ig.Type("IPolarRadialRenderingParameters",null)},true);$.ig.util.defType("NumericAxisRenderingParameters","AxisRenderingParametersBase",{init:function(){$.ig.AxisRenderingParametersBase.prototype.init.call(this)},$type:new $.ig.Type("NumericAxisRenderingParameters",$.ig.AxisRenderingParametersBase.prototype.$type)},true);$.ig.util.defType("PolarAxisRenderingParameters","NumericAxisRenderingParameters",{init:function(){$.ig.NumericAxisRenderingParameters.prototype.init.call(this)},_minLength:null,minLength:function(a){if(arguments.length===1){this._minLength=a;return a}else{return this._minLength}},_maxLength:null,maxLength:function(a){if(arguments.length===1){this._maxLength=a;return a}else{return this._maxLength}},_center:null,center:function(a){if(arguments.length===1){this._center=a;return a}else{return this._center}},_minAngle:null,minAngle:function(a){if(arguments.length===1){this._minAngle=a;return a}else{return this._minAngle}},_maxAngle:null,maxAngle:function(a){if(arguments.length===1){this._maxAngle=a;return a}else{return this._maxAngle}},_crossingAngleRadians:null,crossingAngleRadians:function(a){if(arguments.length===1){this._crossingAngleRadians=a;return a}else{return this._crossingAngleRadians}},_effectiveMaximum:null,effectiveMaximum:function(a){if(arguments.length===1){this._effectiveMaximum=a;return a}else{return this._effectiveMaximum}},$type:new $.ig.Type("PolarAxisRenderingParameters",$.ig.NumericAxisRenderingParameters.prototype.$type,[$.ig.IPolarRadialRenderingParameters.prototype.$type])},true);$.ig.util.defType("RadialAxisRenderingParameters","CategoryAxisRenderingParameters",{init:function(){$.ig.CategoryAxisRenderingParameters.prototype.init.call(this)},_minLength:null,minLength:function(a){if(arguments.length===1){this._minLength=a;return a}else{return this._minLength}},_maxLength:null,maxLength:function(a){if(arguments.length===1){this._maxLength=a;return a}else{return this._maxLength}},_center:null,center:function(a){if(arguments.length===1){this._center=a;return a}else{return this._center}},_crossingAngleRadians:null,crossingAngleRadians:function(a){if(arguments.length===1){this._crossingAngleRadians=a;return a}else{return this._crossingAngleRadians}},_minAngle:null,minAngle:function(a){if(arguments.length===1){this._minAngle=a;return a}else{return this._minAngle}},_maxAngle:null,maxAngle:function(a){if(arguments.length===1){this._maxAngle=a;return a}else{return this._maxAngle}},_effectiveMaximum:null,effectiveMaximum:function(a){if(arguments.length===1){this._effectiveMaximum=a;return a}else{return this._effectiveMaximum}},$type:new $.ig.Type("RadialAxisRenderingParameters",$.ig.CategoryAxisRenderingParameters.prototype.$type,[$.ig.IPolarRadialRenderingParameters.prototype.$type])},true);$.ig.util.defType("RadialAxes","Object",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},init:function(a,b){this.a={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};$.ig.Object.prototype.init.call(this);
this.d(a);this.e(b)},a:null,j:function(a,b,c,d){var e=this.a.__x+b*Math.cos(a);return $.ig.ViewportUtils.prototype.a(e,c,d)},k:function(a,b,c,d,e,f,g){var h=Math.min(b!=null?b.count():0,c!=null?c.count():0);var i=false;if(a.count()==h){i=true}var j;var k;var l=this.a.__x;var m=this.a.__y;var n;var o;for(var p=0;p<h;p++){j=this.e().getScaledAngle(b.item(p));k=this.d().getScaledValue2(c.item(p));n=l+k*f(p,j);o=m+k*g(p,j);n=e.left()+e.width()*(n-d.left())/d.width();o=e.top()+e.height()*(o-d.top())/d.height();if(!i){a.add({__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}else{a.item(p,{__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},l:function(a,b,c,d,e,f){var g=$.ig.ViewportUtils.prototype.b(a,c,d);var h=$.ig.ViewportUtils.prototype.d(b,c,d);var i=Math.sqrt(Math.pow(g-this.a.__x,2)+Math.pow(h-this.a.__y,2));var j=Math.acos((g-this.a.__x)/i);if(h-this.a.__y<0){j=2*Math.PI-j}e=this.e().getUnscaledAngle(j);f=this.d().getUnscaledValue(i);return{unscaledAngle:e,unscaledRadius:f}},m:function(a,b,c,d){var e=this.a.__y+b*Math.sin(a);return $.ig.ViewportUtils.prototype.c(e,c,d)},n:function(a){var b=Math.sqrt(Math.pow(a.__x-this.a.__x,2)+Math.pow(a.__y-this.a.__y,2));var c=Math.acos((a.__x-this.a.__x)/b);if(a.__y-this.a.__y<0){c=2*Math.PI-c}return c},$type:new $.ig.Type("RadialAxes",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialAxisLabelPanel","HorizontalAxisLabelPanelBase",{init:function(){$.ig.HorizontalAxisLabelPanelBase.prototype.init.call(this);this.ef=new $.ig.List$1($.ig.Number.prototype.$type,0)},b6:function(){return new $.ig.RadialAxisLabelPanelView(this)},b7:function(a){$.ig.HorizontalAxisLabelPanelBase.prototype.b7.call(this,a);this.ej(a)},_ej:null,ej:function(a){if(arguments.length===1){this._ej=a;return a}else{return this._ej}},_ek:null,ek:function(a){if(arguments.length===1){this._ek=a;return a}else{return this._ek}},_el:null,el:function(a){if(arguments.length===1){this._el=a;return a}else{return this._el}},em:function(){return this.bq().labelSettings()!=null&&this.bq().labelSettings().q()!=$.ig.AxisLabelsLocation.prototype.insideBottom&&this.bq().labelSettings().q()!=$.ig.AxisLabelsLocation.prototype.insideTop},en:function(){return!this.em()},d9:function(){return this.bz()&&(!this.b0()||this.db()==-180)},ed:function(){return!this.b1()},da:function(a){$.ig.AxisLabelPanelBase.prototype.da.call(this,a);if(this.el()%360==0||this.em()){this.ej().at()}else{this.ej().au(a)}},db:function(){var a=$.ig.AxisLabelPanelBase.prototype.db.call(this);if(this.en()){a-=this.el()*180/Math.PI}return a},d8:function(){return this.db()%360!=0},ee:function(){if(this.em()){return true}var a=this.el()*180/Math.PI;if(a<30||a>330||a>150&&a<210){return true}return false},ef:null,dh:function(a,b){var c=b*Math.PI/180;var d=Math.abs(Math.sin(c));if(this.bq().labelSettings()!=null&&this.bq().labelSettings().q()==$.ig.AxisLabelsLocation.prototype.insideTop){d=d*-1}this.ej().as(a,b,d)},ew:function(){var a=Number.MAX_VALUE;var c=this.bs().getEnumerator();while(c.moveNext()){var b=c.current();a=Math.min(b.b(),a)}return a},ex:function(){var a=-Number.MAX_VALUE;var c=this.bs().getEnumerator();while(c.moveNext()){var b=c.current();a=Math.max(b.b(),a)}return a},eb:function(a){var $self=this;var b;if(this.bq().isInverted()){b=this.ew()}else{b=this.ex()}var e=this.bs().where$1($.ig.LabelPosition.prototype.$type,function(c){return c.b()==b}).select$2($.ig.LabelPosition.prototype.$type,$.ig.Number.prototype.$type,function(d){return $self.bs().indexOf(d)});this.ef=e.toList$1($.ig.Number.prototype.$type);this.bz(this.c6(a.where$1($.ig.LabelPosition.prototype.$type,function(f,g){return!$self.ef.contains(g)}).toList$1($.ig.Number.prototype.$type)))},dc:function(a,b){if(this.ef.contains(a)){return false}else{return $.ig.AxisLabelPanelBase.prototype.dc.call(this,a,b)}},ec:function(){this.ef=new $.ig.List$1($.ig.Number.prototype.$type,0);$.ig.HorizontalAxisLabelPanelBase.prototype.ec.call(this)},dl:function(){return $.ig.AxisLabelsLocation.prototype.insideBottom},dm:function(a){return a==$.ig.AxisLabelsLocation.prototype.insideBottom||a==$.ig.AxisLabelsLocation.prototype.insideTop||a==$.ig.AxisLabelsLocation.prototype.outsideBottom||a==$.ig.AxisLabelsLocation.prototype.outsideTop},$type:new $.ig.Type("RadialAxisLabelPanel",$.ig.HorizontalAxisLabelPanelBase.prototype.$type)},true);$.ig.util.defType("RadialAxisLabelPanelView","HorizontalAxisLabelPanelBaseView",{_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},init:function(a){$.ig.HorizontalAxisLabelPanelBaseView.prototype.init.call(this,a);this.ap(a)},as:function(a,b,c){},at:function(){},au:function(a){},ac:function(){$.ig.AxisLabelPanelBaseView.prototype.ac.call(this);this.g().dg(new $.ig.Size(this.g().bu().width(),this.g().bu().height()))},$type:new $.ig.Type("RadialAxisLabelPanelView",$.ig.HorizontalAxisLabelPanelBaseView.prototype.$type)},true);$.ig.util.defType("NumericAxisRenderer","AxisRendererBase",{init:function(a){$.ig.AxisRendererBase.prototype.init.call(this,a)},ch:function(a,b,c,d){var e;if(a.ad()!=null){e=this.a0()(b)}else{b=Math.round(b*1e6)/1e6;e=b.toString()}return e},$type:new $.ig.Type("NumericAxisRenderer",$.ig.AxisRendererBase.prototype.$type)},true);$.ig.util.defType("RangeInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.h(-1);this.j(-1)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("RangeInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NumericScaler","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},q:function(a,b,c,d,e){return{actualMinimumValue:d,actualMaximumValue:e}},n:function(a){if(arguments.length===1){this.c($.ig.NumericScaler.prototype.g,a);return a}else{return this.b($.ig.NumericScaler.prototype.g)}},o:function(a){if(arguments.length===1){this.c($.ig.NumericScaler.prototype.h,a);return a}else{return this.b($.ig.NumericScaler.prototype.h)}},i:null,j:null,v:function(a){this.n(a)},w:function(a){this.o(a)},x:function(a,b,c){switch(a){case $.ig.NumericScaler.prototype.e:this.i=this.n();this.y();break;case $.ig.NumericScaler.prototype.f:this.j=this.o();this.y();break}},y:function(){if(isNaN(this.n())||isNaN(this.o())||Number.isInfinity(this.n())||Number.isInfinity(this.o())||this.n()<$.ig.Number.prototype.MIN_VALUE||this.o()>$.ig.Number.prototype.MAX_VALUE){this.p(this.o()-this.n())}else{this.p(this.o()-this.n())}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},ab:function(a,b){},ac:function(a,b){},ad:function(a,b,c,d){var e=new $.ig.List$1(Number,2,a.count());for(var f=b;f<c;f++){e.add(this.ab(a.item(f),d))}return e},ae:function(a,b,c,d){for(var e=b;e<c;e++){a.item(e,this.ac(a.item(e),d))}},$type:new $.ig.Type("NumericScaler",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("LinearScaler","NumericScaler",{init:function(){$.ig.NumericScaler.prototype.init.call(this)},q:function(a,b,c,d,e){var $self=this;(function(){var $ret=$.ig.AutoRangeCalculator.prototype.c(a,b,c,false,-1,d,e);d=$ret.minimumValue;e=$ret.maximumValue;return $ret.ret})();return{actualMinimumValue:d,actualMaximumValue:e}},$type:new $.ig.Type("LinearScaler",$.ig.NumericScaler.prototype.$type)},true);$.ig.util.defType("HorizontalLinearScaler","LinearScaler",{init:function(){$.ig.LinearScaler.prototype.init.call(this)},ab:function(a,b){return this.ai(a,b.a,b.b,b.d)},ac:function(a,b){return this.aj(a,b.a,b.b,b.d)},ah:function(values_){var a=$.isArray(values_)?values_:null;return a;return null},ae:function(a,b,c,d){var e;var f=d.a;var g=d.b;var h=d.c;var i=d.d;var j=!h.isEmpty();var k=this.p();var l=this.i;var m=h.left();var n=h.width();var o=f.left();var p=f.width();var q=g.left();var r=g.width();var s=0;var t=1;var u=this.ah(a);var v=false;if(u!=null){v=true}for(var w=b;w<c;w++){if(v){e=u[w]}else{e=a.item(w)}if(j){var x=(e-l)/k;if(i){x=1-x}x=m+n*(x-s)/t;var y=(x-o*r)/p;if(v){u[w]=y}else{a.item(w,y)}}else{var z=(e-l)/k;if(i){z=1-z}z=q+r*(z-o)/p;if(v){u[w]=z}else{a.item(w,z)}}}},ai:function(a,b,c,d){var e=b.left()+b.width()*(a-c.left())/c.width();if(d){e=1-e}return this.i+e*this.p()},aj:function(a,b,c,d){var e=(a-this.i)/this.p();if(d){e=1-e}return c.left()+c.width()*(e-b.left())/b.width()},$type:new $.ig.Type("HorizontalLinearScaler",$.ig.LinearScaler.prototype.$type)},true);$.ig.util.defType("LogarithmicScaler","NumericScaler",{init:function(){$.ig.NumericScaler.prototype.init.call(this)},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},x:function(a,b,c){$.ig.NumericScaler.prototype.x.call(this,a,b,c);switch(a){case $.ig.LogarithmicScaler.prototype.e:this.aj(Math.log(this.n()));break;case $.ig.LogarithmicScaler.prototype.f:this.ak(Math.log(this.o()));break}},q:function(a,b,c,d,e){var $self=this;(function(){var $ret=$.ig.AutoRangeCalculator.prototype.c(a,b,c,true,a.logarithmBase(),d,e);d=$ret.minimumValue;e=$ret.maximumValue;return $ret.ret})();return{actualMinimumValue:d,actualMaximumValue:e}},$type:new $.ig.Type("LogarithmicScaler",$.ig.NumericScaler.prototype.$type)},true);$.ig.util.defType("HorizontalLogarithmicScaler","LogarithmicScaler",{init:function(){$.ig.LogarithmicScaler.prototype.init.call(this)},ab:function(a,b){return this.ap(a,b.a,b.b,b.d)},ac:function(a,b){return this.aq(a,b.a,b.b,b.d)},ap:function(a,b,c,d){var e=b.left()+b.width()*(a-c.left())/c.width();if(d){e=1-e}return Math.exp(e*(this.ak()-this.aj())+this.aj())},aq:function(a,b,c,d){if(isNaN(a)){return NaN}var e=0;if(a<=0){e=(Math.log(this.i)-this.aj())/(this.ak()-this.aj())}else{e=(Math.log(a)-this.aj())/(this.ak()-this.aj())}if(d){e=1-e}return c.left()+c.width()*(e-b.left())/b.width()},$type:new $.ig.Type("HorizontalLogarithmicScaler",$.ig.LogarithmicScaler.prototype.$type)},true);$.ig.util.defType("ScalerParams","Object",{init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b;this.c=$.ig.Rect.prototype.empty();this.d=c},a:null,b:null,c:null,d:null,$type:new $.ig.Type("ScalerParams",$.ig.Object.prototype.$type)},true);$.ig.util.defType("VerticalLinearScaler","LinearScaler",{init:function(){$.ig.LinearScaler.prototype.init.call(this)},ab:function(a,b){return this.aj(a,b.a,b.b,b.d)},ac:function(a,b){return this.ai(a,b.a,b.b,b.d)},ah:function(values_){var a=$.isArray(values_)?values_:null;return a;return null},ae:function(a,b,c,d){var e;var f=d.a;var g=d.b;var h=d.c;var i=d.d;var j=!h.isEmpty();var k=this.p();var l=this.i;var m=h.top();var n=h.height();var o=f.top();var p=f.height();var q=g.top();var r=g.height();var s=0;var t=1;var u=this.ah(a);var v=false;if(u!=null){v=true}for(var w=b;w<c;w++){if(v){e=u[w]}else{e=a.item(w)}if(j){var x=(e-l)/k;if(!i){x=1-x}x=m+n*(x-s)/t;var y=(x-o*r)/p;if(v){u[w]=y}else{a.item(w,y)}}else{var z=(e-l)/k;if(!i){z=1-z}z=q+r*(z-o)/p;if(v){u[w]=z}else{a.item(w,z)}}}},ai:function(a,b,c,d){var e=(a-this.i)/this.p();if(!d){e=1-e}return c.top()+c.height()*(e-b.top())/b.height()},aj:function(a,b,c,d){var e=b.top()+b.height()*(a-c.top())/c.height();if(!d){e=1-e}return this.i+e*this.p()},$type:new $.ig.Type("VerticalLinearScaler",$.ig.LinearScaler.prototype.$type)},true);$.ig.util.defType("VerticalLogarithmicScaler","LogarithmicScaler",{init:function(){$.ig.LogarithmicScaler.prototype.init.call(this)},ab:function(a,b){return this.aq(a,b.a,b.b,b.d)},ac:function(a,b){return this.ap(a,b.a,b.b,b.d)},ap:function(a,b,c,d){if(isNaN(a)){return NaN}var e;if(a<=0){e=(Math.log(this.i)-this.aj())/(this.ak()-this.aj())}else{e=(Math.log(a)-this.aj())/(this.ak()-this.aj())}if(!d){e=1-e}return c.top()+c.height()*(e-b.top())/b.height()},aq:function(a,b,c,d){var e=b.top()+b.height()*(a-c.top())/c.height();if(!d){e=1-e}return Math.exp(e*(this.ak()-this.aj())+this.aj())},$type:new $.ig.Type("VerticalLogarithmicScaler",$.ig.LogarithmicScaler.prototype.$type)},true);$.ig.util.defType("TickmarkValues","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},o:function(a){this.j(a.s())},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},x:function(){},y:function(){},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},$type:new $.ig.Type("TickmarkValues",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("CategoryTickmarkValues","TickmarkValues",{init:function(){$.ig.TickmarkValues.prototype.init.call(this)},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},o:function(a){$.ig.TickmarkValues.prototype.o.call(this,a);var b=a.aa();this.ai(b);this.aj(a.ab());this.ak(a.ac());this.al(a.ad());this.am(a.ae());this.an(a.ah());var c=new $.ig.LinearCategorySnapper(1,a.r(),a.s(),a.v(),a.x(),b);var d=c.g();if(a.y()!=-1){d=a.y()}var e=Math.floor((a.r()-a.t())/d);var f=Math.ceil((a.s()-a.t())/d);var g=e;var h=f;var i=c.h();if(a.z()!=-1){i=a.z()}this.k(d);this.l(g);this.m(h);this.n(i);this.ao(a.t())},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},x:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=this.$this.l();this.$state=5;break;case 2:this.$b=this.$this.ao()+this.$a*this.$this.k();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:++this.$a;this.$state=5;break;case 5:if(this.$a<=this.$this.m()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},y:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=Math.min(this.$this.k(),20);this.$state=1;break;case 1:this.$b=this.$this.l();this.$state=18;break;case 2:this.$state=3;break;case 3:if(this.$this.ai()!=$.ig.CategoryMode.prototype.mode0&&this.$this.aj()!=0){this.$state=4}else{this.$state=16}break;case 4:this.$state=5;break;case 5:this.$c=0;this.$state=14;break;case 6:this.$state=7;break;case 7:this.$d=0;this.$state=11;break;case 8:this.$e=this.$this.an()(this.$d);this.$f=this.$c+this.$b*this.$this.k()+this.$e;this.$current=this.$f;this.$state=9;return true;case 9:this.$state=10;break;case 10:this.$d++;this.$state=11;break;case 11:if(this.$d<this.$this.aj()){this.$state=8}else{this.$state=12}break;case 12:this.$state=13;break;case 13:this.$c++;this.$state=14;break;case 14:if(this.$c<this.$a){this.$state=6}else{this.$state=15}break;case 15:this.$state=16;break;case 16:this.$state=17;break;case 17:++this.$b;this.$state=18;break;case 18:if(this.$b<this.$this.m()){this.$state=2}else{this.$state=19}break;case 19:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("CategoryTickmarkValues",$.ig.TickmarkValues.prototype.$type)},true);$.ig.util.defType("LinearTickmarkValues","TickmarkValues",{init:function(){$.ig.TickmarkValues.prototype.init.call(this);this.ad(0)},_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},o:function(a){$.ig.TickmarkValues.prototype.o.call(this,a);var b;if(this.ad()!=0){b=new $.ig.LinearNumericSnapper(1,a.r(),a.s(),a.v(),this.ad())}else{b=new $.ig.LinearNumericSnapper(0,a.r(),a.s(),a.v())}this.k(b.h());if(a.w()&&a.x()>0&&(a.s()-a.r())/a.x()<1e3){this.k(a.x())}if(a.y()!=-1){this.k(a.y())}this.l(Math.floor((a.r()-a.t())/this.k()));this.m(Math.ceil((a.s()-a.t())/this.k()));this.n(b.j());if(a.z()!=-1){this.n(a.z())}this.ae(a.t())},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},x:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(isNaN(this.$this.k())){this.$state=2}else{this.$state=4}break;case 2:this.$state=-2;return false;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$a=this.$this.l();this.$state=9;break;case 6:this.$b=this.$this.ae()+this.$a*this.$this.k();this.$current=this.$b;this.$state=7;return true;case 7:this.$state=8;break;case 8:++this.$a;this.$state=9;break;case 9:if(this.$a<=this.$this.m()){this.$state=6}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},y:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=this.$this.l();this.$state=13;break;case 2:this.$state=3;break;case 3:this.$b=1;this.$state=10;break;case 4:this.$c=this.$this.ae()+this.$a*this.$this.k()+this.$b*this.$this.k()/this.$this.n();this.$state=5;break;case 5:if(this.$c<=this.$this.j()){this.$state=6}else{this.$state=8}break;case 6:this.$current=this.$c;this.$state=7;return true;case 7:this.$state=8;break;case 8:this.$state=9;break;case 9:++this.$b;this.$state=10;break;case 10:if(this.$b<this.$this.n()){this.$state=4}else{this.$state=11}break;case 11:this.$state=12;break;case 12:++this.$a;this.$state=13;break;case 13:if(this.$a<this.$this.m()){this.$state=2}else{this.$state=14}break;case 14:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("LinearTickmarkValues",$.ig.TickmarkValues.prototype.$type)},true);$.ig.util.defType("LogarithmicTickmarkValues","TickmarkValues",{init:function(){$.ig.TickmarkValues.prototype.init.call(this)},o:function(a){$.ig.TickmarkValues.prototype.o.call(this,a);var b=new $.ig.LogarithmicNumericSnapper(a.r(),a.s(),this.af(),a.v());this.k(1);this.n(b.h());this.l(Math.floor(Math.logBase(Math.max($.ig.LogarithmicTickmarkValues.prototype.ab,a.r()),this.af())));this.m(Math.ceil(Math.logBase(Math.max($.ig.LogarithmicTickmarkValues.prototype.ab,a.s()),this.af())))},af:function(a){if(arguments.length===1){this.c($.ig.LogarithmicTickmarkValues.prototype.ad,a);return a}else{return this.b($.ig.LogarithmicTickmarkValues.prototype.ad)}},ai:function(a){var b=a*this.k();return Math.pow(this.af(),b)},x:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=this.$this.l();this.$state=8;break;case 2:this.$b=this.$this.ai(this.$a);this.$state=3;break;case 3:if(this.$b<=this.$this.j()){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$b;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:++this.$a;this.$state=8;break;case 8:if(this.$a<=this.$this.m()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},y:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=this.$this.l();this.$state=13;break;case 2:this.$b=this.$this.ai(this.$a);this.$c=Math.pow(this.$this.af(),this.$a);this.$state=3;break;case 3:this.$d=1;this.$state=10;break;case 4:this.$e=this.$b+this.$d*this.$c;this.$state=5;break;case 5:if(this.$e<=this.$this.j()){this.$state=6}else{this.$state=8}break;case 6:this.$current=this.$e;this.$state=7;return true;case 7:this.$state=8;break;case 8:this.$state=9;break;case 9:++this.$d;this.$state=10;break;case 10:if(this.$d<this.$this.n()-1){this.$state=4}else{this.$state=11}break;case 11:this.$state=12;break;case 12:++this.$a;this.$state=13;break;case 13:if(this.$a<=this.$this.m()){this.$state=2}else{this.$state=14}break;case 14:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("LogarithmicTickmarkValues",$.ig.TickmarkValues.prototype.$type)},true);$.ig.util.defType("TickmarkValuesInitializationParameters","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},_af:null,af:function(a){if(arguments.length===1){this._af=a;return a}else{return this._af}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},$type:new $.ig.Type("TickmarkValuesInitializationParameters",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ViewportUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c){return c.left()+c.width()*(a-b.left())/b.width()},b:function(a,b,c){return(a-c.left())*b.width()/c.width()+b.left()},c:function(a,b,c){return c.top()+c.height()*(a-b.top())/b.height()},d:function(a,b,c){return(a-c.top())*b.height()/c.height()+b.top()},e:function(a,b,c){return c.width()*a/b.width()},f:function(a,b,c){return b.width()*a/c.width()},g:function(a,b,c){return c.height()*a/b.height()},$type:new $.ig.Type("ViewportUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FramePreparer","Object",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.FramePreparer.prototype.init1.call(this,1,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,a),$.ig.util.cast($.ig.IProvidesViewport.prototype.$type,a),$.ig.util.cast($.ig.ISupportsErrorBars.prototype.$type,a))},init1:function(initNumber,a,b,c){$.ig.Object.prototype.init.call(this);this.e(new $.ig.DefaultSupportsMarkers);this.f(new $.ig.DefaultProvidesViewport);this.d(new $.ig.DefaultSupportsErrorBars);if(a!=null){this.e(a)}if(b!=null){this.f(b)}if(c!=null){this.d(c)}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},m:function(a,b){},$type:new $.ig.Type("FramePreparer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CategoryFramePreparerBase","FramePreparer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.CategoryFramePreparerBase.prototype.init1.call(this,1,a,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,a),$.ig.util.cast($.ig.IProvidesViewport.prototype.$type,a),$.ig.util.cast($.ig.ISupportsErrorBars.prototype.$type,a),$.ig.util.cast($.ig.IBucketizer.prototype.$type,a))},init1:function(initNumber,a,b,c,d,e){$.ig.FramePreparer.prototype.init1.call(this,1,b,c,d);this.r(a);this.q(e)},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},x:function(a,b,c,d,e){},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},aa:function(a){var $self=this;var b=new $.ig.PreparationParams;b.x(this.r().useHighMarkerFidelity());b.s(this.r().scaler());b.u(this.r().yScaler());b.t($.ig.util.cast($.ig.ISortingAxis.prototype.$type,b.s()));b.v($.ig.util.cast($.ig.CategoryFrame.prototype.$type,a));if(b.v()==null||b.s()==null||b.u()==null){return null}var c;var d;var e;var f;(function(){var $ret=$self.q().getBucketInfo(c,d,e,f);c=$ret.firstBucket;d=$ret.lastBucket;e=$ret.bucketSize;f=$ret.resolution;return $ret.ret})();b.m(c);b.n(d);b.o(e);b.p(f);if(b.n()<b.m()){return null}var g;var h;(function(){var $ret=$self.f().getViewInfo(h,g);h=$ret.viewportRect;g=$ret.windowRect;return $ret.ret})();b.q(g);b.r(h);if(b.q()==$.ig.Rect.prototype.empty()||b.r()==$.ig.Rect.prototype.empty()){return null}if(this.r()!=null&&$.ig.util.cast($.ig.FragmentBase.prototype.$type,this.r())!==null&&this.q()!=null){b.w(true)}return b},ab:function(a,b,c){var d=this.r().currentCategoryMode();var e=0;if(d==$.ig.CategoryMode.prototype.mode0&&a.categoryMode()!=$.ig.CategoryMode.prototype.mode0){d=$.ig.CategoryMode.prototype.mode1}switch(d){case $.ig.CategoryMode.prototype.mode0:e=0;break;case $.ig.CategoryMode.prototype.mode1:e=.5*a.getCategorySize(b,c);break;case $.ig.CategoryMode.prototype.mode2:e=a.getGroupCenter(this.r().currentMode2Index(),b,c);break}if($.ig.util.cast($.ig.CategoryYAxis.prototype.$type,a)!==null){if(!a.isInverted()){e=-e}}else if(a.isInverted()){e=-e}return e},ac:function(a){return this.ab(a.s(),a.q(),a.r())},m:function(a,b){var c=this.aa(a);if(c==null||this.q()==null){return}c.v().f.clear();c.v().g.clear();c.v().h.clear();c.v().i.clear();c.v().j.clear();c.v().k.clear();var d=this.e().shouldDisplayMarkers();var e=false;var f=this.ac(c);var g=this.an(c);if(c.t()!=null&&c.t().sortedIndices().count()!=g.e()){return}if(c.t()!=null&&$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,c.t())!==null){c.t().iq()}this.q().cacheValues();if(this.s()&&c.t()!=null&&c.t().sortedIndices().count()>0){var h=c.t().sortedIndices().__inner[c.m()];this.ah(g,h,true,c.w());while((isNaN(g.h())||isNaN(g.i()))&&c.m()>0){c.m(c.m()-1);h=c.t().sortedIndices().__inner[c.m()];this.ah(g,h,true,c.w())}var i=c.t().sortedIndices().__inner[c.n()];this.ah(g,i,true,c.w());while((isNaN(g.h())||isNaN(g.i()))&&c.n()<g.e()-1){c.n(c.n()+1);i=c.t().sortedIndices().__inner[c.n()];this.ah(g,i,true,c.w())}}if(this.s()&&c.t()==null){var j=c.m();var k=this.q().getBucket(j);while((isNaN(k[1])||isNaN(k[2]))&&c.m()>0){c.m(c.m()-1);j=c.m();k=this.q().getBucket(j)}var l=c.n();k=this.q().getBucket(l);while((isNaN(k[1])||isNaN(k[2]))&&c.n()<$.ig.intDivide(g.e(),c.o())){c.n(c.n()+1);l=c.n();k=this.q().getBucket(l)}}this.am(c,g,f);var m=this.af(c,g,f,d,e);this.e().updateMarkerCount(m);this.ae($.ig.util.cast($.ig.CategoryFrame.prototype.$type,a),b);this.q().unCacheValues();return},ad:function(a){return a},ae:function(a,b){},af:function(a,b,c,d,e){var $self=this;var f=0;var g=false;var h=null;var i=false;var j=a.t()!=null;var k=a.q();var l=a.r();var m=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a.u())!==null&&$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a.u()).hb();var n=a.x();var o=this.r().provideCollisionDetector();var p=0;var q=new $.ig.ScalerParams(k,l,a.s().isInverted());var r=new $.ig.ScalerParams(k,l,a.u().isInverted());if(j){p=this.ad(a.s().getUnscaledValue(2,q)-a.s().getUnscaledValue(1,q));i=this.ag()}for(var s=a.m();s<=a.n();++s){var t;if(!j){t=this.q().getBucket(s)}else{t=function(){var $ret=$self.ak(a,s,b,p,g,h,c);s=$ret.currentIndex;g=$ret.isCluster;h=$ret.endBucket;return $ret.ret}()}var u=!m||m&&t[1]>0;var v=t[0];if(!isNaN(t[0])){this.al(a,t,c,j,q,r);a.v().f.add(t);if(g&&i){if(h!=null){this.al(a,h,c,j,q,r);a.v().f.add(h)}}if(d&&u){var w=s*a.o();if(j&&a.t().sortedIndices()!=null&&w>=0&&w<a.t().sortedIndices().count()){w=a.t().sortedIndices().__inner[w]}var x=t;if(n&&w<b.e()){x=new Array(t.length);x[0]=v;this.ah(b,w,true,a.w());x[1]=b.h();x[2]=b.i();this.al(a,x,c,j,q,r)}if(this.x(a.v(),x,o,Math.min(w,b.e()-1),f)){++f}}}}return f},ag:function(){var a=$.ig.util.cast($.ig.LineSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.SplineSeriesBase.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.AreaSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.StepLineSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.StepAreaSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.RangeAreaSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.LineFragment.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.AreaFragment.prototype.$type,this.r())!==null;return a},ah:function(a,b,c,d){},ai:function(a,b,c){},aj:function(a,b){},ak:function(a,b,c,d,e,f,g){var $self=this;var h;f=null;e=false;var i=$.ig.util.cast($.ig.CategorySeries.prototype.$type,this.r());var j=$.ig.util.cast($.ig.RangeCategorySeries.prototype.$type,this.r());var k=$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,this.r());var l=a.r();var m=a.q();var n=new $.ig.ScalerParams(m,l,a.s().isInverted());var o=new $.ig.ScalerParams(m,l,a.u().isInverted());var p=a.w();if(a.t()==null||a.t().sortedIndices()==null||a.t().sortedIndices().count()==0){return{ret:function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}(),currentIndex:b,isCluster:e,endBucket:f}}if(i!=null&&i.eb()!=null&&i.eb().g()<a.t().sortedIndices().count()){return{ret:function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}(),currentIndex:b,isCluster:e,endBucket:f}}var q=a.t().sortedIndices().__inner[b];var r=a.t().getUnscaledValueAt(q);var s=r;this.ah(c,q,false,p);
while(b<a.n()){q=a.t().sortedIndices().__inner[b+1];s=a.t().getUnscaledValueAt(q);this.ah(c,q,true,p);if(s-r>=d||isNaN(c.h())||isNaN(c.i())){if(e){var t=a.t().sortedIndices().__inner[b];this.ah(c,t,true,p);f=function(){var $ret=new Array;$ret.add(a.s().getScaledValue(r+d,n));$ret.add(c.h());$ret.add(c.i());return $ret}()}break}if(!e&&this.ag()){var u=a.t().sortedIndices().__inner[b];this.ah(c,u,true,p);var v=function(){var $ret=new Array;$ret.add(a.s().getScaledValue(r,n));$ret.add(c.h());$ret.add(c.i());return $ret}();if(!isNaN(v[0])){if(!isNaN(v[1])&&!isNaN(v[2])){this.al(a,v,g,a.t()!=null,n,o);a.v().f.add(v);e=true}else{break}}}b++;this.ai(c,q,p)}var w=NaN;if(!isNaN(r)){w=a.s().getScaledValue(r,n)}h=this.aj(w,c);return{ret:h,currentIndex:b,isCluster:e,endBucket:f};return{currentIndex:b,isCluster:e,endBucket:f}},al:function(a,b,c,d,e,f){},am:function(a,b,c){},an:function(a){},$type:new $.ig.Type("CategoryFramePreparerBase",$.ig.FramePreparer.prototype.$type)},true);$.ig.util.defType("CategoryFramePreparer","CategoryFramePreparerBase",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.CategoryFramePreparer.prototype.init1.call(this,1,a,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,a),$.ig.util.cast($.ig.IProvidesViewport.prototype.$type,a),$.ig.util.cast($.ig.ISupportsErrorBars.prototype.$type,a),$.ig.util.cast($.ig.IBucketizer.prototype.$type,a))},init1:function(initNumber,a,b,c,d,e){$.ig.CategoryFramePreparerBase.prototype.init1.call(this,1,a,b,c,d,e);this.aq(new $.ig.DefaultCategoryTrendlineHost);if($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a)!==null){this.aq($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a))}this.ar(new $.ig.DefaultSingleValueProvider);if($.ig.util.cast($.ig.IHasSingleValueCategory.prototype.$type,a)!==null){this.ar($.ig.util.cast($.ig.IHasSingleValueCategory.prototype.$type,a))}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},x:function(a,b,c,d,e){var f=b[0];var g=b[1];var h=new $.ig.Rect(0,f-5,g-5,11,11);if(!isNaN(f)&&!isNaN(g)&&!Number.isInfinity(f)&&!Number.isInfinity(g)&&c.tryAdd(h)){a.h.add({__x:f,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.e().updateMarkerTemplate(e,d);return true}return false},an:function(a){var b=new $.ig.SingleValuesHolder;var c=this.ar().valueColumn();b.t(c);return b},al:function(a,b,c,d,e,f){if(d){b[0]=b[0]+c}else{b[0]=a.s().getScaledValue(b[0],e)+c}b[1]=a.u().getScaledValue(b[1],f);if(a.o()>1||d){b[2]=a.u().getScaledValue(b[2],f)}else{b[2]=b[1]}},am:function(a,b,c){var $self=this;if(this.aq().trendLineType()==$.ig.TrendLineType.prototype.none||this.aq().trendlinePreparer()==null||this.aq().trendLinePeriod()<1){return}var d=new $.ig.ScalerParams(a.q(),a.r(),a.s().isInverted());var e=new $.ig.ScalerParams(a.q(),a.r(),a.u().isInverted());var f=b.t();if(a.t()!=null&&a.t().sortedIndices()!=null){f=new $.ig.SafeSortedReadOnlyDoubleCollection(f,a.t().sortedIndices())}var g=function(){var $ret=new $.ig.TrendResolutionParams;$ret.j(a.o());$ret.h(a.m());$ret.i(a.n());$ret.n(c);$ret.m(a.p());$ret.k(a.r());return $ret}();if(this.aq().trendLineType()!=$.ig.TrendLineType.prototype.none){if($.ig.util.cast($.ig.IBarSeries.prototype.$type,this.aq())!==null){this.aq().trendlinePreparer().prepareLine(a.v().i,this.aq().trendLineType(),f,this.aq().trendLinePeriod(),function(h){return a.u().getScaledValue(h,e)},function(i){return a.s().getScaledValue(i,d)},g)}else{this.aq().trendlinePreparer().prepareLine(a.v().i,this.aq().trendLineType(),f,this.aq().trendLinePeriod(),function(j){return a.s().getScaledValue(j,d)},function(k){return a.u().getScaledValue(k,e)},g)}}},ah:function(a,b,c,d){var e=a;var f=e.t();var g=this.ad(f.item(b));var h=g;if(d){var i=this.q().getBucket(b);g=i[1];h=i[1]}if(c){e.h(g);e.i(h)}else{e.f(g);e.g(h)}},ai:function(a,b,c){var d=a;var e=d.t();if(b<e.count()){var f;if(c){var g=this.q().getBucket(b);f=g[1]}else{f=this.ad(e.item(b))}d.f(Math.min(d.f(),f));d.g(Math.max(d.g(),f))}},aj:function(a,b){var $self=this;var c=b;return function(){var $ret=new Array;$ret.add($self.ad(a));$ret.add(c.f());$ret.add(c.g());return $ret}()},$type:new $.ig.Type("CategoryFramePreparer",$.ig.CategoryFramePreparerBase.prototype.$type)},true);$.ig.util.defType("BarFramePreparer","CategoryFramePreparer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.BarFramePreparer.prototype.init1.call(this,1,a,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,a),$.ig.util.cast($.ig.IProvidesViewport.prototype.$type,a),$.ig.util.cast($.ig.ISupportsErrorBars.prototype.$type,a),$.ig.util.cast($.ig.IBucketizer.prototype.$type,a))},init1:function(initNumber,a,b,c,d,e){$.ig.CategoryFramePreparer.prototype.init1.call(this,1,a,b,c,d,e);this.aq(new $.ig.DefaultCategoryTrendlineHost);if($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a)!==null){this.aq($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a))}this.ar(new $.ig.DefaultSingleValueProvider);if($.ig.util.cast($.ig.IHasSingleValueCategory.prototype.$type,a)!==null){this.ar($.ig.util.cast($.ig.IHasSingleValueCategory.prototype.$type,a))}},x:function(a,b,c,d,e){var f=b[1];var g=b[0];var h=new $.ig.Rect(0,f-5,g-5,11,11);if(!isNaN(f)&&!isNaN(g)&&!Number.isInfinity(f)&&!Number.isInfinity(g)&&c.tryAdd(h)){a.h.add({__x:f,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.e().updateMarkerTemplate(e,d);return true}return false},am:function(a,b,c){var $self=this;if(this.aq().trendLineType()==$.ig.TrendLineType.prototype.none||this.aq().trendlinePreparer()==null||this.aq().trendLinePeriod()<1){return}var d=new $.ig.ScalerParams(a.q(),a.r(),a.s().isInverted());var e=new $.ig.ScalerParams(a.q(),a.r(),a.u().isInverted());var f=b.t();if(a.t()!=null&&a.t().sortedIndices()!=null){f=new $.ig.SafeSortedReadOnlyDoubleCollection(f,a.t().sortedIndices())}var g=function(){var $ret=new $.ig.TrendResolutionParams;$ret.j(a.o());$ret.h(a.m());$ret.i(a.n());$ret.n(c);$ret.m(a.p());$ret.k(a.r());return $ret}();if(this.aq().trendLineType()!=$.ig.TrendLineType.prototype.none){this.aq().trendlinePreparer().prepareLine(a.v().i,this.aq().trendLineType(),f,this.aq().trendLinePeriod(),function(h){return a.u().getScaledValue(h,e)},function(i){return a.s().getScaledValue(i,d)},g)}},$type:new $.ig.Type("BarFramePreparer",$.ig.CategoryFramePreparer.prototype.$type)},true);$.ig.util.defType("BarTrendFitCalculator","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e,f,g,h,i,j,k){if(d==null){switch(b){case $.ig.TrendLineType.prototype.linearFit:d=$.ig.LeastSquaresFit.prototype.j(e,g,f);break;case $.ig.TrendLineType.prototype.quadraticFit:d=$.ig.LeastSquaresFit.prototype.v(e,g,f);break;case $.ig.TrendLineType.prototype.cubicFit:d=$.ig.LeastSquaresFit.prototype.y(e,g,f);break;case $.ig.TrendLineType.prototype.quarticFit:d=$.ig.LeastSquaresFit.prototype.ab(e,g,f);break;case $.ig.TrendLineType.prototype.quinticFit:d=$.ig.LeastSquaresFit.prototype.ae(e,g,f);break;case $.ig.TrendLineType.prototype.exponentialFit:d=$.ig.LeastSquaresFit.prototype.p(e,g,f);break;case $.ig.TrendLineType.prototype.logarithmicFit:d=$.ig.LeastSquaresFit.prototype.m(e,g,f);break;case $.ig.TrendLineType.prototype.powerLawFit:d=$.ig.LeastSquaresFit.prototype.s(e,g,f);break;default:throw new $.ig.NotImplementedException}}if(d==null){return null}for(var l=0;l<c.k().height();l+=2){var m=l/(c.k().height()-1);var n=j+m*(k-j);var o=NaN;switch(b){case $.ig.TrendLineType.prototype.linearFit:o=$.ig.LeastSquaresFit.prototype.k(d,n);break;case $.ig.TrendLineType.prototype.quadraticFit:o=$.ig.LeastSquaresFit.prototype.w(d,n);break;case $.ig.TrendLineType.prototype.cubicFit:o=$.ig.LeastSquaresFit.prototype.z(d,n);break;case $.ig.TrendLineType.prototype.quarticFit:o=$.ig.LeastSquaresFit.prototype.ac(d,n);break;case $.ig.TrendLineType.prototype.quinticFit:o=$.ig.LeastSquaresFit.prototype.af(d,n);break;case $.ig.TrendLineType.prototype.exponentialFit:o=$.ig.LeastSquaresFit.prototype.q(d,n);break;case $.ig.TrendLineType.prototype.logarithmicFit:o=$.ig.LeastSquaresFit.prototype.n(d,n);break;case $.ig.TrendLineType.prototype.powerLawFit:o=$.ig.LeastSquaresFit.prototype.t(d,n);break;default:throw new $.ig.NotImplementedException}o=h(o);n=i(n);if(!isNaN(o)&&!Number.isInfinity(o)){a.add({__x:o,__y:n+c.n(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}return d},$type:new $.ig.Type("BarTrendFitCalculator",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TrendLineManagerBase$1","Object",{$tTrendColumn:null,_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},init:function($tTrendColumn){this.i=function(){var $ret=new $.ig.Polyline;$ret.a4(false);return $ret}();this.$tTrendColumn=$tTrendColumn;this.$type=this.$type.specialize(this.$tTrendColumn);$.ig.Object.prototype.init.call(this);this.l(new $.ig.List$1(this.$tTrendColumn,0))},n:function(){return this.i},i:null,t:function(a){this.w(a,null)},u:function(a){return a==$.ig.TrendLineType.prototype.linearFit||a==$.ig.TrendLineType.prototype.quadraticFit||a==$.ig.TrendLineType.prototype.cubicFit||a==$.ig.TrendLineType.prototype.quarticFit||a==$.ig.TrendLineType.prototype.quinticFit||a==$.ig.TrendLineType.prototype.logarithmicFit||a==$.ig.TrendLineType.prototype.exponentialFit||a==$.ig.TrendLineType.prototype.powerLawFit},v:function(a){return a==$.ig.TrendLineType.prototype.simpleAverage||a==$.ig.TrendLineType.prototype.exponentialAverage||a==$.ig.TrendLineType.prototype.modifiedAverage||a==$.ig.TrendLineType.prototype.cumulativeAverage||a==$.ig.TrendLineType.prototype.weightedAverage},w:function(a,b){this.n().bl().clear();if(b!=null){b.h(this.n().bl())}if(a!=null){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(!isNaN(c.__x)&&!isNaN(c.__y)){if(b!=null){b.l(c)}else{this.n().bl().add(c)}}}}this.n().a4(this.n().bl().count()>0)},x:function(a,b,c){this.y(a,b,c,null)},y:function(a,b,c,d){var $self=this;if(d!=null){d.h(c)}var h=$.ig.Flattener.prototype.c(a.count(),function(e){return a.item(e).__x},function(f){return a.item(f).__y},b.m()).getEnumerator();while(h.moveNext()){var g=h.current();if(d!=null){d.l(a.item(g))}else{c.add(a.item(g))}}},z:function(a,b){if(a==null||b==null){return}if(this.n().y()!=null){this.aa()}a.a1().add(this.n())},aa:function(){if(this.n()==null){return}var a=$.ig.util.cast($.ig.Panel.prototype.$type,this.n().y());if(a!=null){a.a1().remove(this.n())}},ab:function(){this.n().bl().clear()},ac:function(){this.m(null);this.l().clear()},ad:function(a,b,c,d){switch(a){case $.ig.FastItemsSourceEventAction.prototype.change:case $.ig.FastItemsSourceEventAction.prototype.replace:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.remove:case $.ig.FastItemsSourceEventAction.prototype.reset:this.ac();break}},ae:function(a,b,c,d,e){var f=false;switch(b){case $.ig.TrendLineManagerBase$1.prototype.b:case $.ig.TrendLineManagerBase$1.prototype.c:this.ac();f=true;break;case $.ig.TrendLineManagerBase$1.prototype.f:f=true;break;case $.ig.Series.prototype.bl:f=true;this.ac();break}return f},$type:new $.ig.Type("TrendLineManagerBase$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IPreparesCategoryTrendline","Object",{$type:new $.ig.Type("IPreparesCategoryTrendline",null)},true);$.ig.util.defType("CategoryTrendLineManagerBase","TrendLineManagerBase$1",{init:function(){$.ig.TrendLineManagerBase$1.prototype.init.call(this,Number)},prepareLine:function(a,b,c,d,e,f,g){},af:function(a,b,c,d){var $self=this;if(b!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,b)!==null){if(a!=null){a.aa()}var l=new $.ig.SortingTrendLineManager(function(e){var f=e;var g=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,b);if(g!=null){e=Math.min(e,g.sortedIndices().count()-1);f=g.sortedIndices().__inner[e]}return g.getUnscaledValueAt(f)},function(h,i,j){var k=new $.ig.ScalerParams(j,i,b.isInverted());return b.getUnscaledValue(h,k)});l.z(c,d);return l}else if(!($.ig.util.cast($.ig.CategoryTrendLineManager.prototype.$type,a)!==null)){if(a!=null){a.aa()}var m=new $.ig.CategoryTrendLineManager;m.z(c,d);return m}return a},$type:new $.ig.Type("CategoryTrendLineManagerBase",$.ig.TrendLineManagerBase$1.prototype.$type.specialize(Number),[$.ig.IPreparesCategoryTrendline.prototype.$type])},true);$.ig.util.defType("CategoryTrendLineManager","CategoryTrendLineManagerBase",{init:function(){$.ig.CategoryTrendLineManagerBase.prototype.init.call(this)},prepareLine:function(a,b,c,d,e,f,g){var $self=this;var h=g.h()*g.j();var i=g.i()*g.j();var j=new $.ig.List$1($.ig.Point.prototype.$type,0);if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear();return}if(this.u(b)){this.l().clear();this.m($.ig.TrendFitCalculator.prototype.a(j,b,g,this.m(),c.count(),function(k){return k+1},function(l){return c.item(l)},function(m){return e(m-1)},f,h+1,i+1))}if(this.v(b)){this.m(null);$.ig.TrendAverageCalculator.prototype.b(b,this.l(),c,d);for(var n=g.h();n<=g.i();n+=1){var o=n*g.j();if(o>=0&&o<this.l().count()){var p=e(o);var q=f(this.l().__inner[o]);j.add({__x:p+g.n(),__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}this.x(j,g,a)},$type:new $.ig.Type("CategoryTrendLineManager",$.ig.CategoryTrendLineManagerBase.prototype.$type)},true);$.ig.util.defType("BarTrendLineManager","CategoryTrendLineManager",{init:function(){$.ig.CategoryTrendLineManager.prototype.init.call(this)},prepareLine:function(a,b,c,d,e,f,g){var $self=this;var h=g.h()*g.j();var i=g.i()*g.j();var j=new $.ig.List$1($.ig.Point.prototype.$type,0);if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear();return}if(this.u(b)){this.l().clear();this.m($.ig.BarTrendFitCalculator.prototype.a(j,b,g,this.m(),c.count(),function(k){return c.item(k)},function(l){return l+1},e,function(m){return f(m-1)},h+1,i+1))}if(this.v(b)){this.m(null);$.ig.TrendAverageCalculator.prototype.b(b,this.l(),c,d);for(var n=g.h();n<=g.i();n+=1){var o=n*g.j();if(o>=0&&o<this.l().count()){var p=e(this.l().__inner[o]);var q=f(o);j.add({__x:p,__y:q+g.n(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}this.x(j,g,a)},$type:new $.ig.Type("BarTrendLineManager",$.ig.CategoryTrendLineManager.prototype.$type)},true);$.ig.util.defType("BrushScale","DependencyObject",{init:function(){var $self=this;this.e=null;$.ig.DependencyObject.prototype.init.call(this);this.i(new $.ig.List$1($.ig.Series.prototype.$type,0));this.brushes(new $.ig.BrushCollection);this.brushes().collectionChanged=$.ig.Delegate.prototype.combine(this.brushes().collectionChanged,this.j.runOn(this));this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){return $self.o(a,b.propertyName(),b.oldValue(),b.newValue())})},j:function(a,b){var d=this.i().getEnumerator();while(d.moveNext()){var c=d.current();c.renderSeries(false);c.fs()}},brushes:function(a){if(arguments.length===1){if(this.e!=null){this.e.collectionChanged=$.ig.Delegate.prototype.remove(this.e.collectionChanged,this.j.runOn(this))}this.e=a;if(this.e!=null){this.e.collectionChanged=$.ig.Delegate.prototype.combine(this.e.collectionChanged,this.j.runOn(this))}var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();b.renderSeries(false);b.fs()}return a}else{return this.e}},e:null,_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},registerSeries:function(a){var b=this.i().contains(a);if(!b){this.i().add(a)}},unregisterSeries:function(a){var b=this.i().contains(a);if(b){this.i().remove(a)}},getBrush:function(a){if(this.brushes()==null||a<0||a>=this.brushes().count()){return null}return this.brushes().item(a)},isReady:function(){return true},m:function(a){if(this.brushes()==null||this.brushes().count()==0||a<0){return null}return this.brushes().ap(a)},propertyChanged:null,propertyUpdated:null,n:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},o:function(a,b,c,d){var f=this.i().getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false);e.fs()}},$type:new $.ig.Type("BrushScale",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("MarkerManagerBase","Object",{_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},init:function(a,b,c,d,e){$.ig.Object.prototype.init.call(this);this.h(a);this.j(b);this.i(c);this.g(d);this.k(e)},y:function(a,b,c,d,e){},z:function(a,b){},aa:function(a,b){var c=new $.ig.List$1($.ig.Number.prototype.$type,0);var d=new $.ig.List$1($.ig.Number.prototype.$type,0);var f=b.getEnumerator();while(f.moveNext()){var e=f.current();if(a.item(e).d().count()>0){c.add(e)}else{d.add(e)}}var g=new $.ig.List$1($.ig.Number.prototype.$type,0);g.w(c);g.w(d);return g},ab:function(a,b,c,d){var $self=this;while(a>0){if(a<c.count()){if(!this.l()){c.shuffle$1($.ig.Number.prototype.$type)}c=this.aa(b,c);var e=a;for(var f=0;f<e;f++){var g=f;var h=b.item(c.__inner[g]);var i;var j=function(){var $ret=h.h(i);i=$ret.wasPriority;return $ret.ret}();d.add(j);a--;if(h.e()){b.remove(c.__inner[g])}}}else{var l=c.getEnumerator();while(l.moveNext()){var k=l.current();var m=b.item(k);var n;var o=function(){var $ret=m.h(n);n=$ret.wasPriority;return $ret.ret}();d.add(o);a--;if(m.e()){b.remove(k)}}c=new $.ig.List$1($.ig.Number.prototype.$type,1,b.keys())}}},ac:function(a,b,c,d){var e=b.left();var f=b.right();var g=b.top();var h=b.bottom();if(!a.isEmpty()&&!b.isEmpty()){for(var i=0;i<c.count();++i){var j=c.item(i).__x;if(isNaN(j)){continue}var k=c.item(i).__y;if(isNaN(k)){continue}if(j<e||j>f){continue}if(k<g||k>h){continue}d.add(i)}}},ad:function(a,b,c,d){var $self=this;var e=new Array(d.count());var g=this.k()().getEnumerator();while(g.moveNext()){var f=g.current();if(f!=-1){e[f]=true}}var h=Math.floor(a.width()/c);var i=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.MarkerManagerBucket.prototype.$type,0);var k=b.getEnumerator();while(k.moveNext()){var j=k.current();var l=d.item(j).__x;var m=d.item(j).__y;var n=Math.floor(m/c);var o=Math.floor(l/c);var p=n*h+o;var q;if(!function(){var $ret=i.tryGetValue(p,q);q=$ret.value;return $ret.ret}()){q=new $.ig.MarkerManagerBucket;i.add(p,q)}if(e[j]){q.d().add(j)}else{q.c().add(j)}}return i},$type:new $.ig.Type("MarkerManagerBase",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BubbleMarkerManager","MarkerManagerBase",{_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},init:function(a,b,c,d,e){$.ig.MarkerManagerBase.prototype.init.call(this,a,b,c,d,e);this.ai(new $.ig.List$1(Number,0));this.aj(new $.ig.List$1($.ig.Marker.prototype.$type,0))},y:function(a,b,c,d,e){var f=this.g()();a.clear();this.ai().clear();this.aj().clear();var g=new $.ig.List$1($.ig.Number.prototype.$type,0);b=Math.max(0,b);var h=null;this.ac(c,d,f,g);if(b>=g.count()){h=g}else{h=new $.ig.List$1($.ig.Number.prototype.$type,0);var i=Math.max(8,e);var j=this.ad(d,g,i,f);var k=new $.ig.List$1($.ig.Number.prototype.$type,1,j.keys());if(this.l()){k.r()}this.ab(b,j,k,h)}for(var l=0;l<h.count();++l){var m=f[h.__inner[l]].__x;var n=f[h.__inner[l]].__y;var o=this.ah().item(h.__inner[l]);this.ai().add(o);var p=this.h()(this.j()(h.__inner[l]));$.ig.util.cast($.ig.DataContext.prototype.$type,p.content()).item(this.j()(h.__inner[l]));var q=new $.ig.OwnedPoint;q.e($.ig.util.cast($.ig.DataContext.prototype.$type,p.content()).item());q.d({__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(!a.containsKey(q.e())){a.add(q.e(),q);this.aj().add(p)}}},z:function(a,b){var $self=this;var c=new $.ig.List$1($.ig.Object.prototype.$type,1,a.keys());if(this.l()){c.t(function(d,e){var f=a.item(d);var g=a.item(e);var h=Math.pow(f.d().__x,2)+Math.pow(f.d().__y,2);var i=Math.pow(g.d().__x,2)+Math.pow(g.d().__y,2);return h.compareTo(i)})}var k=c.getEnumerator();while(k.moveNext()){var j=k.current();var l=a.item(j);var m=this.h()(l.e());m.x(c.indexOf1(j));m.w(l.d().__x);m.v(l.d().__y)}this.i()(a)},$type:new $.ig.Type("BubbleMarkerManager",$.ig.MarkerManagerBase.prototype.$type)},true);$.ig.util.defType("MarkerSeries","Series",{init:function(){$.ig.Series.prototype.init.call(this)},_i2:null,i2:function(a){if(arguments.length===1){this._i2=a;return a}else{return this._i2}},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.i2(a)},d6:function(){return true},markerType:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.markerTypeProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.markerTemplateProperty)}},actualMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.actualMarkerTemplateProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.actualMarkerTemplateProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.markerBrushProperty)}},actualMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.actualMarkerBrushProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.actualMarkerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.markerOutlineProperty)}},actualMarkerOutline:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.actualMarkerOutlineProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.actualMarkerOutlineProperty)}},markerStyle:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.markerStyleProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.markerStyleProperty)}},useLightweightMarkers:function(a){if(arguments.length===1){this.c($.ig.MarkerSeries.prototype.useLightweightMarkersProperty,a);return a}else{return this.b($.ig.MarkerSeries.prototype.useLightweightMarkersProperty)}},i8:function(){return this.actualMarkerTemplate()!=null&&(this.markerType()!=$.ig.MarkerType.prototype.none&&this.markerType()!=$.ig.MarkerType.prototype.unset||this.markerTemplate()!=null)},ft:function(a,b,c,d){$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.MarkerSeries.prototype.il:case $.ig.MarkerSeries.prototype.ii:case $.ig.MarkerSeries.prototype.io:case $.ig.MarkerSeries.prototype.ij:this.f6();break;case $.ig.MarkerSeries.prototype.ik:if(c==$.ig.MarkerSeries.prototype.nullMarkerTemplate||d==$.ig.MarkerSeries.prototype.nullMarkerTemplate||c==null||d!=null){this.i2().cv();var e=$.ig.util.cast($.ig.MarkerSeriesView.prototype.$type,this.d7());if(e!=null){e.cv()}this.renderSeries(false)}this.fs();break;case $.ig.MarkerSeries.prototype.ir:this.i2().cw(this.useLightweightMarkers());this.renderSeries(false);break}},getMarkerTemplatePropertyName:function(a){switch(a){case $.ig.MarkerType.prototype.circle:return $.ig.XamDataChart.prototype.cf;case $.ig.MarkerType.prototype.triangle:return $.ig.XamDataChart.prototype.cg;case $.ig.MarkerType.prototype.pyramid:return $.ig.XamDataChart.prototype.ch;case $.ig.MarkerType.prototype.square:return $.ig.XamDataChart.prototype.ci;case $.ig.MarkerType.prototype.diamond:return $.ig.XamDataChart.prototype.cj;case $.ig.MarkerType.prototype.pentagon:return $.ig.XamDataChart.prototype.ck;case $.ig.MarkerType.prototype.hexagon:return $.ig.XamDataChart.prototype.cl;case $.ig.MarkerType.prototype.tetragram:return $.ig.XamDataChart.prototype.cm;case $.ig.MarkerType.prototype.pentagram:return $.ig.XamDataChart.prototype.cn;case $.ig.MarkerType.prototype.hexagram:return $.ig.XamDataChart.prototype.co;default:case $.ig.MarkerType.prototype.unset:case $.ig.MarkerType.prototype.none:return null}},resolveMarkerType:function(a,b){var $self=this;var c=a.seriesViewer()!=null?b:$.ig.MarkerType.prototype.none;if(c==$.ig.MarkerType.prototype.automatic){var d=function(){var $ret=new Array;$ret.add($.ig.MarkerType.prototype.circle);$ret.add($.ig.MarkerType.prototype.triangle);$ret.add($.ig.MarkerType.prototype.pentagon);$ret.add($.ig.MarkerType.prototype.tetragram);$ret.add($.ig.MarkerType.prototype.diamond);$ret.add($.ig.MarkerType.prototype.square);$ret.add($.ig.MarkerType.prototype.hexagon);$ret.add($.ig.MarkerType.prototype.pentagram);$ret.add($.ig.MarkerType.prototype.pyramid);$ret.add($.ig.MarkerType.prototype.hexagram);return $ret}();c=a.index()>=0?d[a.index()%d.length]:$.ig.MarkerType.prototype.none}return c},f6:function(){$.ig.Series.prototype.f6.call(this);if(this.index()<0){return}if(this.i2().c4()){this.i2().c5();this.i2().c6()}else{var a=$.ig.MarkerSeries.prototype.resolveMarkerType(this,this.markerType());var b=$.ig.MarkerSeries.prototype.getMarkerTemplatePropertyName(a);if(b==null){this.actualMarkerTemplate($.ig.MarkerSeries.prototype.nullMarkerTemplate)}else{this.i2().c7(b)}}if(this.markerBrush()!=null){this.i2().c8();this.i2().c9()}else{this.actualMarkerBrush(this.seriesViewer()==null?null:this.seriesViewer().getMarkerBrushByIndex(this.index()))}if(this.markerOutline()!=null){this.i2().da();this.i2().db()}else{this.actualMarkerOutline(this.seriesViewer()==null?null:this.seriesViewer().getMarkerOutlineByIndex(this.index()))}},ho:function(a){var $self=this;$.ig.Series.prototype.ho.call(this,a);this.i2().c0(function(b){var c=new $.ig.MarkerVisualData;var d=new $.ig.PrimitiveAppearanceData;c.x(b.w());c.y(b.v());c.index(-1);c.contentTemplate(b.bf());if(b.content()!=null&&$.ig.util.cast($.ig.DataContext.prototype.$type,b.content())!==null&&b.__visibility==$.ig.Visibility.prototype.visible){var e=b.content();d.fill(e.actualItemBrush().color());d.stroke(e.outline().color());d.strokeThickness(e.thickness());if(e.item()!=null){c.index($self.eb().x(e.item()))}}c.visibility(b.__visibility);c.markerAppearance(d);if($self.actualMarkerTemplate()==$self.seriesViewer().circleMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.circle)}else if($self.actualMarkerTemplate()==$self.seriesViewer().diamondMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.diamond)}else if($self.actualMarkerTemplate()==$self.seriesViewer().hexagonMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.hexagon)}else if($self.actualMarkerTemplate()==$self.seriesViewer().hexagramMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.hexagram)}else if($self.actualMarkerTemplate()==$self.seriesViewer().pentagonMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.pentagon)}else if($self.actualMarkerTemplate()==$self.seriesViewer().pentagramMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.pentagram)}else if($self.actualMarkerTemplate()==$self.seriesViewer().pyramidMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.pyramid)}else if($self.actualMarkerTemplate()==$self.seriesViewer().squareMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.square)}else if($self.actualMarkerTemplate()==$self.seriesViewer().tetragramMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.tetragram)}else if($self.actualMarkerTemplate()==$self.seriesViewer().triangleMarkerTemplate()){c.markerType($.ig.MarkerType.prototype.triangle)}else{c.markerType($.ig.MarkerType.prototype.none)}a.markerShapes().add(c)})},getHitDataContext:function(a){var b=this.i2().df(a);var c=null;if(b!=null){c=b.content()}return c},$type:new $.ig.Type("MarkerSeries",$.ig.Series.prototype.$type)},true);$.ig.util.defType("ISupportsErrorBars","Object",{$type:new $.ig.Type("ISupportsErrorBars",null)},true);$.ig.util.defType("ScatterBase","MarkerSeries",{et:function(){return new $.ig.ScatterBaseView(this)},eq:function(a){$.ig.MarkerSeries.prototype.eq.call(this,a);this.kf(a)},_kf:null,kf:function(a){if(arguments.length===1){this._kf=a;return a}else{return this._kf}},isScatter:function(){return true},init:function(){$.ig.MarkerSeries.prototype.init.call(this);this.ju=$.ig.Rect.prototype.empty();this.jt=$.ig.Rect.prototype.empty()},_kg:null,kg:function(a){if(arguments.length===1){this._kg=a;return a}else{return this._kg}},xAxis:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.xAxisProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.yAxisProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.yAxisProperty)}},xMemberPath:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.xMemberPathProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.xMemberPathProperty)}},kh:function(a){if(arguments.length===1){if(this.jr!=a){var b=this.kh();this.jr=a;this.e6($.ig.ScatterBase.prototype.jl,b,this.kh())}return a}else{return this.jr}},jr:null,yMemberPath:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.yMemberPathProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.yMemberPathProperty)}},ki:function(a){if(arguments.length===1){if(this.js!=a){var b=this.ki();this.js=a;this.e6($.ig.ScatterBase.prototype.jn,b,this.ki())}return a}else{return this.js}},js:null,trendLineType:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineDashArrayProperty,a);
return a}else{return this.b($.ig.ScatterBase.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.trendLinePeriodProperty)}},markerCollisionAvoidance:function(a){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.markerCollisionAvoidanceProperty,a);return a}else{return this.b($.ig.ScatterBase.prototype.markerCollisionAvoidanceProperty)}},trendLineZIndex:function(e){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.trendLineZIndexProperty,e);return e}else{return this.b($.ig.ScatterBase.prototype.trendLineZIndexProperty)}},maximumMarkers:function(f){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.maximumMarkersProperty,f);return f}else{return this.b($.ig.ScatterBase.prototype.maximumMarkersProperty)}},gi:function(){$.ig.Series.prototype.gi.call(this);if(this.xAxis()!=null){this.xAxis().e1(false)}if(this.yAxis()!=null){this.yAxis().e1(false)}},errorBarSettings:function(i){if(arguments.length===1){this.c($.ig.ScatterBase.prototype.errorBarSettingsProperty,i);return i}else{return this.b($.ig.ScatterBase.prototype.errorBarSettingsProperty)}},ft:function(l,m,n,o){var $self=this;$.ig.MarkerSeries.prototype.ft.call(this,l,m,n,o);if(this.kf().dx().ae(l,m,n,o,this.trendLineDashArray())){this.renderSeries(false);this.fs()}switch(m){case $.ig.ScatterBase.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,n)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,n).ac(this.kh());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,n).ac(this.ki());this.kh(null);this.ki(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,o)!=null){this.kh(this.hk(this.xMemberPath()));this.ki(this.hk(this.yMemberPath()))}if(this.yAxis()!=null&&!this.yAxis().updateRange()||this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}break;case $.ig.ScatterBase.prototype.ji:if(n!=null){$.ig.util.cast($.ig.Axis.prototype.$type,n).deregisterSeries(this)}if(o!=null){$.ig.util.cast($.ig.Axis.prototype.$type,o).registerSeries(this)}if(this.xAxis()!=null&&!this.xAxis().updateRange()||o==null&&n!=null){this.renderSeries(false)}this.fs();break;case $.ig.ScatterBase.prototype.jj:if(n!=null){$.ig.util.cast($.ig.Axis.prototype.$type,n).deregisterSeries(this)}if(o!=null){$.ig.util.cast($.ig.Axis.prototype.$type,o).registerSeries(this)}if(this.yAxis()!=null&&!this.yAxis().updateRange()||o==null&&n!=null){this.renderSeries(false)}this.fs();break;case $.ig.ScatterBase.prototype.jk:if(this.eb()!=null){this.eb().ac(this.kh());this.kh(this.hk(this.xMemberPath()))}break;case $.ig.ScatterBase.prototype.jl:this.kf().dx().ac();if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}break;case $.ig.ScatterBase.prototype.jm:if(this.eb()!=null){this.eb().ac(this.ki());this.ki(this.hk(this.yMemberPath()))}break;case $.ig.ScatterBase.prototype.jn:this.kf().dx().ac();if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}break;case $.ig.ScatterBase.prototype.jo:this.renderSeries(false);this.fs();break;case $.ig.ScatterBase.prototype.jp:this.renderSeries(false);this.fs();break;case $.ig.ScatterBase.prototype.bv:this.jw.a(this.ed(),this.jv,this.jx);this.kt();try{if(this.fi(this.view())){return}if(Math.round(this.ed()*1e5)/1e5==1){this.kz(this.jx,this.kf())}else{this.kz(this.jw,this.kf())}}finally{this.ks()}break;case $.ig.ScatterBase.prototype.cf:this.f6();break;case $.ig.ScatterBase.prototype.jq:if(this.errorBarSettings()!=null){this.errorBarSettings().bl(this)}this.renderSeries(false);this.fs();break;case $.ig.ScatterBase.prototype.cd:this.fs();break}},ks:function(){this.jt=$.ig.Rect.prototype.empty();this.ju=$.ig.Rect.prototype.empty()},jt:null,ju:null,kt:function(){var $self=this;(function(){var $ret=$self.getViewInfo($self.jt,$self.ju);$self.jt=$ret.viewportRect;$self.ju=$ret.windowRect;return $ret.ret})()},ku:function(p,q){if(q!=$.ig.FastItemsSourceEventAction.prototype.change){return true}if(p==null){return true}if(this.xMemberPath()==p||this.yMemberPath()==p){return true}return false},fz:function(r,s,t,u){var v=false;if(!this.ku(u,r)){return}this.kf().dx().ad(r,s,t,u);if(this.xAxis()!=null&&!this.xAxis().updateRange()){v=true}if(this.yAxis()!=null&&!this.yAxis().updateRange()){v=true}if(v){this.renderSeries(true)}},kv:function(w){this.kw(w,null)},kw:function(x,y){var $self=this;var z=this.kh()!=null?this.kh().count():0;var aa=this.ki()!=null?this.ki().count():0;var ab=Math.min(z,aa);if(ab<=this.maximumMarkers()){x.x().clear();var ac=new $.ig.List$1($.ig.OwnedPoint.prototype.$type,0);var ae=x.a7().values().getEnumerator();while(ae.moveNext()){var ad=ae.current();ac.add(ad)}var af=this.eb();ac.t(function(ag,ah){var ai=af.x(ag.e());var aj=af.x(ah.e());if(ai<aj){return-1}if(ai>aj){return 1}return 0});if(y!=null){y.h(x.x())}var al=ac.getEnumerator();while(al.moveNext()){var ak=al.current();if(af.x(ak.e())>=0){if(y!=null){y.l(ak.d())}else{x.x().add({__x:ak.d().__x,__y:ak.d().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}}},e9:function(am){if(am!=null&&am==this.xAxis()&&this.kh()!=null){return new $.ig.AxisRange(this.kh().minimum(),this.kh().maximum())}if(am!=null&&am==this.yAxis()&&this.ki()!=null){return new $.ig.AxisRange(this.ki().minimum(),this.ki().maximum())}return null},getItem:function(an){return null},getItemIndex:function(ao){return-1},scrollIntoView:function(ap){var aq=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var ar=this.seriesViewer()!=null?this.seriesViewer().viewportRect():$.ig.Rect.prototype.empty();var as=new $.ig.Rect(0,0,0,1,1);var at=new $.ig.ScalerParams(as,as,this.xAxis().isInverted());var au=new $.ig.ScalerParams(as,as,this.yAxis().isInverted());var av=!aq.isEmpty()&&!ar.isEmpty()&&this.eb()!=null?this.eb().x(ap):-1;var aw=this.xAxis()!=null&&this.kh()!=null&&av<this.kh().count()?this.xAxis().getScaledValue(this.kh().item(av),at):NaN;var ax=this.yAxis()!=null&&this.ki()!=null&&av<this.ki().count()?this.yAxis().getScaledValue(this.ki().item(av),au):NaN;if(!isNaN(aw)){if(aw<aq.left()+.1*aq.width()){aw=aw+.4*aq.width();aq.x(aw-.5*aq.width())}if(aw>aq.right()-.1*aq.width()){aw=aw-.4*aq.width();aq.x(aw-.5*aq.width())}}if(!isNaN(ax)){if(ax<aq.top()+.1*aq.height()){ax=ax+.4*aq.height();aq.y(ax-.5*aq.height())}if(ax>aq.bottom()-.1*aq.height()){ax=ax-.4*aq.height();aq.y(ax-.5*aq.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),aq)}return av>=0},fl:function(ay,az){this.renderSeries(false)},fk:function(a0,a1){this.renderSeries(false)},jv:null,jw:null,jx:null,kx:function(a2,a3,a4,a5){var $self=this;a2.w(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,1,a3));var a6=this.eb();var a7;var a8;var a9=function(){var $ret=new $.ig.ScalerParams(a4,a5,$self.kg().h());$ret.c=$self.seriesViewer().effectiveViewport();return $ret}();var ba=function(){var $ret=new $.ig.ScalerParams(a4,a5,$self.kg().i());$ret.c=$self.seriesViewer().effectiveViewport();return $ret}();for(var bb=0;bb<a3;bb++){a7=this.kh().item(bb);a8=this.ki().item(bb);var bc={__x:this.kg().f().getScaledValue(a7,a9),__y:this.kg().g().getScaledValue(a8,ba),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(!Number.isInfinity(bc.__x)&&!Number.isInfinity(bc.__y)){var bd=a6.item(bb);if(!a2.w().containsKey(bd)){var be={__x:a7,__y:a8,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var bf={__x:bc.__x,__y:bc.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a2.w().add(bd,function(){var $ret=new $.ig.OwnedPoint;$ret.e(bd);$ret.f(be);$ret.d(bf);return $ret}())}}}},ky:function(bg,bh){var $self=this;bg.v().clear();bg.y().clear();bg.z().clear();bg.aa().clear();bg.ab().clear();bg.ac().clear();var bi=Math.min(this.kh()!=null?this.kh().count():0,this.ki()!=null?this.ki().count():0);var bj=bh.ae();var bk=bh.ad();var bl=new $.ig.ScalerParams(bj,bk,this.xAxis().isInverted());bl.c=this.seriesViewer().effectiveViewport();var bm=new $.ig.ScalerParams(bj,bk,this.yAxis().isInverted());bm.c=this.seriesViewer().effectiveViewport();if(bi<1){return}this.kg(function(){var $ret=new $.ig.ScatterAxisInfoCache;$ret.f($self.xAxis());$ret.g($self.yAxis());$ret.h($self.xAxis().isInverted());$ret.i($self.yAxis().isInverted());$ret.j($self.eb());return $ret}());if(bi<=this.maximumMarkers()){this.kx(bg,bi,bj,bk)}if(this.i8()){bh.dr().y(bg.v(),this.maximumMarkers(),bj,bk,this.resolution())}var bn=function(){var $ret=new $.ig.Clipper(0,bk,false);$ret.h(bg.y());return $ret}();var bo=this.xAxis().getUnscaledValue(bk.left(),bl);var bp=this.xAxis().getUnscaledValue(bk.right(),bl);bh.dx().af(bg.y(),this.trendLineType(),this.kh(),this.ki(),this.trendLinePeriod(),function(bq){return $self.xAxis().getScaledValue(bq,bl)},function(br){return $self.yAxis().getScaledValue(br,bm)},function(){var $ret=new $.ig.TrendResolutionParams;$ret.m($self.resolution());$ret.k(bk);$ret.l(bj);return $ret}(),bn,bo,bp);this.k0(bg,bh)},fg:function(bs,bt){$.ig.Series.prototype.fg.call(this,bs,bt);var bu=bt;bu.eq(bs)},kz:function(bv,bw){var $self=this;var bx=bw.ad();this.kg(function(){var $ret=new $.ig.ScatterAxisInfoCache;$ret.f($self.xAxis());$ret.g($self.yAxis());$ret.h($self.xAxis().isInverted());$ret.i($self.yAxis().isInverted());return $ret}());if(this.i8()){bw.dr().z(bv.v(),this.useLightweightMarkers())}bw.dc();var by=function(){var $ret=new $.ig.Clipper(1,NaN,bx.bottom(),NaN,bx.top(),false);$ret.h(bw.dx().n().bl());return $ret}();bw.dx().w(bv.y(),by);this.k1(bv,bw)},k0:function(bz,b0){var $self=this;var b1=new $.ig.ErrorBarsHelper(this,b0);if(this.errorBarSettings()==null){return}var b2=this.errorBarSettings().a9();var b3=this.errorBarSettings().bg();var b4=0;var b5=0;var b6=0;var b7=0;if(b2!=null&&b1.i(b2)){(function(){var $ret=b1.j(b2,b4);b4=$ret.position;return $ret.ret})();(function(){var $ret=b1.k(b2,$self.kg().f(),b6);b6=$ret.errorBarSize;return $ret.ret})()}if(b3!=null&&b1.i(b3)){(function(){var $ret=b1.j(b3,b5);b5=$ret.position;return $ret.ret})();(function(){var $ret=b1.k(b3,$self.kg().g(),b7);b7=$ret.errorBarSize;return $ret.ret})()}var b9=bz.v().keys().getEnumerator();while(b9.moveNext()){var b8=b9.current();var ca=bz.v().item(b8);if(b2!=null){if(b2.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.percentage){var cb;var cc,cd;cd=this.kg().f();if(this.errorBarSettings().a8()==$.ig.ErrorBarCalculatorReference.prototype.x){cb=ca.d().__x;cc=this.kg().f()}else{cb=ca.d().__y;cc=this.kg().g()}(function(){var $ret=b1.m(cb,b2,cc,cd,b6);b6=$ret.errorBarSize;return $ret.ret})()}else if(b2.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.data){var ce=b2.getItemColumn();var cf=this.eb().x(b8);if(ce!=null&&cf<ce.count()){var cg=ce.item(this.eb().x(b8));(function(){var $ret=b1.n(cg,$self.kg().f(),b6);b6=$ret.errorBarSize;return $ret.ret})()}else{b6=NaN}}var ch=new $.ig.OwnedPoint;var ci=b1.q(b2,this.kg().f(),ca.d(),b4);ch.d(ci);ch.e(ca.e());bz.z().add(b8,ch);bz.ab().add(b8,b6)}if(b3!=null){if(b3.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.percentage){var cj;var ck,cl;cl=this.kg().g();if(this.errorBarSettings().bf()==$.ig.ErrorBarCalculatorReference.prototype.x){cj=ca.d().__x;ck=this.kg().f()}else{cj=ca.d().__y;ck=this.kg().g()}(function(){var $ret=b1.m(cj,b3,ck,cl,b7);b7=$ret.errorBarSize;return $ret.ret})()}else if(b3.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.data){var cm=b3.getItemColumn();var cn=this.eb().x(b8);if(cm!=null&&cn<cm.count()){var co=cm.item(this.eb().x(b8));(function(){var $ret=b1.n(co,$self.kg().g(),b7);b7=$ret.errorBarSize;return $ret.ret})()}else{b7=NaN}}var cp=new $.ig.OwnedPoint;var cq=b1.r(b3,this.kg().g(),ca.d(),b5);cp.d(cq);cp.e(ca.e());bz.aa().add(b8,cp);bz.ac().add(b8,b7)}}},k1:function(cr,cs){if(!cs.ch()||this.errorBarSettings()==null){cs.ep();return}this.k2(cr,cs);this.k3(cr,cs)},k2:function(ct,cu){cu.ei();var cv=new $.ig.ErrorBarsHelper(this,cu);var cw=new $.ig.PathGeometry;var cx=this.errorBarSettings().a9();var cz=ct.v().keys().getEnumerator();while(cz.moveNext()){var cy=cz.current();if(cx!=null&&ct.ab().containsKey(cy)){var c0=ct.ab().item(cy);if(!isNaN(c0)){var c1=ct.z().item(cy).d();if(this.errorBarSettings().a7()==$.ig.EnableErrorBars.prototype.both||this.errorBarSettings().a7()==$.ig.EnableErrorBars.prototype.positive){cv.p(cw,c1,c0,true)}if(this.errorBarSettings().a7()==$.ig.EnableErrorBars.prototype.both||this.errorBarSettings().a7()==$.ig.EnableErrorBars.prototype.negative){cv.p(cw,c1,c0,false)}}}}cu.ej(cw)},k3:function(c2,c3){c3.ek();var c4=new $.ig.ErrorBarsHelper(this,c3);var c5=new $.ig.PathGeometry;var c6=this.errorBarSettings().bg();var c8=c2.v().keys().getEnumerator();while(c8.moveNext()){var c7=c8.current();if(c6!=null&&c2.ac().containsKey(c7)){var c9=c2.ac().item(c7);if(!isNaN(c9)){var da=c2.aa().item(c7).d();if(this.errorBarSettings().be()==$.ig.EnableErrorBars.prototype.both||this.errorBarSettings().be()==$.ig.EnableErrorBars.prototype.positive){c4.o(c5,da,c9,true)}if(this.errorBarSettings().be()==$.ig.EnableErrorBars.prototype.both||this.errorBarSettings().be()==$.ig.EnableErrorBars.prototype.negative){c4.o(c5,da,c9,false)}}}}},ff:function(db,dc,dd){var de=true;if(!$.ig.Series.prototype.ff.call(this,db,dc,dd)||dc.isEmpty()||db.isEmpty()||this.xAxis()==null||this.yAxis()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.kh()==null||this.ki()==null||this.kh().count()==0||this.ki().count()==0||this.eb()==null||this.eb().g()!=this.kh().count()||this.eb().g()!=this.ki().count()||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.xAxis().actualMinimumValue()==this.xAxis().actualMaximumValue()||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()){de=false}return de},getViewInfo:function(df,dg){if(!this.jt.isEmpty()&&!this.ju.isEmpty()){df=this.jt;dg=this.ju;return{viewportRect:df,windowRect:dg}}df=this.view().ad();dg=this.view().ae();return{viewportRect:df,windowRect:dg}},fb:function(dh){this.kt();try{if(this.fi(this.view())){return}if(this.eb()!=null&&this.eb().g()>this.maximumMarkers()){dh=false}if(this.he(dh)){var di=this.jv;if(this.gb()){if(this.d4().k()){this.d4().s()}this.jv=this.jw;this.jw=di}else{this.jv=this.jx;this.jx=di}this.ky(this.jx,this.kf());this.gc()}else{this.ky(this.jx,this.kf());this.kz(this.jx,this.kf())}}finally{this.ks()}},f6:function(){$.ig.MarkerSeries.prototype.f6.call(this);if(this.index()<0){return}this.kf().em()},fe:function(dj,dk){$.ig.Series.prototype.fe.call(this,dj,dk);if(!this.d9()){this.view().b9(dk);return}this.view().b9(dk);if(this.fi(this.d7())){return}var dl=$.ig.util.cast($.ig.ScatterBaseView.prototype.$type,this.d7());var dm=new $.ig.ScatterFrame;this.ky(dm,dl);this.kz(dm,dl);this.d9(false)},k4:function(dn,dp){var dq=new $.ig.List$1($.ig.Object.prototype.$type,0);var ds=dp.i().getEnumerator();while(ds.moveNext()){var dr=ds.current();if(!dn.containsKey(dr)){dq.add1(dr)}}var du=dq.getEnumerator();while(du.moveNext()){var dt=du.current();dp.u(dt)}},k5:function(dv,dw,dx,dy){var $self=this;if(dw==null||dw.length!=this.kg().j().g()){dw=new Array(this.kg().j().g());for(var dz=0;dz<this.kg().j().g();dz++){dw[dz]=new $.ig.Point(0)}}var d0=function(){var $ret=new $.ig.ScalerParams(dx,dy,$self.xAxis().isInverted());$ret.c=$self.seriesViewer().effectiveViewport();return $ret}();var d1=function(){var $ret=new $.ig.ScalerParams(dx,dy,$self.yAxis().isInverted());$ret.c=$self.seriesViewer().effectiveViewport();return $ret}();var d2=this.kg().f().getUnscaledValue(dy.left(),d0);var d3=this.kg().f().getUnscaledValue(dy.right(),d0);var d4=this.kg().g().getUnscaledValue(dy.bottom(),d1);var d5=this.kg().g().getUnscaledValue(dy.top(),d1);if(this.kg().h()){var d6=d2;d2=d3;d3=d6}if(this.kg().i()){var d7=d4;d4=d5;d5=d7}var d8=this.kg();var d9=d8.f();var ea=d8.g();var eb;var ec;var ed=this.kh();var ee=this.ki();for(var ef=0;ef<this.kg().j().g();ef++){eb=ed.item(ef);ec=ee.item(ef);if(eb>=d2&&eb<=d3&&ec>=d4&&ec<=d5){dw[ef].__x=d9.getScaledValue(eb,d0);dw[ef].__y=ea.getScaledValue(ec,d1)}else{dw[ef].__x=NaN;dw[ef].__y=NaN}}return dw},k6:function(eg,eh){if(eh==null||eh.length!=eg.j()){eh=new Array(eg.j())}var ei=0;var ej=this.eb();var el=eg.i().getEnumerator();while(el.moveNext()){var ek=el.current();eh[ei]=ej.x(ek);ei++}return eh},ho:function(em){$.ig.MarkerSeries.prototype.ho.call(this,em);var en=new $.ig.PolyLineVisualData(1,"trendLine",this.kf().dx().n());en.tags().add("Trend");em.shapes().add(en)},$type:new $.ig.Type("ScatterBase",$.ig.MarkerSeries.prototype.$type,[$.ig.ISupportsErrorBars.prototype.$type])},true);$.ig.util.defType("BubbleSeries","ScatterBase",{et:function(){return new $.ig.BubbleSeriesView(this)},eq:function(a){$.ig.ScatterBase.prototype.eq.call(this,a);this.l6(a)},_l6:null,l6:function(a){if(arguments.length===1){this._l6=a;return a}else{return this._l6}},init:function(){$.ig.ScatterBase.prototype.init.call(this);this.a3($.ig.BubbleSeries.prototype.$type);this.jv=new $.ig.ScatterFrame;this.jw=new $.ig.ScatterFrame;this.jx=new $.ig.ScatterFrame},_l7:null,l7:function(a){if(arguments.length===1){this._l7=a;return a}else{return this._l7}},_l8:null,l8:function(a){if(arguments.length===1){this._l8=a;return a}else{return this._l8}},l9:function(){return this.mb()},_ma:null,ma:function(a){if(arguments.length===1){this._ma=a;return a}else{return this._ma}},radiusMemberPath:function(a){if(arguments.length===1){this.c($.ig.BubbleSeries.prototype.radiusMemberPathProperty,a);return a}else{return this.b($.ig.BubbleSeries.prototype.radiusMemberPathProperty)}},mb:function(a){if(arguments.length===1){if(this.lu!=a){var b=this.mb();this.lu=a;this.e6($.ig.BubbleSeries.prototype.ln,b,this.mb())}return a}else{return this.lu}},lu:null,radiusScale:function(a){if(arguments.length===1){this.c($.ig.BubbleSeries.prototype.radiusScaleProperty,a);return a}else{return this.b($.ig.BubbleSeries.prototype.radiusScaleProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.BubbleSeries.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.BubbleSeries.prototype.labelMemberPathProperty)}},lv:null,mc:function(a){if(arguments.length===1){if(this.lv!=a){var b=this.mc();this.lv=a;this.e6($.ig.BubbleSeries.prototype.lq,b,this.mc())}return a}else{return this.lv}},fillMemberPath:function(a){if(arguments.length===1){this.c($.ig.BubbleSeries.prototype.fillMemberPathProperty,a);return a}else{return this.b($.ig.BubbleSeries.prototype.fillMemberPathProperty)}},fillScale:function(a){if(arguments.length===1){this.c($.ig.BubbleSeries.prototype.fillScaleProperty,a);return a}else{return this.b($.ig.BubbleSeries.prototype.fillScaleProperty)}},lw:null,md:function(a){if(arguments.length===1){if(this.lw!=a){var b=this.md();this.lw=a;this.e6($.ig.BubbleSeries.prototype.lt,b,this.md())}return a}else{return this.lw}},kx:function(a,b,c,d){var $self=this;if(b<=this.maximumMarkers()){a.w(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,1,b))}var e=this.eb();var f;var g;var h=new $.ig.ScalerParams(c,d,this.kg().h());var i=new $.ig.ScalerParams(c,d,this.kg().i());for(var j=0;j<b;j++){f=this.kh().item(j);g=this.ki().item(j);var k={__x:this.kg().f().getScaledValue(f,h),__y:this.kg().g().getScaledValue(g,i),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(!Number.isInfinity(k.__x)&&!Number.isInfinity(k.__y)){var l=e.item(j);if(b<=this.maximumMarkers()){if(!a.w().containsKey(l)){var m={__x:f,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.w().add(l,function(){var $ret=new $.ig.OwnedPoint;$ret.e(l);$ret.f(m);$ret.d(k);return $ret}())}}}}},kz:function(a,b){var $self=this;this.kg(function(){var $ret=new $.ig.ScatterAxisInfoCache;$ret.f($self.xAxis());$ret.g($self.yAxis());$ret.h($self.xAxis().isInverted());$ret.i($self.yAxis().isInverted());return $ret}());var c=$.ig.util.cast($.ig.BubbleSeriesView.prototype.$type,b);c.dr().z(a.v(),this.useLightweightMarkers());b.dc();var d=function(){var $ret=new $.ig.Clipper(1,NaN,b.ad().bottom(),NaN,b.ad().top(),false);$ret.h(b.dx().n().bl());return $ret}();b.dx().w(a.y(),d)},ky:function(a,b){var $self=this;a.v().clear();a.y().clear();var c=$.ig.util.cast($.ig.BubbleSeriesView.prototype.$type,b);var d=c.dr();d.ah(this.mb());var e=Math.min(this.kh()!=null?this.kh().count():0,this.ki()!=null?this.ki().count():0);var f=b.ae();var g=b.ad();var h=new $.ig.ScalerParams(f,g,this.xAxis().isInverted());var i=new $.ig.ScalerParams(f,g,this.yAxis().isInverted());if(e<1){return}this.kg(function(){var $ret=new $.ig.ScatterAxisInfoCache;$ret.f($self.xAxis());$ret.g($self.yAxis());$ret.h($self.xAxis().isInverted());$ret.i($self.yAxis().isInverted());$ret.j($self.eb());return $ret}());this.kx(a,e,f,g);c.dr().y(a.v(),this.maximumMarkers(),f,g,this.resolution());c.ey();c.ez();this.mt();var j=function(){var $ret=new $.ig.Clipper(0,g,false);$ret.h(a.y());return $ret}();var k=this.xAxis().getUnscaledValue(g.left(),h);var l=this.xAxis().getUnscaledValue(g.right(),h);c.dx().af(a.y(),this.trendLineType(),this.kh(),this.ki(),this.trendLinePeriod(),function(m){return $self.xAxis().getScaledValue(m,h)},function(n){return $self.yAxis().getScaledValue(n,i)},function(){var $ret=new $.ig.TrendResolutionParams;$ret.m($self.resolution());$ret.k(g);$ret.l(f);return $ret}(),j,k,l)},mt:function(){if(this.seriesViewer()==null){return}var a=$.ig.util.cast($.ig.ItemLegend.prototype.$type,this.actualLegend());if(a!=null){a.cp(this);this.mw();a.co(this)}var b=$.ig.util.cast($.ig.ScaleLegend.prototype.$type,this.actualLegend());if(b!=null){b.dq();b.dt(this)}},mu:function(a,b,c,d,e){if(e<=a||isNaN(e)||Number.isInfinity(e)){return c}if(e>=b){return d}var f=c+(d-c)/(b-a)*(e-a);return f},mv:function(a,b,c,d,e,f){var g=Math.logBase(f,e);var h=Math.logBase(a,e);var i=Math.logBase(b,e);return $.ig.BubbleSeries.prototype.mu(h,i,c,d,g)},ff:function(a,b,c){var d=$.ig.ScatterBase.prototype.ff.call(this,a,b,c);if(this.mb()==null||this.eb()==null||this.mb().count()==0||this.eb().g()!=this.mb().count()){d=false}return d},ku:function(a,b){if(b!=$.ig.FastItemsSourceEventAction.prototype.change){return true}if(a==null){return true}if(this.xMemberPath()==a||this.yMemberPath()==a||this.radiusMemberPath()==a){return true}return false},mw:function(){var $self=this;var a=$.ig.util.cast($.ig.ItemLegend.prototype.$type,this.actualLegend());if(a==null||this.eb()==null){return}this.ma(new $.ig.List$1($.ig.UIElement.prototype.$type,0));for(var b=0;b<this.eb().g();b++){var c=null;if($.ig.util.cast($.ig.ValueBrushScale.prototype.$type,this.fillScale())!==null&&this.md()!=null){c=this.fillScale().getBrushByIndex(b,this.md())}else if($.ig.util.cast($.ig.CustomPaletteBrushScale.prototype.$type,this.fillScale())!==null){c=this.fillScale().getBrush(b,this.eb().g())}else if(this.fillScale()!=null){c=this.fillScale().getBrush(b)}var d=new $.ig.ContentControl;var e=this.mc()!=null&&this.mc().item(b)!=null?this.mc().item(b).toString():"";d.content(function(){var $ret=new $.ig.DataContext;$ret.series($self);$ret.item($self.eb().item(b));$ret.itemBrush(c);$ret.itemLabel(e);return $ret}());d.bf(this.discreteLegendItemTemplate());this.ma().add(d)}},fz:function(a,b,c,d){$.ig.ScatterBase.prototype.fz.call(this,a,b,c,d);this.mt()},ft:function(a,b,c,d){var $self=this;$.ig.ScatterBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.BubbleSeries.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.mb());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.md());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.mc());this.mb(null);this.md(null);this.mc(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.mb(this.hk(this.radiusMemberPath()));if(!String.isNullOrEmpty(this.fillMemberPath())){this.md(this.hk(this.fillMemberPath()))}this.mc(this.hm(this.labelMemberPath()))}this.renderSeries(false);this.mt();break;case $.ig.BubbleSeries.prototype.lm:if(this.eb()!=null){this.eb().ac(this.mb());this.mb(this.hk(this.radiusMemberPath()));this.mt()}break;case $.ig.BubbleSeries.prototype.ln:this.kf().dx().ac();this.renderSeries(false);this.fr();break;case $.ig.BubbleSeries.prototype.lo:this.renderSeries(false);this.fs();break;case $.ig.BubbleSeries.prototype.ls:this.renderSeries(false);this.mt();this.fs();break;case $.ig.BubbleSeries.prototype.lt:this.renderSeries(false);this.fs();break;case $.ig.BubbleSeries.prototype.lr:if(this.eb()!=null){this.eb().ac(this.md());this.md(this.hk(this.fillMemberPath()));this.mt()}break;case $.ig.BubbleSeries.prototype.lp:if(this.eb()!=null){this.eb().ac(this.mc());this.mc(this.hm(this.labelMemberPath()));this.mt()}break;case $.ig.BubbleSeries.prototype.bn:var e=$.ig.util.cast($.ig.ItemLegend.prototype.$type,c);if(e!=null){e.cp(this)}var f=$.ig.util.cast($.ig.ScaleLegend.prototype.$type,c);if(f!=null){var g=true;var h=null;if(this.seriesViewer()!=null){var j=this.seriesViewer().series().getEnumerator();while(j.moveNext()){var i=j.current();if(i.legend()==f){h=i;g=false}}}if(g){f.dq()}else{f.dt(h)}}this.mt();break}},mx:function(a,b,c,d){var e=this.mb().minimum();var f=this.mb().maximum();if(this.radiusScale()!=null){var g=this.radiusScale().minimumValue();var h=this.radiusScale().maximumValue();var i=this.radiusScale().logarithmBase();if(!this.radiusScale().p().contains(this)){this.radiusScale().p().add(this)}if(this.radiusScale().isLogarithmic()){for(var j=0;j<b.count();j++){b.__inner[j]=$.ig.BubbleSeries.prototype.mv(e,f,g,h,i,b.__inner[j])}}else{for(var k=0;k<b.count();k++){b.__inner[k]=$.ig.BubbleSeries.prototype.mu(e,f,g,h,b.__inner[k])}}}if(d){var l=c.width();if(!this.view().ad().isEmpty()){l=this.view().ad().width()}else if(this.seriesViewer()!=null&&!this.seriesViewer().viewportRect().isEmpty()){l=this.seriesViewer().viewportRect().width()}var m=c.width()/l;for(var n=0;n<b.count();n++){b.__inner[n]=b.__inner[n]*m}}for(var o=0;o<a.count();o++){var p=a.__inner[o];p.width(Math.max(0,b.__inner[o]));p.height(Math.max(0,b.__inner[o]))}},my:function(a){if(this.fillScale()!=null&&!this.fillScale().i().contains(this)){this.fillScale().i().add(this)}var b=$.ig.util.cast($.ig.CustomPaletteBrushScale.prototype.$type,this.fillScale());var c=$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,this.fillScale());var d=this.fillScale();var e=this.fillScale()==null||!this.fillScale().isReady()||c!=null&&this.fillMemberPath()==null;if(e){this.l6().e0();var f=$.ig.util.cast($.ig.BubbleSeriesView.prototype.$type,this.d7());if(f!=null){f.e0()}return}var g=a.count();for(var h=0;h<g;h++){var i=a.__inner[h];var j=$.ig.util.cast($.ig.DataContext.prototype.$type,i.content());if(j!=null){var k=null;var l=this.eb().x(j.item());if(b!=null){k=b.getBrush(l,this.eb().g())}else if(c!=null){k=c.getBrushByIndex(l,this.md())}else if(d!=null){k=d.getBrush(l)}j.itemBrush(k)}}},$type:new $.ig.Type("BubbleSeries",$.ig.ScatterBase.prototype.$type)},true);$.ig.util.defType("MarkerSeriesView","SeriesView",{_cr:null,cr:function(a){if(arguments.length===1){this._cr=a;return a}else{return this._cr}},init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this.cr(a)},ak:function(){var $self=this;$.ig.SeriesView.prototype.ak.call(this);this.cs(new $.ig.List$1($.ig.Marker.prototype.$type,0));this.co=function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.h);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}()},cv:function(){var b=this.cs().getEnumerator();while(b.moveNext()){var a=b.current();a.bf(this.cr().actualMarkerTemplate())}this.ar()},cw:function(a){},_cs:null,cs:function(a){if(arguments.length===1){this._cs=a;return a}else{return this._cs}},cz:function(){var $self=this;var a=new $.ig.Marker;a.content(function(){var $ret=new $.ig.DataContext;$ret.series($self.w());return $ret}());a.bf(this.cr().actualMarkerTemplate());this.cs().add(a);return a},c0:function(a){},c1:function(a){a.__visibility=$.ig.Visibility.prototype.visible},c2:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},c3:function(a){this.cs().remove(a)},c4:function(){return this.cr().markerTemplate()!=null},c5:function(){this.cr().actualMarkerTemplate(null)},c6:function(){this.cr().actualMarkerTemplate(this.cr().markerTemplate())},c7:function(a){var $self=this;switch(a){case $.ig.XamDataChart.prototype.cf:this.cr().actualMarkerTemplate(this.cr().seriesViewer().circleMarkerTemplate());break;case $.ig.XamDataChart.prototype.cg:this.cr().actualMarkerTemplate(this.cr().seriesViewer().triangleMarkerTemplate());break;case $.ig.XamDataChart.prototype.ch:this.cr().actualMarkerTemplate(this.cr().seriesViewer().pyramidMarkerTemplate());break;case $.ig.XamDataChart.prototype.ci:this.cr().actualMarkerTemplate(this.cr().seriesViewer().squareMarkerTemplate());break;case $.ig.XamDataChart.prototype.cj:this.cr().actualMarkerTemplate(this.cr().seriesViewer().diamondMarkerTemplate());break;case $.ig.XamDataChart.prototype.ck:this.cr().actualMarkerTemplate(this.cr().seriesViewer().pentagonMarkerTemplate());break;case $.ig.XamDataChart.prototype.cl:this.cr().actualMarkerTemplate(this.cr().seriesViewer().hexagonMarkerTemplate());break;case $.ig.XamDataChart.prototype.cm:this.cr().actualMarkerTemplate(this.cr().seriesViewer().tetragramMarkerTemplate());break;case $.ig.XamDataChart.prototype.cn:this.cr().actualMarkerTemplate(this.cr().seriesViewer().pentagramMarkerTemplate());break;case $.ig.XamDataChart.prototype.co:this.cr().actualMarkerTemplate(this.cr().seriesViewer().hexagramMarkerTemplate());break}},c8:function(){this.cr().actualMarkerBrush(null)},c9:function(){this.cr().actualMarkerBrush(this.cr().markerBrush())},da:function(){this.cr().actualMarkerOutline(null)},db:function(){this.cr().actualMarkerOutline(this.cr().markerOutline())},dc:function(){this.ar()},aw:function(a,b){$.ig.SeriesView.prototype.aw.call(this,a,b);var c=a;var d=c.content();if(d!=null){d.actualItemBrush(this.cr().actualMarkerBrush());if(d.itemBrush()!=null){d.actualItemBrush(d.itemBrush())}d.outline(this.cr().actualMarkerOutline());d.thickness(.5)}},ay:function(a,b){$.ig.SeriesView.prototype.ay.call(this,a,b);var c=a;var d=this.a2(b);var e=c.content();if(e!=null){e.actualItemBrush(d);e.outline(d);e.thickness(1+$.ig.SeriesView.prototype.b)}},b8:function(a){if(a>=0&&a<this.cs().count()){return this.cs().__inner[a].content()}return $.ig.SeriesView.prototype.b8.call(this,a)},co:null,a5:function(a,b){$.ig.SeriesView.prototype.a5.call(this,a,b);if(a.b()){var c=new $.ig.DataTemplatePassInfo;c.areGradientsEnabled=this.l;c.isHitTestRender=b;c.context=a.c();c.viewportTop=this.ad().top();c.viewportLeft=this.ad().left();c.viewportWidth=this.ad().width();c.viewportHeight=this.ad().height();c.passID="Markers";var d=new $.ig.DataTemplateRenderInfo;d.areGradientsEnabled=this.l;d.isHitTestRender=b;d.passInfo=c;var e=new $.ig.DataTemplateMeasureInfo;e.passInfo=c;var f=false;var g=a.c();e.context=g;d.context=g;var h=0;var i=0;var j=true;if(this.cr().actualMarkerTemplate()!=null&&this.cr().actualMarkerTemplate().passStarting()!=null){this.cr().actualMarkerTemplate().passStarting()(c)}for(var k=0;k<this.cs().count();k++){var l=this.cs().__inner[k];if(l.__visibility==$.ig.Visibility.prototype.collapsed){continue}this.au(l,k,b);if(!f){e.data=l.content();e.width=l.width();
e.height=l.height();e.renderOffsetX=0;e.renderOffsetY=0;var m=l.bf();if(m.measure()!=null){e.data=l.content();m.measure()(e);f=e.isConstant;if(f){h=e.width;i=e.height}}d.availableWidth=e.width;d.availableHeight=e.height;d.renderOffsetX=e.renderOffsetX;d.renderOffsetY=e.renderOffsetY}else{d.availableWidth=h;d.availableHeight=i}if(!isNaN(l.width())&&!Number.isInfinity(l.width())){d.availableWidth=l.width()}if(!isNaN(l.height())&&!Number.isInfinity(l.height())){d.availableHeight=l.height()}j=false;a.m(d,l);l.t(d.availableWidth);l.u(d.availableHeight);l.bk=d.renderOffsetX;l.bl=d.renderOffsetY}if(this.cr().actualMarkerTemplate()!=null&&this.cr().actualMarkerTemplate().passCompleted()!=null){this.cr().actualMarkerTemplate().passCompleted()(c)}}},dd:function(a){a.create(this.cz.runOn(this));a.destroy(this.c3.runOn(this));a.activate(this.c1.runOn(this));a.disactivate(this.c2.runOn(this))},de:function(a){a.create(this.cz.runOn(this));a.destroy(this.c3.runOn(this));a.activate(this.c1.runOn(this));a.disactivate(this.c2.runOn(this))},df:function(a){var b=this.dg(a,0);if(b==null){b=this.dg(a,$.ig.MarkerSeriesView.prototype.b)}return b},dg:function(a,b){var c;var d;var e;var f;for(var g=this.cs().count()-1;g>=0;g--){var h=this.cs().__inner[g];if(h.__visibility==$.ig.Visibility.prototype.collapsed||h.__opacity==0){continue}c=h.t()/2+b;d=h.u()/2+b;e=h.bk;f=h.bl;if(h.w()+e-c<=a.__x&&h.w()+e+c>=a.__x&&h.v()+f-d<=a.__y&&h.v()+f+d>=a.__y){return h}}return null},$type:new $.ig.Type("MarkerSeriesView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("ScatterBaseView","MarkerSeriesView",{_dr:null,dr:function(a){if(arguments.length===1){this._dr=a;return a}else{return this._dr}},_ds:null,ds:function(a){if(arguments.length===1){this._ds=a;return a}else{return this._ds}},_dt:null,dt:function(a){if(arguments.length===1){this._dt=a;return a}else{return this._dt}},_du:null,du:function(a){if(arguments.length===1){this._du=a;return a}else{return this._du}},init:function(a){this.dh=null;$.ig.MarkerSeriesView.prototype.init.call(this,a);this.dt(a);this.dy(new $.ig.HashPool$2($.ig.Object.prototype.$type,$.ig.Marker.prototype.$type));this.dd(this.dy());this.dx(new $.ig.ScatterTrendLineManager)},_dv:null,dv:function(a){if(arguments.length===1){this._dv=a;return a}else{return this._dv}},_dw:null,dw:function(a){if(arguments.length===1){this._dw=a;return a}else{return this._dw}},_dx:null,dx:function(a){if(arguments.length===1){this._dx=a;return a}else{return this._dx}},ak:function(){$.ig.MarkerSeriesView.prototype.ak.call(this);this.dr(this.ee());this.dv(new $.ig.Path);this.dw(new $.ig.Path);if(!this.af()){this.dt().maximumMarkers(2e3)}},dh:null,ed:function(a){if(this.dh==null){this.dh=new $.ig.DataTemplateMeasureInfo;this.dh.context=this.ab().c()}this.dh.width=a.width();this.dh.height=a.height();this.dh.data=a.content();var b=a.bf();if(b.measure()!=null){b.measure()(this.dh)}return new $.ig.Size(this.dh.width,this.dh.height)},ee:function(){var $self=this;var c=new $.ig.NumericMarkerManager(1,function(a){return $self.dy().item(a)},function(b){return $self.dt().kg().j().item(b)},this.ef.runOn(this),this.eg.runOn(this),this.eh.runOn(this),function(){return $self.dt().markerCollisionAvoidance()});c.an(this.ed.runOn(this));return c},ef:function(a){this.dt().k4(a,this.dy())},eg:function(){this.ds(this.dt().k5(this.dy(),this.ds(),this.ae(),this.ad()));return this.ds()},eh:function(){this.du(this.dt().k6(this.dy(),this.du()));return this.du()},ei:function(){},ej:function(a){},ek:function(){},el:function(a){},em:function(){if(this.dt().trendLineBrush()!=null){this.dt().actualTrendLineBrush(this.dt().trendLineBrush())}else{this.dt().actualTrendLineBrush(this.dt().actualBrush())}},_dy:null,dy:function(a){if(arguments.length===1){this._dy=a;return a}else{return this._dy}},c0:function(a){this.dy().w(a)},ep:function(){},a5:function(a,b){if(a.b()){if(this.dt().trendLineType()!=$.ig.TrendLineType.prototype.none&&!b){var c=this.dx().n();c.a5(this.dt().trendLineThickness());c.__stroke=this.dt().actualTrendLineBrush();c.a6(this.dt().trendLineDashArray());c.a7(this.dt().trendLineDashCap());if(this.l&&!b){a.e($.ig.GradientDirection.prototype.bottomTop,this.ad())}a.l(c)}}$.ig.MarkerSeriesView.prototype.a5.call(this,a,b)},eq:function(a){if(a){this.ep();this.dy().clear()}this.dx().ab();this.ar()},$type:new $.ig.Type("ScatterBaseView",$.ig.MarkerSeriesView.prototype.$type)},true);$.ig.util.defType("BubbleSeriesView","ScatterBaseView",{_ev:null,ev:function(a){if(arguments.length===1){this._ev=a;return a}else{return this._ev}},init:function(a){$.ig.ScatterBaseView.prototype.init.call(this,a);this.ev(a);this.dx(new $.ig.ScatterTrendLineManager)},ak:function(){$.ig.ScatterBaseView.prototype.ak.call(this);if(!this.af()){this.cr().markerType($.ig.MarkerType.prototype.automatic)}},ee:function(){var $self=this;return new $.ig.BubbleMarkerManager(function(a){return $self.dy().item(a)},function(b){return $self.w().eb().item(b)},this.ef.runOn(this),this.eg.runOn(this),this.eh.runOn(this))},ey:function(){var a=this.dr();this.ev().mx(a.aj(),a.ai(),this.ad(),this==this.w().d7());this.ar()},ez:function(){var a=this.dr();this.ev().my(a.aj())},e0:function(){var a=this.dr();var c=a.aj().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.DataContext.prototype.$type,b.content());if(d!=null){d.itemBrush(null)}}},$type:new $.ig.Type("BubbleSeriesView",$.ig.ScatterBaseView.prototype.$type)},true);$.ig.util.defType("CustomPaletteBrushScale","BrushScale",{init:function(){$.ig.BrushScale.prototype.init.call(this)},brushSelectionMode:function(a){if(arguments.length===1){this.c($.ig.CustomPaletteBrushScale.prototype.brushSelectionModeProperty,a);return a}else{return this.b($.ig.CustomPaletteBrushScale.prototype.brushSelectionModeProperty)}},getBrush:function(a,b){if(this.brushes()==null||this.brushes().count()==0){return null}if(this.brushSelectionMode()==$.ig.BrushSelectionMode.prototype.select){return $.ig.BrushScale.prototype.getBrush.call(this,a%this.brushes().count())}var c=$.ig.BubbleSeries.prototype.mu(0,b-1,0,this.brushes().count()-1,a);return this.m(c)},isReady:function(){return this.brushes()!=null&&this.brushes().count()>0},$type:new $.ig.Type("CustomPaletteBrushScale",$.ig.BrushScale.prototype.$type)},true);$.ig.util.defType("SizeScale","DependencyObject",{init:function(){var $self=this;$.ig.DependencyObject.prototype.init.call(this);this.p(new $.ig.List$1($.ig.Series.prototype.$type,0));this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){return $self.t(a,b.propertyName(),b.oldValue(),b.newValue())})},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},minimumValue:function(a){if(arguments.length===1){this.c($.ig.SizeScale.prototype.minimumValueProperty,a);return a}else{return this.b($.ig.SizeScale.prototype.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.SizeScale.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.SizeScale.prototype.maximumValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.c($.ig.SizeScale.prototype.isLogarithmicProperty,a);return a}else{return this.b($.ig.SizeScale.prototype.isLogarithmicProperty)}},logarithmBase:function(a){if(arguments.length===1){this.c($.ig.SizeScale.prototype.logarithmBaseProperty,a);return a}else{return this.b($.ig.SizeScale.prototype.logarithmBaseProperty)}},propertyChanged:null,propertyUpdated:null,s:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},t:function(a,b,c,d){var f=this.p().getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false);if(e.seriesViewer()!=null){e.fs()}}},$type:new $.ig.Type("SizeScale",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("ValueBrushScale","BrushScale",{init:function(){$.ig.BrushScale.prototype.init.call(this)},minimumValue:function(a){if(arguments.length===1){this.c($.ig.ValueBrushScale.prototype.minimumValueProperty,a);return a}else{return this.b($.ig.ValueBrushScale.prototype.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.ValueBrushScale.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.ValueBrushScale.prototype.maximumValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.c($.ig.ValueBrushScale.prototype.isLogarithmicProperty,a);return a}else{return this.b($.ig.ValueBrushScale.prototype.isLogarithmicProperty)}},logarithmBase:function(a){if(arguments.length===1){this.c($.ig.ValueBrushScale.prototype.logarithmBaseProperty,a);return a}else{return this.b($.ig.ValueBrushScale.prototype.logarithmBaseProperty)}},getBrushByIndex:function(a,b){if(b==null||this.brushes()==null||this.brushes().count()==0||a<0||a>=b.count()){return null}if(b.count()==0){return this.brushes().item(0)}var c=isNaN(this.minimumValue())||Number.isInfinity(this.minimumValue())?b.minimum():this.minimumValue();var d=isNaN(this.maximumValue())||Number.isInfinity(this.maximumValue())?b.maximum():this.maximumValue();var e=b.item(a);if(c==d){return e==c?this.brushes().item(0):null}return this.y(c,d,e)},getBrushByValue:function(a,b){if(b==null||this.brushes()==null||this.brushes().count()==0){return null}if(b.count()<=1){return this.brushes().item(0)}var c=isNaN(this.minimumValue())||Number.isInfinity(this.minimumValue())?b.minimum():this.minimumValue();var d=isNaN(this.maximumValue())||Number.isInfinity(this.maximumValue())?b.maximum():this.maximumValue();if(a<c){return null}if(a>d){return null}return this.y(c,d,a)},y:function(a,b,c){if(this.isLogarithmic()&&this.logarithmBase()>0){var d=Math.logBase(a,this.logarithmBase());var e=Math.logBase(b,this.logarithmBase());var f=Math.logBase(c,this.logarithmBase());return this.z(d,e,f)}return this.z(a,b,c)},z:function(a,b,c){if(c<a||c>b){return null}var d=(c-a)/(b-a);var e=d*(this.brushes().count()-1);return this.m(e)},isReady:function(){return this.brushes()!=null&&this.brushes().count()>0},$type:new $.ig.Type("ValueBrushScale",$.ig.BrushScale.prototype.$type)},true);$.ig.util.defType("IHasCategoryAxis","Object",{$type:new $.ig.Type("IHasCategoryAxis",null)},true);$.ig.util.defType("IHasCategoryModePreference","Object",{$type:new $.ig.Type("IHasCategoryModePreference",null,[$.ig.IHasCategoryAxis.prototype.$type])},true);$.ig.util.defType("CategorySeries","MarkerSeries",{_jr:null,jr:function(a){if(arguments.length===1){this._jr=a;return a}else{return this._jr}},et:function(){var a=new $.ig.CategorySeriesView(this);return a},_js:null,js:function(a){if(arguments.length===1){this._js=a;return a}else{return this._js}},eq:function(a){$.ig.MarkerSeries.prototype.eq.call(this,a);this.js(a)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},categoryAxis:function(){return this.jx()},jx:function(){return this.j6()},isCategory:function(){return true},init:function(){this.jk=new $.ig.CategoryFrame(3);this.jl=new $.ig.CategoryFrame(3);this.jm=new $.ig.CategoryFrame(3);this.jn=new $.ig.CategoryFrame(3);$.ig.MarkerSeries.prototype.init.call(this);this.a3($.ig.CategorySeries.prototype.$type)},onApplyTemplate:function(){$.ig.Control.prototype.a8.call(this);this.js().dl().q(this.resolution())},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);if(a){this.j4(b)}},gj:function(){var a=$.ig.Series.prototype.gj.call(this);return a},gi:function(){$.ig.Series.prototype.gi.call(this);var a=this.j6();if(a!=null){a.e1(false)}var b=this.j7();if(b!=null){b.e1(false)}},useHighMarkerFidelity:function(a){if(arguments.length===1){this.c($.ig.CategorySeries.prototype.useHighMarkerFidelityProperty,a);return a}else{return this.b($.ig.CategorySeries.prototype.useHighMarkerFidelityProperty)}},fk:function(a,b){$.ig.Series.prototype.fk.call(this,a,b);this.js().dl().q(this.resolution());this.renderSeries(false)},fl:function(a,b){$.ig.Series.prototype.fl.call(this,a,b);this.js().dl().q(this.resolution());this.renderSeries(false)},ft:function(a,b,c,d){$.ig.MarkerSeries.prototype.ft.call(this,a,b,c,d);var e=this.j7();var f=this.j6();switch(b){case $.ig.Series.prototype.bj:if(c!=null&&d==null){this.hf(f);this.hf(e)}if(c==null&&d!=null){this.hg(f);this.hg(e)}this.js().dl().q(this.resolution());this.renderSeries(false);break;case $.ig.Series.prototype.bi:if(this.syncLink()!=null&&this.seriesViewer()!=null){this.js().dl().q(this.resolution())}this.renderSeries(false);break;case $.ig.Series.prototype.bv:this.jl.a(this.ed(),this.jk,this.jm);if(this.fi(this.view())){return}if(this.ed()==1){this.j2(this.jm,this.js())}else{this.j2(this.jl,this.js())}break;case $.ig.CategorySeries.prototype.ji:this.fs();break;case $.ig.CategorySeries.prototype.jj:this.renderSeries(false);break}},jy:function(a){return this.e4(a,this.j6())},jz:function(a){var b=this.view().ae();var c=this.view().ad();if(b.isEmpty()||c.isEmpty()){return-1}var d=this.j6();var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,d);var f=new $.ig.ScalerParams(b,c,d.isInverted());var g=d.getUnscaledValue(c.left(),f);var h=d.getUnscaledValue(c.right(),f);var i=(a.__x-b.left())/b.width();var j=g+(h-g)*i;var k=e.getIndexClosestToUnscaledValue(j);return k},getOffsetValue:function(){},getCategoryWidth:function(){},getItem:function(a){var b=0;var c=this.j6();if($.ig.util.cast($.ig.ISortingAxis.prototype.$type,c)!==null){b=this.jz(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},getItemIndex:function(a){var b=Math.round(this.getExactItemIndex(a));return b},getExactItemIndex:function(a){var b=this.view().ae();var c=this.view().ad();var d=-1;var e=this.j6();if(e!=null&&!b.isEmpty()&&!c.isEmpty()){var f=e.hd(c.left(),b,c,e.categoryMode());var g=e.hd(c.right(),b,c,e.categoryMode());var h=(a.__x-b.left())/b.width();var i=f+h*(g-f);if(e.categoryMode()!=$.ig.CategoryMode.prototype.mode0){i-=.5}d=i}return d},jk:null,jl:null,jm:null,jn:null,ff:function(a,b,c){var d=$.ig.Series.prototype.ff.call(this,a,b,c);d&=this.j0(this.j6());d&=this.j0(this.j7());var e=c;if(!c.ch()||b.isEmpty()||a.isEmpty()||this.eb()==null){d=false}if(!d){e.dl().h(0)}return d},j0:function(a){if(a==null||a.seriesViewer()==null){return false}var b=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a);if(b!=null){return b.itemsSource()!=null}else{var c=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a);if(c!=null){return c.actualMinimumValue()!=c.actualMaximumValue()}}return true},fb:function(a){$.ig.Series.prototype.fb.call(this,a);this.js().dl().q(this.resolution());if(this.fi(this.view())){return}if(this.he(a)){var b=this.jk;if(this.gb()){if(this.d4().k()){this.d4().s()}this.jk=this.jl;this.jl=b}else{this.jk=this.jm;this.jm=b}this.j3(this.jm,this.js());this.gc()}else{this.j3(this.jm,this.js());this.j2(this.jm,this.js())}},j1:function(){var a=0;var b=this.j6();var d=this.seriesViewer().series().getEnumerator();while(d.moveNext()){var c=d.current();if(c==this){return a}var e=$.ig.util.cast($.ig.CategorySeries.prototype.$type,c);if(e!=null){var f=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,e.j6());if(f==b&&e.preferredCategoryMode(f)==$.ig.CategoryMode.prototype.mode2){a++}}}return-1},xAxis:function(){return this.j6()},yAxis:function(){return this.j7()},j2:function(a,b){},j3:function(a,b){},j4:function(a){var b=a;b.dm().g(0)},fe:function(a,b){$.ig.Series.prototype.fe.call(this,a,b);if(!this.d9()){this.view().b9(b);return}var c=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,this.d7());c.dl().q(this.resolution());this.view().b9(b);if(this.fi(this.d7())){return}this.j5();this.d9(false)},j5:function(){var a=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,this.d7());this.j3(this.jn,a);this.j2(this.jn,a)},j6:function(){},j7:function(){},j8:function(){},j9:function(a){var b=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,a);if(b!=null&&b==this.d7()){return new $.ig.CategoryFramePreparer(1,$.ig.util.cast($.ig.IIsCategoryBased.prototype.$type,this),$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,b),this.seriesViewer().fo().aj(),this,b.dl())}else{return this.jr()}},$type:new $.ig.Type("CategorySeries",$.ig.MarkerSeries.prototype.$type,[$.ig.IHasCategoryModePreference.prototype.$type,$.ig.ISupportsErrorBars.prototype.$type])},true);$.ig.util.defType("IIsCategoryBased","Object",{$type:new $.ig.Type("IIsCategoryBased",null)},true);$.ig.util.defType("IHasSingleValueCategory","Object",{$type:new $.ig.Type("IHasSingleValueCategory",null)},true);$.ig.util.defType("IHasTrendline","Object",{$type:new $.ig.Type("IHasTrendline",null)},true);$.ig.util.defType("IHasCategoryTrendline","Object",{$type:new $.ig.Type("IHasCategoryTrendline",null,[$.ig.IHasTrendline.prototype.$type])},true);$.ig.util.defType("AnchoredCategorySeries","CategorySeries",{_kr:null,kr:function(a){if(arguments.length===1){this._kr=a;return a}else{return this._kr}},et:function(){var a=new $.ig.AnchoredCategorySeriesView(this);return a},eq:function(a){$.ig.CategorySeries.prototype.eq.call(this,a);this.kr(a)},_ks:null,ks:function(a){if(arguments.length===1){this._ks=a;return a}else{return this._ks}},init:function(){$.ig.CategorySeries.prototype.init.call(this);this.kt(new $.ig.CategoryLineRasterizer);this.jr(new $.ig.CategoryFramePreparer(1,this,this.js(),this,this,this.js().dl()))},_kt:null,kt:function(a){if(arguments.length===1){this._kt=a;return a}else{return this._kt}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.valueMemberPathProperty)}},valueColumn:function(a){if(arguments.length===1){if(this.kd!=a){var b=this.kd;this.kd=a;if(!this.ks()){this.e6($.ig.AnchoredCategorySeries.prototype.kc,b,this.kd)}}return a}else{return this.kd}},kd:null,trendLineType:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineDashArrayProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLinePeriodProperty)}},trendLineZIndex:function(a){if(arguments.length===1){this.c($.ig.AnchoredCategorySeries.prototype.trendLineZIndexProperty,a);return a}else{return this.b($.ig.AnchoredCategorySeries.prototype.trendLineZIndexProperty)}},scrollIntoView:function(a){var b=this.view().ae();var c=this.view().ad();var d=new $.ig.Rect(0,0,0,1,1);var e=!b.isEmpty()&&!c.isEmpty()&&this.eb()!=null?this.eb().x(a):-1;var f=this.j6();var g=this.j7();var h=new $.ig.ScalerParams(d,d,f.isInverted());var i=new $.ig.ScalerParams(d,d,g.isInverted());var j=f!=null?f.getScaledValue(e,h):NaN;var k=f!=null?this.jr().ab($.ig.util.cast($.ig.ICategoryScaler.prototype.$type,f),h.a,h.b):0;j+=k;var l=g!=null&&this.valueColumn()!=null&&e<this.valueColumn().count()?g.getScaledValue(this.valueColumn().item(e),i):NaN;if(!isNaN(j)){if(j<b.left()+.1*b.width()){j=j+.4*b.width();b.x(j-.5*b.width())}if(j>b.right()-.1*b.width()){j=j-.4*b.width();b.x(j-.5*b.width())}}if(!isNaN(l)){if(l<b.top()+.1*b.height()){l=l+.4*b.height();b.y(l-.5*b.height())}if(l>b.bottom()-.1*b.height()){l=l-.4*b.height();b.y(l-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),b)}return e>=0},ft:function(a,b,c,d){$.ig.CategorySeries.prototype.ft.call(this,a,b,c,d);var e=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,this.j7());if(this.kr().dz().ae(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.fs()}switch(b){case $.ig.Series.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.valueColumn());this.valueColumn(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.valueColumn(this.hk(this.valueMemberPath()))}if(e!=null&&!e.updateRange()){this.kr().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.AnchoredCategorySeries.prototype.kb:if(this.eb()!=null){this.eb().ac(this.valueColumn());this.valueColumn(this.hk(this.valueMemberPath()))}this.ku(this.valueMemberPath());break;case $.ig.AnchoredCategorySeries.prototype.kc:this.kr().dz().ac();if(e!=null&&!e.updateRange()){this.kr().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.AnchoredCategorySeries.prototype.cf:this.f6();break;case $.ig.AnchoredCategorySeries.prototype.ji:this.renderSeries(false);break;case $.ig.AnchoredCategorySeries.prototype.cd:this.fs();break}},e9:function(a){if(this.valueColumn()==null||this.valueColumn().count()==0){return null}if(a==this.j6()){return new $.ig.AxisRange(0,this.valueColumn().count()-1)}if(a==this.j7()){return new $.ig.AxisRange(this.valueColumn().minimum(),this.valueColumn().maximum())}return null},fz:function(a,b,c,d){switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.remove:this.kr().dl().q(this.resolution());break}this.kr().dz().ad(a,b,c,d)},k3:function(a){var b=0;var c=a.ae();var d=a.ad();var e=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.j7());if(!c.isEmpty()&&!d.isEmpty()&&e!=null){var f=new $.ig.ScalerParams(c,d,e.isInverted());b=e.getScaledValue(e.referenceValue(),f)}return b},k4:function(a,b,c){var d=this.k3(c);if(a.count()>0){var e=d;a.add({__x:a.last$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.add({__x:a.first$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},k5:function(a,b,c,d){var e=null;if(b>-1&&!d.isEmpty()&&!c.isEmpty()){var f=a.__inner[0][0]<c.left()-2e3?c.left()-10:NaN;var g=c.bottom()+10;var h=a.__inner[b][0]>c.right()+2e3?c.right()+10:NaN;var i=c.top()-10;e=new $.ig.Clipper(1,f,g,h,i,false)}return e},ff:function(a,b,c){var d=$.ig.CategorySeries.prototype.ff.call(this,a,b,c);var e=c;if(this.valueColumn()==null||this.valueColumn().count()==0||e.dl().h()<1){d=false}return d},fg:function(a,b){$.ig.CategorySeries.prototype.fg.call(this,a,b);var c=b;c.dv();c.dz().ab()},j3:function(a,b){$.ig.CategorySeries.prototype.j3.call(this,a,b);this.j9(b).m(a,b)},j2:function(a,b){$.ig.CategorySeries.prototype.j2.call(this,a,b);var c=$.ig.util.cast($.ig.AnchoredCategorySeriesView.prototype.$type,b);c.dz().t(a.i);$.ig.CategoryMarkerManager.prototype.a(this,a.h,b.dm(),this.useLightweightMarkers());b.dc();this.k6(a,b)},k6:function(a,b){},f6:function(){$.ig.MarkerSeries.prototype.f6.call(this);if(this.index()<0){return}this.kr().d4();if(this.trendLineBrush()!=null){this.kr().d5()}else{this.kr().d6()}},e8:function(a,b){if(a==this.kr().dz().n()){return null}return $.ig.Series.prototype.e8.call(this,a,b)},currentCategoryMode:function(){return this.preferredCategoryMode($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.j6()))},scaler:function(){return $.ig.util.cast($.ig.ICategoryScaler.prototype.$type,this.j6())},yScaler:function(){return $.ig.util.cast($.ig.IScaler.prototype.$type,this.j7())},bucketizer:function(){return this.kr().dl()},currentMode2Index:function(){return this.j1()},provideCollisionDetector:function(){return new $.ig.CollisionAvoider},trendlinePreparer:function(){return this.kr().dz()},_ku:null,ku:function(h){if(arguments.length===1){this._ku=h;return h}else{return this._ku}},k9:function(i){},la:function(j){},ho:function(k){$.ig.MarkerSeries.prototype.ho.call(this,k);var l=new $.ig.PolyLineVisualData(1,"trendLine",this.kr().dz().n());l.tags().add("Trend");k.shapes().add(l)},$type:new $.ig.Type("AnchoredCategorySeries",$.ig.CategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type,$.ig.IHasSingleValueCategory.prototype.$type,$.ig.IHasCategoryTrendline.prototype.$type])},true);$.ig.util.defType("VerticalAnchoredCategorySeries","AnchoredCategorySeries",{init:function(){$.ig.AnchoredCategorySeries.prototype.init.call(this)},xAxis:function(a){if(arguments.length===1){this.c($.ig.VerticalAnchoredCategorySeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.VerticalAnchoredCategorySeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.VerticalAnchoredCategorySeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.VerticalAnchoredCategorySeries.prototype.yAxisProperty)}},isVertical:function(){return true},jx:function(){return this.yAxis()},getOffsetValue:function(){return this.jr().ab(this.yAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.yAxis().getCategorySize(this.view().ae(),this.view().ad())},getNextOrExactIndex:function(a,b){return this.e3(a,b,this.yAxis(),this.jy.runOn(this),this.valueColumn())},getPreviousOrExactIndex:function(a,b){return this.e2(a,b,this.yAxis(),this.jy.runOn(this),this.valueColumn())},ex:function(a,b,c,d,e){if(this.valueColumn()==null){return Number.POSITIVE_INFINITY}return this.ey(a,b,this.yAxis(),d,e,this.valueColumn().count(),this.jy.runOn(this))},getSeriesValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.yAxis().isInverted());var e=this.jr().ab(this.yAxis(),this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(this.valueColumn(),a,this.yAxis(),d,e,this.jy.runOn(this),b,c)},getSeriesValuePosition:function(a,b,c){return this.e5(a,b,c,this.jr().ab(this.yAxis(),this.view().ae(),this.view().ad()),this.xAxis(),this.yAxis(),null,null,null)},j6:function(){return this.xAxis()},j7:function(){return this.yAxis()},k9:function(a){this.xAxis($.ig.util.cast($.ig.NumericXAxis.prototype.$type,a))},la:function(a){this.yAxis($.ig.util.cast($.ig.CategoryYAxis.prototype.$type,a))},j8:function(){return this.xAxis()!=null&&this.xAxis().updateRange()},getExactItemIndex:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.view().ad();var d=-1;if(this.yAxis()!=null&&!b.isEmpty()&&!c.isEmpty()){var e=this.yAxis().hd(c.top(),b,c,this.yAxis().categoryMode());var f=this.yAxis().hd(c.bottom(),b,c,this.yAxis().categoryMode());var g=(a.__y-b.top())/b.height();var h=e+g*(f-e);if(this.yAxis().categoryMode()!=$.ig.CategoryMode.prototype.mode0){h-=.5}d=h}return d},jy:function(a){return this.e4(a,this.j7())},getItemIndex:function(a){return Math.round(this.getExactItemIndex(a))},getItem:function(a){var b=this.getItemIndex(a);return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},ft:function(a,b,c,d){$.ig.AnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.VerticalAnchoredCategorySeries.prototype.lc:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.renderSeries(false);this.fs()}break;case $.ig.VerticalAnchoredCategorySeries.prototype.ld:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.j8();this.renderSeries(false);this.fs()}break}},$type:new $.ig.Type("VerticalAnchoredCategorySeries",$.ig.AnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("IBarSeries","Object",{$type:new $.ig.Type("IBarSeries",null)},true);$.ig.util.defType("BarSeries","VerticalAnchoredCategorySeries",{et:function(){return new $.ig.BarSeriesView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.ll(a)},_ll:null,ll:function(a){if(arguments.length===1){this._ll=a;return a}else{return this._ll}},init:function(){$.ig.VerticalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.BarSeries.prototype.$type);this.jr(new $.ig.BarFramePreparer(1,this,this.ll(),this,this,this.ll().dl()))},j9:function(a){var b=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,a);if(b!=null&&b==this.d7()){return new $.ig.BarFramePreparer(1,this,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,b),this.seriesViewer().fo().aj(),this,b.dl())}else{return this.jr()}},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this)},radiusX:function(a){if(arguments.length===1){this.c($.ig.BarSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.BarSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.BarSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.BarSeries.prototype.radiusYProperty)}},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=$.ig.util.cast($.ig.BarSeriesView.prototype.$type,b);if(a&&c!=null&&c.ee()!=null){c.ee().g(0)}},j1:function(){var a=0;var c=this.seriesViewer().series().getEnumerator();while(c.moveNext()){var b=c.current();if(b==this){return a}var d=$.ig.util.cast($.ig.IBarSeries.prototype.$type,b);if(d!=null&&d.yAxis()==this.yAxis()&&d.getPreferredCategoryMode()==$.ig.CategoryMode.prototype.mode2){a++}}$.ig.Debug.prototype.a(false,"CategorySeries.GetMode2Index failed to find series");return-1},k3:function(a){var b=0;var c=a.ae();var d=a.ad();var e=new $.ig.ScalerParams(c,d,this.xAxis().isInverted());if(!c.isEmpty()&&!d.isEmpty()&&this.xAxis()!=null){b=this.xAxis().getScaledValue(this.xAxis().referenceValue(),e)}return b},e9:function(a){if(this.valueColumn()==null||this.valueColumn().count()==0){return null}if(a==this.yAxis()){return new $.ig.AxisRange(0,this.valueColumn().count()-1)}if(a==this.xAxis()){return new $.ig.AxisRange(this.valueColumn().minimum(),this.valueColumn().maximum())}return null},scrollIntoView:function(a){var b=this.view().ae();var c=this.view().ad();var d=new $.ig.Rect(0,0,0,1,1);var e=!b.isEmpty()&&!c.isEmpty()&&this.eb()!=null?this.eb().item1(a):-1;var f=new $.ig.ScalerParams(d,d,this.xAxis().isInverted());var g=new $.ig.ScalerParams(d,d,this.yAxis().isInverted());var h=this.yAxis()!=null?this.yAxis().getScaledValue(e,g):NaN;var i=this.yAxis()!=null?this.jr().ab(this.yAxis(),d,d):0;h+=i;var j=this.xAxis()!=null&&this.valueColumn()!=null&&e<this.valueColumn().count()?this.xAxis().getScaledValue(this.valueColumn().item(e),f):NaN;if(!isNaN(j)){if(j<b.left()+.1*b.width()){j=j+.4*b.width();b.x(j-.5*b.width())}if(j>b.right()-.1*b.width()){j=j-.4*b.width();b.x(j-.5*b.width())}}if(!isNaN(h)){if(h<b.top()+.1*b.height()){h=h+.4*b.height();b.y(h-.5*b.height())
}if(h>b.bottom()-.1*b.height()){h=h-.4*b.height();b.y(h-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),b)}return e>=0},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=a.f;if(!b.ch()){return}var d=b.ae();var e=b.ad();var f=new $.ig.ScalerParams(d,e,this.xAxis().isInverted());var g=this.xAxis();var h=g.getScaledValue(g.referenceValue(),f);var i=this.yAxis().he(d,e);var j=$.ig.util.cast($.ig.BarSeriesView.prototype.$type,b);if(isNaN(i)||Number.isInfinity(i)||isNaN(h)){j.ee().g(0);return}for(var k=0;k<c.count();++k){var l=c.__inner[k][0]-.5*i;var m=c.__inner[k][1];var n=h;n=Math.max(n,-100);m=Math.min(m,e.right()+100);var o=j.ee().item(k);o.height(i);o.width(Math.abs(m-n));j.eq(o,Math.min(m,n),l)}j.ee().g(c.count())},fz:function(a,b,c,d){switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.remove:this.kr().dl().q(this.resolution());break}this.kr().dz().ad(a,b,c,d);switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.insert:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.valueMemberPath()!=null&&this.kr().dl().h()>0){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.change:if(d==this.valueMemberPath()){if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}}break}},ft:function(a,b,c,d){$.ig.VerticalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.BarSeries.prototype.lc:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.kr().dl().q(this.resolution());if(this.xAxis()!=null&&this.xAxis().updateRange()){this.renderSeries(false)}break;case $.ig.BarSeries.prototype.ld:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.kr().dz($.ig.CategoryTrendLineManagerBase.prototype.af(this.kr().dz(),this.yAxis(),this.rootCanvas(),this));this.kr().dl().q(this.resolution());this.renderSeries(false);break;case $.ig.Series.prototype.bl:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.kr().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.BarSeries.prototype.kc:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.kr().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.Series.prototype.bj:if(c!=null&&d==null){this.hf(this.xAxis());this.hf(this.yAxis())}if(c==null&&d!=null){this.hg(this.xAxis());this.hg(this.yAxis())}this.kr().dl().q(this.resolution());this.renderSeries(false);break}},getPreferredCategoryMode:function(){return this.preferredCategoryMode(this.yAxis())},currentCategoryMode:function(){return this.preferredCategoryMode(this.yAxis())},scaler:function(){return this.yAxis()},yScaler:function(){return this.xAxis()},$type:new $.ig.Type("BarSeries",$.ig.VerticalAnchoredCategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type,$.ig.IBarSeries.prototype.$type])},true);$.ig.util.defType("ISupportsMarkers","Object",{$type:new $.ig.Type("ISupportsMarkers",null)},true);$.ig.util.defType("CategorySeriesView","MarkerSeriesView",{_dk:null,dk:function(a){if(arguments.length===1){this._dk=a;return a}else{return this._dk}},init:function(a){var $self=this;$.ig.MarkerSeriesView.prototype.init.call(this,a);this.dk(a);this.dl(this.ds());this.dm(function(){var $ret=new $.ig.Pool$1($.ig.Marker.prototype.$type);$ret.create($self.cz.runOn($self));$ret.activate($self.c1.runOn($self));$ret.disactivate($self.c2.runOn($self));$ret.destroy($self.c3.runOn($self));return $ret}())},updateMarkerTemplate:function(a,b){if(!this.cr().useLightweightMarkers()){var c=this.dm().item(a);$.ig.util.cast($.ig.DataContext.prototype.$type,c.content()).item(this.w().eb().item(b))}},_dl:null,dl:function(a){if(arguments.length===1){this._dl=a;return a}else{return this._dl}},ds:function(){return new $.ig.CategoryBucketCalculator(this)},_dm:null,dm:function(a){if(arguments.length===1){this._dm=a;return a}else{return this._dm}},shouldDisplayMarkers:function(){return this.dk().i8()},updateMarkerCount:function(a){this.dm().g(a)},c0:function(a){this.dm().p(a)},dv:function(){},$type:new $.ig.Type("CategorySeriesView",$.ig.MarkerSeriesView.prototype.$type,[$.ig.ISupportsMarkers.prototype.$type])},true);$.ig.util.defType("AnchoredCategorySeriesView","CategorySeriesView",{_dy:null,dy:function(a){if(arguments.length===1){this._dy=a;return a}else{return this._dy}},init:function(a){$.ig.CategorySeriesView.prototype.init.call(this,a);this.dy(a);this.dz(new $.ig.CategoryTrendLineManager)},_dz:null,dz:function(a){if(arguments.length===1){this._dz=a;return a}else{return this._dz}},d4:function(){this.dy().actualTrendLineBrush(null)},d5:function(){this.dy().actualTrendLineBrush(this.dy().trendLineBrush())},d6:function(){this.dy().actualTrendLineBrush(this.dy().actualBrush())},ds:function(){return new $.ig.AnchoredCategoryBucketCalculator(this)},d7:function(){this.dl().cacheValues()},d8:function(){this.dl().unCacheValues()},a5:function(a,b){if(a.b()){if(this.dy().trendLineType()!=$.ig.TrendLineType.prototype.none&&!b){var c=this.dz().n();c.a5(this.dy().trendLineThickness());c.__stroke=this.dy().actualTrendLineBrush();c.a6(this.dy().trendLineDashArray());c.a7(this.dy().trendLineDashCap());if(this.l){a.e($.ig.GradientDirection.prototype.bottomTop,null)}a.l(c)}}$.ig.MarkerSeriesView.prototype.a5.call(this,a,b)},$type:new $.ig.Type("AnchoredCategorySeriesView",$.ig.CategorySeriesView.prototype.$type)},true);$.ig.util.defType("BarSeriesView","AnchoredCategorySeriesView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){var $self=this;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ed(a);this.ee(function(){var $ret=new $.ig.Pool$1($.ig.Rectangle.prototype.$type);$ret.create($self.ek.runOn($self));$ret.activate($self.en.runOn($self));$ret.disactivate($self.eo.runOn($self));$ret.destroy($self.ep.runOn($self));return $ret}());this.dz(new $.ig.BarTrendLineManager)},_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);this.ef(new $.ig.List$1($.ig.Rectangle.prototype.$type,0));if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},ek:function(){var a=new $.ig.Rectangle;this.ef().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},en:function(a){a.__visibility=$.ig.Visibility.prototype.visible},eo:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},ep:function(a){this.ef().remove(a)},eq:function(a,b,c){var d=false;if(a.v()!=c){d=true;a.v(c)}if(a.w()!=b){d=true;a.w(b)}if(d){this.ar()}},ds:function(){return new $.ig.BarBucketCalculator(this)},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness())},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.ef().count();c++){var d=this.ef().__inner[c];this.at(d,c,b);if(this.l&&!b){var e=d.__fill!=null&&d.__fill.isGradient()?new $.ig.Rect(0,d.w(),d.v(),d.width(),d.height()):null;a.e($.ig.GradientDirection.prototype.leftRight,e)}a.f(d)}}},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var c=new $.ig.List$1($.ig.Rectangle.prototype.$type,0);var e=this.ee().h().getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}c.t(function(f,g){if(f.v()>g.v()){return-1}else if(f.v()<g.v()){return 1}else{return 0}});var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=new $.ig.RectangleVisualData(1,"column"+b,h);j.tags().add("Main");a.shapes().add(j)}b++},$type:new $.ig.Type("BarSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("IBucketizer","Object",{$type:new $.ig.Type("IBucketizer",null)},true);$.ig.util.defType("CategoryBucketCalculator","Object",{_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},init:function(a){$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("view")}this.e(a);this.f(-1);this.g(this.g());this.h(0)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},getBucket:function(a){return null},getErrorBucket:function(a,b){return NaN},q:function(a){var b=this.e().ae();var c=this.e().ad();var d=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.e().dk().j6());var e=this.e().dk().eb();if(b.isEmpty()||c.isEmpty()||d==null||e==null||e.g()==0){this.h(0);return}var f=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,d);if(f==null||f.sortedIndices()==null){var g=Math.floor(d.hd(c.left(),b,c,$.ig.CategoryMode.prototype.mode0));var h=Math.ceil(d.hd(c.right(),b,c,$.ig.CategoryMode.prototype.mode0));if(d.isInverted()){h=Math.ceil(d.hd(c.left(),b,c,$.ig.CategoryMode.prototype.mode0));g=Math.floor(d.hd(c.right(),b,c,$.ig.CategoryMode.prototype.mode0))}var i=Math.floor((h-g+1)*a/c.width());this.h(Math.max(1,i));this.f(Math.max(0,Math.floor(g/this.h())-1));this.g(Math.ceil(h/this.h()))}else{this.f(f.getFirstVisibleIndex(b,c));this.g(f.getLastVisibleIndex(b,c));this.h(1)}},getBucketInfo:function(a,b,c,d){a=this.f();b=this.g();c=this.h();d=this.e().dk().resolution();return{firstBucket:a,lastBucket:b,bucketSize:c,resolution:d}},cacheValues:function(){},unCacheValues:function(){},$type:new $.ig.Type("CategoryBucketCalculator",$.ig.Object.prototype.$type,[$.ig.IBucketizer.prototype.$type])},true);$.ig.util.defType("AnchoredCategoryBucketCalculator","CategoryBucketCalculator",{init:function(a){$.ig.CategoryBucketCalculator.prototype.init.call(this,a);this.t(a)},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},getBucket:function(a){var $self=this;var b=this.r;var c=b.length;var d=Math.min(a*this.h(),c-1);var e=Math.min(d+this.h()-1,c-1);var f=NaN;var g=NaN;var h=true;for(var i=d;i<=e;++i){var j=b[i];if(!h){if(!isNaN(j)){f=f<j?f:j;g=g>j?g:j}}else{if(!isNaN(j)){f=j;g=j;h=false}}}if(!h){return function(){var $ret=new Array;$ret.add(.5*(d+e));$ret.add(f);$ret.add(g);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(d+e));$ret.add(NaN);$ret.add(NaN);return $ret}()},r:null,cacheValues:function(){this.r=this.t().dy().valueColumn().asArray()},unCacheValues:function(){this.r=null},$type:new $.ig.Type("AnchoredCategoryBucketCalculator",$.ig.CategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("BarBucketCalculator","CategoryBucketCalculator",{init:function(a){$.ig.CategoryBucketCalculator.prototype.init.call(this,a);this.t(a)},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},q:function(a){var b=this.e().ae();var c=this.e().ad();var d=this.e().dk().eb();if(b.isEmpty()||c.isEmpty()||this.t().ed().yAxis()==null||d==null||d.g()==0){this.h(0);return}var e=$.ig.util.cast($.ig.BarSeries.prototype.$type,this.e().dk());var f=Math.floor(e.yAxis().hd(c.top(),b,c,$.ig.CategoryMode.prototype.mode0));var g=Math.ceil(e.yAxis().hd(c.bottom(),b,c,$.ig.CategoryMode.prototype.mode0));if(!e.yAxis().isInverted()){g=Math.ceil(e.yAxis().hd(c.top(),b,c,$.ig.CategoryMode.prototype.mode0));f=Math.floor(e.yAxis().hd(c.bottom(),b,c,$.ig.CategoryMode.prototype.mode0))}var h=Math.floor((g-f+1)*a/c.height());this.h(Math.max(1,h));this.f(Math.max(0,Math.floor(f/this.h())-1));this.g(Math.ceil(g/this.h()))},getBucket:function(a){var $self=this;var b=this.r;var c=b.length;var d=Math.min(a*this.h(),c-1);var e=Math.min(d+this.h()-1,c-1);var f=NaN;var g=NaN;for(var h=d;h<=e;++h){var i=b[h];if(!isNaN(f)){if(!isNaN(i)){f=Math.min(f,i);g=Math.max(g,i)}}else{f=i;g=i}}if(!isNaN(f)){return function(){var $ret=new Array;$ret.add(.5*(d+e));$ret.add(f);$ret.add(g);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(d+e));$ret.add(NaN);$ret.add(NaN);return $ret}()},r:null,cacheValues:function(){this.r=this.t().ed().valueColumn().asArray()},unCacheValues:function(){this.r=null},$type:new $.ig.Type("BarBucketCalculator",$.ig.CategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("RangeCategoryBucketCalculator","CategoryBucketCalculator",{_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},init:function(a){this.r=null;this.s=null;$.ig.CategoryBucketCalculator.prototype.init.call(this,a);this.u(a)},getBucket:function(a){var b=this.r;var c=this.s;var d=this.r.length;var e=this.s.length;var f=Math.min(d,e);var g=a*this.h();var h=Math.min(g+this.h()-1,f-1);var i=NaN;var j=NaN;var k=true;var l;var m;var n;var o;for(var p=g;p<=h;++p){l=b[p];m=c[p];if(l<m){n=l;o=m}else{o=l;n=m}if(!k){if(!isNaN(n)){i=i<n?i:n;j=j>n?j:n}if(!isNaN(o)){i=i<o?i:o;j=j>o?j:o}}else{if(!isNaN(n)){if(isNaN(i)){i=n}else{i=Math.min(i,n)}if(!isNaN(j)){j=Math.max(j,n)}}if(!isNaN(o)){if(isNaN(j)){j=o}else{j=Math.max(j,o)}if(!isNaN(i)){i=Math.min(i,o)}}if(!isNaN(i)&&!isNaN(j)){k=false}}}if(!k){var q=new Array(3);q[0]=.5*(g+h);q[1]=i;q[2]=j;return q}var r=new Array(3);r[0]=NaN;r[1]=NaN;r[2]=NaN;return r},r:null,s:null,cacheValues:function(){this.r=this.u().dx().lowColumn().asArray();this.s=this.u().dx().highColumn().asArray()},unCacheValues:function(){this.r=null;this.s=null},$type:new $.ig.Type("RangeCategoryBucketCalculator",$.ig.CategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("HorizontalAnchoredCategorySeries","AnchoredCategorySeries",{init:function(){$.ig.AnchoredCategorySeries.prototype.init.call(this)},xAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalAnchoredCategorySeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.HorizontalAnchoredCategorySeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalAnchoredCategorySeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.HorizontalAnchoredCategorySeries.prototype.yAxisProperty)}},getOffsetValue:function(){return this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().ae(),this.view().ad())},getSeriesValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.xAxis().isInverted());var e=this.jr().ab(this.xAxis(),this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(this.valueColumn(),a,this.xAxis(),d,e,this.jy.runOn(this),b,c)},getPreviousOrExactIndex:function(a,b){return this.e2(a,b,this.xAxis(),this.jy.runOn(this),this.valueColumn())},getNextOrExactIndex:function(a,b){return this.e3(a,b,this.xAxis(),this.jy.runOn(this),this.valueColumn())},ex:function(a,b,c,d,e){if(this.valueColumn()==null){return Number.POSITIVE_INFINITY}return this.ey(a,b,this.xAxis(),d,e,this.valueColumn().count(),this.jy.runOn(this))},getSeriesValuePosition:function(a,b,c){return this.e5(a,b,c,this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),null,null,null)},j6:function(){return this.xAxis()},j7:function(){return this.yAxis()},k9:function(a){this.xAxis($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a))},la:function(a){this.yAxis($.ig.util.cast($.ig.NumericYAxis.prototype.$type,a))},j8:function(){return this.yAxis()!=null&&this.yAxis().updateRange()},_li:null,li:function(a){if(arguments.length===1){this._li=a;return a}else{return this._li}},_lj:null,lj:function(a){if(arguments.length===1){this._lj=a;return a}else{return this._lj}},lo:function(a){this.li(a)},lp:function(a){this.lj(a)},ft:function(a,b,c,d){switch(b){case $.ig.HorizontalAnchoredCategorySeries.prototype.lc:this.kr().dz($.ig.CategoryTrendLineManagerBase.prototype.af(this.kr().dz(),this.xAxis(),this.rootCanvas(),this));break}$.ig.AnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.HorizontalAnchoredCategorySeries.prototype.lc:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.li(this.xAxis());this.lo(this.xAxis());this.js().dl().q(this.resolution());this.renderSeries(false);this.fs()}break;case $.ig.HorizontalAnchoredCategorySeries.prototype.ld:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.lj(this.yAxis());this.lp(this.yAxis());this.js().dl().q(this.resolution());this.j8();this.renderSeries(false);this.fs()}break}},fz:function(a,b,c,d){$.ig.AnchoredCategorySeries.prototype.fz.call(this,a,b,c,d);if(this.li()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.li())!==null){$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.li()).notifyDataChanged()}switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.li()!=null){this.li().updateRange()}if(this.lj()!=null&&!this.lj().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.insert:if(this.li()!=null){this.li().updateRange()}if(this.lj()!=null&&!this.lj().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.li()!=null){this.li().updateRange()}if(this.lj()!=null&&!this.lj().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.ku()!=null&&this.kr().dl().h()>0&&this.lj()!=null&&!this.lj().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.change:if(d==this.ku()){if(this.xAxis()!=null){this.xAxis().updateRange()}if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(true)}}break}},$type:new $.ig.Type("HorizontalAnchoredCategorySeries",$.ig.AnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("PointSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.PointSeriesView(this)},_ls:null,ls:function(a){if(arguments.length===1){this._ls=a;return a}else{return this._ls}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.ls(a)},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.PointSeries.prototype.$type)},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b)},ft:function(a,b,c,d){$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d)},$type:new $.ig.Type("PointSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("PointSeriesView","AnchoredCategorySeriesView",{_ea:null,ea:function(a){if(arguments.length===1){this._ea=a;return a}else{return this._ea}},init:function(a){$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ea(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.cr().markerType($.ig.MarkerType.prototype.automatic);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.q);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},$type:new $.ig.Type("PointSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("IHasHighLowValueCategory","Object",{$type:new $.ig.Type("IHasHighLowValueCategory",null)},true);$.ig.util.defType("RangeCategorySeries","CategorySeries",{et:function(){return new $.ig.RangeCategorySeriesView(this)},eq:function(a){$.ig.CategorySeries.prototype.eq.call(this,a);this.kl(a)},_kl:null,kl:function(a){if(arguments.length===1){this._kl=a;return a}else{return this._kl}},init:function(){$.ig.CategorySeries.prototype.init.call(this);this.jr(new $.ig.RangeCategoryFramePreparer(1,this,this.kl(),this,this,this.kl().dl()))},_jr:null,jr:function(a){if(arguments.length===1){this._jr=a;return a}else{return this._jr}},lowMemberPath:function(a){if(arguments.length===1){this.c($.ig.RangeCategorySeries.prototype.lowMemberPathProperty,a);return a}else{return this.b($.ig.RangeCategorySeries.prototype.lowMemberPathProperty)}},lowColumn:function(a){if(arguments.length===1){if(this.kf!=a){var b=this.kf;this.kf=a;this.e6($.ig.RangeCategorySeries.prototype.kc,b,this.kf)}return a}else{return this.kf}},kf:null,highMemberPath:function(a){if(arguments.length===1){this.c($.ig.RangeCategorySeries.prototype.highMemberPathProperty,a);return a}else{return this.b($.ig.RangeCategorySeries.prototype.highMemberPathProperty)}},highColumn:function(a){if(arguments.length===1){if(this.kg!=a){var b=this.kg;this.kg=a;this.e6($.ig.RangeCategorySeries.prototype.ke,b,this.kg)}return a}else{return this.kg}},kg:null,j2:function(a,b){$.ig.CategorySeries.prototype.j2.call(this,a,b);$.ig.CategoryMarkerManager.prototype.a(this,a.h,b.dm(),this.useLightweightMarkers())},kr:function(a,b,c,d,e,f){this.kl().d0(a,b,c,d,e,f)},scrollIntoView:function(a){var b=new $.ig.Rect(0,0,0,1,1);var c=this.view()!=null?this.view().ae():$.ig.Rect.prototype.empty();var d=this.view()!=null?this.view().ad():$.ig.Rect.prototype.empty();var e=!c.isEmpty()&&!d.isEmpty()&&this.eb()!=null?this.eb().x(a):-1;var f=this.j6();var g=this.j7();var h;if(f!=null){var i=new $.ig.ScalerParams(b,b,f.isInverted());h=f.getScaledValue(e,i)}else{h=NaN}var j=f!=null?this.jr().ab($.ig.util.cast($.ig.ICategoryScaler.prototype.$type,f),new $.ig.Rect(0,0,0,1,1),new $.ig.Rect(0,0,0,1,1)):0;h+=j;if(e>=0&&c!=null&&d!=null){if(!isNaN(h)){if(h<c.left()+.1*c.width()){h=h+.4*c.width()}if(h>c.right()-.1*c.width()){h=h-.4*c.width()}c.x(h-.5*c.width())}if(g!=null&&this.highColumn()!=null&&e<this.highColumn().count()){var k=new $.ig.ScalerParams(b,b,g.isInverted());var l=g.getScaledValue(this.highColumn().item(e),k);var m=g.getScaledValue(this.lowColumn().item(e),k);if(!isNaN(l)&&!isNaN(m)){var n=Math.abs(m-l);if(c.height()<n){c.height(n);c.y(Math.min(m,l))}else{if(m<c.top()+.1*c.height()){m=m+.4*c.height()}if(m>c.bottom()-.1*c.height()){m=m-.4*c.height()}c.y(m-.5*c.height())}}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),c)}}return e>=0},ft:function(a,b,c,d){$.ig.CategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.lowColumn());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.highColumn());this.lowColumn(null);this.highColumn(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.lowColumn(this.hk(this.lowMemberPath()));this.highColumn(this.hk(this.highMemberPath()))}if(!this.j8()){this.js().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.RangeCategorySeries.prototype.kb:if(this.eb()!=null){this.eb().ac(this.lowColumn());this.lowColumn(this.hk(this.lowMemberPath()))}break;case $.ig.RangeCategorySeries.prototype.kc:if(!this.j8()){this.js().dl().q(this.resolution());this.renderSeries(false)}break;case $.ig.RangeCategorySeries.prototype.kd:if(this.eb()!=null){this.eb().ac(this.highColumn());this.highColumn(this.hk(this.highMemberPath()))}break;case $.ig.RangeCategorySeries.prototype.ke:if(!this.j8()){this.js().dl().q(this.resolution());this.renderSeries(false)}break}},e9:function(a){if(this.lowColumn()==null||this.lowColumn().count()==0||this.highColumn()==null||this.highColumn().count()==0){return null}if(a==this.j6()){var b=Math.min(this.lowColumn().count(),this.highColumn().count());return new $.ig.AxisRange(0,b-1)}if(a==this.j7()){var c=Math.min(this.lowColumn().minimum(),this.highColumn().minimum());var d=Math.max(this.lowColumn().maximum(),this.highColumn().maximum());return new $.ig.AxisRange(Math.min(c,d),Math.max(c,d))}return null},fz:function(a,b,c,d){if(this.j6()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.j6())!==null){$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.j6()).notifyDataChanged()}switch(a){case $.ig.FastItemsSourceEventAction.prototype.change:if(d==this.lowMemberPath()||d==this.highMemberPath()){if(!this.j8()){this.renderSeries(true)}}break;case $.ig.FastItemsSourceEventAction.prototype.insert:this.js().dl().q(this.resolution());if(!this.j8()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:this.js().dl().q(this.resolution());if(!this.j8()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.lowMemberPath()!=null&&this.highMemberPath()!=null&&this.js().dl().h()>0&&!this.j8()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.reset:this.js().dl().q(this.resolution());if(!this.j8()){this.renderSeries(true)}break}},ff:function(a,b,c){var d=$.ig.CategorySeries.prototype.ff.call(this,a,b,c);if(this.lowColumn()==null||this.lowColumn().count()==0||this.highColumn()==null||this.highColumn().count()==0){d=false}return d},j3:function(a,b){this.jr().m(a,b)},currentCategoryMode:function(){return this.preferredCategoryMode($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.j6()))},scaler:function(){return $.ig.util.cast($.ig.ICategoryScaler.prototype.$type,this.j6())},yScaler:function(){return $.ig.util.cast($.ig.IScaler.prototype.$type,this.j7())},bucketizer:function(){return this.js().dl()},currentMode2Index:function(){return this.j1()},provideCollisionDetector:function(){return new $.ig.CollisionAvoider},fe:function(c,d){var e=this.d9();$.ig.CategorySeries.prototype.fe.call(this,c,d);if(!e){this.view().b9(d);return}this.view().b9(d);if(this.fi(this.d7())){return}var f=new $.ig.RangeCategoryFramePreparer(1,this,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,this.d7()),this.seriesViewer().fo().aj(),this,this.d7().dl());this.jn=new $.ig.CategoryFrame(3);f.m(this.jn,this.d7());this.j2(this.jn,this.d7());this.d9(false)},$type:new $.ig.Type("RangeCategorySeries",$.ig.CategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type,$.ig.IHasHighLowValueCategory.prototype.$type])},true);$.ig.util.defType("HorizontalRangeCategorySeries","RangeCategorySeries",{init:function(){$.ig.RangeCategorySeries.prototype.init.call(this)},xAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalRangeCategorySeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.HorizontalRangeCategorySeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalRangeCategorySeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.HorizontalRangeCategorySeries.prototype.yAxisProperty)}},j6:function(){return this.xAxis()},j7:function(){return this.yAxis()},isRange:function(){return true},getOffsetValue:function(){return this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().ae(),this.view().ad())},getNextOrExactIndex:function(a,b){return this.e3(a,b,this.xAxis(),this.jy.runOn(this),new $.ig.RangeValueList(this.highColumn(),this.lowColumn()))},getPreviousOrExactIndex:function(a,b){return this.e2(a,b,this.xAxis(),this.jy.runOn(this),new $.ig.RangeValueList(this.highColumn(),this.lowColumn()))},ex:function(a,b,c,d,e){if(c==null){return Number.POSITIVE_INFINITY}var f=this.xAxis().itemsCount();return this.ey(a,b,this.xAxis(),d,e,f,this.jy.runOn(this))},getSeriesValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.xAxis().isInverted());var e=this.jr().ab(this.xAxis(),this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(new $.ig.RangeValueList(this.highColumn(),this.lowColumn()),a,this.xAxis(),d,e,this.jy.runOn(this),b,c)},getSeriesLowValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.xAxis().isInverted());var e=this.jr().ab(this.xAxis(),this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(this.lowColumn(),a,this.xAxis(),d,e,this.jy.runOn(this),b,c)},getSeriesHighValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.xAxis().isInverted());var e=this.jr().ab(this.xAxis(),this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(this.highColumn(),a,this.xAxis(),d,e,this.jy.runOn(this),b,c)},getSeriesHighValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesHighValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.jy.runOn($self),$self.highColumn())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.jy.runOn($self),$self.highColumn())})},getSeriesLowValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesLowValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.jy.runOn($self),$self.lowColumn())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.jy.runOn($self),$self.lowColumn())})},getSeriesValuePosition:function(a,b,c){return this.e5(a,b,c,this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),null,null,null)},j8:function(){return this.yAxis()!=null&&this.yAxis().updateRange()},ft:function(a,b,c,d){$.ig.RangeCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.HorizontalRangeCategorySeries.prototype.kt:this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.renderSeries(false);this.fs();break;case $.ig.HorizontalRangeCategorySeries.prototype.ku:this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.j8();this.renderSeries(false);this.fs();break}},$type:new $.ig.Type("HorizontalRangeCategorySeries",$.ig.RangeCategorySeries.prototype.$type)},true);$.ig.util.defType("RangeAreaSeries","HorizontalRangeCategorySeries",{et:function(){return new $.ig.RangeAreaSeriesView(this)},eq:function(a){$.ig.RangeCategorySeries.prototype.eq.call(this,a);this.k2(a)},_k2:null,k2:function(a){if(arguments.length===1){this._k2=a;return a}else{return this._k2}},init:function(){$.ig.HorizontalRangeCategorySeries.prototype.init.call(this);this.a3($.ig.RangeAreaSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.CategorySeries.prototype.fg.call(this,a,b);var c=b;c.d8()},j2:function(a,b){$.ig.RangeCategorySeries.prototype.j2.call(this,a,b);var c=a.f.count();var d=new $.ig.List$1($.ig.Array.prototype.$type,2,c);for(var e=0;e<c;e++){var f=a.f.__inner[e];var g=new Array(4);g[0]=f[0];g[1]=f[1];var h=a.f.__inner[a.f.count()-1-e];g[2]=h[0];g[3]=h[2];d.add(g)}var i=$.ig.util.cast($.ig.RangeAreaSeriesView.prototype.$type,b);i.d9(a.f.count(),d,false);i.cb(Math.min(this.lowColumn().minimum(),this.highColumn().minimum()),Math.max(this.lowColumn().maximum(),this.highColumn().maximum()),NaN,NaN,NaN)
},$type:new $.ig.Type("RangeAreaSeries",$.ig.HorizontalRangeCategorySeries.prototype.$type)},true);$.ig.util.defType("RangeCategorySeriesView","CategorySeriesView",{_dx:null,dx:function(a){if(arguments.length===1){this._dx=a;return a}else{return this._dx}},init:function(a){$.ig.CategorySeriesView.prototype.init.call(this,a);this.dx(a)},d0:function(a,b,c,d,e,f){a.bl().clear();b.bl().clear();c.bl().clear();var g=$.ig.Flattener.prototype.h(d,e,true,f,this.w().resolution());var h=$.ig.Flattener.prototype.h(d,e,false,f,this.w().resolution());var i=g.count();var j=h.count();var k;var l;var m;var n;for(var o=0;o<i;o++){k=g.item(o);l=e.__inner[k];m=l[0];n=l[1];a.bl().add({__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});b.bl().add({__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var p;var q;for(var r=0;r<j;r++){k=h.item(r);l=e.__inner[k];if(f){p=l[0];q=l[2]}else{p=l[2];q=l[3]}c.bl().add({__x:p,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});b.bl().add({__x:p,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}a.a4(a.bl().count()>0);b.a4(b.bl().count()>0);c.a4(c.bl().count()>0)},ds:function(){return new $.ig.RangeCategoryBucketCalculator(this)},$type:new $.ig.Type("RangeCategorySeriesView",$.ig.CategorySeriesView.prototype.$type)},true);$.ig.util.defType("RangeAreaSeriesView","RangeCategorySeriesView",{_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},init:function(a){this.d1=new $.ig.Polyline;this.d2=new $.ig.Polygon;this.d3=new $.ig.Polyline;$.ig.RangeCategorySeriesView.prototype.init.call(this,a);this.d5(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},d1:null,d2:null,d3:null,d8:function(){this.d2.bl().clear();this.d1.bl().clear();this.d3.bl().clear()},d9:function(a,b,c){this.d0(this.d1,this.d2,this.d3,a,b,c);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d2.__fill=this.w().actualBrush();this.d1.__stroke=this.w().actualOutline();this.d1.a5(this.w().thickness());this.d1.a6(this.w().dashArray());this.d1.a7(this.w().dashCap());this.d3.__stroke=this.w().actualOutline();this.d3.a5(this.w().thickness());this.d3.a6(this.w().dashArray());this.d3.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d2.__fill=a;this.d1.__stroke=a;this.d1.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.d3.__stroke=a;this.d3.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.d5().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.k(this.d2);a.l(this.d1);a.l(this.d3)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PolyLineVisualData(1,"lowerShape",this.d1);b.tags().add("Lower");var c=new $.ig.PolyLineVisualData(1,"upperShape",this.d3);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PolygonVisualData(1,"fillShape",this.d2);d.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("RangeAreaSeriesView",$.ig.RangeCategorySeriesView.prototype.$type)},true);$.ig.util.defType("RangeCategoryFramePreparer","CategoryFramePreparerBase",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.RangeCategoryFramePreparer.prototype.init1.call(this,1,a,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,a),$.ig.util.cast($.ig.IProvidesViewport.prototype.$type,a),$.ig.util.cast($.ig.ISupportsErrorBars.prototype.$type,a),$.ig.util.cast($.ig.IBucketizer.prototype.$type,a))},init1:function(initNumber,a,b,c,d,e){$.ig.CategoryFramePreparerBase.prototype.init1.call(this,1,a,b,c,d,e);this.aq(new $.ig.DefaultCategoryTrendlineHost);if($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a)!==null){this.aq($.ig.util.cast($.ig.IHasCategoryTrendline.prototype.$type,a))}this.ar(new $.ig.DefaultHighLowValueProvider);if($.ig.util.cast($.ig.IHasHighLowValueCategory.prototype.$type,a)!==null){this.ar($.ig.util.cast($.ig.IHasHighLowValueCategory.prototype.$type,a))}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},x:function(a,b,c,d,e){var f=b[0];var g=b[1];var h=b[2];if(!isNaN(f)&&!isNaN(g)&&!isNaN(h)){a.h.add({__x:f,__y:(g+h)/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.e().updateMarkerTemplate(e,d);return true}return false},ah:function(a,b,c,d){var e=a;var f=e.u();var g=e.v();var h=this.ad(f.item(b));var i=this.ad(g.item(b));var j=Math.max(h,i);var k=Math.min(h,i);if(c){e.h(k);e.i(j)}else{e.g(j);e.f(k)}},ai:function(a,b,c){var d=a;var e=d.u();var f=d.v();var g=this.ad(e.item(b));var h=this.ad(f.item(b));if(!isNaN(g)){d.g(Math.max(d.g(),g));d.f(Math.min(d.f(),g))}if(!isNaN(h)){d.g(Math.max(d.g(),h));d.f(Math.min(d.f(),h))}},aj:function(a,b){var $self=this;var c=b;return function(){var $ret=new Array;$ret.add($self.ad(a));$ret.add(c.f());$ret.add(c.g());return $ret}()},al:function(a,b,c,d,e,f){if(d){b[0]=b[0]+c}else{b[0]=a.s().getScaledValue(b[0],e)+c}b[1]=a.u().getScaledValue(b[1],f);b[2]=a.u().getScaledValue(b[2],f)},an:function(a){var b=new $.ig.HighLowValuesHolder;b.u(this.ar().highColumn());b.v(this.ar().lowColumn());return b},$type:new $.ig.Type("RangeCategoryFramePreparer",$.ig.CategoryFramePreparerBase.prototype.$type)},true);$.ig.util.defType("ValuesHolder","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(){return this._e},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},$type:new $.ig.Type("ValuesHolder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HighLowValuesHolder","ValuesHolder",{init:function(){$.ig.ValuesHolder.prototype.init.call(this)},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},e:function(){if(this.u()==null||this.v()==null){return 0}return Math.min(this.u().count(),this.v().count())},$type:new $.ig.Type("HighLowValuesHolder",$.ig.ValuesHolder.prototype.$type)},true);$.ig.util.defType("DefaultHighLowValueProvider","Object",{init:function(){$.ig.Object.prototype.init.call(this)},highColumn:function(){return new $.ig.List$1(Number,0)},lowColumn:function(){return new $.ig.List$1(Number,0)},$type:new $.ig.Type("DefaultHighLowValueProvider",$.ig.Object.prototype.$type,[$.ig.IHasHighLowValueCategory.prototype.$type])},true);$.ig.util.defType("RangeValueList","Object",{a:null,b:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},indexOf:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{var c=NaN;var d=NaN;if(this.a!=null&&b>=0&&b<this.a.count()){c=this.a.item(b)}if(this.b!=null&&b>=0&&b<this.b.count()){d=this.b.item(b)}var e=isNaN(c);var f=isNaN(d);if(!e&&!f){return(c+d)/2}if(!e){return c}if(!f){return d}return NaN}},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},contains:function(a){throw new $.ig.NotImplementedException},c:function(a,b){throw new $.ig.NotImplementedException},count:function(){var b=0;var c=0;if(this.a!=null){b=this.a.count()}if(this.b!=null){c=this.b.count()}var d=0;d=Math.max(d,b);d=Math.max(d,c);return d},isReadOnly:function(){return true},remove:function(a){throw new $.ig.NotImplementedException},getEnumerator:function(){throw new $.ig.NotImplementedException},$type:new $.ig.Type("RangeValueList",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("RangeColumnSeries","HorizontalRangeCategorySeries",{et:function(){return new $.ig.RangeColumnSeriesView(this)},eq:function(a){$.ig.RangeCategorySeries.prototype.eq.call(this,a);this.k6(a)},_k6:null,k6:function(a){if(arguments.length===1){this._k6=a;return a}else{return this._k6}},init:function(){$.ig.HorizontalRangeCategorySeries.prototype.init.call(this);this.a3($.ig.RangeColumnSeries.prototype.$type)},radiusX:function(a){if(arguments.length===1){this.c($.ig.RangeColumnSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.RangeColumnSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.RangeColumnSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.RangeColumnSeries.prototype.radiusYProperty)}},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},fg:function(a,b){$.ig.CategorySeries.prototype.fg.call(this,a,b);var c=b;if(a&&c.d6()!=null){c.d6().g(0)}},j2:function(a,b){$.ig.RangeCategorySeries.prototype.j2.call(this,a,b);var c=$.ig.util.cast($.ig.RangeColumnSeriesView.prototype.$type,b);var d=a.f;var e=b.ae();var f=b.ad();var g=this.xAxis().he(e,f);if(isNaN(g)||Number.isInfinity(g)){c.d6().g(0);return}for(var h=0;h<d.count();++h){var i=d.__inner[h][0]-.5*g;var j=Math.min(d.__inner[h][1],d.__inner[h][2]);var k=Math.max(d.__inner[h][1],d.__inner[h][2]);var l=c.d6().item(h);l.width(g);l.height(Math.abs(k-j));c.ei(l,i,j)}c.d6().g(d.count())},$type:new $.ig.Type("RangeColumnSeries",$.ig.HorizontalRangeCategorySeries.prototype.$type)},true);$.ig.util.defType("RangeColumnSeriesView","RangeCategorySeriesView",{_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},init:function(a){var $self=this;$.ig.RangeCategorySeriesView.prototype.init.call(this,a);this.d5(a);this.d6(function(){var $ret=new $.ig.Pool$1($.ig.Rectangle.prototype.$type);$ret.create($self.ee.runOn($self));$ret.activate($self.ef.runOn($self));$ret.disactivate($self.eg.runOn($self));$ret.destroy($self.eh.runOn($self));return $ret}())},_d6:null,d6:function(a){if(arguments.length===1){this._d6=a;return a}else{return this._d6}},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);this.d7(new $.ig.List$1($.ig.Rectangle.prototype.$type,0));if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},ee:function(){var a=new $.ig.Rectangle;this.d7().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},ef:function(a){a.__visibility=$.ig.Visibility.prototype.visible},eg:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},eh:function(a){this.d7().remove(a)},ei:function(a,b,c){var d=false;if(a.v()!=c){d=true;a.v(c)}if(a.w()!=b){d=true;a.w(b)}if(d){this.ar()}},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.d7().count();c++){var d=this.d7().__inner[c];this.at(d,c,b);if(this.l&&!b){var e=d.__fill!=null&&d.__fill.isGradient()?new $.ig.Rect(0,d.w(),d.v(),d.width(),d.height()):null;a.e($.ig.GradientDirection.prototype.bottomTop,e)}a.f(d)}}},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var c=new $.ig.List$1($.ig.Rectangle.prototype.$type,0);var e=this.d6().h().getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}c.t(function(f,g){if(f.w()<g.w()){return-1}else if(f.w()>g.w()){return 1}else{return 0}});var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=new $.ig.RectangleVisualData(1,"column"+b,h);j.tags().add("Main");a.shapes().add(j)}b++},$type:new $.ig.Type("RangeColumnSeriesView",$.ig.RangeCategorySeriesView.prototype.$type)},true);$.ig.util.defType("SplineSeriesBaseView","AnchoredCategorySeriesView",{_ea:null,ea:function(a){if(arguments.length===1){this._ea=a;return a}else{return this._ea}},init:function(a){$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ea(a)},$type:new $.ig.Type("SplineSeriesBaseView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("SplineAreaSeriesView","SplineSeriesBaseView",{_ei:null,ei:function(a){if(arguments.length===1){this._ei=a;return a}else{return this._ei}},init:function(a){this.ed=new $.ig.Path;this.ee=new $.ig.Path;this.ef=new $.ig.Path;this.eg=new $.ig.Path;$.ig.SplineSeriesBaseView.prototype.init.call(this,a);this.ei(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},ed:null,ee:null,ef:null,eg:null,el:function(){this.ed.bn(null);this.ef.bn(null);this.ee.bn(null);this.eg.bn(null);this.ar()},em:function(a,b,c,d,e,f,g){this.dy().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.dy().kt().p(this.ed,this.ee,this.ef,this.eg,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ed.__fill=this.w().actualBrush();this.ef.__fill=this.w().actualBrush();this.ef.__opacity=.5;this.ee.__stroke=this.w().actualOutline();this.ee.a5(this.w().thickness());this.ee.a6(this.w().dashArray());this.ee.a7(this.w().dashCap());this.eg.__stroke=this.w().actualOutline();this.eg.a5(this.w().thickness());this.eg.a6(this.w().dashArray());this.eg.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ed.__fill=a;this.ef.__fill=a;this.ef.__opacity=1;this.ee.__stroke=a;this.ee.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.eg.__stroke=a;this.eg.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ei().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ed);a.g(this.ef);a.g(this.ee);a.g(this.eg)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ee);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.eg);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.ed);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.ef);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("SplineAreaSeriesView",$.ig.SplineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("VerticalAxisLabelPanel","AxisLabelPanelBase",{init:function(){$.ig.AxisLabelPanelBase.prototype.init.call(this)},b6:function(){return new $.ig.VerticalAxisLabelPanelView(this)},b7:function(a){$.ig.AxisLabelPanelBase.prototype.b7.call(this,a);this.d3(a)},_d3:null,d3:function(a){if(arguments.length===1){this._d3=a;return a}else{return this._d3}},_d4:null,d4:function(a){if(arguments.length===1){this._d4=a;return a}else{return this._d4}},_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},c9:function(){this.d3().ak()},c8:function(){var a=new $.ig.List$1($.ig.Rect.prototype.$type,0);this.b1(false);this.b0(false);if(this.bq().labelSettings()!=null&&this.bq().labelSettings().y()&&this.db()%360!=0){this.b0(true)}this.d4(-Number.MAX_VALUE);this.d5(-Number.MAX_VALUE);for(var b=0;b<this.bx().count();b++){var c=this.bx().__inner[b];var d=this.de(c);var e=this.dd(c);var f=0;var g=this.bs().__inner[b].b()-d/2;this.d4(Math.max(e,this.d4()));this.d5(Math.max(d,this.d5()));var h=new $.ig.Rect(0,f,g,e,d);a.add(h)}var i=0;if(this.b0()){i=this.db()%360;if(i<0){i+=360}}if(!this.bq().fh()){if(this.b0()){if(i>=90&&i<=270){this.b5(this.d5())}else{var j=i*(Math.PI/180);var k=Math.abs(this.d4()*Math.cos(j))+Math.abs(this.d5()*Math.sin(j));this.b5(k)}}else{this.b5(this.d4())}}else{this.bo().w()}if(this.b0()){for(var l=0;l<a.count();l++){var m=a.__inner[l];m.y(this.bs().__inner[l].b()-this.d5()/2);a.__inner[l]=m}}var n=false;if(!this.b0()&&this.d4()<=this.b5()){n=true}if(!n){var o=this.bu().height();var p=this.b5();var q=this.bs().count()>1?Math.abs(this.bs().__inner[1].b()-this.bs().__inner[0].b()):o;var r=Math.abs(Math.asin(q/this.d4())*(180/Math.PI));var s=i>=r&&i<=180-r||i-180>=r&&i-180<=180-r;for(var t=0;t<a.count();t++){if(this.b0()){var u=i*(Math.PI/180);var v=this.dd(this.bx().__inner[t]);p=Math.min(this.b5()/Math.abs(Math.cos(u)),v);if(s){var w;if(i>0&&i<90){w=Math.PI/180*(90-i)}else if(i>270&&i<360){w=Math.PI/180*(i-270)}else{w=0}p=q/Math.cos(w)}}var x=a.__inner[t];x.x(0);x.width(p);a.__inner[t]=x;if(!($.ig.util.cast($.ig.TextBlock.prototype.$type,this.bx().__inner[t])!==null)){this.bx().__inner[t].width(p)}var y=$.ig.util.cast($.ig.TextBlock.prototype.$type,this.bx().__inner[t]);if(y!=null){var z=this.dp(t,y,p);if(!y.a3().equals(z)){y.a3(z);this.bx().__inner[t].width(p)}}}}if(this.ed()){this.ec(a)}return a},ec:function(a){this.d3().al(a,this.d4())},dh:function(a,b){var $self=this;var c=0;var d=this.d5()/2;var e=function(){var $ret=new $.ig.RotateTransform;$ret.h($self.db());$ret.i(c);$ret.j(d);return $ret}();a.f(e)},ed:function(){return!this.b1()&&!this.b0()},dl:function(){return $.ig.AxisLabelsLocation.prototype.outsideLeft},dm:function(a){return a==$.ig.AxisLabelsLocation.prototype.outsideLeft||a==$.ig.AxisLabelsLocation.prototype.outsideRight||a==$.ig.AxisLabelsLocation.prototype.insideLeft||a==$.ig.AxisLabelsLocation.prototype.insideRight},$type:new $.ig.Type("VerticalAxisLabelPanel",$.ig.AxisLabelPanelBase.prototype.$type)},true);$.ig.util.defType("VerticalAxisLabelPanelView","AxisLabelPanelBaseView",{_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},init:function(a){$.ig.AxisLabelPanelBaseView.prototype.init.call(this,a);this.ah(a)},ak:function(){},al:function(a,b){},$type:new $.ig.Type("VerticalAxisLabelPanelView",$.ig.AxisLabelPanelBaseView.prototype.$type)},true);$.ig.util.defType("AreaSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.AreaSeriesView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.lu(a)},_lu:null,lu:function(a){if(arguments.length===1){this._lu=a;return a}else{return this._lu}},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.AreaSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eh()},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=b.dl().h();var d=$.ig.util.cast($.ig.AreaSeriesView.prototype.$type,b);var e=a.f;d.ei(e.count(),e,true,c,this.resolution(),function(f,g,h,i,j){return $self.k4(f,a.f.count(),b)},this.unknownValuePlotting());var k=this.j7();d.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),k.referenceValue(),k.actualMinimumValue(),k.actualMaximumValue())},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.AreaSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.AreaSeries.prototype.unknownValuePlottingProperty)}},ft:function(a,b,c,d){$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.AreaSeries.prototype.lr:this.jr().s(this.unknownValuePlotting()==$.ig.UnknownValuePlotting.prototype.linearInterpolate);this.renderSeries(false);this.fs();break}},$type:new $.ig.Type("AreaSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("AreaSeriesView","AnchoredCategorySeriesView",{_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},init:function(a){this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;this.ec=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ee(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},d9:null,ea:null,eb:null,ec:null,eh:function(){this.d9.bn(null);this.eb.bn(null);this.ea.bn(null);this.ec.bn(null);this.ar()},ei:function(a,b,c,d,e,f,g){this.dy().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.dy().kt().p(this.d9,this.ea,this.eb,this.ec,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__fill=this.w().actualBrush();this.eb.__fill=this.w().actualBrush();this.eb.__opacity=.5;this.ea.__stroke=this.w().actualOutline();this.ea.a5(this.w().thickness());this.ea.a6(this.w().dashArray());this.ea.a7(this.w().dashCap());this.ec.__stroke=this.w().actualOutline();this.ec.a5(this.w().thickness());this.ec.a6(this.w().dashArray());this.ec.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__fill=a;this.eb.__fill=a;this.eb.__opacity=1;this.ea.__stroke=a;this.ea.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ec.__stroke=a;this.ec.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(this.l&&!b){var c=this.cd(this.ee().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.d9);a.g(this.eb);a.g(this.ea);a.g(this.ec)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ea);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.ec);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.d9);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.eb);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("AreaSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("CategoryFrame","Frame",{init:function(a){this.f=new $.ig.List$1($.ig.Array.prototype.$type,0);this.g=new $.ig.List$1($.ig.Single.prototype.$type,0);this.h=new $.ig.List$1($.ig.Point.prototype.$type,0);this.i=new $.ig.List$1($.ig.Point.prototype.$type,0);this.j=new $.ig.List$1($.ig.Point.prototype.$type,0);this.k=new $.ig.List$1(Number,0);$.ig.Frame.prototype.init.call(this);this.l=a},f:null,g:null,h:null,i:null,j:null,k:null,l:null,a:function(a,b,c){var d=$.ig.util.cast($.ig.CategoryFrame.prototype.$type,b);var e=$.ig.util.cast($.ig.CategoryFrame.prototype.$type,c);var f=d.f.count();var g=e.f.count();var h=Math.max(f,g);if(this.f.count()<h){while(this.f.count()<h){this.f.add(new Array(this.l))}}if(this.f.count()>h){this.f.q(h,this.f.count()-h)}for(var i=0;i<Math.min(f,g);++i){var j=this.f.__inner[i];for(var k=0;k<this.l;++k){j[k]=d.f.__inner[i][k]+a*(e.f.__inner[i][k]-d.f.__inner[i][k])}}if(f<g){var l=new Array(this.l);for(var m=this.l-1;m>=0;--m){l[m]=d.f.count()>0?d.f.__inner[d.f.count()-1][m]:0}for(var n=f;n<g;++n){var o=this.f.__inner[n];for(var p=this.l-1;p>=0;--p){o[p]=l[p]+a*(e.f.__inner[n][p]-l[p])}}}if(f>g){var q=new Array(this.l);for(var r=this.l-1;r>=0;--r){q[r]=e.f.count()>0?e.f.__inner[e.f.count()-1][r]:0}for(var s=g;s<f;++s){var t=this.f.__inner[s];for(var u=this.l-1;u>=0;--u){t[u]=d.f.__inner[s][u]+a*(q[u]-d.f.__inner[s][u])}}}$.ig.CategoryFrame.prototype.b(this.h,a,d.h,e.h);$.ig.CategoryFrame.prototype.b(this.i,a,d.i,e.i);$.ig.CategoryFrame.prototype.b(this.j,a,d.j,e.j);$.ig.CategoryFrame.prototype.c(this.k,a,d.k,e.k)},$type:new $.ig.Type("CategoryFrame",$.ig.Frame.prototype.$type)},true);$.ig.util.defType("SingleValuesHolder","ValuesHolder",{init:function(){$.ig.ValuesHolder.prototype.init.call(this)},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},e:function(){if(this.t()!=null){return this.t().count()}return 0},$type:new $.ig.Type("SingleValuesHolder",$.ig.ValuesHolder.prototype.$type)},true);$.ig.util.defType("DefaultSingleValueProvider","Object",{init:function(){$.ig.Object.prototype.init.call(this)},valueColumn:function(){return new $.ig.List$1(Number,0)},$type:new $.ig.Type("DefaultSingleValueProvider",$.ig.Object.prototype.$type,[$.ig.IHasSingleValueCategory.prototype.$type])},true);$.ig.util.defType("PreparationParams","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},$type:new $.ig.Type("PreparationParams",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CategoryLineRasterizer","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.PointCollection(0)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},a:null,d:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},i:function(a,b,c,d,e,f,g,h,i,j){var $self=this;var k=new $.ig.PathGeometry;var l=new $.ig.PathGeometry;var m=new $.ig.PathGeometry;a.bn(k);b.bn(l);c.bn(m);k.d(new $.ig.PathFigureCollection);l.d(new $.ig.PathFigureCollection);m.d(new $.ig.PathFigureCollection);var n=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var o=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var p=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var q=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);if(g==$.ig.UnknownValuePlotting.prototype.linearInterpolate||g==$.ig.UnknownValuePlotting.prototype.dontPlot){var r=g==$.ig.UnknownValuePlotting.prototype.dontPlot?h:null;var s=0;for(var t=0;t<d;t++){if(isNaN(e.__inner[t][1])){var u=t-s;var v=g==$.ig.UnknownValuePlotting.prototype.linearInterpolate&&u>0||g==$.ig.UnknownValuePlotting.prototype.dontPlot&&u>1;if(v){if(g==$.ig.UnknownValuePlotting.prototype.dontPlot||n.count()==0){var w=new $.ig.PolyLineSegment;var x=new $.ig.PolyLineSegment;var y=new $.ig.PolyLineSegment;var z=new $.ig.PolyLineSegment;n.add(w);o.add(x);p.add(y);q.add(z)}this.o(n.__inner[n.count()-1].__points,o.__inner[o.count()-1].__points,p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,s,t-1,e,f,r,i,j)}s=t+1}}if(g==$.ig.UnknownValuePlotting.prototype.dontPlot||n.count()==0){var aa=new $.ig.PolyLineSegment;var ab=new $.ig.PolyLineSegment;var ac=new $.ig.PolyLineSegment;var ad=new $.ig.PolyLineSegment;n.add(aa);o.add(ad);p.add(ab);q.add(ac)}this.o(n.__inner[n.count()-1].__points,o.__inner[o.count()-1].__points,p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,s,d-1,e,f,r,i,j);if(r==null&&n.count()==1&&h!=null){this.j(n.__inner[0],h);if(o.count()==1){this.j(o.__inner[0],h)}}}else{n.add(new $.ig.PolyLineSegment);o.add(new $.ig.PolyLineSegment);p.add(new $.ig.PolyLineSegment);q.add(new $.ig.PolyLineSegment);this.l(n.__inner[0].__points,o.__inner[0].__points,p.__inner[0].__points,q.__inner[0].__points,d,e,f,h,i,j)}for(var ae=0;ae<n.count();ae++){var af=n.__inner[ae];var ag=o.__inner[ae];var ah=p.__inner[ae];var ai=q.__inner[ae];if(af.__points.count()>0){var aj=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=af.__points.__inner[0];return $ret}();aj.__segments.add(af);k.d().add(aj)}if(ag.__points.count()>0){var ak=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=ag.__points.__inner[0];return $ret}();ak.__segments.add(ag);m.d().add(ak)}if(ah.__points.count()>0&&ai.__points.count()>0){var al=new $.ig.PolyLineSegment;if(h!=null){var am=h.i();h.i(true);h.h(al.__points);var ao=ah.__points.getEnumerator();while(ao.moveNext()){var an=ao.current();h.l(an)}var aq=ai.__points.reverse$1($.ig.Point.prototype.$type).getEnumerator();while(aq.moveNext()){var ap=aq.current();h.l(ap)}h.h(null);h.i(am)}else{var as=ah.__points.getEnumerator();while(as.moveNext()){var ar=as.current();al.__points.add(ar)}var au=ai.__points.reverse$1($.ig.Point.prototype.$type).getEnumerator();while(au.moveNext()){var at=au.current();al.__points.add(at)}}if(al.__points.count()>0){var av=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=al.__points.__inner[0];return $ret}();av.__segments.add(al);l.d().add(av)}}}},j:function(a,b){var c=a.__points;b.h(a.__points=new $.ig.PointCollection(0));var e=c.getEnumerator();while(e.moveNext()){var d=e.current();b.l(d)}b.h(null)},k:function(a,b,c,d,e,f,g,h,i,j){a.bl().clear();c.bl().clear();d.bl().clear();b.bl().clear();this.l(a.bl(),b.bl(),c.bl(),d.bl(),e,f,g,h,i,j);a.a4(a.bl().count()>0);c.a4(c.bl().count()>0);d.a4(d.bl().count()>0);b.a4(b.bl().count()>0)},l:function(a,b,c,d,e,f,g,h,i,j){this.o(a,b,c,d,0,e-1,f,g,h,i,j)},m:function(a,b,c,d,e,f,g){var h=$.ig.Flattener.prototype.j(new $.ig.List$1($.ig.Number.prototype.$type,0),d,e,f,b,c,g);var i=0;var j=h.count();var k;var l;var m;if(e){for(var n=0;n<j;n++){i=h.__inner[n];k=d.__inner[i];l=k[0];m=k[1];var o={__x:l,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.add(o)}}else if(f){for(var p=0;p<j;p++){i=h.__inner[p];k=d.__inner[i];l=k[0];m=k[2];var q={__x:l,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.add(q)}}else{for(var r=0;r<j;r++){i=h.__inner[r];k=d.__inner[i];l=k[2];m=k[3];var s={__x:l,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.add(s)}}},n:function(a,b,c,d){c.h(a);for(var e=0;e<b.count();e++){c.l(b.__inner[e])}c.h(null)},o:function(a,b,c,d,e,f,g,h,i,j,k){if(f>-1){if(j==1&&!this.c()){var l=new $.ig.PointCollection(0);
this.m(l,e,f,g,true,h,k);if(i!=null){this.n(a,l,i,k)}else{var n=l.getEnumerator();while(n.moveNext()){var m=n.current();a.add(m)}}}else{var o=new $.ig.PointCollection(0);var p=new $.ig.PointCollection(0);this.m(o,e,f,g,true,h,k);this.m(p,e,f,g,false,h,k);var r=o.getEnumerator();while(r.moveNext()){var q=r.current();c.add(q)}var t=p.getEnumerator();while(t.moveNext()){var s=t.current();d.add(s)}if(i!=null){this.n(a,o,i,k);this.n(b,p,i,k)}else{var v=o.getEnumerator();while(v.moveNext()){var u=v.current();a.add(u)}var x=p.getEnumerator();while(x.moveNext()){var w=x.current();b.add(w)}}}}},p:function(a,b,c,d,e,f,g,h,i,j,k){var $self=this;var l=new $.ig.PathGeometry;var m=new $.ig.PathGeometry;var n=new $.ig.PathGeometry;var o=new $.ig.PathGeometry;a.bn(l);b.bn(m);c.bn(n);d.bn(o);l.d(new $.ig.PathFigureCollection);m.d(new $.ig.PathFigureCollection);n.d(new $.ig.PathFigureCollection);o.d(new $.ig.PathFigureCollection);var p=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var q=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var r=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var s=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);if(k==$.ig.UnknownValuePlotting.prototype.linearInterpolate||k==$.ig.UnknownValuePlotting.prototype.dontPlot){var t=0;for(var u=0;u<e;u++){if(isNaN(f.__inner[u][1])){var v=u-t;var w=k==$.ig.UnknownValuePlotting.prototype.linearInterpolate&&v>0||k==$.ig.UnknownValuePlotting.prototype.dontPlot&&v>1;if(w){if(k==$.ig.UnknownValuePlotting.prototype.dontPlot||q.count()==0){var x=new $.ig.PolyLineSegment;var y=new $.ig.PolyLineSegment;var z=new $.ig.PolyLineSegment;var aa=new $.ig.PolyLineSegment;p.add(x);q.add(y);r.add(z);s.add(aa)}this.q(p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,r.__inner[r.count()-1].__points,s.__inner[s.count()-1].__points,t,u-1,f,g,h,i);if(k==$.ig.UnknownValuePlotting.prototype.dontPlot){j(p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,r.__inner[r.count()-1].__points,s.__inner[s.count()-1].__points,false)}}t=u+1}}if(k==$.ig.UnknownValuePlotting.prototype.dontPlot||q.count()==0){var ab=new $.ig.PolyLineSegment;var ac=new $.ig.PolyLineSegment;var ad=new $.ig.PolyLineSegment;var ae=new $.ig.PolyLineSegment;p.add(ab);q.add(ac);r.add(ad);s.add(ae)}this.q(p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,r.__inner[r.count()-1].__points,s.__inner[s.count()-1].__points,t,e-1,f,g,h,i);j(p.__inner[p.count()-1].__points,q.__inner[q.count()-1].__points,r.__inner[r.count()-1].__points,s.__inner[s.count()-1].__points,true)}else{p.add(new $.ig.PolyLineSegment);q.add(new $.ig.PolyLineSegment);r.add(new $.ig.PolyLineSegment);s.add(new $.ig.PolyLineSegment);this.q(p.__inner[0].__points,q.__inner[0].__points,r.__inner[0].__points,s.__inner[0].__points,0,e-1,f,g,h,i);j(p.__inner[0].__points,q.__inner[0].__points,r.__inner[0].__points,s.__inner[0].__points,true)}for(var af=0;af<q.count();af++){var ag=p.__inner[af];var ah=q.__inner[af];var ai=r.__inner[af];var aj=s.__inner[af];if(ag.__points.count()>0){var ak=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=ag.__points.__inner[0];return $ret}();ak.__segments.add(ag);l.d().add(ak)}if(ah.__points.count()>0){var al=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=ah.__points.__inner[0];return $ret}();al.__segments.add(ah);m.d().add(al)}if(ai.__points.count()>0){var am=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=ai.__points.__inner[0];return $ret}();am.__segments.add(ai);n.d().add(am)}if(aj.__points.count()>0){var an=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=aj.__points.__inner[0];return $ret}();an.__segments.add(aj);o.d().add(an)}}},q:function(a,b,c,d,e,f,g,h,i,j){this.d().clear();if(i==1&&!this.c()){var k=$.ig.Flattener.prototype.j(new $.ig.List$1($.ig.Number.prototype.$type,0),g,true,h,e,f,j);var l=k.count();var m=0;var n;var o;var p;for(var q=0;q<l;q++){m=k.__inner[q];n=g.__inner[m];o=n[0];p=n[1];a.add({__x:o,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add({__x:o,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.d().add({__x:o,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}else{var r=$.ig.Flattener.prototype.j(new $.ig.List$1($.ig.Number.prototype.$type,0),g,true,h,e,f,j);var s=$.ig.Flattener.prototype.j(new $.ig.List$1($.ig.Number.prototype.$type,0),g,false,h,e,f,j);var t=r.count();var u=s.count();var v=0;var w;var x;var y;for(var z=0;z<t;z++){v=r.__inner[z];w=g.__inner[v];x=w[0];y=w[1];a.add({__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});b.add({__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.d().add({__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var aa;var ab;for(var ac=u-1;ac>=0;ac--){v=s.__inner[ac];w=g.__inner[v];if(h){aa=w[0];ab=w[2]}else{aa=w[2];ab=w[3]}d.add({__x:aa,__y:ab,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:aa,__y:ab,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},$type:new $.ig.Type("CategoryLineRasterizer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ColumnSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.ColumnSeriesView(this)},_lw:null,lw:function(a){if(arguments.length===1){this._lw=a;return a}else{return this._lw}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.lw(a)},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.ColumnSeries.prototype.$type)},radiusX:function(a){if(arguments.length===1){this.c($.ig.ColumnSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.ColumnSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.ColumnSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.ColumnSeries.prototype.radiusYProperty)}},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;if(a&&c.ef()!=null){c.ef().g(0)}},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=a.f;if(!b.bd()){return}var d=b.ae();var e=b.ad();var f=new $.ig.ScalerParams(d,e,this.yAxis().isInverted());var g=this.yAxis();var h=g.getScaledValue(g.referenceValue(),f);var i=this.xAxis().he(d,e);var j=b;if(isNaN(i)||Number.isInfinity(i)){j.ef().g(0);return}for(var k=0;k<c.count();++k){var l=c.__inner[k][0]-.5*i;var m=c.__inner[k][1];var n=h;m=Math.max(m,-100);n=Math.min(n,e.bottom()+100);var o=j.ef().item(k);o.width(i);o.height(Math.abs(n-m));j.eo(o,l,Math.min(n,m))}j.ef().g(c.count())},$type:new $.ig.Type("ColumnSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("ColumnSeriesView","AnchoredCategorySeriesView",{ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);this.ee(new $.ig.List$1($.ig.Rectangle.prototype.$type,0));if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){var $self=this;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ed(a);this.ef(function(){var $ret=new $.ig.Pool$1($.ig.Rectangle.prototype.$type);$ret.create($self.ei.runOn($self));$ret.activate($self.el.runOn($self));$ret.disactivate($self.em.runOn($self));$ret.destroy($self.en.runOn($self));return $ret}())},ei:function(){var a=new $.ig.Rectangle;this.ee().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},el:function(a){a.__visibility=$.ig.Visibility.prototype.visible},em:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},en:function(a){this.ee().remove(a)},eo:function(a,b,c){var d=false;if(a.v()!=c){d=true;a.v(c)}if(a.w()!=b){d=true;a.w(b)}if(d){this.ar()}},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.ee().count();c++){var d=this.ee().__inner[c];this.at(d,c,b);if(this.l&&!b){var e=d.__fill!=null&&d.__fill.isGradient()?new $.ig.Rect(0,d.w(),d.v(),d.width(),d.height()):null;a.e($.ig.GradientDirection.prototype.bottomTop,e)}a.f(d)}}},_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var c=new $.ig.List$1($.ig.Rectangle.prototype.$type,0);var e=this.ef().h().getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}c.t(function(f,g){if(f.w()<g.w()){return-1}else if(f.w()>g.w()){return 1}else{return 0}});var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=new $.ig.RectangleVisualData(1,"column"+b,h);j.tags().add("Main");a.shapes().add(j)}b++},$type:new $.ig.Type("ColumnSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("DefaultSupportsMarkers","Object",{init:function(){$.ig.Object.prototype.init.call(this)},shouldDisplayMarkers:function(){return false},updateMarkerCount:function(a){},updateMarkerTemplate:function(a,b){},$type:new $.ig.Type("DefaultSupportsMarkers",$.ig.Object.prototype.$type,[$.ig.ISupportsMarkers.prototype.$type])},true);$.ig.util.defType("DefaultProvidesViewport","Object",{init:function(){$.ig.Object.prototype.init.call(this)},getViewInfo:function(a,b){a=$.ig.Rect.prototype.empty();b=$.ig.Rect.prototype.empty();return{viewportRect:a,windowRect:b}},$type:new $.ig.Type("DefaultProvidesViewport",$.ig.Object.prototype.$type,[$.ig.IProvidesViewport.prototype.$type])},true);$.ig.util.defType("DefaultSupportsErrorBars","Object",{init:function(){$.ig.Object.prototype.init.call(this)},xAxis:function(){return null},yAxis:function(){return null},$type:new $.ig.Type("DefaultSupportsErrorBars",$.ig.Object.prototype.$type,[$.ig.ISupportsErrorBars.prototype.$type])},true);$.ig.util.defType("LineSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.LineSeriesView(this)},_lu:null,lu:function(a){if(arguments.length===1){this._lu=a;return a}else{return this._lu}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.lu(a)},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.LineSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eg()},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=b.dl().h();var d=$.ig.util.cast($.ig.LineSeriesView.prototype.$type,b);var e=a.f;d.eh(e.count(),e,true,this.unknownValuePlotting(),this.k5(e,e.count()-1,b.ad(),b.ae()),c,this.resolution());d.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),NaN,NaN,NaN)},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.LineSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.LineSeries.prototype.unknownValuePlottingProperty)}},ft:function(a,b,c,d){$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.LineSeries.prototype.lr:this.jr().s(this.unknownValuePlotting()==$.ig.UnknownValuePlotting.prototype.linearInterpolate);this.renderSeries(false);this.fs();break}},$type:new $.ig.Type("LineSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("LineSeriesView","AnchoredCategorySeriesView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ed(a)},d9:null,ea:null,eb:null,eg:function(){this.ea.bn(null);this.d9.bn(null);this.eb.bn(null);this.ar()},eh:function(a,b,c,d,e,f,g){this.ed().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.ed().kt().i(this.d9,this.ea,this.eb,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__stroke=this.w().actualBrush();this.d9.a5(this.w().thickness());this.d9.a6(this.w().dashArray());this.d9.a7(this.w().dashCap());this.eb.__stroke=this.w().actualBrush();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap());this.ea.__fill=this.w().actualBrush();this.ea.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__stroke=a;this.d9.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ea.__fill=a;this.ea.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ed().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ea);a.g(this.d9);a.g(this.eb)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.d9);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.eb);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ea);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("LineSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("SplineSeriesBase","HorizontalAnchoredCategorySeries",{init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this)},et:function(){return new $.ig.SplineSeriesBaseView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.lx(a)},_lx:null,lx:function(a){if(arguments.length===1){this._lx=a;return a}else{return this._lx}},_ly:null,ly:function(a){if(arguments.length===1){this._ly=a;return a}else{return this._ly}},l3:function(a){return a},l4:function(a,b,c,d,e,f){var $self=this;var g=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,d);if(g==null){return}var h=new $.ig.ScalerParams(b,c,d.isInverted());var i=new $.ig.ScalerParams(b,c,e.isInverted());var j=this.i8();var k=0;var l=this.l7(d,b,c);var n=function(m){return m};var p=function(o){return $self.valueColumn().item(g.sortedIndices().__inner[o])};var q=this.js().dl().g();var r=this.js().dl().f();var s=Math.ceil(c.width()/(q-r));var t=new $.ig.CollisionAvoider;var u=this.js().dl().h();if(u<=0||r<=0&&q<=0){this.js().dm().g(k);return}for(var v=r;v<q+1;++v){var w=null;var x=v*u;if(g!=null&&g.sortedIndices()!=null&&x>=0&&x<g.sortedIndices().count()){x=g.sortedIndices().__inner[x]}if(v>=this.valueColumn().count()-1){if(j&&this.l5(a,a.f.last$1($.ig.Array.prototype.$type),t,Math.min(x,this.eb().g()-1),k,f)){++k}break}var y=n(v);var z=p(v);var aa=n(v+1);var ab=p(v+1);var ac=aa-y;var ad=this.ly()[v];var ae=this.ly()[v+1];var af=g.getUnscaledValueAt(g.sortedIndices().__inner[v]);var ag=d.getScaledValue(af,h)+l;var ah=e.getScaledValue(z,i);a.f.add(function(){var $ret=new Array;$ret.add(ag);$ret.add(ah);$ret.add(ah);return $ret}());for(var ai=1;ai<s;++ai){var aj=ai/s;var ak=y+ac*aj;var al=(aa-ak)/ac;var am=(ak-y)/ac;var an=al*z+am*ab+((al*al*al-al)*ad+(am*am*am-am)*ae)*ac*ac/6;var ao=g.getUnscaledValueAt(g.sortedIndices().__inner[v]);var ap=g.getUnscaledValueAt(g.sortedIndices().__inner[v+1]);var aq=ao+(ap-ao)*aj;ak=d.getScaledValue(aq,h)+l;an=e.getScaledValue(an,i);a.f.add(function(){var $ret=new Array;$ret.add(ak);$ret.add(an);$ret.add(an);return $ret}())}if(j){w=function(){var $ret=new Array;$ret.add(ag);$ret.add(ah);$ret.add(ah);return $ret}()}if(j&&this.l5(a,w,t,Math.min(x,this.eb().g()-1),k,f)){++k}}this.js().dm().g(k)},l5:function(a,b,c,d,e,f){var g=b[0];var h=b[1];var i=new $.ig.Rect(0,g-5,h-5,11,11);if(!isNaN(g)&&!isNaN(h)&&c.tryAdd(i)){a.h.add({__x:g,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var j=f.dm().item(e);$.ig.util.cast($.ig.DataContext.prototype.$type,j.content()).item(this.eb().item(d));return true}return false},j3:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j3.call(this,a,b);if(a.f.count()<=1){return}if(b.dl().h()==0){return}var c=b.ae();var d=b.ad();var e=this.xAxis();var f=this.yAxis();var g=new $.ig.ScalerParams(c,d,e.isInverted());var h=new $.ig.ScalerParams(c,d,f.isInverted());a.f.clear();a.h.clear();var i=this.i8();var j=0;var k=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());if(k!=null&&k.sortedIndices().count()!=this.eb().g()){return}var l=this.l7(e,c,d);var n=function(m){return m};var p=function(o){return $self.valueColumn().item(o)};var q=b.dl().h();if((this.ly()==null||this.ly().length!=this.valueColumn().count())&&q==1){var r=this.splineType()==$.ig.SplineType.prototype.natural?NaN:0;if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).sortedIndices()!=null){var s=new $.ig.SafeSortedReadOnlyDoubleCollection(this.valueColumn(),$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).sortedIndices());p=function(t){return s.item(t)}}this.ly($.ig.Numeric.prototype.c(this.valueColumn().count(),n,p,r,r))}var u=b.dl().g();var v=b.dl().f();var w=Math.ceil(d.width()/(u-v));var x=new $.ig.CollisionAvoider;if(k!=null){this.l4(a,c,d,e,f,b);return}var y=b;y.d7();for(var z=v;z<=u;++z){var aa=null;if(q==1){if(z>=this.valueColumn().count()-1){if(i&&this.l5(a,a.f.__inner[a.f.count()-1],x,Math.min(z*q,this.eb().g()-1),j,b)){++j}break}var ab=n(z);var ac=p(z);var ad=n(z+1);var ae=p(z+1);var af=ad-ab;var ag=this.ly()[z];var ah=this.ly()[z+1];var ai=e.getScaledValue(ab,g)+l;var aj=f.getScaledValue(ac,h);a.f.add(function(){var $ret=new Array;$ret.add(ai);$ret.add(aj);$ret.add(aj);return $ret}());for(var ak=1;ak<w;++ak){var al=ab+af*ak/w;var am=(ad-al)/af;var an=(al-ab)/af;var ao=am*ac+an*ae+((am*am*am-am)*ag+(an*an*an-an)*ah)*af*af/6;al=e.getScaledValue(al,g)+l;ao=f.getScaledValue(ao,h);a.f.add(function(){var $ret=new Array;$ret.add(al);$ret.add(ao);$ret.add(ao);return $ret}())}if(i){aa=b.dl().getBucket(z);aa[0]=e.getScaledValue(aa[0],g)+l;aa[1]=f.getScaledValue(aa[1],h);aa[2]=f.getScaledValue(aa[2],h)}}else{aa=b.dl().getBucket(z);if(!isNaN(aa[0])){aa[0]=e.getScaledValue(aa[0],g)+l;aa[1]=f.getScaledValue(aa[1],h);aa[2]=f.getScaledValue(aa[2],h);a.f.add(aa)}}if(i&&this.l5(a,aa,x,Math.min(z*q,this.eb().g()-1),j,b)){++j}}y.d8();b.dm().g(j)},l6:function(a,b,c,d,e,f,g){var h=d-b;var i=b+h*a;var j=(d-i)/h;var k=(i-b)/h;var l=j*c+k*e+((j*j*j-j)*f+(k*k*k-k)*g)*h*h/6;return l},e1:function(a,b,c,d,e,f,g,h){var i=NaN;if(c>=0&&c<b.count()){i=b.item(c)}var j=NaN;if(d>=0&&d<b.count()){j=b.item(d)}if(f==0){return j}if(e==b.count()-1){return i}if(isNaN(j)&&g!=0&&a<=.5&&!h){return i}if(isNaN(i)&&g!=0&&a>=.5&&!h){return j}var k=e;var l=f;var m=i;var n=j;var o=NaN;var p=NaN;if(this.ly()!=null&&e>=0&&e<this.ly().length){o=this.ly()[e]}if(this.ly()!=null&&f>=0&&f<this.ly().length){p=this.ly()[f]}return this.l6(a,k,m,l,n,o,p)},l7:function(a,b,c){var d=this.preferredCategoryMode(a);if(d==$.ig.CategoryMode.prototype.mode0&&a.categoryMode()!=$.ig.CategoryMode.prototype.mode0){d=$.ig.CategoryMode.prototype.mode1}var e=0;switch(d){case $.ig.CategoryMode.prototype.mode0:e=0;break;case $.ig.CategoryMode.prototype.mode1:e=.5*a.getCategorySize(b,c);break;case $.ig.CategoryMode.prototype.mode2:e=a.getGroupCenter(this.index(),b,c);break}if(a.isInverted()){e=-e}return e},splineType:function(a){if(arguments.length===1){this.c($.ig.SplineSeriesBase.prototype.splineTypeProperty,a);return a}else{return this.b($.ig.SplineSeriesBase.prototype.splineTypeProperty)}},l8:function(){this.ly(null)},ft:function(a,b,c,d){switch(b){case $.ig.SplineSeriesBase.prototype.kc:case $.ig.SplineSeriesBase.prototype.bl:this.l8();break}$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.SplineSeriesBase.prototype.lr:this.l8();this.renderSeries(false);this.fs();break}},fz:function(a,b,c,d){this.l8();$.ig.HorizontalAnchoredCategorySeries.prototype.fz.call(this,a,b,c,d)},$type:new $.ig.Type("SplineSeriesBase",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("SplineAreaSeries","SplineSeriesBase",{et:function(){return new $.ig.SplineAreaSeriesView(this)},eq:function(a){$.ig.SplineSeriesBase.prototype.eq.call(this,a);this.md(a)},_md:null,md:function(a){if(arguments.length===1){this._md=a;return a}else{return this._md}},init:function(){$.ig.SplineSeriesBase.prototype.init.call(this);this.a3($.ig.SplineAreaSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.el()},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=this.js().dl().h();var d=$.ig.util.cast($.ig.SplineAreaSeriesView.prototype.$type,b);var e=a.f;d.em(a.f.count(),e,true,c,this.resolution(),function(f,g,h,i,j){return $self.k4(f,a.f.count(),b)},$.ig.UnknownValuePlotting.prototype.dontPlot);var k=this.j7();d.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),k.referenceValue(),k.actualMinimumValue(),k.actualMaximumValue());d.cc(a.f)},$type:new $.ig.Type("SplineAreaSeries",$.ig.SplineSeriesBase.prototype.$type)},true);$.ig.util.defType("SplineSeries","SplineSeriesBase",{et:function(){return new $.ig.SplineSeriesView(this)},eq:function(a){$.ig.SplineSeriesBase.prototype.eq.call(this,a);this.md(a)},_md:null,md:function(a){if(arguments.length===1){this._md=a;return a}else{return this._md}},init:function(){$.ig.SplineSeriesBase.prototype.init.call(this);this.a3($.ig.SplineSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.ek()},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=this.js().dl().h();var d=$.ig.util.cast($.ig.SplineSeriesView.prototype.$type,b);var e=a.f;d.el(e.count(),e,true,$.ig.UnknownValuePlotting.prototype.dontPlot,this.k5(e,e.count()-1,b.ad(),b.ae()),c,this.resolution());d.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),NaN,NaN,NaN)},$type:new $.ig.Type("SplineSeries",$.ig.SplineSeriesBase.prototype.$type)},true);$.ig.util.defType("SplineSeriesView","SplineSeriesBaseView",{_eh:null,eh:function(a){if(arguments.length===1){this._eh=a;return a}else{return this._eh}},init:function(a){this.ed=new $.ig.Path;this.ee=new $.ig.Path;this.ef=new $.ig.Path;$.ig.SplineSeriesBaseView.prototype.init.call(this,a);this.eh(a)},ed:null,ee:null,ef:null,ek:function(){this.ee.bn(null);this.ed.bn(null);this.ef.bn(null);this.ar()},el:function(a,b,c,d,e,f,g){this.dy().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.dy().kt().i(this.ed,this.ee,this.ef,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ed.__stroke=this.w().actualBrush();this.ed.a5(this.w().thickness());this.ed.a6(this.w().dashArray());this.ed.a7(this.w().dashCap());this.ef.__stroke=this.w().actualBrush();this.ef.a5(this.w().thickness());this.ef.a6(this.w().dashArray());this.ef.a7(this.w().dashCap());this.ee.__fill=this.w().actualBrush();this.ee.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ed.__stroke=a;this.ed.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ef.__stroke=a;this.ef.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ee.__fill=a;this.ee.__opacity=.75},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.eh().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ee);a.g(this.ed);a.g(this.ef)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ed);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.ef);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ee);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("SplineSeriesView",$.ig.SplineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("StepAreaSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.StepAreaSeriesView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.ls(a)},_ls:null,ls:function(a){if(arguments.length===1){this._ls=a;return a}else{return this._ls}},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.StepAreaSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode1},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eh()},lv:function(a,b,c,d,e){if(b){if(e){if((a&1)==0||$.ig.intDivide(a,2)+1>=c.f.count()){return c.f.__inner[$.ig.intDivide(a,2)][0]}return c.f.__inner[$.ig.intDivide(a,2)+1][0]}return c.f.__inner[$.ig.intDivide(a,2)][0]+((a&1)==1?-d:d)}if(e){if((a&1)==0||$.ig.intDivide(a,2)+1>=c.f.count()){return c.f.__inner[$.ig.intDivide(a,2)][0]}return c.f.__inner[$.ig.intDivide(a,2)+1][0]}return c.f.__inner[$.ig.intDivide(a,2)][0]+((a&1)==0?-d:d)},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var c=b.ae();var d=b.ad();var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!=null;var f=this.xAxis()!=null?.5*this.xAxis().getCategorySize(c,d):0;if(this.xAxis()!=null&&this.xAxis().isInverted()){f=-f}var g=a.f.count()*2;var h=new $.ig.List$1($.ig.Array.prototype.$type,2,g);for(var i=0;i<g;i++){var j=new Array(4);j[0]=this.lv(i,false,a,f,e);j[1]=a.f.__inner[$.ig.intDivide(i,2)][1];j[2]=this.lv(i,true,a,f,e);j[3]=a.f.__inner[$.ig.intDivide(i,2)][2];h.add(j)}var k=this.js().dl().h();var l=$.ig.util.cast($.ig.StepAreaSeriesView.prototype.$type,b);l.ei(g,h,false,k,this.resolution(),function(m,n,o,p,q){return $self.k4(m,2*a.f.count(),b)},$.ig.UnknownValuePlotting.prototype.dontPlot);var r=this.j7();l.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),r.referenceValue(),r.actualMinimumValue(),r.actualMaximumValue())},currentCategoryMode:function(){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){this.xAxis().categoryMode($.ig.CategoryMode.prototype.mode0);return $.ig.CategoryMode.prototype.mode0}return $.ig.CategoryMode.prototype.mode1},$type:new $.ig.Type("StepAreaSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type])},true);$.ig.util.defType("StepAreaSeriesView","AnchoredCategorySeriesView",{_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},init:function(a){this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;this.ec=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ee(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},d9:null,ea:null,eb:null,ec:null,eh:function(){this.d9.bn(null);this.eb.bn(null);this.ea.bn(null);this.ec.bn(null);this.ar()},ei:function(a,b,c,d,e,f,g){this.dy().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.dy().kt().p(this.d9,this.ea,this.eb,this.ec,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__fill=this.w().actualBrush();this.eb.__fill=this.w().actualBrush();this.eb.__opacity=.5;this.ea.__stroke=this.w().actualOutline();this.ea.a5(this.w().thickness());this.ea.a6(this.w().dashArray());this.ea.a7(this.w().dashCap());this.ec.__stroke=this.w().actualOutline();this.ec.a5(this.w().thickness());this.ec.a6(this.w().dashArray());this.ec.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__fill=a;this.eb.__fill=a;this.eb.__opacity=1;this.ea.__stroke=a;this.ea.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ec.__stroke=a;this.ec.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ee().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.d9);a.g(this.eb);a.g(this.ea);a.g(this.ec)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ea);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.ec);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.d9);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.eb);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("StepAreaSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("StepLineSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.StepLineSeriesView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.ls(a)},_ls:null,ls:function(a){if(arguments.length===1){this._ls=a;return a}else{return this._ls}},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.StepLineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode1},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eg()},lv:function(a,b,c,d,e,f){var g;if(b){if(f){g=(a&1)==0;if(g||$.ig.intDivide(a,2)+1<0){return c.f.__inner[$.ig.intDivide(a,2)][0]}if(c.f.count()==$.ig.intDivide(a,2)+1){return c.f.__inner[$.ig.intDivide(a,2)][0]}return c.f.__inner[$.ig.intDivide(a,2)+1][0]}g=(a&1)==0;return c.f.__inner[$.ig.intDivide(a,2)][0]+(g?d:-d)}if(f){g=(a&1)==0;if(g||$.ig.intDivide(a,2)+1>=c.f.count()){return c.f.__inner[$.ig.intDivide(a,2)][0]}if(c.f.count()==$.ig.intDivide(a,2)+1){return c.f.__inner[$.ig.intDivide(a,2)][0]}return c.f.__inner[$.ig.intDivide(a,2)+1][0]}g=(a&1)==0;return c.f.__inner[$.ig.intDivide(a,2)][0]+(g?-d:d)},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);
var c=b.ae();var d=b.ad();var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!=null;var f=this.xAxis().isInverted();var g=0;if(this.xAxis()!=null){g=.5*this.xAxis().getCategorySize(c,d)}var h=a.f;var i=2*h.count();var j=new $.ig.List$1($.ig.Array.prototype.$type,2,i);if(!this.xAxis().isInverted()){for(var k=0;k<i;k++){var l=new Array(4);l[0]=this.lv(k,false,a,g,f,e);l[1]=a.f.__inner[$.ig.intDivide(k,2)][1];l[2]=this.lv(k,true,a,g,f,e);l[3]=a.f.__inner[$.ig.intDivide(k,2)][2];j.add(l)}}else{for(var m=0;m<i;m++){var n=new Array(4);n[0]=this.lv(m,true,a,g,f,e);n[1]=a.f.__inner[$.ig.intDivide(m,2)][1];n[2]=this.lv(m,true,a,g,f,e);n[3]=a.f.__inner[$.ig.intDivide(m,2)][2];j.add(n)}}var o=$.ig.util.cast($.ig.StepLineSeriesView.prototype.$type,b);var p=o.dl().h();o.eh(i,j,false,$.ig.UnknownValuePlotting.prototype.dontPlot,this.k5(j,i-1,b.ad(),b.ae()),p,this.resolution());o.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),NaN,NaN,NaN)},currentCategoryMode:function(){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){this.xAxis().categoryMode($.ig.CategoryMode.prototype.mode0);return $.ig.CategoryMode.prototype.mode0}return $.ig.CategoryMode.prototype.mode1},$type:new $.ig.Type("StepLineSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type])},true);$.ig.util.defType("StepLineSeriesView","AnchoredCategorySeriesView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ed(a)},d9:null,ea:null,eb:null,eg:function(){this.ea.bn(null);this.d9.bn(null);this.eb.bn(null);this.ar()},eh:function(a,b,c,d,e,f,g){this.dy().kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.dk().j6())!==null?true:false);this.dy().kt().i(this.d9,this.ea,this.eb,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__stroke=this.w().actualBrush();this.d9.a5(this.w().thickness());this.d9.a6(this.w().dashArray());this.d9.a7(this.w().dashCap());this.eb.__stroke=this.w().actualBrush();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap());this.ea.__fill=this.w().actualBrush();this.ea.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__stroke=a;this.d9.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ea.__fill=a;this.ea.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ed().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ea);a.g(this.d9);a.g(this.eb)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.d9);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.eb);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ea);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("StepLineSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("WaterfallSeries","HorizontalAnchoredCategorySeries",{et:function(){return new $.ig.WaterfallSeriesView(this)},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.ly(a)},_ly:null,ly:function(a){if(arguments.length===1){this._ly=a;return a}else{return this._ly}},init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.a3($.ig.WaterfallSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},negativeBrush:function(a){if(arguments.length===1){this.c($.ig.WaterfallSeries.prototype.negativeBrushProperty,a);return a}else{return this.b($.ig.WaterfallSeries.prototype.negativeBrushProperty)}},radiusX:function(a){if(arguments.length===1){this.c($.ig.WaterfallSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.WaterfallSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.WaterfallSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.WaterfallSeries.prototype.radiusYProperty)}},ft:function(a,b,c,d){$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.WaterfallSeries.prototype.lt:case $.ig.WaterfallSeries.prototype.ls:case $.ig.WaterfallSeries.prototype.lr:this.renderSeries(false);break}},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.ef()},j2:function(a,b){var $self=this;var c=b;c.ef();$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var d=c.eg();var e=c.eh();var f=b.ae();var g=b.ad();var h=this.xAxis().he(f,g);var i=this.radiusX();var j=this.radiusY();var k;var l;var m;var n=this.k3(b);var o=NaN;if(a.f.count()>0){m=a.f.__inner[0][0]-.5*h;var p=a.f.__inner[0][1];if(!isNaN(p)){if(p>n){l=new $.ig.Rect(0,m,n,h,Math.abs(n-p));k=function(){var $ret=new $.ig.RectangleGeometry;$ret.f(l);$ret.g(i);$ret.h(j);return $ret}();e.e().add(k)}else{l=new $.ig.Rect(0,m,p,h,Math.abs(p-n));k=function(){var $ret=new $.ig.RectangleGeometry;$ret.f(l);$ret.g(i);$ret.h(j);return $ret}();d.e().add(k)}o=p}else{o=n}}for(var q=1;q<a.f.count();++q){var r=a.f.__inner[q];m=a.f.__inner[q][0]-.5*h;var s=r[1];if(!isNaN(s)){l=new $.ig.Rect(0,m,Math.min(o,s),h,Math.abs(o-s));k=function(){var $ret=new $.ig.RectangleGeometry;$ret.f(l);$ret.g(i);$ret.h(j);return $ret}();(o>s?d:e).e().add(k);o=s}}c.cb(this.valueColumn().minimum(),this.valueColumn().maximum(),this.yAxis().referenceValue(),this.yAxis().actualMinimumValue(),this.yAxis().actualMaximumValue())},$type:new $.ig.Type("WaterfallSeries",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("WaterfallSeriesView","AnchoredCategorySeriesView",{_ec:null,ec:function(a){if(arguments.length===1){this._ec=a;return a}else{return this._ec}},init:function(a){this.d9=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();this.ea=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ec(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.ec().negativeBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#415460";return $ret}());this.ec().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.r);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},d9:null,ea:null,ef:function(){var a=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.d9.bn());var b=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.ea.bn());a.e().clear();b.e().clear()},eg:function(){this.ar();return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.d9.bn())},eh:function(){return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.ea.bn())},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__fill=this.w().actualBrush();this.d9.__stroke=this.w().actualOutline();this.d9.a5(this.w().thickness());this.d9.a6(this.w().dashArray());this.d9.a7(this.w().dashCap());this.ea.__fill=this.ec().negativeBrush();this.ea.__stroke=this.w().actualOutline();this.ea.a5(this.w().thickness());this.ea.a6(this.w().dashArray());this.ea.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__fill=a;this.d9.__stroke=a;this.d9.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ea.__fill=a;this.ea.__stroke=a;this.ea.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ec().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.d9);a.g(this.ea)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"positivePathShape",this.d9);b.tags().add("Positive");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"negativePathShape",this.ea);c.tags().add("Negative");a.shapes().add(b);a.shapes().add(c)},$type:new $.ig.Type("WaterfallSeriesView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("MarkerTemplates","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){a.beginPath();var c=b.actualItemBrush();var d=b.outline();if(c!=null&&a.fillStyle!=c.__fill){a.fillStyle=c.__fill}if(b.outline()!=null&&a.strokeStyle!=d.__fill){a.strokeStyle=b.outline().__fill;a.lineWidth=b.thickness()}},b:function(a,b){if(b.actualItemBrush()!=null){a.fill()}if(b.outline()!=null){a.stroke()}a.closePath()},c:function(a){a.isConstant=true;a.width=8;a.height=8},d:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=Math.min(a.availableWidth,a.availableHeight)/2;b.arc(a.xPosition,a.yPosition,d,0,Math.PI*2,false);$.ig.MarkerTemplates.prototype.b(b,c)},e:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f,g);b.lineTo(f+e,g+a.availableHeight);b.lineTo(f+a.availableWidth,g+0);b.lineTo(f,g);$.ig.MarkerTemplates.prototype.b(b,c)},f:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f,g+a.availableHeight);b.lineTo(f+e,g+0);b.lineTo(f+a.availableWidth,g+a.availableHeight);b.lineTo(f,g+a.availableHeight);$.ig.MarkerTemplates.prototype.b(b,c)},g:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.rect(f,g,a.availableWidth,a.availableHeight);$.ig.MarkerTemplates.prototype.b(b,c)},h:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var left_=a.xPosition-e;var top_=a.yPosition-d;b.rect(left_|0,top_|0,a.availableWidth,a.availableHeight);$.ig.MarkerTemplates.prototype.b(b,c)},i:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+0,g+d);b.lineTo(f+e,g+a.availableHeight);b.lineTo(f+a.availableWidth,g+d);b.lineTo(f+e,g+0);b.lineTo(f+0,g+d);$.ig.MarkerTemplates.prototype.b(b,c)},j:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+4/8*a.availableWidth,g+0);b.lineTo(f+.1956/8*a.availableWidth,g+2.764/8*a.availableHeight);b.lineTo(f+1.65/8*a.availableWidth,g+7.236/8*a.availableHeight);b.lineTo(f+6.35/8*a.availableWidth,g+7.236/8*a.availableHeight);b.lineTo(f+7.8044/8*a.availableWidth,g+2.764/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+0);$.ig.MarkerTemplates.prototype.b(b,c)},k:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+4/8*a.availableWidth,g+0);b.lineTo(f+.356/8*a.availableWidth,g+2/8*a.availableHeight);b.lineTo(f+.356/8*a.availableWidth,g+6/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+a.availableHeight);b.lineTo(f+7.464/8*a.availableWidth,g+6/8*a.availableHeight);b.lineTo(f+7.464/8*a.availableWidth,g+2/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+0);$.ig.MarkerTemplates.prototype.b(b,c)},l:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+4/8*a.availableWidth,g+0);b.lineTo(f+2.5856/8*a.availableWidth,g+2.5856/8*a.availableHeight);b.lineTo(f+0/8*a.availableWidth,g+4/8*a.availableHeight);b.lineTo(f+2.5856/8*a.availableWidth,g+5.4144/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+8/8*a.availableHeight);b.lineTo(f+5.4144/8*a.availableWidth,g+5.4144/8*a.availableHeight);b.lineTo(f+8/8*a.availableWidth,g+4/8*a.availableHeight);b.lineTo(f+5.4144/8*a.availableWidth,g+2.5856/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+0);$.ig.MarkerTemplates.prototype.b(b,c)},m:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+4/8*a.availableWidth,g+0);b.lineTo(f+2.8244/8*a.availableWidth,g+2.382/8*a.availableHeight);b.lineTo(f+.1956/8*a.availableWidth,g+2.764/8*a.availableHeight);b.lineTo(f+2.098/8*a.availableWidth,g+4.618/8*a.availableHeight);b.lineTo(f+1.6488/8*a.availableWidth,g+7.236/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+6/8*a.availableHeight);b.lineTo(f+6.3512/8*a.availableWidth,g+7.236/8*a.availableHeight);b.lineTo(f+5.902/8*a.availableWidth,g+4.618/8*a.availableHeight);b.lineTo(f+7.8044/8*a.availableWidth,g+2.764/8*a.availableHeight);b.lineTo(f+5.1756/8*a.availableWidth,g+2.382/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+0);$.ig.MarkerTemplates.prototype.b(b,c)},n:function(a){var b=a.context;var c=a.data;$.ig.MarkerTemplates.prototype.a(b,c);var d=a.availableHeight/2;var e=a.availableWidth/2;var f=a.xPosition-e;var g=a.yPosition-d;b.moveTo(f+4/8*a.availableWidth,g+0);b.lineTo(f+3/8*a.availableWidth,g+2.268/8*a.availableHeight);b.lineTo(f+.536/8*a.availableWidth,g+2/8*a.availableHeight);b.lineTo(f+2/8*a.availableWidth,g+4/8*a.availableHeight);b.lineTo(f+.536/8*a.availableWidth,g+6/8*a.availableHeight);b.lineTo(f+3/8*a.availableWidth,g+5.732/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+8/8*a.availableHeight);b.lineTo(f+5/8*a.availableWidth,g+5.732/8*a.availableHeight);b.lineTo(f+7.464/8*a.availableWidth,g+6/8*a.availableHeight);b.lineTo(f+6/8*a.availableWidth,g+4/8*a.availableHeight);b.lineTo(f+7.464/8*a.availableWidth,g+2/8*a.availableHeight);b.lineTo(f+5/8*a.availableWidth,g+2.268/8*a.availableHeight);b.lineTo(f+4/8*a.availableWidth,g+0);$.ig.MarkerTemplates.prototype.b(b,c)},$type:new $.ig.Type("MarkerTemplates",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataSourceManager","Object",{a:null,b:null,c:null,d:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Object.prototype.$type,0);this.b=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Object.prototype.$type,0);this.c=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Number.prototype.$type,0);this.d=new $.ig.Dictionary$2(String,$.ig.Object.prototype.$type,0)},e:function(target_,dataSource_){if(this.a.containsKey(target_)){this.f(target_)}this.a.add(target_,dataSource_);var arr_=dataSource_.dataView();if(this.b.containsKey(arr_)){this.b.remove(arr_)}this.b.add(arr_,dataSource_);var a=dataSource_.id;if(this.d.containsKey(a)){this.d.remove(a)}this.d.add(a,dataSource_);if(!this.c.containsKey(dataSource_)){this.c.add(dataSource_,1)}else{this.c.item(dataSource_,this.c.item(dataSource_)+1)}target_.itemsSource(arr_)},f:function(a){var curr_=target_.itemsSource();this.a.remove(a);if(!this.b.containsKey(curr_)){return}var ds_=this.b.item(curr_);this.c.item(ds_,this.c.item(ds_)-1);if(this.c.item(ds_)==0){this.c.remove(ds_);this.b.remove(curr_);var b=ds_.id;this.d.remove(b)}},$type:new $.ig.Type("DataSourceManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PieChartBase","Control",{ef:function(){return new $.ig.PieChartBaseView(this)},eg:function(a){this.d0(a)},_d0:null,d0:function(a){if(arguments.length===1){this._d0=a;return a}else{return this._d0}},init:function(){var $self=this;this.cb=false;this.cc=false;this.cd=false;this.ce=false;this.cf=false;this.co=new $.ig.IndexCollection;this.cp=new $.ig.IndexCollection;this.cv=null;$.ig.Control.prototype.init.call(this);this.ee($.ig.Rect.prototype.empty());var a=this.ef();this.eg(a);a.aq();this.a3($.ig.PieChartBase.prototype.$type);this.d5(new $.ig.List$1($.ig.Number.prototype.$type,0));this.d6(new $.ig.List$1($.ig.Number.prototype.$type,0));this.d7(new $.ig.List$1($.ig.Object.prototype.$type,0));this.cg=function(b,c){$self.fy(b,c.propertyName(),c.oldValue(),c.newValue())};this.ch=function(d,e){$self.fp();$self.fv()};this.cj=function(f,g){if($self.allowSliceExplosion()){$self.fl();$self.fm();$self.fp();$self.fq()}};this.ci=function(h,i){$self.fz(i)};this.ck=function(j,k){$self.fi(k.action(),k.position(),k.count(),k.propertyName())};this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,this.cg);this.selectedSlices().collectionChanged=$.ig.Delegate.prototype.combine(this.selectedSlices().collectionChanged,this.ci);this.ce=true;this.explodedSlices().collectionChanged=$.ig.Delegate.prototype.combine(this.explodedSlices().collectionChanged,this.cj);this.cf=true;this.cr=function(){var $ret=new $.ig.Pool$1($.ig.Slice.prototype.$type);$ret.create($self.d0().bs.runOn($self.d0()));$ret.activate($self.d0().bt.runOn($self.d0()));$ret.disactivate($self.d0().bu.runOn($self.d0()));$ret.destroy($self.d0().bv.runOn($self.d0()));return $ret}();this.cs=function(){var $ret=new $.ig.Pool$1($.ig.PieLabel.prototype.$type);$ret.create($self.d0().by.runOn($self.d0()));$ret.activate($self.d0().bz.runOn($self.d0()));$ret.disactivate($self.d0().b0.runOn($self.d0()));$ret.destroy($self.d0().b1.runOn($self.d0()));return $ret}()},cb:null,cc:null,cd:null,ce:null,cf:null,cg:null,ch:null,ci:null,cj:null,ck:null,d1:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.cl,a);return a}else{return this.b($.ig.PieChartBase.prototype.cl)}},cm:null,d2:function(a){if(arguments.length===1){if(this.cm!=a){var b=this.cm;this.cm=a;this.f0($.ig.PieChartBase.prototype.bf,b,this.cm)}return a}else{return this.cm}},_d3:null,d3:function(a){if(arguments.length===1){this._d3=a;return a}else{return this._d3}},_d4:null,d4:function(a){if(arguments.length===1){this._d4=a;return a}else{return this._d4}},_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},_d6:null,d6:function(a){if(arguments.length===1){this._d6=a;return a}else{return this._d6}},_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},_d8:null,d8:function(a){if(arguments.length===1){this._d8=a;return a}else{return this._d8}},_d9:null,d9:function(a){if(arguments.length===1){this._d9=a;return a}else{return this._d9}},ea:function(){return this.innerExtent()},itemsSource:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.itemsSourceProperty)}},innerExtent:function(a){if(arguments.length===1){var b=a;if(isNaN(a)||Number.isInfinity(a)){b=0}if(a<0){b=0}if(a>100){b=100}this.c($.ig.PieChartBase.prototype.innerExtentProperty,b);return a}else{return this.b($.ig.PieChartBase.prototype.innerExtentProperty)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.valueMemberPathProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.labelMemberPathProperty)}},cn:null,eb:function(a){if(arguments.length===1){if(this.cn!=a){var b=this.eb();this.cn=a;this.f0($.ig.PieChartBase.prototype.bk,b,this.eb())}return a}else{return this.cn}},labelsPosition:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.labelsPositionProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.labelsPositionProperty)}},leaderLineVisibility:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.leaderLineVisibilityProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.leaderLineVisibilityProperty)}},leaderLineStyle:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.leaderLineStyleProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.leaderLineStyleProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.toolTipProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.toolTipProperty)}},othersCategoryThreshold:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.othersCategoryThresholdProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.othersCategoryThresholdProperty)}},othersCategoryType:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.othersCategoryTypeProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.othersCategoryTypeProperty)}},othersCategoryText:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.othersCategoryTextProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.othersCategoryTextProperty)}},explodedRadius:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.explodedRadiusProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.explodedRadiusProperty)}},ec:function(){var b=this.explodedRadius();if(isNaN(b)||Number.isInfinity(b)||b<0){return 0}if(b>1){return 1}return b},radiusFactor:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.radiusFactorProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.radiusFactorProperty)}},ed:function(){var b=this.radiusFactor();if(isNaN(b)||Number.isInfinity(b)||b<0){return 0}if(b>1){return 1}return b},allowSliceSelection:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.allowSliceSelectionProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.allowSliceSelectionProperty)}},allowSliceExplosion:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.allowSliceExplosionProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.allowSliceExplosionProperty)}},explodedSlices:function(a){if(arguments.length===1){this.co.collectionChanged=$.ig.Delegate.prototype.remove(this.co.collectionChanged,this.cj);this.cf=false;this.co=a;if(this.co!=null){this.co.collectionChanged=$.ig.Delegate.prototype.combine(this.co.collectionChanged,this.cj);this.cf=true}if(this.allowSliceExplosion()){this.fl();this.fm();this.fp();this.fq()}return a}else{return this.co}},co:null,legend:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.legendProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.legendProperty)}},labelExtent:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.labelExtentProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.labelExtentProperty)}},startAngle:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.startAngleProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.startAngleProperty)}},sweepDirection:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.sweepDirectionProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.sweepDirectionProperty)}},selectedSlices:function(a){if(arguments.length===1){this.cp.collectionChanged=$.ig.Delegate.prototype.remove(this.cp.collectionChanged,this.ci);this.ce=false;this.cp=a;if(this.cp!=null){this.cp.collectionChanged=$.ig.Delegate.prototype.combine(this.cp.collectionChanged,this.ci);this.ce=true}if(this.allowSliceSelection()){this.fl();this.fm();this.fp();this.fq();this.fv()}return a}else{return this.cp}},cp:null,othersCategoryStyle:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.othersCategoryStyleProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.othersCategoryStyleProperty)}},selectedStyle:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.selectedStyleProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.selectedStyleProperty)}},toolTipStyle:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.toolTipStyleProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.toolTipStyleProperty)}},brushes:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.brushesProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.brushesProperty)}},outlines:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.outlinesProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.outlinesProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.legendItemTemplateProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.legendItemTemplateProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.legendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.legendItemBadgeTemplateProperty)}},labelTemplate:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.labelTemplateProperty,a);return a}else{return $.ig.util.cast($.ig.DataTemplate.prototype.$type,this.b($.ig.PieChartBase.prototype.labelTemplateProperty))}},isSurfaceInteractionDisabled:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.isSurfaceInteractionDisabledProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.isSurfaceInteractionDisabledProperty)}},formatLabel:function(a){if(arguments.length===1){this.c($.ig.PieChartBase.prototype.formatLabelProperty,a);return a}else{return this.b($.ig.PieChartBase.prototype.formatLabelProperty)}},sliceClick:null,e6:function(a,b){if(this.sliceClick!=null){this.sliceClick(a,b)}},cr:null,cs:null,e7:function(a,b){if(!this.explodedSlices().contains(a.c7())&&b){this.explodedSlices().add(a.c7())}if(this.explodedSlices().contains(a.c7())&&!b){this.explodedSlices().remove(a.c7())}},e8:function(a,b){if(!this.selectedSlices().contains(a.c7())&&b){this.selectedSlices().add(a.c7())}if(this.selectedSlices().contains(a.c7())&&!b){this.selectedSlices().remove(a.c7())}},e9:function(a){this.d0().b2(a)},fa:function(a){return this.d0().b3(a)},fb:function(a,b){var c=new $.ig.Rect(0,0,0,0,0);return c},fc:function(a,b){var c=a.bi();if(c==null){return false}var d=c.eq();var e=this.sweepDirection()==$.ig.SweepDirection.prototype.clockwise?c.cy():c.cz();var f=this.sweepDirection()==$.ig.SweepDirection.prototype.clockwise?c.cz():c.cy();var g=false;var h=false;var i=$.ig.GeometryUtil.prototype.g(d,e,c.c5());var j=$.ig.GeometryUtil.prototype.g(d,f,c.c5());e=$.ig.PieChartBase.prototype.ff(i.__x,d.__x,i.__y,d.__y);f=$.ig.PieChartBase.prototype.ff(j.__x,d.__x,j.__y,d.__y);if(this.fe(c)){h=true}var k;k=$.ig.MathUtil.prototype.f(a.bj().right()-d.__x,a.bj().top()-d.__y);if(k>c.c5()){return false}k=$.ig.MathUtil.prototype.f(a.bj().right()-d.__x,a.bj().bottom()-d.__y);if(k>c.c5()){return false}k=$.ig.MathUtil.prototype.f(a.bj().left()-d.__x,a.bj().top()-d.__y);if(k>c.c5()){return false}k=$.ig.MathUtil.prototype.f(a.bj().left()-d.__x,a.bj().bottom()-d.__y);if(k>c.c5()){return false}if(h){return true}if(e>f){e=e-360;g=true}var l;l=$.ig.PieChartBase.prototype.ff(a.bj().right(),d.__x,a.bj().top(),d.__y);if(g&&l>180&&l<360){l=l-360}if(l<e||l>f){return false}l=$.ig.PieChartBase.prototype.ff(a.bj().right(),d.__x,a.bj().bottom(),d.__y);if(g&&l>180&&l<360){l=l-360}if(l<e||l>f){return false}l=$.ig.PieChartBase.prototype.ff(a.bj().left(),d.__x,a.bj().top(),d.__y);if(g&&l>180&&l<360){l=l-360}if(l<e||l>f){return false}l=$.ig.PieChartBase.prototype.ff(a.bj().left(),d.__x,a.bj().bottom(),d.__y);if(g&&l>180&&l<360){l=l-360}if(l<e||l>f){return false}return true},fd:function(a){var b=Math.round(a*Math.pow(10,5))/Math.pow(10,5);return b},fe:function(a){return $.ig.PieChartBase.prototype.fd(Math.abs(a.cz()-a.cy()))==360},ff:function(a,b,c,d){var e=$.ig.MathUtil.prototype.f(a-b,c-d);var f=Math.asin((c-d)/e)*180/Math.PI;if(a<b){f=180-f}if(a>b){f=360+f}if(f==360){f=0}return $.ig.GeometryUtil.prototype.a(f)},fg:function(a){for(var b=0;b<a.count();b++){for(var c=b+1;c<a.count();c++){if(a.__inner[b].bj().top()>a.__inner[c].bj().top()){var d=a.__inner[b];a.__inner[b]=a.__inner[c];a.__inner[c]=d}}}},fh:function(a){if(a.count()==0){return}var b=this.d0().af().width();var c=this.d0().af().height();var d=a.count();var e=a.__inner[0].bi().c5();var f=a.__inner[0].bi().eq();var g=true;var h=0;var i=Number.POSITIVE_INFINITY;var j=Number.NEGATIVE_INFINITY;for(var k=0;k<d-1;k++){var l=a.__inner[k];var m=a.__inner[k+1];if(l.bj().intersectsWith(m.bj())){h++}}var n=0;var p=a.getEnumerator();while(p.moveNext()){var o=p.current();i=Math.min(i,o.bj().height());j=Math.max(j,o.bj().height());n+=o.bj().height()}if(n>c){g=false}if(g&&h>0){for(var q=0;q<d-1;q++){for(var r=q+1;r<d;r++){var s=a.__inner[q];var t=a.__inner[r];if(s.bj().intersectsWith(t.bj())){var u=t.bj();u.y(Math.min(s.bj().bottom()+.01,c-i));var v=this.labelExtent()+e;var w=Math.abs(f.__y-(u.y()+i/2));var x=Math.sqrt(Math.abs(v*v-w*w));var y=$.ig.GeometryUtil.prototype.a(t.bk());if(y>90&&y<270){x=(u.width()+x)*-1}u.x(f.__x+x);t.bj(u)}}}for(var z=d-1;z>0;z--){for(var aa=z-1;aa>=0;aa--){var ab=a.__inner[z];var ac=a.__inner[aa];if(ab.bj().intersectsWith(ac.bj())){var ad=ac.bj();ad.y(Math.max(ab.bj().top()-i-.01,0));var ae=this.labelExtent()+e;var af=Math.abs(f.__y-(ad.y()+i/2));var ag=Math.sqrt(Math.abs(ae*ae-af*af));var ah=$.ig.GeometryUtil.prototype.a(ac.bk());if(ah>90&&ah<270){ag=(ad.width()+ag)*-1}ad.x(f.__x+ag);ac.bj(ad)}}}}var aj=a.getEnumerator();while(aj.moveNext()){var ai=aj.current();var ak=ai.bj();if(ak.left()>b||ak.right()<0){ai.__visibility=$.ig.Visibility.prototype.collapsed;ai.bm().__visibility=$.ig.Visibility.prototype.collapsed}else if(ak.left()<0){var al=Math.abs(ak.x());ak.x(0);if(al>ak.width()){ak.width(0)}else{}ai.bj(ak)}else if(ak.right()>b){var am=ak.right()-b;if(am>ak.width()){ak.width(0)}else{ak.width(ak.width()-am)}ai.bj(ak)}}},fi:function(a,b,c,d){this.fj()},fj:function(){this.fk();this.fl();this.fm();this.fp();this.fq();this.fv();this.d0().cd()},fk:function(){this.d4(0);this.d3(0);this.d5().clear();this.d6().clear();this.d7().clear();if(this.itemsSource()==null||this.d1()==null){return}if(this.d2()==null||this.d2().count()==0){return}var b=this.d2().getEnumerator();while(b.moveNext()){var a=b.current();if(isNaN(a)||Number.isInfinity(a)||a<=0){continue}this.d4(this.d4()+a)}for(var c=0;c<this.d2().count();c++){var d=this.d2().item(c);if(isNaN(d)||Number.isInfinity(d)||d<=0){continue}var e=this.othersCategoryType()==$.ig.OthersCategoryType.prototype.percent?d/this.d4():d;var f=this.othersCategoryType()==$.ig.OthersCategoryType.prototype.percent?this.othersCategoryThreshold()/100:this.othersCategoryThreshold();if(e<=f){this.d3(this.d3()+d);this.d6().add(c);this.d7().add1(this.d1().item(c))}else{this.d5().add(c)}}},fl:function(){if(this.itemsSource()==null||this.d1()==null){this.cr.g(0);return}var a=this.d5().count();var b=this.d6().count()>0;var c=$.ig.PieChartBase.prototype.fd(this.d8());var d=$.ig.PieChartBase.prototype.fd(this.d8());if(b){a++}for(var e=0;e<a;e++){var f=false;var g;if(e==a-1&&b){g=this.d3();f=true}else{g=this.d2().item(this.d5().__inner[e])}if(this.sweepDirection()==$.ig.SweepDirection.prototype.clockwise){d+=$.ig.PieChartBase.prototype.fd(Math.abs(g)*360/this.d4())}else{d-=$.ig.PieChartBase.prototype.fd(Math.abs(g)*360/this.d4())}var h=this.cr.item(e);h.df(true);h.cy(c);h.cz(d);h.c0(h.c1(this.ea()));h.c2(f);h.c6(this.ec());h.c7(e);h.dataContext(f?this.d7():this.d1().item(this.d5().__inner[e]));h.isExploded(this.explodedSlices().contains(e));h.isSelected(this.selectedSlices().contains(e));c=d;h.df(false)}this.cr.g(a)},fm:function(){var $self=this;if(this.itemsSource()==null||this.d1()==null){this.cs.g(0);return}if(this.eb()==null||this.eb().count()==0||this.labelsPosition()==$.ig.LabelsPosition.prototype.none){this.cs.g(0);return}var a=this.d5().count();
if(this.d6().count()>0){a++}this.d0().ce();for(var b=0;b<a;b++){var c=String.empty();var d=false;var e;if(b==a-1&&this.d6().count()>0){e=this.othersCategoryText();d=true;if(this.formatLabel()!=null){var f=function(){var $ret=new $.ig.PieSliceDataContext;$ret.series($self);$ret.item(d?$self.d7():$self.d1().item($self.d5().__inner[b]));$ret.itemLabel(e);$ret.percentValue($self.f6($self.cr.item(b)));$ret.isOthersSlice(d);return $ret}();e=this.formatLabel()(f.flatten())}if(null!=e){c=e.toString()}}else{e=this.eb().item(this.d5().__inner[b]);if(this.formatLabel()!=null){var g=function(){var $ret=new $.ig.PieSliceDataContext;$ret.series($self);$ret.item(d?$self.d7():$self.d1().item($self.d5().__inner[b]));$ret.itemLabel(e);$ret.percentValue($self.f6($self.cr.item(b)));$ret.isOthersSlice(d);return $ret}();var formatedLabel_=this.formatLabel()(g.flatten());if(null==formatedLabel_){e=this.eb().item(this.d5().__inner[b])}else{e=formatedLabel_}}var label_=e;if(label_===undefined){throw new Error($.ig.Chart.locale.invalidLabelBinding)}c=e.toString()}var h=this.cs.item(b);var i=this.cr.item(b);i.db(h);h.bk($.ig.GeometryUtil.prototype.a((i.cy()+i.cz())/2));h.bi(i);h.bl(function(){var $ret=new $.ig.TextBlock;$ret.a3(c);return $ret}());if(this.labelTemplate()==null){h.dataContext(d?this.d7():this.d1().item(this.d5().__inner[b]));h.bx(this.d0())}else{}h.__visibility=$.ig.Visibility.prototype.visible;h.bj(this.d0().b9(h))}this.cs.g(a)},_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},fp:function(){if(this.itemsSource()==null||this.d1()==null){return}var a=this.d0().ca();this.ee(new $.ig.Rect(0,0,0,a.c(),a.d()));var b={__x:a.c()/2,__y:a.d()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var c=Math.min(a.d()/2,a.c()/2)*this.ed();var e=this.cr.h().getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.GeometryUtil.prototype.f(a.c(),a.d(),true,(d.cy()+d.cz())/2,c*this.ec());d.df(true);d.c0(d.c1(this.ea()));d.c5(c);d.c6(this.ec());d.c3(b);d.c4(f);this.e9(d);d.df(false)}this.d0().cd()},fq:function(){var a=this.d0().af().width();var b=this.d0().af().height();if(b==0||a==0){return}if(this.cs.h().count()==0||this.labelsPosition()==$.ig.LabelsPosition.prototype.none){this.cs.g(0);return}var c=new $.ig.List$1($.ig.PieLabel.prototype.$type,0);var d=new $.ig.List$1($.ig.PieLabel.prototype.$type,0);var e=new $.ig.List$1($.ig.PieLabel.prototype.$type,0);var f=new $.ig.List$1($.ig.PieLabel.prototype.$type,0);var h=this.cs.h().getEnumerator();while(h.moveNext()){var g=h.current();var i=g.bi();if(i==null){continue}var j=i.eq();var k=g.bj().width();var l=g.bj().height();if(this.labelsPosition()==$.ig.LabelsPosition.prototype.center||this.labelsPosition()==$.ig.LabelsPosition.prototype.bestFit){var m=i.c5()*i.c0()/100;var n=$.ig.GeometryUtil.prototype.g(j,g.bk(),i.c5()-(i.c5()-m)/2);g.bj(new $.ig.Rect(0,n.__x-k/2,n.__y-l/2,k,l));var o=this.fc(g,n);if(o||this.labelsPosition()==$.ig.LabelsPosition.prototype.center){e.add(g);g.bm().__visibility=$.ig.Visibility.prototype.collapsed;if(!o&&this.labelsPosition()==$.ig.LabelsPosition.prototype.center){g.__visibility=$.ig.Visibility.prototype.collapsed}else{g.__visibility=$.ig.Visibility.prototype.visible}continue}}if(this.labelsPosition()==$.ig.LabelsPosition.prototype.insideEnd||this.labelsPosition()==$.ig.LabelsPosition.prototype.bestFit){var p=$.ig.PieChartBase.prototype.fr(j,i.c5(),g);var q=$.ig.GeometryUtil.prototype.g(j,g.bk(),p);g.bj(new $.ig.Rect(0,q.__x-k/2,q.__y-l/2,k,l));var r=this.fc(g,q);if(r||this.labelsPosition()==$.ig.LabelsPosition.prototype.insideEnd){f.add(g);g.bm().__visibility=$.ig.Visibility.prototype.collapsed;if(!r&&this.labelsPosition()==$.ig.LabelsPosition.prototype.insideEnd){g.__visibility=$.ig.Visibility.prototype.collapsed}else{g.__visibility=$.ig.Visibility.prototype.visible}continue}}var s=$.ig.GeometryUtil.prototype.g(j,g.bk(),i.c5());var t=$.ig.GeometryUtil.prototype.g(j,g.bk(),i.c5()+this.labelExtent());g.bm().bo(s.__x);g.bm().bq(s.__y);g.bm().__visibility=this.leaderLineVisibility();g.__visibility=$.ig.Visibility.prototype.visible;g.by();if(g.bk()<90&&g.bk()>=0){g.bj(new $.ig.Rect(0,t.__x,t.__y,k,l));c.add(g)}else if(g.bk()<180&&g.bk()>=90){g.bj(new $.ig.Rect(0,t.__x-k,t.__y,k,l));d.add(g)}else if(g.bk()<270&&g.bk()>=180){g.bj(new $.ig.Rect(0,t.__x-k,t.__y-l,k,l));d.add(g)}else{g.bj(new $.ig.Rect(0,t.__x,t.__y-l,k,l));c.add(g)}if(g.bj().y()<0){g.bj(new $.ig.Rect(0,g.bj().x(),0,g.bj().width(),g.bj().height()))}if(g.bj().bottom()>b){g.bj(new $.ig.Rect(0,g.bj().x(),b-g.bj().height(),g.bj().width(),g.bj().height()))}}$.ig.PieChartBase.prototype.fg(c);this.fh(c);$.ig.PieChartBase.prototype.fg(d);this.fh(d);var v=e.getEnumerator();while(v.moveNext()){var u=v.current();this.d0().cb(u,u.bj().x(),u.bj().y())}var x=f.getEnumerator();while(x.moveNext()){var w=x.current();this.d0().cb(w,w.bj().x(),w.bj().y())}var z=c.getEnumerator();while(z.moveNext()){var y=z.current();this.d0().cb(y,y.bj().x(),y.bj().y());y.bz(y.bj().left(),(y.bj().top()+y.bj().bottom())/2)}var ab=d.getEnumerator();while(ab.moveNext()){var aa=ab.current();this.d0().cb(aa,aa.bj().x(),aa.bj().y());aa.bz(aa.bj().right(),(aa.bj().top()+aa.bj().bottom())/2)}this.d0().cd()},fr:function(a,b,c){var d=c.bk()*Math.PI/180;var e=1;var f=$.ig.GeometryUtil.prototype.g({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},c.bk(),e);var g=$.ig.PieChartBase.prototype.fu(c);var h=Math.sqrt(g.__x*g.__x+g.__y*g.__y);var i={__x:g.__x/h,__y:g.__y/h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var j=$.ig.PieChartBase.prototype.ft(f,i);var k=h/b;var l=j*k;var m=l;var n=$.ig.GeometryUtil.prototype.i({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},f);var o=$.ig.GeometryUtil.prototype.i({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},i);if(o<n){m=-m}var p=$.ig.GeometryUtil.prototype.g(a,(d+m)*180/Math.PI,b);var q=$.ig.PieChartBase.prototype.fs(c,p);var r=Math.sqrt((q.__x-a.__x)*(q.__x-a.__x)+(q.__y-a.__y)*(q.__y-a.__y));var s=r-5;return s},fs:function(a,b){var c=$.ig.GeometryUtil.prototype.a(a.bk());var d=a.bj().width()/2;var e=a.bj().height()/2;if(c>=0&&c<=90){return{__x:b.__x-d,__y:b.__y-e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(c>=90&&c<=180){return{__x:b.__x+d,__y:b.__y-e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(c>=180&&c<=270){return{__x:b.__x+d,__y:b.__y+e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return{__x:b.__x-d,__y:b.__y+e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},ft:function(a,b){var c=a.__x*b.__x+a.__y*b.__y;var d=Math.sqrt(a.__x*a.__x+a.__y*a.__y);var e=Math.sqrt(b.__x*b.__x+b.__y*b.__y);var f=Math.acos(c/(d*e));return f},fu:function(a){var b=$.ig.GeometryUtil.prototype.a(a.bk());var c=a.bj().width()/2;var d=a.bj().height()/2;if(b>=0&&b<=90){return{__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(b>=90&&b<=180){return{__x:-c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(b>=180&&b<=270){return{__x:-c,__y:-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return{__x:c,__y:-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},fv:function(){var $self=this;var a=$.ig.util.cast($.ig.ItemLegend.prototype.$type,this.legend());if(a==null){return}if(this.eb()==null||this.eb().count()==0){a.cp(this);return}this.d9(new $.ig.List$1($.ig.UIElement.prototype.$type,0));var c=this.cr.h().getEnumerator();while(c.moveNext()){var b=c.current();var d=new $.ig.ContentControl;var e=this.fa(b);var f=b.dg();d.content(function(){var $ret=new $.ig.PieSliceDataContext;$ret.series($self);$ret.slice(b);$ret.item(b.dataContext());$ret.itemBrush(f);$ret.itemLabel(e!=null?e.toString():null);$ret.percentValue($self.f6(b));$ret.isOthersSlice(b.c2());return $ret}());if(this.legendItemTemplate()!=null){d.bf(this.legendItemTemplate())}this.d9().add(d)}a.b4(this.d9(),this)},exportVisualData:function(){var a=new $.ig.PieChartVisualData;for(var b=0;b<this.cr.g();b++){var c=this.cr.item(b).ew();a.slices().add(c);if(this.cr.item(b).c2()){a.othersSlice(this.cr.item(b).ew())}}a.others(this.d7());a.name(this.name());return a},fw:function(a){var b=null;return this.d1().ab(a,b)},fx:function(a){var b=null;return this.d1().z(a,b)},fy:function(a,b,c,d){var $self=this;switch(b){case $.ig.PieChartBase.prototype.bg:this.d1(function(){var $ret=new $.ig.FastItemsSource;$ret.f(d);return $ret}());break;case $.ig.PieChartBase.prototype.be:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event,this.ck);this.cd=false;$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.d2());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.eb());this.d2(null);this.eb(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d).event=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d).event,this.ck);this.cd=true;this.d2(this.fw(this.valueMemberPath()));this.eb(this.fx(this.labelMemberPath()))}this.fj();break;case $.ig.PieChartBase.prototype.bi:if(this.d1()!=null){this.d1().ac(this.d2());this.d2(this.fw(this.valueMemberPath()))}break;case $.ig.PieChartBase.prototype.b9:case $.ig.PieChartBase.prototype.bj:if(this.d1()!=null){this.d1().ac(this.eb());this.eb(this.fx(this.labelMemberPath()));this.fm();this.fq();this.fv()}break;case $.ig.PieChartBase.prototype.by:this.d8(d);this.fl();this.fm();this.fp();this.fq();break;case $.ig.PieChartBase.prototype.bo:this.d0().cc(this.toolTip());break;case $.ig.PieChartBase.prototype.bw:var e=$.ig.util.cast($.ig.ItemLegend.prototype.$type,c);if(e!=null){e.cp(this)}this.fv();break;case $.ig.PieChartBase.prototype.b6:case $.ig.PieChartBase.prototype.b5:this.fv();break;case $.ig.PieChartBase.prototype.bt:case $.ig.PieChartBase.prototype.bs:case $.ig.PieChartBase.prototype.bz:this.fl();this.fm();this.fp();this.fq();break;case $.ig.PieChartBase.prototype.b0:case $.ig.PieChartBase.prototype.b1:this.fp();this.fv();break;case $.ig.PieChartBase.prototype.b3:if(c!=null){var f=c;f.collectionChanged=$.ig.Delegate.prototype.remove(f.collectionChanged,this.ch);this.cb=false}if(d!=null){var g=d;g.collectionChanged=$.ig.Delegate.prototype.combine(g.collectionChanged,this.ch);this.cb=true}this.fp();this.fv();break;case $.ig.PieChartBase.prototype.b4:if(c!=null){var h=c;h.collectionChanged=$.ig.Delegate.prototype.remove(h.collectionChanged,this.ch);this.cc=false}if(d!=null){var i=d;i.collectionChanged=$.ig.Delegate.prototype.combine(i.collectionChanged,this.ch);this.cc=true}this.fp();this.fv();break;case $.ig.PieChartBase.prototype.bf:case $.ig.PieChartBase.prototype.bp:case $.ig.PieChartBase.prototype.bq:case $.ig.PieChartBase.prototype.bv:case $.ig.PieChartBase.prototype.bu:this.fj();break;case $.ig.PieChartBase.prototype.bl:this.fm();this.fq();this.d0().cd();break;case $.ig.PieChartBase.prototype.bx:this.fm();this.fq();break;case $.ig.PieChartBase.prototype.br:this.fm();this.fq();this.fv();break;case $.ig.PieChartBase.prototype.bm:this.fq();break;case $.ig.PieChartBase.prototype.bn:break;case $.ig.PieChartBase.prototype.ca:this.d0().ct();break;case $.ig.PieChartBase.prototype.b7:this.fm();this.fq();break;case $.ig.PieChartBase.prototype.b8:this.d0().cu();break;case $.ig.PieChartBase.prototype.bh:this.fj();break}},fz:function(a){if(this.allowSliceSelection()){this.fl();this.fp();this.fv()}},propertyChanged:null,propertyUpdated:null,f0:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},f1:function(a,b){var c=new $.ig.SliceClickEventArgs(a);this.e6(this,c);this.d0().bp(a,b)},f2:function(a,b){this.d0().bp(a,b)},f3:function(a,b){this.d0().bp(a,b)},f4:function(a,b){this.d0().bo()},f5:function(){this.fj()},provideContainer:function(a){this.d0().a6(a)},onContainerResized:function(a,b){this.d0().cg(a,b)},notifyContainerResized:function(){this.d0().ch()},getContainerRect:function(){return this.d0().a7()},getContainerOffsets:function(){return this.d0().a8()},destroy:function(){this.removeWidgetLevelDataSource();this.d0().a6(null)},flush:function(){this.d0().cw()},cv:null,textStyle:function(a){if(arguments.length===1){var b=this.cv;this.cv=a;this.f0($.ig.PieChartBase.prototype.ca,b,a);return a}else{return this.cv}},f6:function(a){if(a==null||this.d2()==null||this.d5()==null){return NaN}if(a.c2()){return this.d3()/this.d4()*100}else{return this.d2().item(this.d5().__inner[a.c7()])/this.d4()*100}},notifySetItem:function(source_,a,b,c){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}var d=this.d1();if(d==null){return}d.ae(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,c,b,a))},notifyClearItems:function(source_){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}var a=this.d1();a.ae(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))},notifyInsertItem:function(source_,a,b){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}var c=this.d1();if(c==null){return}c.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a))},notifyRemoveItem:function(source_,a,b){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}var c=this.d1();if(c==null){return}c.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a))},setWidgetLevelDataSource:function(source_){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}this.itemsSource(source_)},removeWidgetLevelDataSource:function(){this.itemsSource(null)},styleUpdated:function(){this.d0().ct()},$type:new $.ig.Type("PieChartBase",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("Arc","PieChartBase",{ef:function(){return new $.ig.ArcView(this)},eg:function(a){$.ig.PieChartBase.prototype.eg.call(this,a);this.hc(a)},_hc:null,hc:function(a){if(arguments.length===1){this._hc=a;return a}else{return this._hc}},init:function(){this.g7=null;$.ig.PieChartBase.prototype.init.call(this);this.a3($.ig.Arc.prototype.$type)},g7:null,ring:function(a){if(arguments.length===1){var b=this.g7;this.g7=a;this.hc().c2(b,this.g7);return a}else{return this.g7}},_hd:null,hd:function(a){if(arguments.length===1){this._hd=a;return a}else{return this._hd}},endAngle:function(a){if(arguments.length===1){this.c($.ig.Arc.prototype.endAngleProperty,a);return a}else{return this.b($.ig.Arc.prototype.endAngleProperty)}},_he:null,he:function(a){if(arguments.length===1){this._he=a;return a}else{return this._he}},hf:function(){if(this.ring()!=null){return this.ring().q()}return 0},e6:function(a,b){$.ig.PieChartBase.prototype.e6.call(this,a,b);if(this.ring()!=null){this.ring().p().chart().ci(a,b)}},e7:function(a,b){if(this.ring()!=null&&this.ring().s()!=null){$.ig.PieChartBase.prototype.e7.call(this,a,b);var c=this.hn(a);this.ring().s().b7(c,b)}},e8:function(a,b){if(this.ring()!=null&&this.ring().s()!=null){$.ig.PieChartBase.prototype.e8.call(this,a,b);var c=this.hn(a);this.ring().s().b6(c,b)}},hn:function(a){var c=this.hd().v().getEnumerator();while(c.moveNext()){var b=c.current();if(b.l()==a){return b}}return null},fz:function(a){if(this.allowSliceSelection()){this.fl();this.fp();this.fv()}},fl:function(){if(this.itemsSource()==null||this.d1()==null){this.cr.g(0);return}var a=this.d5().count();var b=this.d6().count()>0;var c=$.ig.Arc.prototype.fd(this.d8());var d=$.ig.Arc.prototype.fd(this.d8());if(b){a++}for(var e=0;e<a;e++){var f=false;var g;if(e==a-1&&b){g=this.d3();f=true}else{g=this.d2().item(this.d5().__inner[e])}if(this.sweepDirection()==$.ig.SweepDirection.prototype.clockwise){d+=$.ig.Arc.prototype.fd(Math.abs(g)*this.endAngle()/this.d4())}else{d-=$.ig.Arc.prototype.fd(Math.abs(g)*this.endAngle()/this.d4())}var h=this.cr.item(e);if(this.ea()>=100){h.__visibility=$.ig.Visibility.prototype.collapsed}else{h.__visibility=$.ig.Visibility.prototype.visible}h.df(true);h.cy(c);h.cz(d);h.c0(h.c1(this.ea()));h.c2(f);h.c6(this.ec());h.c7(e);h.dataContext(f?this.d7():this.d1().item(this.d5().__inner[e]));h.isExploded(this.explodedSlices().contains(e));h.isSelected(this.selectedSlices().contains(e));c=d;h.df(false)}this.cr.g(a);if(this.hd()!=null){this.hd().ax(this)}},fv:function(){var $self=this;var a=$.ig.util.cast($.ig.ItemLegend.prototype.$type,this.legend());if(a==null){return}if(this.eb()==null||this.eb().count()==0||this.ring()!=null&&this.ring().p()!=null&&this.ring().s()!=null&&!this.ring().s().series().contains(this.ring().p())){a.cp(this.ring().p());return}this.d9(new $.ig.List$1($.ig.UIElement.prototype.$type,0));var c=this.cr.h().getEnumerator();while(c.moveNext()){var b=c.current();var d=new $.ig.ContentControl;var e=this.fa(b);var f=b.dg();d.content(function(){var $ret=new $.ig.PieSliceDataContext;$ret.series($self.ring().p());$ret.slice(b);$ret.item(b.dataContext());$ret.itemBrush(f);$ret.itemLabel(e!=null?e.toString():null);$ret.percentValue($self.f6(b));$ret.isOthersSlice(b.c2());return $ret}());if(this.legendItemTemplate()!=null){d.bf(this.legendItemTemplate())}this.d9().add(d)}a.cn(this.d9(),this.ring().p())},fy:function(a,b,c,d){$.ig.PieChartBase.prototype.fy.call(this,a,b,c,d);switch(b){case $.ig.Arc.prototype.g6:this.he(d);this.fl();this.fm();this.fp();this.fq();break;case $.ig.Arc.prototype.bt:if(this.ring()!=null&&this.ring().s()!=null){this.ring().s().cd()}break;case $.ig.Arc.prototype.bw:var e=$.ig.util.cast($.ig.ItemLegend.prototype.$type,c);if(e!=null&&this.ring()!=null&&this.ring().p()!=null){e.cp(this.ring().p())}break}},getContainer:function(){return this.d0().cv()},$type:new $.ig.Type("Arc",$.ig.PieChartBase.prototype.$type)},true);$.ig.util.defType("ArcItem","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.r(0);this.s(360);this.v(new $.ig.List$1($.ig.SliceItem.prototype.$type,0))},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},aw:function(a){var $self=this;var b=this.w()==null?a:this.w().h();var c=this.w()==null?360:this.w().i();var d=function(){var $ret=new $.ig.Arc;$ret.othersCategoryThreshold($self.t());$ret.itemsSource($self.x());$ret.valueMemberPath($self.o());$ret.startAngle(b);$ret.endAngle(c);return $ret}();d.fk();d.fl();this.ax(d)},ax:function(a){var $self=this;this.v().clear();for(var b=0;b<a.cr.g();b++){var c=a.cr.item(b);this.v().add(function(){var $ret=new $.ig.SliceItem;$ret.h(c.cy());$ret.i(c.cz()-c.cy());$ret.k(b);$ret.j($self);$ret.m(c.dataContext());$ret.n(c.c2());$ret.l(c);return $ret}())}},$type:new $.ig.Type("ArcItem",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PieChartBaseView","Object",{init:function(a){this.b=false;this.c=$.ig.Rect.prototype.empty();this.d=false;this.e=true;this.__toolTipObject=null;this.f=null;$.ig.Object.prototype.init.call(this);this.x(a);this.ae(new $.ig.PieChartViewManager(this))},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},aq:function(){var $self=this;this.y(null);this.an(new $.ig.PieSliceDataContext);this.an().series(this.x());this.af($.ig.Rect.prototype.empty());this.ah(new $.ig.List$1($.ig.Slice.prototype.$type,0));this.ai(new $.ig.List$1($.ig.PieLabel.prototype.$type,0));this.x().legendItemTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.c);$ret.measure($.ig.LegendTemplates.prototype.k);return $ret}());this.x().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.f);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())},ar:function(){var $self=this;var a=new $.ig.BrushCollection;var b=new $.ig.BrushCollection;var c;var d;(function(){var $ret=$self.ae().a5(a,b,c,d);a=$ret.brushes;b=$ret.outlines;c=$ret.fontBrush;d=$ret.font;return $ret.ret})();if(this.x().brushes()==null){this.x().brushes(a)}if(this.x().outlines()==null){this.x().outlines(b)}if(this.y()==null){this.y(c)}if(this.x().textStyle()!=null){this.z(this.x().textStyle())}else{this.z(d)}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},a6:function(a){if(a==null){this.b=false;this.ae().a9(null);this.aa(null);this.ab(null);this.ac(null);this.ad(null);return}this.ae().a9(a);this.aa(this.ae().w());this.ab(this.ae().x());this.ac(this.ae().y());this.ad(this.ae().y());this.b5();this.ar()},a7:function(){return this.af()},a8:function(){return this.ae().a2()},a9:function(){this.af(this.ae().a0());this.x().f5()},_af:null,af:function(a){if(arguments.length===1){this._af=a;return a}else{return this._af}},b:null,bc:function(){if(!this.b){this.b=true;this.ae().a4(this.bd.runOn(this))}},bd:function(){if(this.b){this.b=false;this.be()}},c:null,be:function(){this.cf();if(!this.c.isEmpty()){if(this.ad().b()){this.ad().u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}if(this.ac().b()){this.ac().u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}if(this.ab().b()){this.ab().u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}if(this.aa().b()){this.aa().u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}}this.bf()},d:null,bf:function(){this.c=this.af();if(this.ab()!=null&&this.ab().b()){var b=this.ah().getEnumerator();while(b.moveNext()){var a=b.current();if(a.__visibility==$.ig.Visibility.prototype.visible){var c=a.cx().k();this.ae().a6(c);c.a5(1);if(a.dg()!=null){c.__fill=a.dg()}if(a.dh()!=null){c.__stroke=a.dh()}if(a.z()!=null){this.ab().ab(c,a.z())}if(c.f()!=null){this.ab().p();this.ab().n(c.f())}if(this.d){var d;if(a.dg()==null||!a.dg().isGradient()){d=null}else{var e=a.isExploded()?a.c4():a.c3();var f=a.c5();d=new $.ig.Rect(0,e.__x-f,e.__y-f,f*2,f*2)}this.ab().e($.ig.GradientDirection.prototype.radial,d)}this.ab().g(c);if(c.f()!=null){this.ab().q()}}}}if(this.ac()!=null&&this.ac().b()){var g=this.z();if(this.x().textStyle()!=null){g=this.x().textStyle()}this.ac().y(g);var i=this.ai().getEnumerator();while(i.moveNext()){var h=i.current();if(h.__visibility==$.ig.Visibility.prototype.visible){var j=h.bl();if(j!=null){j.a4(this.y());this.ac().i(j)}if(h.bm()!=null){h.bm().__stroke=h.bi().dg();h.bm().a5(1);if(this.x().leaderLineStyle()!=null){this.ac().ab(h.bm(),this.x().leaderLineStyle())}this.ac().o(h.bm())}}}}},bg:function(a,b,c){var $self=this;var d=this.ag();this.bm(a);if(this.ag()==null&&d!=null){var e=function(){var $ret=new $.ig.MouseEventArgs;$ret.position(a);return $ret}();this.x().f4(this.ag(),e)}else if(this.ag()!=null){var f=function(){var $ret=new $.ig.MouseEventArgs;$ret.position(a);return $ret}();this.x().f3(this.ag(),f)}},bh:function(a){var $self=this;var b=this.ag();this.bm(a);var c=function(){var $ret=new $.ig.MouseEventArgs;$ret.position(a);return $ret}();this.x().f4(b,c)},bi:function(a){this.bm(a)},bj:function(a){var $self=this;this.bm(a);if(this.ag()!=null){var b=function(){var $ret=new $.ig.MouseButtonEventArgs;$ret.position(a);return $ret}();this.x().f1(this.ag(),b)}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},bm:function(a){this.ag(null);for(var b=0;b<this.ah().count();b++){if(this.ah().__inner[b].__visibility==$.ig.Visibility.prototype.visible&&this.ah().__inner[b].eu(a)){this.ag(this.ah().__inner[b]);break}}},bn:function(){this.x().f5()},bo:function(){this.cq()},bp:function(a,b){var c=b;this.cs(c.position(),a,b)},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},bs:function(){var a=new $.ig.Slice;a.da(this.x());this.ah().add(a);return a},bt:function(a){a.__visibility=$.ig.Visibility.prototype.visible},bu:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},bv:function(a){a.da(null);this.ah().remove(a)},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},by:function(){var a=new $.ig.PieLabel;a.bm(new $.ig.Line);this.ai().add(a);return a},bz:function(a){a.__visibility=$.ig.Visibility.prototype.visible},b0:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},b1:function(a){this.ai().remove(a)},b2:function(a){if(this.x().othersCategoryStyle()!=null&&a.c2()){a.z(this.x().othersCategoryStyle())}else if(a.isSelected()&&this.x().allowSliceSelection()&&this.x().selectedStyle()!=null){a.z(this.x().selectedStyle())}else{a.z(null);var b;var c;if(this.x().brushes()!=null&&a.c7()>=0&&this.x().brushes().count()>0){b=this.x().brushes().item(a.c7()%this.x().brushes().count())}else{b=null}if(this.x().outlines()!=null&&a.c7()>=0&&this.x().outlines().count()>0){c=this.x().outlines().item(a.c7()%this.x().outlines().count())}else{c=null}a.dg(b);a.dh(c)}},b3:function(a){if(a==null||a.db()==null){return this.x().labelMemberPath()}var b=a.db();var c=b.bl();if($.ig.util.cast($.ig.TextBlock.prototype.$type,c)!==null){return $.ig.util.cast($.ig.TextBlock.prototype.$type,c).a3()}return c},b4:function(a){var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,a);if(b!=null&&b.a3()!=null){return this.ac().z(b.a3())+$.ig.PieChartBaseView.prototype.a}return 0},b5:function(){this.aj($.ig.FontUtil.prototype.a(this.ae().a1()))},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},b8:function(a){return this.aj()+$.ig.PieChartBaseView.prototype.a},b9:function(a){var b=a.bl();if($.ig.util.cast($.ig.TextBlock.prototype.$type,b)!==null){var c=this.b4(b);var d=this.b8(b);return new $.ig.Rect(0,0,0,c,d)}return $.ig.Rect.prototype.empty()},ca:function(){return new $.ig.Size(this.af().width(),this.af().height())},cb:function(a,b,c){var d=$.ig.util.cast($.ig.TextBlock.prototype.$type,a.bl());if(d!=null){d.w(b);d.v(c)}this.bc()},cc:function(a){this.cr(a)},cd:function(){this.bc()},ce:function(){this.cf()},cf:function(){var a=this.z();if(this.x().textStyle()!=null){a=this.x().textStyle()}if(this.ac()!=null){this.ac().y(a)}},cg:function(a,b){this.ae().az(a,b)},ch:function(){this.ae().ay()},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},e:null,__toolTipObject:null,f:null,cq:function(){this.am(false);if(this.__toolTipObject!=null){var context_=this.an();if(this.__toolTipObject.hideToolTip){this.__toolTipObject.hideToolTip(context_)}}},cr:function(a){this.f=null;this.__toolTipObject=null;if($.ig.util.cast(String,a)!==null||typeof a==="string"){this.f=a}else{this.__toolTipObject=a;if(this.__toolTipObject!=null){this.__toolTipObject.css("position","absolute");this.__toolTipObject.css("top","0");this.__toolTipObject.css("left","0");this.__toolTipObject.css("z-index","10000")}}},cs:function(a,b,c){this.am(true);this.ak(a);if(b==null){this.al(null);this.an().item(null)}else{this.al(b.dataContext());this.an().item(b.dataContext())}var d=this.x().getContainerOffsets();var pos_={__x:a.__x+15+d.c(),__y:a.__y+15+d.d(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var context_=this.an();if(this.__toolTipObject!=null){if(this.e){this.ae().ba(this.__toolTipObject);this.e=false}context_.hideOthers=true;if(this.__toolTipObject.updateToolTip){this.__toolTipObject.updateToolTip(context_)}if(this.__toolTipObject.offset){this.__toolTipObject.offset({left:pos_.__x,top:pos_.__y})}}},ct:function(){this.ar();this.b5();this.x().fj()},cu:function(){this.ae().bb(this.x().isSurfaceInteractionDisabled())},cv:function(){return this.ae().bc()},cw:function(){if(this.b){this.bd()}},cx:function(){return this.cv()!=null},$type:new $.ig.Type("PieChartBaseView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ArcView","PieChartBaseView",{_cz:null,cz:function(a){if(arguments.length===1){this._cz=a;return a}else{return this._cz}},init:function(a){$.ig.PieChartBaseView.prototype.init.call(this,a);this.cz(a)},c2:function(a,b){this.an().series(this.cz().ring().p())},$type:new $.ig.Type("ArcView",$.ig.PieChartBaseView.prototype.$type)},true);$.ig.util.defType("RingSeriesBase","Control",{b3:null,init:function(){var $self=this;$.ig.Control.prototype.init.call(this);this.cy({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.b3=function(a,b){$self.c6(a,b.propertyName(),b.oldValue(),b.newValue())};this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,this.b3);
this.cz(this.c8());this.c9(this.cz());this.cz().m();var c=$.ig.util.toNullable($.ig.Boolean.prototype.$type,null);this.isSurfaceInteractionDisabled($.ig.util.toNullable($.ig.Boolean.prototype.$type,c))},_chart:null,chart:function(a){if(arguments.length===1){this._chart=a;return a}else{return this._chart}},itemsSource:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.itemsSourceProperty)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.valueMemberPathProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.labelMemberPathProperty)}},propertyChanged:null,propertyUpdated:null,c1:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},labelsPosition:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.labelsPositionProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.labelsPositionProperty)}},leaderLineVisibility:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.leaderLineVisibilityProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.leaderLineVisibilityProperty)}},leaderLineStyle:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.leaderLineStyleProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.leaderLineStyleProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.toolTipProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.toolTipProperty)}},othersCategoryThreshold:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.othersCategoryThresholdProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.othersCategoryThresholdProperty)}},othersCategoryType:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.othersCategoryTypeProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.othersCategoryTypeProperty)}},othersCategoryText:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.othersCategoryTextProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.othersCategoryTextProperty)}},legend:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.legendProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.legendProperty)}},formatLabel:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.formatLabelProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.formatLabelProperty)}},labelExtent:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.labelExtentProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.labelExtentProperty)}},startAngle:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.startAngleProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.startAngleProperty)}},othersCategoryStyle:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.othersCategoryStyleProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.othersCategoryStyleProperty)}},selectedStyle:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.selectedStyleProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.selectedStyleProperty)}},selectedStyleResolved:function(a){if(arguments.length===1){var b=this.selectedStyleResolved();this.c1($.ig.RingSeriesBase.prototype.bt,b,a);return a}else{if(this.selectedStyle()!=null){return this.selectedStyle()}if(this.chart()!=null&&this.chart().selectedStyle()!=null){return this.chart().selectedStyle()}return null}},toolTipStyle:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.toolTipStyleProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.toolTipStyleProperty)}},brushes:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.brushesProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.brushesProperty)}},outlines:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.outlinesProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.outlinesProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.legendItemTemplateProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.legendItemTemplateProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.legendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.legendItemBadgeTemplateProperty)}},labelTemplate:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.labelTemplateProperty,a);return a}else{return $.ig.util.cast($.ig.DataTemplate.prototype.$type,this.b($.ig.RingSeriesBase.prototype.labelTemplateProperty))}},isSurfaceInteractionDisabled:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.isSurfaceInteractionDisabledProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.isSurfaceInteractionDisabledProperty)}},radiusFactor:function(a){if(arguments.length===1){this.c($.ig.RingSeriesBase.prototype.radiusFactorProperty,a);return a}else{return this.b($.ig.RingSeriesBase.prototype.radiusFactorProperty)}},_cy:null,cy:function(a){if(arguments.length===1){this._cy=a;return a}else{return this._cy}},_cz:null,cz:function(a){if(arguments.length===1){this._cz=a;return a}else{return this._cz}},c6:function(a,b,c,d){switch(b){case $.ig.RingSeriesBase.prototype.bs:this.selectedStyleResolved(d);break}},_rootCanvas:null,rootCanvas:function(a){if(arguments.length===1){this._rootCanvas=a;return a}else{return this._rootCanvas}},c8:function(){return new $.ig.RingSeriesBaseView(this)},c9:function(a){},da:function(){},db:function(){},dc:function(){},provideContainer:function(a){this.cz().t(a)},dd:function(){if(this.cz()!=null){this.cz().v()}},de:function(){},df:function(){},$type:new $.ig.Type("RingSeriesBase",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("HierarchicalRingSeries","RingSeriesBase",{init:function(){$.ig.RingSeriesBase.prototype.init.call(this);this.a3($.ig.HierarchicalRingSeries.prototype.$type)},_rings:null,rings:function(a){if(arguments.length===1){this._rings=a;return a}else{return this._rings}},childrenMemberPath:function(a){if(arguments.length===1){this.c($.ig.HierarchicalRingSeries.prototype.childrenMemberPathProperty,a);return a}else{return this.b($.ig.HierarchicalRingSeries.prototype.childrenMemberPathProperty)}},da:function(){if(this.itemsSource()==null){return new $.ig.RingCollection}this.rings(this.eb(this.itemsSource()));return this.rings()},c6:function(a,b,c,d){$.ig.RingSeriesBase.prototype.c6.call(this,a,b,c,d);if(b==$.ig.HierarchicalRingSeries.prototype.bd||b==$.ig.HierarchicalRingSeries.prototype.bq){this.db()}if(b==$.ig.HierarchicalRingSeries.prototype.bv){this.dc()}if(this.rings()!=null&&this.cz().u()){var e=false;var g=this.rings().getEnumerator();while(g.moveNext()){var f=g.current();f.ap();if(f.ao()){e=true}}if(e){var i=this.rings().getEnumerator();while(i.moveNext()){var h=i.current();h.p().cz().w()}}}},db:function(){if(this.chart()!=null){this.chart().cg();this.chart().cb()}},dc:function(){if(this.rings()!=null){var b=this.rings().getEnumerator();while(b.moveNext()){var a=b.current();var d=a.r().getEnumerator();while(d.moveNext()){var c=d.current();this.ee(c)}}}},de:function(){if(this.rings()!=null&&this.rings().count()>0){var a=this.rings().__inner[this.rings().count()-1];this.width(a.m().c());this.height(a.m().d());this.cz().x(a.n().__x,a.n().__y)}},df:function(){for(var a=0;a<this.rings().count();a++){var c=this.rings().__inner[a].o().bf.h().getEnumerator();while(c.moveNext()){var b=c.current();b.fv()}}},ea:function(obj_){var memberPath_=this.childrenMemberPath();if(obj_[memberPath_]!==undefined){return obj_[memberPath_]}return null},eb:function(a){var $self=this;var b=new $.ig.Queue$1($.ig.ArcItem.prototype.$type);var c=new $.ig.Queue$1($.ig.ArcItem.prototype.$type);var d=function(){var $ret=new $.ig.ArcItem;$ret.q(0);$ret.x(a);$ret.o($self.valueMemberPath());$ret.t($self.othersCategoryThreshold());return $ret}();d.aw(this.startAngle());var e=function(){var $ret=new $.ig.ArcItem;$ret.q(-1);$ret.x(null);return $ret}();c.ah(d);b.ah(e);var f=new $.ig.RingCollection;var g=null;var h=-1;while(c.count()>0){var i=c.ag();var j=b.ag();if(i==null){continue}var k=0;var m=i.v().getEnumerator();while(m.moveNext()){var l=m.current();var n=this.ea(l.m());if(n!=null&&this.ed(n)==false||l.n()){var o=function(){var $ret=new $.ig.ArcItem;$ret.q(i.q()+1);$ret.x(l.n()?function(){var $ret=new $.ig.List$1($.ig.Number.prototype.$type,0);$ret.add(0);return $ret}():n);$ret.p(k);$ret.n(i);$ret.o($self.valueMemberPath());$ret.w(l);return $ret}();o.aw(this.startAngle());c.ah(o);b.ah(i)}k++}var p=this.ec(i,j,h,g);if(p!=g){f.add(p);g=p}h=i.q()}return f},ec:function(a,b,c,d){var $self=this;a.r(a.w()==null?this.startAngle():a.w().h());a.s(a.w()==null?360:a.w().i());this.ee(a);if(a.q()!=c){var e=function(){var $ret=new $.ig.Ring;$ret.p($self);return $ret}();e.r().add(a);a.m(e);return e}a.m(d);d.r().add(a);return d},ed:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();return false}return true},ee:function(a){if(a.n()==null){a.u(this.brushes())}else if(a.n().q()==0){a.u(new $.ig.BrushCollection);if(a.n().u()!=null){a.u().add(a.n().u().item(a.p()%a.n().u().count()))}}else{a.u(a.n().u())}},$type:new $.ig.Type("HierarchicalRingSeries",$.ig.RingSeriesBase.prototype.$type)},true);$.ig.util.defType("HoleDimensionsChangedEventArgs","EventArgs",{init:function(a,b){$.ig.EventArgs.prototype.init.call(this);this.a=a;this.b=b},a:null,center:function(){return this.a},b:null,radius:function(){return this.b},$type:new $.ig.Type("HoleDimensionsChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("Ring","Object",{init:function(){var $self=this;$.ig.Object.prototype.init.call(this);this.n({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.m(new $.ig.Size(0,0));this.o(function(){var $ret=new $.ig.RingControl;$ret.bn($self);return $ret}());this.r(new $.ig.List$1($.ig.ArcItem.prototype.$type,0));this.t(true)},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},a:null,p:function(a){if(arguments.length===1){this.a=a;this.a.cz().p(this.o());if(this.o()!=null){this.o().bm().ab(a)}return a}else{return this.a}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},ao:function(){if(this.o()!=null&&this.o().bm().z()){var a,b;a=this.n().__x-this.p().cy().__x;b=this.n().__y-this.p().cy().__y;this.o().bm().af(a,b);return this.o().b5()}return false},ap:function(){if(this.o()!=null){this.o().width(this.m().c());this.o().height(this.m().d());this.p().cz().p(this.o());this.o().bo(this.r())}},$type:new $.ig.Type("Ring",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RingCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.Ring.prototype.$type)},m:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();if(a.t()){var c=0;var d=a.o().bf.g();while(c<d){a.o().bf.destroy()(a.o().bf.item(c));c++}a.o().bf.g(0);a.o(null)}}$.ig.ObservableCollection$1.prototype.m.call(this)},l:function(a){var b=this.__inner[a];if(b.t()){b.o().bf.destroy()(b.o().bf.item(a));b.o().bf.g(0);b.o(null)}$.ig.ObservableCollection$1.prototype.l.call(this,a)},$type:new $.ig.Type("RingCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.Ring.prototype.$type))},true);$.ig.util.defType("RingControl","Control",{init:function(){var $self=this;$.ig.Control.prototype.init.call(this);this.a3($.ig.RingControl.prototype.$type);this.bm(this.bz());this.b0(this.bm());this.bm().o();this.bf=function(){var $ret=new $.ig.Pool$1($.ig.Arc.prototype.$type);$ret.create($self.bm().k.runOn($self.bm()));$ret.activate($self.bm().l.runOn($self.bm()));$ret.disactivate($self.bm().m.runOn($self.bm()));$ret.destroy($self.bm().n.runOn($self.bm()));return $ret}()},bl:function(){return this.bn().p()},_bm:null,bm:function(a){if(arguments.length===1){this._bm=a;return a}else{return this._bm}},be:null,bn:function(a){if(arguments.length===1){this.be=a;if(this.be==null){this.bm().ab(null)}else{this.bm().ab(this.be.p())}return a}else{return this.be}},bf:null,_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},_bp:null,bp:function(a){if(arguments.length===1){this._bp=a;return a}else{return this._bp}},bz:function(){return new $.ig.RingControlView(this)},b0:function(a){},propertyChanged:null,propertyUpdated:null,b3:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},b4:function(){this.b5()},b5:function(){if(this.bo()==null){return false}var a=0;var b=false;var d=this.bo().getEnumerator();while(d.moveNext()){var c=d.current();var e=this.bf.item(a);e.hd(c);if(e.innerExtent()!=this.bn().l()){e.innerExtent(this.bn().l())}if((e.width()!=this.bn().m().c()||e.height()!=this.bn().m().d())&&e.d0().cx()){e.width(this.bn().m().c());e.height(this.bn().m().d());this.bm().y(e);b=true}if(e.startAngle()!=c.r()){e.startAngle(c.r())}if(e.endAngle()!=c.s()){e.endAngle(c.s())}if(e.itemsSource()!=c.x()){e.itemsSource(c.x())}if(e.brushes()!=c.u()){e.brushes(c.u())}this.bm().q(e,0,0);a++}this.bf.g(a);return b},b6:function(a){this.bm().t(a)},b7:function(){this.bm().aa()},b8:function(){return this.bm().ae()},$type:new $.ig.Type("RingControl",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("RingControlView","Object",{_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},init:function(a){this.a=new $.ig.List$1($.ig.Arc.prototype.$type,0);this.b=new $.ig.List$1($.ig.Arc.prototype.$type,0);this.c=new $.ig.Dictionary$2($.ig.Arc.prototype.$type,$.ig.JQueryObject.prototype.$type,0);this.d=null;$.ig.Object.prototype.init.call(this);this.g(a)},a:null,b:null,k:function(){var a=new $.ig.Arc;a.v(0);a.w(0);a.ring(this.g().bn());this.a.add(a);this.u(a);a.labelExtent(this.g().bl().labelExtent());a.formatLabel(this.g().bl().formatLabel());a.labelMemberPath(this.g().bl().labelMemberPath());a.labelsPosition(this.g().bl().labelsPosition());a.labelTemplate(this.g().bl().labelTemplate());a.valueMemberPath(this.g().bl().valueMemberPath());if(this.g().bl().toolTip()!=null){a.toolTip(this.g().bl().toolTip())}a.leaderLineVisibility(this.g().bl().leaderLineVisibility());a.leaderLineStyle(this.g().bl().leaderLineStyle());a.othersCategoryThreshold(this.g().bl().othersCategoryThreshold());a.othersCategoryType(this.g().bl().othersCategoryType());a.othersCategoryText(this.g().bl().othersCategoryText());a.othersCategoryStyle(this.g().bl().othersCategoryStyle());a.legend(this.g().bl().legend());a.legendItemTemplate(this.g().bl().legendItemTemplate());a.legendItemBadgeTemplate(this.g().bl().legendItemBadgeTemplate());a.outlines(this.g().bl().outlines());a.startAngle(this.g().bl().startAngle());a.brushes(this.g().bl().brushes());a.selectedStyle(this.g().bl().selectedStyle());a.isSurfaceInteractionDisabled(true);return a},l:function(a){var b=this.c.item(a);if(b!=null){b.show()}this.b.add(a)},m:function(a){var b=this.c.item(a);if(b!=null){b.hide()}this.b.remove(a)},n:function(a){this.x(a);this.a.remove(a)},o:function(){},p:function(){this.g().b4()},q:function(a,b,c){b=b+this.g().w();c=c+this.g().v();if(this.d!=null){b=b+this.d.w();c=c+this.d.v()}if(a.w()!=b||a.v()!=c){a.w(b);a.v(c);this.w(a,this.c.item(a))}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},t:function(a){if(a==null){this.g().bf.g(0);this.a.clear();this.c.clear();this.b.clear();return}this.h($(a));this.h().css("position","relative");var c=this.a.getEnumerator();while(c.moveNext()){var b=c.current();var d=this.c.item(b);this.h().append(d)}},c:null,u:function(a){var b=$('<div style="position : absolute;" />');this.c.add(a,b);this.v(a,b);this.w(a,b);if(this.h()!=null){this.h().append(b)}a.provideContainer(b);b.css("position","absolute");b.removeClass("ui-corner-all ui-widget-content")},v:function(a,b){b.css("width",a.width().toString());b.css("height",a.height().toString())},w:function(a,b){b.css("top",a.v().toString()+"px");b.css("left",a.w().toString()+"px")},x:function(a){var b=this.c.item(a);b.remove();this.c.remove(a);a.provideContainer(null)},y:function(a){this.v(a,a.getContainer());a.onContainerResized(a.width(),a.height())},z:function(){return true},aa:function(){},d:null,ab:function(a){this.d=a;if(a!=null){a.propertyUpdated=$.ig.Delegate.prototype.combine(a.propertyUpdated,this.ac.runOn(this))}},ac:function(a,b){var $self=this;switch(b.propertyName()){case"LabelExtent":for(var c=0;c<this.a.count();c++){this.a.__inner[c].labelExtent(b.newValue())}break;case"LabelMemberPath":for(var d=0;d<this.a.count();d++){this.a.__inner[d].labelMemberPath(b.newValue())}break;case"LabelsPosition":for(var e=0;e<this.a.count();e++){this.a.__inner[e].labelsPosition(b.newValue())}break;case"LabelTemplate":for(var f=0;f<this.a.count();f++){this.a.__inner[f].labelTemplate(b.newValue())}break;case"ValueMemberPath":for(var g=0;g<this.a.count();g++){this.a.__inner[g].valueMemberPath(b.newValue())}break;case"ToolTip":for(var h=0;h<this.a.count();h++){this.a.__inner[h].toolTip(b.newValue())}break;case"LeaderLineVisibility":for(var i=0;i<this.a.count();i++){this.a.__inner[i].leaderLineVisibility(b.newValue())}break;case"LeaderLineStyle":for(var j=0;j<this.a.count();j++){this.a.__inner[j].leaderLineStyle(b.newValue())}break;case"OthersCategoryThreshold":for(var k=0;k<this.a.count();k++){this.a.__inner[k].othersCategoryThreshold(b.newValue())}break;case"OthersCategoryType":for(var l=0;l<this.a.count();l++){this.a.__inner[l].othersCategoryType(b.newValue())}break;case"OthersCategoryText":for(var m=0;m<this.a.count();m++){this.a.__inner[m].othersCategoryText(b.newValue())}break;case"OthersCategoryStyle":for(var n=0;n<this.a.count();n++){this.a.__inner[n].othersCategoryStyle(b.newValue())}break;case"Legend":for(var o=0;o<this.a.count();o++){this.a.__inner[o].legend(b.newValue())}break;case"LegendItemTemplate":for(var p=0;p<this.a.count();p++){this.a.__inner[p].legendItemTemplate(b.newValue())}break;case"LegendItemBadgeTemplate":for(var q=0;q<this.a.count();q++){this.a.__inner[q].legendItemBadgeTemplate(b.newValue())}break;case"Outlines":for(var r=0;r<this.a.count();r++){this.a.__inner[r].outlines(b.newValue())}break;case"StartAngle":for(var s=0;s<this.a.count();s++){this.a.__inner[s].startAngle(b.newValue())}break;case"Brushes":for(var t=0;t<this.a.count();t++){this.a.__inner[t].brushes(b.newValue())}break;case"SelectedStyle":for(var u=0;u<this.a.count();u++){this.a.__inner[u].selectedStyle(b.newValue())}break}},ad:function(){var b=this.a.getEnumerator();while(b.moveNext()){var a=b.current();a.flush()}},ae:function(){return this.h()},af:function(a,b){this.g().w(a);this.g().v(b);this.ag()},ag:function(){for(var a=0;a<this.a.count();a++){var b=this.a.__inner[a];this.q(b,0,0)}},$type:new $.ig.Type("RingControlView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RingSeries","RingSeriesBase",{init:function(){var $self=this;$.ig.RingSeriesBase.prototype.init.call(this);this.ring(function(){var $ret=new $.ig.Ring;$ret.p($self);$ret.t(false);return $ret}());var a=function(){var $ret=new $.ig.ArcItem;$ret.r($self.startAngle());$ret.m($self.ring());$ret.o($self.valueMemberPath());$ret.t($self.othersCategoryThreshold());return $ret}();this.ring().r().add(a);this.a3($.ig.RingSeries.prototype.$type)},_ring:null,ring:function(a){if(arguments.length===1){this._ring=a;return a}else{return this._ring}},c6:function(a,b,c,d){$.ig.RingSeriesBase.prototype.c6.call(this,a,b,c,d);if(b==$.ig.RingSeries.prototype.bd){this.db()}if(b==$.ig.RingSeries.prototype.bo){for(var e=0;e<this.ring().o().bf.g();e++){this.ring().o().bf.item(e).formatLabel(d)}}if(b==$.ig.RingSeries.prototype.bv){this.dc()}if(b==$.ig.RingSeries.prototype.bq){if(this.ring().r()!=null&&this.ring().r().count()>0){this.ring().r().__inner[0].r(this.startAngle())}}if(b==$.ig.RingSeries.prototype.be){if(this.ring().r()!=null&&this.ring().r().count()>0){this.ring().r().__inner[0].o(this.valueMemberPath());this.db()}}if(this.ring()!=null&&this.cz().u()){this.ring().ap();if(this.ring().ao()){this.ring().p().cz().w()}}},da:function(){var a=new $.ig.RingCollection;if(this.ring().r().__inner[0].v().count()>0){a.add(this.ring())}return a},db:function(){if(this.ring()!=null){this.ring().r().__inner[0].x(this.itemsSource());this.ring().r().__inner[0].aw(this.startAngle());if(this.chart()!=null){this.chart().cg();this.chart().cb()}}},dc:function(){if(this.ring()!=null){this.ring().r().__inner[0].u(this.brushes())}},de:function(){if(this.ring()!=null){this.width(this.ring().m().c());this.height(this.ring().m().d());this.cz().x(this.ring().n().__x,this.ring().n().__y);var b=this.ring().o().bf.h().getEnumerator();while(b.moveNext()){var a=b.current();a.allowSliceExplosion(this.ring().s().allowSliceExplosion());a.allowSliceSelection(this.ring().s().allowSliceSelection())}}},df:function(){if(this.ring()!=null){var b=this.ring().o().bf.h().getEnumerator();while(b.moveNext()){var a=b.current();a.fv()}}},$type:new $.ig.Type("RingSeries",$.ig.RingSeriesBase.prototype.$type)},true);$.ig.util.defType("RingSeriesBaseView","Object",{_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},init:function(a){$.ig.Object.prototype.init.call(this);this.i(new $.ig.List$1($.ig.RingControl.prototype.$type,0));this.h(a)},m:function(){var $self=this;this.h().legendItemTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.c);$ret.measure($.ig.LegendTemplates.prototype.k);return $ret}());this.h().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.f);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},p:function(a){if(!this.i().contains(a)){this.i().add(a)}if(this.j()!=null&&a.b8()!=this.j()){a.b6(this.j())}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},s:function(a,b,c,d,e){var $self=this;(function(){var $ret=$.ig.BrushUtil.prototype.c("chart",a,b,c);b=$ret.brushes;c=$ret.outlines;return $ret.ret})();d=new $.ig.Brush;d.__fill=this.j().css("color");e=$.ig.FontUtil.prototype.b(a);return{brushes:b,outlines:c,fontBrush:d,font:e}},a:null,b:null,c:null,d:null,t:function(a){var $self=this;if(a==null){var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();b.b6(null)}return}this.j($(a));var d;var e;var f;var g;(function(){var $ret=$self.s($self.j(),d,e,f,g);d=$ret.brushes;e=$ret.outlines;f=$ret.fontBrush;g=$ret.font;return $ret.ret})();this.a=d;this.b=e;this.c=f;this.d=g;if(this.h().brushes()==null){this.h().brushes(this.a)}if(this.h().outlines()==null){this.h().outlines(this.b)}var i=this.i().getEnumerator();while(i.moveNext()){var h=i.current();h.b6(this.j())}},u:function(){return true},v:function(){this.t(null)},w:function(){for(var a=0;a<this.i().count();a++){var b=this.i().__inner[a];for(var c=0;c<b.bf.h().count();c++){var d=b.bf.h().__inner[c];d.flush()}}},x:function(a,b){this.h().w(a);this.h().v(b);this.h().cy({__x:a,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("RingSeriesBaseView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RingSeriesCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.RingSeriesBase.prototype.$type)},$type:new $.ig.Type("RingSeriesCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.RingSeriesBase.prototype.$type))},true);$.ig.util.defType("SliceItem","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},$type:new $.ig.Type("SliceItem",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SliceCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.SliceItem.prototype.$type)},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},j:function(a,b){if(this.contains(b)){return}var c=this.aq(b.l());if(c!=-1){$.ig.ObservableCollection$1.prototype.i.call(this,c,b)}else{$.ig.ObservableCollection$1.prototype.j.call(this,a,b);if(this.ak()){if(this.al()){b.l().isSelected(true)}else{b.l().isExploded(true)}}}},i:function(a,b){if(this.ak()){if(this.al()){this.__inner[a].l().isSelected(false)}else{this.__inner[a].l().isExploded(false)}}$.ig.ObservableCollection$1.prototype.i.call(this,a,b)},l:function(a){var b=this.__inner[a];$.ig.ObservableCollection$1.prototype.l.call(this,a);if(this.ak()){if(this.al()){b.l().isSelected(false)}else{b.l().isExploded(false)}}},remove:function(a){var b=this.aq(a.l());if(b!=-1){this.l(b);return true}else{return false}},m:function(){while(this.count()>0){this.l(0)}},aq:function(a){for(var b=0;b<this.count();b++){if(this.__inner[b].l()==a){return b}}return-1},$type:new $.ig.Type("SliceCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.SliceItem.prototype.$type))},true);$.ig.util.defType("XamDoughnutChart","Control",{bl:null,bm:null,bn:null,bo:null,bp:null,init:function(){var $self=this;this.bl=new $.ig.RingSeriesCollection;this.bm=new $.ig.RingCollection;this.bn=function(){var $ret=new $.ig.SliceCollection;$ret.ak(true);$ret.al(true);return $ret}();this.bo=function(){var $ret=new $.ig.SliceCollection;$ret.ak(true);$ret.al(false);return $ret}();$.ig.Control.prototype.init.call(this);var a=this.b9();this.ca(a);a.z();this.a3($.ig.XamDoughnutChart.prototype.$type);this.bp=function(b,c){$self.b8(b,c.propertyName(),c.oldValue(),c.newValue())};this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,this.bp);this.series().collectionChanged=$.ig.Delegate.prototype.combine(this.series().collectionChanged,this.b3.runOn(this));var d=$.ig.util.toNullable($.ig.Boolean.prototype.$type,null);this.isSurfaceInteractionDisabled($.ig.util.toNullable($.ig.Boolean.prototype.$type,d))},rings:function(){return this.bm},allowSliceSelection:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.allowSliceSelectionProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.allowSliceSelectionProperty)}},isSurfaceInteractionDisabled:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.isSurfaceInteractionDisabledProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.isSurfaceInteractionDisabledProperty)}},allowSliceExplosion:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.allowSliceExplosionProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.allowSliceExplosionProperty)}},series:function(){return this.bl},b3:function(a,b){var c=new $.ig.List$1($.ig.RingSeriesBase.prototype.$type,0);if(b.oldItems()!=null){var e=b.oldItems().getEnumerator();while(e.moveNext()){var d=e.current();if(b.newItems()==null||!b.newItems().contains(d)){d.dd();this.b2().ae(d)}}}this.cg();this.cb()},innerExtent:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.innerExtentProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.innerExtentProperty)}},selectedSlices:function(a){if(arguments.length===1){this.bn.clear();this.bn.ak(false);this.bn=a;this.bn.ak(true);this.bn.al(true);for(var b=0;b<this.bn.count();b++){this.bn.__inner[b].l().isSelected(true)}return a}else{return this.bn}},explodedSlices:function(a){if(arguments.length===1){this.bo.clear();this.bo.ak(false);this.bo=a;this.bo.ak(true);this.bo.al(false);for(var b=0;b<this.bo.count();b++){this.bo.__inner[b].l().isExploded(true)}return a}else{return this.bo}},selectedStyle:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.selectedStyleProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.selectedStyleProperty)}},centerData:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.centerDataProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.centerDataProperty)}},centerDataTemplate:function(a){if(arguments.length===1){this.c($.ig.XamDoughnutChart.prototype.centerDataTemplateProperty,a);return a}else{return this.b($.ig.XamDoughnutChart.prototype.centerDataTemplateProperty)}},_b2:null,b2:function(a){if(arguments.length===1){this._b2=a;return a}else{return this._b2}},b6:function(a,b){if(b){this.selectedSlices().add(a)}else{this.selectedSlices().remove(a)}},b7:function(a,b){if(b){this.explodedSlices().add(a)}else{this.explodedSlices().remove(a)}},b8:function(a,b,c,d){switch(b){case $.ig.XamDoughnutChart.prototype.bi:var f=this.series().getEnumerator();while(f.moveNext()){var e=f.current();e.selectedStyleResolved(d)}break;case $.ig.XamDoughnutChart.prototype.bf:for(var g=0;g<this.bm.count();g++){var i=this.bm.__inner[g].o().bf.h().getEnumerator();while(i.moveNext()){var h=i.current();h.allowSliceExplosion(this.allowSliceExplosion())}}break;case $.ig.XamDoughnutChart.prototype.bd:for(var j=0;j<this.bm.count();j++){var l=this.bm.__inner[j].o().bf.h().getEnumerator();while(l.moveNext()){var k=l.current();k.allowSliceSelection(this.allowSliceSelection())}}break}},b9:function(){return new $.ig.XamDoughnutChartView(this)},ca:function(a){this.b2(a)},cb:function(){this.cf();this.cc();this.ce();this.cd();this.b2().aa()},cc:function(){var b=this.series().getEnumerator();while(b.moveNext()){var a=b.current();a.de()}},cd:function(){var a=this.b2().p();if(a.isEmpty()||a.width()==0||a.height()==0){return}var b={__x:a.width()/2,__y:a.height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};
var c=Math.min(a.width()/2,a.height()/2);var d=.9;if(this.series().count()>0){d=this.series().__inner[0].radiusFactor();if(isNaN(d)||Number.isInfinity(d)||d<0){d=0}else if(d>1){d=1}}var e=this.innerExtent()*c/100*d;this.b2().aw(e*2,e*2);this.b2().av(b.__x-e,b.__y-e)},ce:function(){var a=false;var c=this.bm.getEnumerator();while(c.moveNext()){var b=c.current();if(b.ao()){a=true}}if(a){var e=this.bm.getEnumerator();while(e.moveNext()){var d=e.current();d.p().cz().w()}}},cf:function(){var a=this.b2().p();if(a.isEmpty()||a.width()==0||a.height()==0){return}var b={__x:a.width()/2,__y:a.height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var c=Math.min(a.width()/2,a.height()/2);var d=(100-this.innerExtent())/100*c/this.bm.count();var e=this.innerExtent()*c/100;var f=1;var h=this.bm.getEnumerator();while(h.moveNext()){var g=h.current();var i=e+d*f;g.q(d);g.m(new $.ig.Size(i*2,i*2));g.n({__x:b.__x-i,__y:b.__y-i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});g.l(100-d/i*100);g.ap();f++}},cg:function(){this.explodedSlices().clear();this.selectedSlices().clear();this.bm.clear();this.b2().ax();var a=0;for(var b=0;b<this.series().count();b++){var c=this.series().__inner[b];c.chart(this);this.b2().ad(c);var d=c.da();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();e.s(this);e.k(a);this.bm.add(e);a++}}},ch:function(){this.cb()},sliceClick:null,ci:function(a,b){if(this.isSurfaceInteractionDisabled().hasValue()&&this.isSurfaceInteractionDisabled().value()){var c=a;var d=c.ring().p();if(d.isSurfaceInteractionDisabled().hasValue()){if(d.isSurfaceInteractionDisabled().value()){return}}else{return}}if(this.sliceClick!=null){this.sliceClick(a,b)}},propertyChanged:null,propertyUpdated:null,cj:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},provideContainer:function(a){this.b2().ao(a)},notifyResized:function(){this.b2().ah()},getContainerID:function(){return this.b2().au()},getCenterCoordinates:function(){return this.b2().m()},getHoleRadius:function(){return this.b2().n()},holeDimensionsChanged:null,ck:function(){if(this.holeDimensionsChanged!=null){this.holeDimensionsChanged(this,new $.ig.HoleDimensionsChangedEventArgs(this.getCenterCoordinates(),this.getHoleRadius()))}},$type:new $.ig.Type("XamDoughnutChart",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("XamDoughnutChartView","Object",{_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},init:function(a){$.ig.Object.prototype.init.call(this);this.p($.ig.Rect.prototype.empty());this.m({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.n(0);this.o(new $.ig.List$1($.ig.RingSeriesBase.prototype.$type,0));this.l(a)},z:function(){},aa:function(){},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},ad:function(a){if(!this.o().contains(a)){a.provideContainer(this.r());this.o().add(a)}},ae:function(a){if(this.o().contains(a)){a.provideContainer(null);this.o().remove(a)}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},ah:function(){if(this.r()==null){return}var a=this.r().width();var b=this.r().height();this.p(new $.ig.Rect(0,0,0,a,b));if(this.s()!=null){this.s().x(this.p())}this.l().ch()},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},ao:function(a){var b=$(a);this.r(b);var c=this.r().width();var d=this.r().height();this.p(new $.ig.Rect(0,0,0,c,d));this.s(new $.ig.DOMEventProxy(this.r()));this.s().x(this.p());this.s().onMouseOver=$.ig.Delegate.prototype.combine(this.s().onMouseOver,this.at.runOn(this));this.s().onMouseLeave=$.ig.Delegate.prototype.combine(this.s().onMouseLeave,this.as.runOn(this));this.s().onMouseDown=$.ig.Delegate.prototype.combine(this.s().onMouseDown,this.ar.runOn(this));this.s().onMouseUp=$.ig.Delegate.prototype.combine(this.s().onMouseUp,this.aq.runOn(this));this.ah()},ap:function(a,b){var c=$.ig.util.toNullable($.ig.Boolean.prototype.$type,null);for(var d=0;d<this.o().count();d++){var e=this.o().__inner[d];if($.ig.util.nullableEquals(e.isSurfaceInteractionDisabled(),c)){if($.ig.util.nullableEquals(this.l().isSurfaceInteractionDisabled(),c)){}else{if(this.l().isSurfaceInteractionDisabled().value()){continue}}}else{if(e.isSurfaceInteractionDisabled().value()){continue}}var f=e.cz().i();for(var g=0;g<f.count();g++){var h=f.__inner[g];var i=h.bf.h();for(var j=0;j<i.count();j++){var k=i.__inner[j];var l={__x:a.__x-k.w(),__y:a.__y-k.v(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};b(k.d0(),l)}}}},aq:function(a){var $self=this;this.ap(a,function(b,c){return b.bj(c)})},ar:function(a){var $self=this;this.ap(a,function(b,c){return b.bi(c)})},as:function(a){var $self=this;this.ap(a,function(b,c){return b.bh(c)})},at:function(a,b,c){var $self=this;this.ap(a,function(d,e){return d.bg(e,b,c)})},au:function(){return this.r().attr("id")},av:function(a,b){if(!this.p().isEmpty()&&this.p().width()!=0&&this.p().height()!=0){var c=this.m().__x;var d=this.m().__y;this.m().__x=this.p().width()/2;this.m().__y=this.p().height()/2;if(this.m().__x!=c||this.m().__y!=d){this.l().ck()}}},aw:function(a,b){var c=this.n();this.n(a/2);if(c!=this.n()){this.l().ck()}},ax:function(){},$type:new $.ig.Type("XamDoughnutChartView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ChartAxisRangeChangedEventArgs","EventArgs",{init:function(a,b,c,d,e,f){$.ig.EventArgs.prototype.init.call(this);this.chart(a);this.axis(b);this.oldMinimumValue(c);this.minimumValue(d);this.oldMaximumValue(e);this.maximumValue(f)},_chart:null,chart:function(a){if(arguments.length===1){this._chart=a;return a}else{return this._chart}},_axis:null,axis:function(a){if(arguments.length===1){this._axis=a;return a}else{return this._axis}},_oldMinimumValue:null,oldMinimumValue:function(a){if(arguments.length===1){this._oldMinimumValue=a;return a}else{return this._oldMinimumValue}},_minimumValue:null,minimumValue:function(a){if(arguments.length===1){this._minimumValue=a;return a}else{return this._minimumValue}},_oldMaximumValue:null,oldMaximumValue:function(a){if(arguments.length===1){this._oldMaximumValue=a;return a}else{return this._oldMaximumValue}},_maximumValue:null,maximumValue:function(a){if(arguments.length===1){this._maximumValue=a;return a}else{return this._maximumValue}},$type:new $.ig.Type("ChartAxisRangeChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("StackedSeriesCreatedEventArgs","EventArgs",{init:function(a){$.ig.EventArgs.prototype.init.call(this);this.b(a)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},brush:function(a){if(arguments.length===1){this.b().brush(a);return a}else{return this.b().brush()}},legendItemTemplate:function(a){if(arguments.length===1){this.b().legendItemTemplate(a);return a}else{return this.b().legendItemTemplate()}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.b().legendItemBadgeTemplate(a);return a}else{return this.b().legendItemBadgeTemplate()}},legendItemVisibility:function(a){if(arguments.length===1){this.b().legendItemVisibility(a);return a}else{return this.b().legendItemVisibility()}},outline:function(a){if(arguments.length===1){this.b().outline(a);return a}else{return this.b().outline()}},dashArray:function(a){if(arguments.length===1){this.b().dashArray(a);return a}else{return this.b().dashArray()}},dashCap:function(a){if(arguments.length===1){this.b().dashCap(a);return a}else{return this.b().dashCap()}},index:function(){return this.b().cp()},thickness:function(a){if(arguments.length===1){this.b().thickness(a);return a}else{return this.b().thickness()}},title:function(a){if(arguments.length===1){this.b().title(a);return a}else{return this.b().title()}},markerBrush:function(a){if(arguments.length===1){this.b().markerBrush(a);return a}else{return this.b().markerBrush()}},markerOutline:function(a){if(arguments.length===1){this.b().markerOutline(a);return a}else{return this.b().markerOutline()}},markerStyle:function(a){if(arguments.length===1){this.b().markerStyle(a);return a}else{return this.b().markerStyle()}},markerTemplate:function(a){if(arguments.length===1){this.b().markerTemplate(a);return a}else{return this.b().markerTemplate()}},markerType:function(a){if(arguments.length===1){this.b().markerType(a);return a}else{return this.b().markerType()}},startCap:function(a){if(arguments.length===1){this.b().startCap(a);return a}else{return this.b().actualStartCap()}},endCap:function(a){if(arguments.length===1){this.b().endCap(a);return a}else{return this.b().actualEndCap()}},$type:new $.ig.Type("StackedSeriesCreatedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("FinancialSeries","Series",{eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.js(a)},_js:null,js:function(a){if(arguments.length===1){this._js=a;return a}else{return this._js}},isFinancial:function(){return true},init:function(){this.i1=new $.ig.Dictionary$2($.ig.IFastItemColumn$1.prototype.$type.specialize(Number),String,0);this.i2=new $.ig.Dictionary$2(String,String,0);this.i3=false;this.i9=false;$.ig.Series.prototype.init.call(this);this.a3($.ig.FinancialSeries.prototype.$type)},negativeBrush:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.negativeBrushProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.negativeBrushProperty)}},xAxis:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.yAxisProperty)}},openMemberPath:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.openMemberPathProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.openMemberPathProperty)}},jt:function(a){if(arguments.length===1){if(this.iw!=a){var b=this.iw;this.iw=a;this.e6($.ig.FinancialSeries.prototype.im,b,this.iw)}return a}else{return this.iw}},iw:null,highMemberPath:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.highMemberPathProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.highMemberPathProperty)}},ju:function(a){if(arguments.length===1){if(this.ix!=a){var b=this.ix;this.ix=a;this.e6($.ig.FinancialSeries.prototype.ip,b,this.ix)}return a}else{return this.ix}},ix:null,lowMemberPath:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.lowMemberPathProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.lowMemberPathProperty)}},jv:function(a){if(arguments.length===1){if(this.iy!=a){var b=this.iy;this.iy=a;this.e6($.ig.FinancialSeries.prototype.ir,b,this.iy)}return a}else{return this.iy}},iy:null,closeMemberPath:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.closeMemberPathProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.closeMemberPathProperty)}},jw:function(a){if(arguments.length===1){if(this.iz!=a){var b=this.iz;this.iz=a;this.e6($.ig.FinancialSeries.prototype.it,b,this.iz)}return a}else{return this.iz}},iz:null,volumeMemberPath:function(a){if(arguments.length===1){this.c($.ig.FinancialSeries.prototype.volumeMemberPathProperty,a);return a}else{return this.b($.ig.FinancialSeries.prototype.volumeMemberPathProperty)}},jx:function(a){if(arguments.length===1){if(this.i0!=a){var b=this.i0;this.i0=a;this.e6($.ig.FinancialSeries.prototype.iv,b,this.i0)}return a}else{return this.i0}},i0:null,ke:function(a){return this.e4(a,this.xAxis())},getPreviousOrExactIndex:function(a,b){return this.e2(a,b,this.xAxis(),this.ke.runOn(this),new $.ig.FinancialValueList(this.jt(),this.ju(),this.jv(),this.jw(),this.jx()))},getNextOrExactIndex:function(a,b){return this.e3(a,b,this.xAxis(),this.ke.runOn(this),new $.ig.FinancialValueList(this.jt(),this.ju(),this.jv(),this.jw(),this.jx()))},ex:function(a,b,c,d,e){if(c==null){return Number.POSITIVE_INFINITY}var f=this.xAxis().itemsCount();return this.ey(a,b,this.xAxis(),d,e,f,this.ke.runOn(this))},getOffsetValue:function(){return this.getOffset(this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().ae(),this.view().ad())},getSeriesValuePosition:function(a,b,c){return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),null,null,null)},getSeriesValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(new $.ig.FinancialValueList(this.jt(),this.ju(),this.jv(),this.jw(),this.jx()),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesHighValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.ju(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesLowValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.jv(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesCloseValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.jw(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesOpenValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.jt(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesVolumeValue:function(a,b,c){var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.jx(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getSeriesHighValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesHighValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.ke.runOn($self),$self.ju())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.ke.runOn($self),$self.ju())})},getSeriesLowValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesLowValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.ke.runOn($self),$self.jv())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.ke.runOn($self),$self.jv())})},getSeriesOpenValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesOpenValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.ke.runOn($self),$self.jt())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.ke.runOn($self),$self.jt())})},getSeriesCloseValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesCloseValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.ke.runOn($self),$self.jw())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.ke.runOn($self),$self.jw())})},getSeriesVolumeValuePosition:function(a,b,c){var $self=this;return this.e5(a,b,c,this.getOffset(this.view().ae(),this.view().ad()),this.yAxis(),this.xAxis(),this.getSeriesVolumeValue.runOn(this),function(d,e){return $self.e2(d,e,$self.xAxis(),$self.ke.runOn($self),$self.jx())},function(f,g){return $self.e3(f,g,$self.xAxis(),$self.ke.runOn($self),$self.jx())})},gi:function(){$.ig.Series.prototype.gi.call(this);if(this.xAxis()!=null){this.xAxis().e1(false)}if(this.yAxis()!=null){this.yAxis().e1(false)}},fk:function(a,b){this.js().cr().q(this.resolution());this.renderSeries(false)},fl:function(a,b){this.js().cr().q(this.resolution());this.renderSeries(false)},i1:null,i2:null,kf:function(a,b,c){var d=this.hk(b);this.i1.add(d,b);this.i2.add(b,c);return d},kg:function(a,b){if(b==null){return}a.ac(b);var c=this.i1.item(b);this.i2.remove(c);this.i1.remove(b)},i3:null,ft:function(a,b,c,d){var $self=this;$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bi:if(this.syncLink()!=null&&this.seriesViewer()!=null){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.bj:if(c!=null&&d==null){if(this.xAxis()!=null){this.xAxis().deregisterSeries(this)}if(this.yAxis()!=null){this.yAxis().deregisterSeries(this)}}if(c==null&&d!=null){if(this.xAxis()!=null){this.xAxis().registerSeries(this)}if(this.yAxis()!=null){this.yAxis().registerSeries(this)}}this.js().cr().q(this.resolution());this.renderSeries(false);break;case $.ig.FinancialSeries.prototype.bl:this.i3=true;if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){this.kg($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c),this.jt());this.kg($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c),this.ju());this.kg($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c),this.jv());this.kg($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c),this.jw());this.kg($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c),this.jx());this.jt(null);this.ju(null);this.jv(null);this.jw(null);this.jx(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){if(this.openMemberPath()!=null){this.jt(this.kf($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d),this.openMemberPath(),$.ig.FinancialSeries.prototype.im))}if(this.highMemberPath()!=null){this.ju(this.kf($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d),this.highMemberPath(),$.ig.FinancialSeries.prototype.ip))}if(this.lowMemberPath()!=null){this.jv(this.kf($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d),this.lowMemberPath(),$.ig.FinancialSeries.prototype.ir))}if(this.closeMemberPath()!=null){this.jw(this.kf($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d),this.closeMemberPath(),$.ig.FinancialSeries.prototype.it))}if(this.volumeMemberPath()!=null){this.jx(this.kf($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d),this.volumeMemberPath(),$.ig.FinancialSeries.prototype.iv))}}this.i3=false;if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.il:if(this.eb()!=null){this.kg(this.eb(),this.jt());this.jt(this.kf(this.eb(),this.openMemberPath(),$.ig.FinancialSeries.prototype.im))}break;case $.ig.FinancialSeries.prototype.im:if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.i3){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.io:if(this.eb()!=null){this.kg(this.eb(),this.ju());this.ju(this.kf(this.eb(),this.highMemberPath(),$.ig.FinancialSeries.prototype.ip))}break;case $.ig.FinancialSeries.prototype.ip:if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.i3){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.iq:if(this.eb()!=null){this.kg(this.eb(),this.jv());this.jv(this.kf(this.eb(),this.lowMemberPath(),$.ig.FinancialSeries.prototype.ir))}break;case $.ig.FinancialSeries.prototype.ir:if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.i3){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.is:if(this.eb()!=null){this.kg(this.eb(),this.jw());this.jw(this.kf(this.eb(),this.closeMemberPath(),$.ig.FinancialSeries.prototype.it))}break;case $.ig.FinancialSeries.prototype.it:if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.i3){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.iu:if(this.eb()!=null){this.kg(this.eb(),this.jx());this.jx(this.kf(this.eb(),this.volumeMemberPath(),$.ig.FinancialSeries.prototype.iv))}break;case $.ig.FinancialSeries.prototype.iv:if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.i3){this.js().cr().q(this.resolution());this.renderSeries(false)}break;case $.ig.FinancialSeries.prototype.ij:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.js().cr().q(this.resolution());this.renderSeries(false);this.fs();break;case $.ig.FinancialSeries.prototype.ik:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.js().cr().q(this.resolution());if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}this.fs();break;case $.ig.FinancialSeries.prototype.bv:this.i5.a(this.ed(),this.i4,this.i6);if(this.fi(this.view())){return}if(this.ed()==1){this.kj(this.i6,this.js())}else{this.kj(this.i5,this.js())}break;case $.ig.FinancialSeries.prototype.ii:this.renderSeries(false);break}},getExactItemIndex:function(a){var b=this.view().ae();var c=this.view().ad();var d=-1;if(!b.isEmpty()&&!c.isEmpty()&this.xAxis()!=null){var e=this.xAxis().hd(c.left(),b,c,this.xAxis().categoryMode());var f=this.xAxis().hd(c.right(),b,c,this.xAxis().categoryMode());var g=(a.__x-b.left())/b.width();var h=e+g*(f-e);if(this.xAxis().categoryMode()!=$.ig.CategoryMode.prototype.mode0){h-=.5}d=h}return d},getItemIndex:function(a){return Math.round(this.getExactItemIndex(a))},kh:function(a){var b=this.view().ae();var c=this.view().ad();if(b.isEmpty()||c.isEmpty()){return-1}var d=new $.ig.ScalerParams(b,c,this.xAxis().isInverted());var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());var f=this.xAxis().getUnscaledValue(c.left(),d);var g=this.xAxis().getUnscaledValue(c.right(),d);var h=(a.__x-b.left())/b.width();var i=f+(g-f)*h;var j=e.getIndexClosestToUnscaledValue(i);return j},getItem:function(a){var b=0;if($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){b=this.kh(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},i4:null,i5:null,i6:null,getOffset:function(a,b){var c=0;if(this.xAxis()==null){return c}var d=this.xAxis().categoryMode();switch(d){case $.ig.CategoryMode.prototype.mode0:c=0;break;case $.ig.CategoryMode.prototype.mode1:c=.5*this.xAxis().getCategorySize(a,b);break;case $.ig.CategoryMode.prototype.mode2:c=this.xAxis().getGroupCenter(this.index(),a,b);break}if(this.xAxis().isInverted()){c=-c}return c},ki:function(a,b){},kj:function(a,b){},ff:function(a,b,c){var d=$.ig.Series.prototype.ff.call(this,a,b,c);var e=c;if(this.eb()==null||this.eb().g()==0||!c.ch()||b.isEmpty()||a.isEmpty()||this.xAxis()==null||this.yAxis()==null||e.cr().h()<1||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()){e.cr().h(0);d=false}return d},getViewInfo:function(a,b){b=this.view().ae();a=this.view().ad();return{viewportRect:a,windowRect:b}},fb:function(a){this.js().cr().q(this.resolution());if(this.fi(this.view())){return}if(this.he(a)){var b=this.i4;if(this.gb()){if(this.d4().k()){this.d4().s()}this.i4=this.i5;this.i5=b}else{this.i4=this.i6;this.i6=b}this.ki(this.i6,this.js());this.gc()}else{this.ki(this.i6,this.js());this.kj(this.i6,this.js())}},typical:null,typicalBasedOn:null,kk:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();switch(b){case"HighColumn":if(this.ju()==null){return false}break;case"LowColumn":if(this.jv()==null){return false}break;case"OpenColumn":if(this.jt()==null){return false}break;case"CloseColumn":if(this.jw()==null){return false}break;case"VolumeColumn":if(this.jx()==null){return false}break}}return true},jy:function(){return this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null},jz:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$b:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=false;this.$state=1;break;case 1:if(this.$this.typical!=null){this.$state=2}else{this.$state=11}break;case 2:this.$c=this.$this.kr(0,this.$this.eb().g());this.$this.typical(this.$this,new $.ig.FinancialEventArgs(0,this.$this.eb().g(),this.$c,this.$this.kt(this.$c)));this.$state=3;break;case 3:if(this.$c.typicalColumn()!=null){this.$state=4}else{this.$state=10}break;case 4:this.$b=true;this.$state=5;break;case 5:this.$e=this.$c.typicalColumn().getEnumerator();this.$state=8;break;case 6:this.$d=this.$e.current();this.$current=this.$d;this.$state=7;return true;case 7:this.$state=8;break;case 8:if(this.$e.moveNext()){this.$state=6}else{this.$state=9}break;case 9:this.$state=10;break;case 10:this.$state=11;break;case 11:this.$state=12;break;case 12:if(!this.$b){this.$state=13}else{this.$state=30}break;case 13:this.$state=14;break;case 14:if(this.$this.jy()&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=15}else{this.$state=22}break;case 15:this.$f=this.$this.eb().g();this.$g=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices();this.$state=16;break;case 16:this.$h=0;this.$state=20;break;case 17:this.$current=(this.$this.ju().item(this.$g.item(this.$h))+this.$this.jv().item(this.$g.item(this.$h))+this.$this.jw().item(this.$g.item(this.$h)))/3;this.$state=18;return true;case 18:this.$state=19;break;case 19:++this.$h;this.$state=20;break;case 20:if(this.$h<this.$f){this.$state=17}else{this.$state=21}break;case 21:this.$state=29;break;case 22:this.$i=this.$this.eb().g();this.$state=23;break;case 23:this.$j=0;this.$state=27;break;case 24:this.$current=(this.$this.ju().item(this.$j)+this.$this.jv().item(this.$j)+this.$this.jw().item(this.$j))/3;this.$state=25;return true;case 25:this.$state=26;break;case 26:++this.$j;this.$state=27;break;case 27:if(this.$j<this.$i){this.$state=24}else{this.$state=28}break;case 28:this.$state=29;break;case 29:this.$state=30;break;case 30:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},j0:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.jy()&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=2}else{this.$state=13}break;case 2:this.$b=this.$this.ju().count();this.$c=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices();this.$state=3;break;case 3:if(this.$b>0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$this.ks(this.$this.ju().item(this.$c.item(0))-this.$this.jv().item(this.$c.item(0)));this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:this.$d=1;this.$state=11;break;case 8:this.$current=Math.max(this.$this.ks(this.$this.ju().item(this.$c.item(this.$d))-this.$this.jv().item(this.$c.item(this.$d))),Math.max(this.$this.ks(Math.abs(this.$this.ju().item(this.$c.item(this.$d))-this.$this.jw().item(this.$c.item(this.$d-1)))),this.$this.ks(Math.abs(this.$this.jv().item(this.$c.item(this.$d))-this.$this.jw().item(this.$c.item(this.$d-1))))));this.$state=9;return true;case 9:this.$state=10;break;case 10:++this.$d;this.$state=11;break;case 11:if(this.$d<this.$b){this.$state=8}else{this.$state=12}break;case 12:this.$state=24;break;case 13:this.$e=this.$this.ju().count();this.$state=14;break;case 14:if(this.$e>0){this.$state=15}else{this.$state=17}break;case 15:this.$current=this.$this.ks(this.$this.ju().item(0)-this.$this.jv().item(0));this.$state=16;return true;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:this.$f=1;this.$state=22;break;case 19:this.$current=Math.max(this.$this.ks(this.$this.ju().item(this.$f)-this.$this.jv().item(this.$f)),Math.max(this.$this.ks(Math.abs(this.$this.ju().item(this.$f)-this.$this.jw().item(this.$f-1))),this.$this.ks(Math.abs(this.$this.jv().item(this.$f)-this.$this.jw().item(this.$f-1)))));this.$state=20;return true;case 20:this.$state=21;break;case 21:++this.$f;this.$state=22;break;case 22:if(this.$f<this.$e){this.$state=19}else{this.$state=23}break;case 23:this.$state=24;break;case 24:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},j1:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.jy()&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=2}else{this.$state=13}break;case 2:this.$b=this.$this.jv().count();this.$c=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.$this.xAxis()).sortedIndices();this.$state=3;break;case 3:if(this.$b>0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$this.ks(this.$this.jv().item(this.$c.item(0)));this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:this.$d=1;this.$state=11;break;case 8:this.$current=Math.min(this.$this.ks(this.$this.jv().item(this.$c.item(this.$d))),this.$this.ks(this.$this.jw().item(this.$c.item(this.$d-1))));this.$state=9;return true;case 9:this.$state=10;break;case 10:this.$d++;this.$state=11;break;case 11:if(this.$d<this.$b){this.$state=8}else{this.$state=12}break;case 12:this.$state=24;break;case 13:this.$e=this.$this.jv().count();this.$state=14;break;case 14:if(this.$e>0){this.$state=15}else{this.$state=17}break;case 15:this.$current=this.$this.ks(this.$this.jv().item(0));this.$state=16;return true;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:this.$f=1;this.$state=22;break;case 19:this.$current=Math.min(this.$this.ks(this.$this.jv().item(this.$f)),this.$this.ks(this.$this.jw().item(this.$f-1)));this.$state=20;return true;case 20:this.$state=21;break;case 21:this.$f++;this.$state=22;break;case 22:if(this.$f<this.$e){this.$state=19}else{this.$state=23}break;case 23:this.$state=24;break;case 24:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},kp:function(a){if(a==null){return null
}if(this.jy()&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).sortedIndices()!=null){return new $.ig.SafeSortedReadOnlyDoubleCollection(a,$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).sortedIndices())}return new $.ig.SafeReadOnlyDoubleCollection(a)},i9:null,kq:function(){var a=new $.ig.List$1(String,0);a.add("HighColumn");a.add("LowColumn");a.add("CloseColumn");if(this.typicalBasedOn!=null&&this.eb()!=null&&!this.i9){this.i9=true;var b=this.kr(0,this.eb().g());this.i9=false;var c=new $.ig.FinancialEventArgs(0,this.eb().g(),b,this.kt(b));this.typicalBasedOn(this,c);if(c.basedOn()!=null&&c.basedOn().count()>0){return c.basedOn()}}return a},ja:null,getOpenColumnAsArray:function(){if(this.jt()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.ja!=null){return this.ja.asArrayList()}var a=new $.ig.List$1(Number,2,this.jt().count());var b=this.xAxis().sortedIndices();var c=this.jt().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.ja=a;return this.ja.asArrayList()}else{return this.jt().asArray()}},jb:null,getHighColumnAsArray:function(){if(this.ju()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.jb!=null){return this.jb.asArrayList()}var a=new $.ig.List$1(Number,2,this.ju().count());var b=this.xAxis().sortedIndices();var c=this.ju().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.jb=a;return this.jb.asArrayList()}else{return this.ju().asArray()}},jc:null,getLowColumnAsArray:function(){if(this.jv()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.jc!=null){return this.jc.asArrayList()}var a=new $.ig.List$1(Number,2,this.jv().count());var b=this.xAxis().sortedIndices();var c=this.jv().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.jc=a;return this.jc.asArrayList()}else{return this.jv().asArray()}},jd:null,getCloseColumnAsArray:function(){if(this.jw()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.jd!=null){return this.jd.asArrayList()}var a=new $.ig.List$1(Number,2,this.jw().count());var b=this.xAxis().sortedIndices();var c=this.jw().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.jd=a;return this.jd.asArrayList()}else{return this.jw().asArray()}},je:null,getVolumeColumnAsArray:function(){if(this.jx()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.je!=null){return this.je.asArrayList()}var a=new $.ig.List$1(Number,2,this.jx().count());var b=this.xAxis().sortedIndices();var c=this.jx().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.je=a;return this.je.asArrayList()}else{return this.jx().asArray()}},fz:function(a,b,c,d){$.ig.Series.prototype.fz.call(this,a,b,c,d);if(this.xAxis()==null||!($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null)){return}var e=this.xAxis().sortedIndices();switch(a){case $.ig.FastItemsSourceEventAction.prototype.insert:for(var f=b;f<c;f++){var g=e.__inner[f];if(this.ja!=null){this.ja.insert(f,this.jt().item(g))}if(this.jb!=null){this.jb.insert(f,this.ju().item(g))}if(this.jc!=null){this.jc.insert(f,this.jv().item(g))}if(this.jd!=null){this.jd.insert(f,this.jw().item(g))}if(this.je!=null){this.je.insert(f,this.jx().item(g))}}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.ja!=null){this.ja.q(b,c)}if(this.jb!=null){this.jb.q(b,c)}if(this.jc!=null){this.jc.q(b,c)}if(this.jd!=null){this.jd.q(b,c)}if(this.je!=null){this.je.q(b,c)}break;case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.ja!=null){this.ja=new $.ig.List$1(Number,0)}if(this.jb!=null){this.jb=new $.ig.List$1(Number,0)}if(this.jc!=null){this.jc=new $.ig.List$1(Number,0)}if(this.jd!=null){this.jd=new $.ig.List$1(Number,0)}if(this.je!=null){this.je=new $.ig.List$1(Number,0)}break;case $.ig.FastItemsSourceEventAction.prototype.change:case $.ig.FastItemsSourceEventAction.prototype.replace:for(var h=b;h<c;h++){var i=e.__inner[h];if(this.ja!=null){this.ja.__inner[h]=this.jt().item(i)}if(this.jb!=null){this.jb.__inner[h]=this.ju().item(i)}if(this.jc!=null){this.jc.__inner[h]=this.jv().item(i)}if(this.jd!=null){this.jd.__inner[h]=this.jw().item(i)}if(this.je!=null){this.je.__inner[h]=this.jx().item(i)}}break}},kr:function(a,b){var $self=this;var c=this.kp(this.jt());var d=this.kp(this.jw());var e=this.kp(this.ju());var f=this.kp(this.jv());var g=this.kp(this.jx());var h=function(){var $ret=new $.ig.FinancialCalculationDataSource;$ret.typicalColumn(new $.ig.CalculatedColumn(1,new $.ig.SafeEnumerable($self.jz()),$self.kq()));$ret.trueRange(new $.ig.CalculatedColumn(1,new $.ig.SafeEnumerable($self.j0()),function(){var $ret=new $.ig.List$1(String,0);$ret.add("HighColumn");$ret.add("LowColumn");$ret.add("CloseColumn");return $ret}()));$ret.trueLow(new $.ig.CalculatedColumn(1,new $.ig.SafeEnumerable($self.j1()),function(){var $ret=new $.ig.List$1(String,0);$ret.add("LowColumn");$ret.add("CloseColumn");return $ret}()));$ret.openColumn(c);$ret.closeColumn(d);$ret.highColumn(e);$ret.lowColumn(f);$ret.volumeColumn(g);$ret.calculateFrom(a);$ret.calculateCount(b);$ret.minimumValue(NaN);$ret.maximumValue(NaN);$ret.count($self.eb()!=null?$self.eb().g():0);return $ret}();return h},ks:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},kt:function(a){var $self=this;return function(){var $ret=new $.ig.FinancialCalculationSupportingCalculations;$ret.l(new $.ig.ColumnSupportingCalculation(1,$.ig.Series.prototype.eMA,new $.ig.List$1(String,0)));$ret.m(new $.ig.ColumnSupportingCalculation(1,$.ig.Series.prototype.sMA,new $.ig.List$1(String,0)));$ret.n(new $.ig.ColumnSupportingCalculation(1,$.ig.Series.prototype.sTDEV,new $.ig.List$1(String,0)));$ret.o(new $.ig.ColumnSupportingCalculation(1,$.ig.Series.prototype.movingSum,new $.ig.List$1(String,0)));$ret.p(new $.ig.DataSourceSupportingCalculation(1,function(b){return $.ig.Series.prototype.eMA(b.volumeColumn(),b.shortPeriod())},function(){var $ret=new $.ig.List$1(String,0);$ret.add($.ig.FinancialSeries.prototype.iv);return $ret}()));$ret.q(new $.ig.DataSourceSupportingCalculation(1,function(c){return $.ig.Series.prototype.eMA(c.volumeColumn(),c.longPeriod())},function(){var $ret=new $.ig.List$1(String,0);$ret.add($.ig.FinancialSeries.prototype.iv);return $ret}()));$ret.r(new $.ig.DataSourceSupportingCalculation(1,function(d){return $.ig.Series.prototype.eMA(d.typicalColumn(),d.shortPeriod())},a.typicalColumn().basedOn()));$ret.s(new $.ig.DataSourceSupportingCalculation(1,function(e){return $.ig.Series.prototype.eMA(e.typicalColumn(),e.longPeriod())},a.typicalColumn().basedOn()));$ret.t($.ig.Series.prototype.toEnumerableRange);$ret.u($.ig.Series.prototype.toEnumerable);$ret.v($self.ks.runOn($self));return $ret}()},categoryAxis:function(){return this.xAxis()},fe:function(a,b){$.ig.Series.prototype.fe.call(this,a,b);if(!this.d9()){this.view().b9(b);return}var c=$.ig.util.cast($.ig.FinancialSeriesView.prototype.$type,this.d7());this.view().b9(b);c.cr().q(this.resolution());if(this.fi(this.d7())){return}var d=new $.ig.CategoryFrame(3);this.ki(d,c);this.kj(d,c);this.d9(false)},$type:new $.ig.Type("FinancialSeries",$.ig.Series.prototype.$type,[$.ig.IHasCategoryAxis.prototype.$type])},true);$.ig.util.defType("FinancialIndicator","FinancialSeries",{et:function(){return new $.ig.FinancialIndicatorView(this)},eq:function(a){$.ig.FinancialSeries.prototype.eq.call(this,a);this.lv(a)},_lv:null,lv:function(a){if(arguments.length===1){this._lv=a;return a}else{return this._lv}},init:function(){$.ig.FinancialSeries.prototype.init.call(this);this.i4=new $.ig.CategoryFrame(3);this.i5=new $.ig.CategoryFrame(3);this.i6=new $.ig.CategoryFrame(3);this.lw(new $.ig.List$1(Number,0));this.lx(new $.ig.AxisRange(-100,100))},l0:function(a){if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(true)}},fz:function(a,b,c,d){var $self=this;if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).notifyDataChanged()}this.lv().c9().ad(a,b,c,d);if(d!=null&&this.i2.containsKey(d)){(function(){var $ret=$self.i2.tryGetValue(d,d);d=$ret.value;return $ret.ret})()}if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){a=$.ig.FastItemsSourceEventAction.prototype.reset;b=0;c=this.eb().g()}switch(a){case $.ig.FastItemsSourceEventAction.prototype.change:if(this.l9(b,c,d)){this.ma(b,c,d);this.l0(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.l9(b,this.eb().g()-b,d)){this.ma(b,this.eb().g()-b,d);this.l0(true)}break;case $.ig.FastItemsSourceEventAction.prototype.insert:if(this.l9(b,this.eb().g()-b,d)){var e=new Array(c);for(var f=0;f<c;f++){e[f]=0}this.lw().p(b,e);this.ma(b,this.eb().g()-b,d);this.l0(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.l9(b,this.eb().g()-b,d)){this.lw().q(b,c);this.ma(b,this.eb().g()-b,d);this.l0(true)}break;case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.l9(b,this.eb().g()-b,d)){this.lw(new $.ig.List$1(Number,2,this.eb().g()));var g=new Array(c);for(var h=0;h<c;h++){g[h]=0}this.lw().p(0,g);this.ma(b,this.eb().g()-b,d);this.l0(true)}break}},displayType:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.displayTypeProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.displayTypeProperty)}},ignoreFirst:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.ignoreFirstProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.ignoreFirstProperty)}},trendLineType:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineDashArrayProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLinePeriodProperty)}},l2:function(){return-1},trendLineZIndex:function(a){if(arguments.length===1){this.c($.ig.FinancialIndicator.prototype.trendLineZIndexProperty,a);return a}else{return this.b($.ig.FinancialIndicator.prototype.trendLineZIndexProperty)}},_lw:null,lw:function(a){if(arguments.length===1){this._lw=a;return a}else{return this._lw}},_lx:null,lx:function(a){if(arguments.length===1){this._lx=a;return a}else{return this._lx}},l7:function(a,b){},l8:function(a,b){},ft:function(a,b,c,d){var $self=this;switch(b){case $.ig.FinancialIndicator.prototype.ij:this.lv().dm();break}$.ig.FinancialSeries.prototype.ft.call(this,a,b,c,d);if(this.lv().c9().ae(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.fs()}switch(b){case $.ig.FinancialIndicator.prototype.bl:if(this.eb()!=null){this.lw(new $.ig.List$1(Number,2,this.eb().g()));var e=new Array(this.eb().g());for(var f=0;f<this.eb().g();f++){e[f]=0}this.lw().p(0,e);this.ma(0,this.eb().g(),null);if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.js().cr().q(this.resolution());this.renderSeries(false)}}break;case $.ig.FinancialIndicator.prototype.cf:this.f6();break;case $.ig.FinancialIndicator.prototype.lg:this.fg(true,this.view());this.renderSeries(false);this.fs();break;case $.ig.FinancialIndicator.prototype.im:case $.ig.FinancialIndicator.prototype.ip:case $.ig.FinancialIndicator.prototype.ir:case $.ig.FinancialIndicator.prototype.it:case $.ig.FinancialIndicator.prototype.iv:if(this.eb()!=null){if(this.lw().count()!=this.eb().g()){this.lw(new $.ig.List$1(Number,2,this.eb().g()));var g=new Array(this.eb().g());for(var h=0;h<this.eb().g();h++){g[h]=0}this.lw().p(0,g)}if(this.l9(0,this.eb().g()-1,b)){this.md()}}break;case $.ig.FinancialIndicator.prototype.ij:if(this.xAxis()!=null&&($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null||$.ig.util.cast($.ig.ISortingAxis.prototype.$type,c)!==null)){this.md()}break;case $.ig.FinancialIndicator.prototype.ik:case $.ig.FinancialIndicator.prototype.lh:this.md();this.fs();break;case $.ig.FinancialIndicator.prototype.cd:this.fs();break}},getSeriesValue:function(a,b,c){if(this.lw()==null){return $.ig.FinancialSeries.prototype.getSeriesValue.call(this,a,b,c)}var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.lw(),a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getPreviousOrExactIndex:function(a,b){if(this.lw()==null){return $.ig.FinancialSeries.prototype.getPreviousOrExactIndex.call(this,a,b)}return this.e2(a,b,this.xAxis(),this.ke.runOn(this),this.lw())},getNextOrExactIndex:function(a,b){if(this.lw()==null){return $.ig.FinancialSeries.prototype.getNextOrExactIndex.call(this,a,b)}return this.e3(a,b,this.xAxis(),this.ke.runOn(this),this.lw())},d5:function(){return true},l9:function(a,b,c){if(c==null){return true}if(this.l8(a,b).contains(c)){return true}return false},ma:function(a,b,c){this.l7(a,b)},e9:function(a){if(this.eb()==null){return null}if(a!=null&&a==this.yAxis()){return this.lx()}return null},scrollIntoView:function(a){var b=this.eb()!=null?this.eb().item1(a):-1;var c=this.view().ae();var d=this.view().ad();var e=new $.ig.Rect(0,0,0,1,1);if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var f=new $.ig.ScalerParams(e,e,this.xAxis().isInverted());var g=this.xAxis().getScaledValue(b,f);if(g<c.left()+.1*c.width()){g=g+.4*c.width()}if(g>c.right()-.1*c.width()){g=g-.4*c.width()}c.x(g-.5*c.width())}if(this.yAxis()!=null&&this.lw()!=null&&b<this.lw().count()){var h=new $.ig.ScalerParams(e,e,this.yAxis().isInverted());var i=this.yAxis().getScaledValue(this.lw().__inner[b],h);if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}this.syncLink().bn(this.seriesViewer(),c)}return b>=0},ff:function(a,b,c){var d=$.ig.FinancialSeries.prototype.ff.call(this,a,b,c);if(this.lw()==null||this.lw().count()==0){d=false}return d},ki:function(a,b){var $self=this;var c=b.ae();var d=b.ad();var e=this.xAxis();var f=this.yAxis();var g=new $.ig.ScalerParams(c,d,e.isInverted());var h=new $.ig.ScalerParams(c,d,f.isInverted());a.f.clear();a.h.clear();a.i.clear();var i=0;var j=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());if(j!=null&&j.sortedIndices().count()!=this.eb().g()){return}i=this.getOffset(c,d);var k=this.l2();if(k==-1){k=this.trendLinePeriod()}var l=$.ig.util.cast($.ig.FinancialIndicatorView.prototype.$type,b);this.lv().c9().prepareLine(a.i,this.trendLineType(),this.lw(),k,function(m){return $self.xAxis().getScaledValue(m,g)},function(n){return $self.yAxis().getScaledValue(n,h)},function(){var $ret=new $.ig.TrendResolutionParams;$ret.j(b.cr().h());$ret.h(b.cr().f());$ret.i(b.cr().g());$ret.n(i);$ret.m($self.resolution());$ret.k(d);$ret.l(c);return $ret}());var o=this.mb(this.xAxis().getUnscaledValue(2,g)-this.xAxis().getUnscaledValue(1,g));for(var p=b.cr().f();p<=b.cr().g();++p){var q;if(j==null){q=b.cr().getBucket(p)}else{var r=j.sortedIndices().__inner[p];var s=j.getUnscaledValueAt(r);var t=this.mb(this.lw().__inner[p]);var u=t;var v=s;while(p<b.cr().g()){r=j.sortedIndices().__inner[p+1];v=j.getUnscaledValueAt(r);if(v-s>o){break}p++;var w=this.mb(this.lw().__inner[p]);t=Math.min(t,w);u=Math.max(u,w)}var x=NaN;if(!isNaN(s)){x=this.xAxis().getScaledValue(s,g)}q=function(){var $ret=new Array;$ret.add($self.mb(x));$ret.add(t);$ret.add(u);return $ret}()}if(!isNaN(q[0])){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){q[0]=q[0]+i}else{q[0]=e.getScaledValue(q[0],g)+i}q[1]=f.getScaledValue(q[1],h);if(b.cr().h()>1||j!=null){q[2]=f.getScaledValue(q[2],h)}else{q[2]=q[1]}a.f.add(q)}}return},mb:function(a){return a},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;c.dg(a)},kj:function(a,b){var $self=this;var c=$.ig.util.cast($.ig.FinancialIndicatorView.prototype.$type,b);c.dg(false);var e=function(d){return a.f.__inner[d][0]};var g=function(f){return a.f.__inner[f][1]};var i=function(h){return a.f.__inner[h][0]};var k=function(j){return a.f.__inner[j][2]};c.c9().t(a.i);var l=b.ad();var m=0;if(a.f.count()>0){switch(this.displayType()){case $.ig.IndicatorDisplayType.prototype.line:c.di(a.f.count(),e,g,i,k,true);break;case $.ig.IndicatorDisplayType.prototype.area:if(this.yAxis()!=null){m=this.mc(b)}else{m=.5*(l.top()+l.bottom())}c.dj(a.f.count(),e,g,i,k,true,m);break;case $.ig.IndicatorDisplayType.prototype.column:m=this.mc(b);c.dk(a.f.count(),e,g,i,k,true,m);break;default:throw new $.ig.NotImplementedException}}c.dh()},mc:function(a){var b=0;var c=a.ae();var d=a.ad();if(!c.isEmpty()&&!d.isEmpty()&&this.yAxis()!=null){var e=new $.ig.ScalerParams(c,d,this.yAxis().isInverted());b=this.yAxis().getScaledValue(this.yAxis().referenceValue(),e)}return b},f6:function(){$.ig.Series.prototype.f6.call(this);if(this.index()<0){return}this.lv().dl()},md:function(){this.lv().c9().ac();this.l7(0,this.lw().count());if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}},ho:function(a){$.ig.Series.prototype.ho.call(this,a);var b=new $.ig.PolyLineVisualData(1,"trendLine",this.lv().c9().n());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("FinancialIndicator",$.ig.FinancialSeries.prototype.$type)},true);$.ig.util.defType("StrategyBasedIndicator","FinancialIndicator",{init:function(){$.ig.FinancialIndicator.prototype.init.call(this);this.mv(this.mw());this.a3(this.mx())},_mv:null,mv:function(a){if(arguments.length===1){this._mv=a;return a}else{return this._mv}},_mw:null,mw:function(){return this._mw},_mx:null,mx:function(){return this._mx},m2:function(){return-Number.MAX_VALUE},m3:function(){return-Number.MAX_VALUE},m4:function(){return-Number.MAX_VALUE},m5:function(a,b,c){var $self=this;var f=$.ig.DependencyProperty.prototype.l(c,$.ig.Number.prototype.$type,b,new $.ig.PropertyMetadata(1,a,function(d,e){$.ig.util.cast($.ig.StrategyBasedIndicator.prototype.$type,d).e6(c,e.f(),e.e())}));$.ig.StrategyBasedIndicator.prototype.ms.add(c);return f},m6:function(a,b){return $.ig.StrategyBasedIndicator.prototype.m5(a,b,$.ig.StrategyBasedIndicator.prototype.mo)},m7:function(a,b){return $.ig.StrategyBasedIndicator.prototype.m5(a,b,$.ig.StrategyBasedIndicator.prototype.mp)},m8:function(a,b){return $.ig.StrategyBasedIndicator.prototype.m5(a,b,$.ig.StrategyBasedIndicator.prototype.mq)},l8:function(a,b){var c=this.kr(a,b);var d=this.kt(c);return this.mv().b(c,d)},l7:function(a,b){var c=this.kr(a,b);if(b==0){return false}if(!this.kk(this.l8(a,b))){return false}var d=this.kt(c);if(this.lx()!=null){c.minimumValue(this.lx().c());c.maximumValue(this.lx().d())}var e=this.mv().a(c,d);for(var f=0;f<this.ignoreFirst()&&f<c.indicatorColumn().count();f++){c.indicatorColumn().item(f,NaN)}if(this.yAxis()!=null&&this.m9(c)){this.yAxis().updateRange()}return e},m9:function(a){if(!isNaN(a.minimumValue())&&!isNaN(a.maximumValue())&&a.specifiesRange()){var b=this.lx();this.lx(new $.ig.AxisRange(a.minimumValue(),a.maximumValue()));return this.na(b,this.lx())}var c=Number.MAX_VALUE;var d=-Number.MAX_VALUE;var f=a.indicatorColumn().getEnumerator();while(f.moveNext()){var e=f.current();if(!isNaN(e)){c=Math.min(c,e);d=Math.max(d,e)}}var g=this.lx();this.lx(new $.ig.AxisRange(c,d));return this.na(g,this.lx())},na:function(a,b){if(a==null||b==null){return true}if(a.c()!=b.c()){return true}if(a.d()!=b.d()){return true}return false},nb:function(a){if(a==-Number.MAX_VALUE){return 0}if(a>this.lw().count()&&this.lw().count()>0){a=this.lw().count()-1}if(a<1){return 1}return a},kr:function(a,b){var c=$.ig.FinancialSeries.prototype.kr.call(this,a,b);c.indicatorColumn(this.lw());c.period(this.nb(this.m2()));c.shortPeriod(this.nb(this.m3()));c.longPeriod(this.nb(this.m4()));c.multiplier(this.nc());return c},nc:function(){return 1},nd:function(a,b){var $self=this;var e=$.ig.DependencyProperty.prototype.l($.ig.StrategyBasedIndicator.prototype.mr,Number,b,new $.ig.PropertyMetadata(1,a,function(c,d){$.ig.util.cast($.ig.StrategyBasedIndicator.prototype.$type,c).e6($.ig.StrategyBasedIndicator.prototype.mr,d.f(),d.e())}));$.ig.StrategyBasedIndicator.prototype.ms.add($.ig.StrategyBasedIndicator.prototype.mr);return e},ft:function(a,b,c,d){$.ig.FinancialIndicator.prototype.ft.call(this,a,b,c,d);if($.ig.StrategyBasedIndicator.prototype.ms.contains(b)){if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.js().cr().q(this.resolution());this.l7(0,this.lw().count());this.lv().c9().ac();this.renderSeries(false)}}},$type:new $.ig.Type("StrategyBasedIndicator",$.ig.FinancialIndicator.prototype.$type)},true);$.ig.util.defType("AbsoluteVolumeOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.AbsoluteVolumeOscillatorIndicatorStrategy},mx:function(){return $.ig.AbsoluteVolumeOscillatorIndicator.prototype.$type},shortPeriod:function(a){if(arguments.length===1){this.c($.ig.AbsoluteVolumeOscillatorIndicator.prototype.shortPeriodProperty,a);return a}else{return this.b($.ig.AbsoluteVolumeOscillatorIndicator.prototype.shortPeriodProperty)}},m3:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.c($.ig.AbsoluteVolumeOscillatorIndicator.prototype.longPeriodProperty,a);return a}else{return this.b($.ig.AbsoluteVolumeOscillatorIndicator.prototype.longPeriodProperty)}},m4:function(){return this.longPeriod()},$type:new $.ig.Type("AbsoluteVolumeOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("IndicatorCalculationStrategy","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){},b:function(a,b){},$type:new $.ig.Type("IndicatorCalculationStrategy",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AbsoluteVolumeOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(b.p().d());c.w(b.q().d());return c},a:function(a,b){var c=b.p().c()(a).getEnumerator();var d=b.q().c()(a).getEnumerator();var e=a.indicatorColumn();var f=0;while(c.moveNext()&&d.moveNext()){var g=c.current()-d.current();e.item(f,b.v()(g));++f}return true},$type:new $.ig.Type("AbsoluteVolumeOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("AccumulationDistributionIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.AccumulationDistributionIndicatorStrategy},mx:function(){return $.ig.AccumulationDistributionIndicator.prototype.$type},$type:new $.ig.Type("AccumulationDistributionIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("StreamingIndicatorCalculationStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},c:function(a,b){},$type:new $.ig.Type("StreamingIndicatorCalculationStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("AccumulationDistributionIndicatorStrategy","StreamingIndicatorCalculationStrategy",{init:function(){$.ig.StreamingIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,$f:0,$g:0,$h:0,$i:0,$j:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=Number.POSITIVE_INFINITY;this.$e=Number.NEGATIVE_INFINITY;this.$f=a.indicatorColumn()!=null?a.indicatorColumn().count():0;this.$g=a.closeColumn()!=null?a.closeColumn().count():0;this.$h=a.highColumn()!=null?a.highColumn().count():0;this.$i=a.volumeColumn()!=null?a.volumeColumn().count():0;this.$j=Math.min(this.$f,Math.min(this.$g,Math.min(this.$h,this.$i)));this.$state=1;break;case 1:this.$k=0;this.$state=5;break;case 2:this.$l=a.closeColumn().item(this.$k);this.$m=a.lowColumn().item(this.$k);this.$n=a.highColumn().item(this.$k);this.$o=a.volumeColumn().item(this.$k);this.$p=(this.$l-this.$m-(this.$n-this.$l))/(this.$n-this.$m);this.$c+=b.v()(this.$p*this.$o);this.$d=Math.min(this.$d,this.$c);this.$e=Math.max(this.$e,this.$c);this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:++this.$k;this.$state=5;break;case 5:if(this.$k<this.$j){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("AccumulationDistributionIndicatorStrategy",$.ig.StreamingIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("AverageDirectionalIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.AverageDirectionalIndexIndicatorStrategy},mx:function(){return $.ig.AverageDirectionalIndexIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.AverageDirectionalIndexIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.AverageDirectionalIndexIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("AverageDirectionalIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("AverageDirectionalIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.ip);c.w(a.trueRange().basedOn());c.w(b.l().d());return c},c:function(a,b,c){return b.item(a)-b.item(a-1)},d:function(a,b,c){return c.item(a-1)-c.item(a)},e:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$current=0;this.$state=1;return true;case 1:this.$c=0;this.$d=0;this.$state=2;break;case 2:this.$e=1;this.$state=11;break;case 3:this.$c=this.$this.c(this.$e,a,b);this.$d=this.$this.d(this.$e,a,b);this.$state=4;break;case 4:if(this.$c>this.$d&&this.$c>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=this.$c;this.$state=6;return true;case 6:this.$state=9;break;case 7:this.$current=0;this.$state=8;return true;case 8:this.$state=9;break;case 9:this.$state=10;break;case 10:this.$e++;this.$state=11;break;case 11:if(this.$e<a.count()){this.$state=3}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},f:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$current=0;this.$state=1;return true;case 1:this.$c=0;this.$d=0;this.$state=2;break;case 2:this.$e=1;this.$state=11;break;case 3:this.$c=this.$this.c(this.$e,a,b);this.$d=this.$this.d(this.$e,a,b);this.$state=4;break;case 4:if(this.$d>this.$c&&this.$d>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=this.$d;this.$state=6;return true;case 6:this.$state=9;break;case 7:this.$current=0;this.$state=8;return true;case 8:this.$state=9;break;case 9:this.$state=10;break;case 10:this.$e++;this.$state=11;break;case 11:if(this.$e<a.count()){this.$state=3}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},g:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.l().c()(this.$this.e(a.highColumn(),a.lowColumn()),a.period()).getEnumerator();this.$d=b.l().c()(a.trueRange(),a.period()).getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=b.v()(this.$c.current()/this.$d.current());this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},h:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.l().c()(this.$this.f(a.highColumn(),a.lowColumn()),a.period()).getEnumerator();this.$d=b.l().c()(a.trueRange(),a.period()).getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=b.v()(this.$c.current()/this.$d.current());this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},i:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=this.$this.g(a,b).getEnumerator();this.$d=this.$this.h(a,b).getEnumerator();this.$c.moveNext();this.$d.moveNext();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=Math.abs(b.v()((this.$c.current()-this.$d.current())/(this.$c.current()+this.$d.current())));this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2
}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},j:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.l().c()(this.$this.i(a,b),a.period()).getEnumerator();this.$current=0;this.$state=1;return true;case 1:this.$state=2;break;case 2:this.$state=5;break;case 3:this.$current=this.$c.current()*100;this.$state=4;return true;case 4:this.$state=5;break;case 5:if(this.$c.moveNext()){this.$state=3}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=this.j(a,b).getEnumerator();var d=a.indicatorColumn();for(var e=0;e<d.count();e++){if(c.moveNext()){d.item(e,c.current())}}return true},$type:new $.ig.Type("AverageDirectionalIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("AverageTrueRangeIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.AverageTrueRangeIndicatorStrategy},mx:function(){return $.ig.AverageTrueRangeIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.AverageTrueRangeIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.AverageTrueRangeIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("AverageTrueRangeIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("AverageTrueRangeIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.trueRange().basedOn());c.w(b.l().d());return c},a:function(a,b){var c=0;var e=b.l().c()(a.trueRange(),a.period()).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);++c}return true},$type:new $.ig.Type("AverageTrueRangeIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("FinancialOverlay","FinancialSeries",{init:function(){$.ig.FinancialSeries.prototype.init.call(this);this.lj(false)},fz:function(a,b,c,d){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).notifyDataChanged()}this.js().cr().q(this.resolution());this.lm();if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(true)},ignoreFirst:function(a){if(arguments.length===1){this.c($.ig.FinancialOverlay.prototype.ignoreFirstProperty,a);return a}else{return this.b($.ig.FinancialOverlay.prototype.ignoreFirstProperty)}},d5:function(){return true},ft:function(a,b,c,d){switch(b){case $.ig.FinancialOverlay.prototype.bl:this.lj(false);break;case $.ig.FinancialOverlay.prototype.lg:this.lj(false);this.renderSeries(false);this.fs();break;case $.ig.FinancialOverlay.prototype.ij:this.lj(false);break}$.ig.FinancialSeries.prototype.ft.call(this,a,b,c,d)},onApplyTemplate:function(){$.ig.Control.prototype.a8.call(this);this.renderSeries(false)},scrollIntoView:function(a){var b=this.eb()!=null?this.eb().item1(a):-1;var c=this.view().ae();var d=this.view().ad();var e=new $.ig.Rect(0,0,0,1,1);var f=new $.ig.ScalerParams(e,e,this.xAxis().isInverted());var g=new $.ig.ScalerParams(e,e,this.yAxis().isInverted());if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var h=this.xAxis().getScaledValue(b,f);if(h<c.left()+.1*c.width()){h=h+.4*c.width()}if(h>c.right()-.1*c.width()){h=h-.4*c.width()}c.x(h-.5*c.width())}if(this.yAxis()!=null&&this.jv()!=null&&this.ju()!=null&&b<this.jv().count()&&b<this.ju().count()){var i=this.yAxis().getScaledValue(this.jv().item(b),g);var j=this.yAxis().getScaledValue(this.ju().item(b),g);if(!isNaN(i)&&!isNaN(j)){var k=Math.abs(i-j);if(c.height()<k){c.height(k);c.y(Math.min(i,j))}else{if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}}}this.syncLink().bn(this.seriesViewer(),c)}return b>=0},e9:function(a){if(a!=null&&a==this.yAxis()&&this.jv()!=null&&this.ju()!=null){return new $.ig.AxisRange(this.jv().minimum(),this.ju().maximum())}return null},_lj:null,lj:function(a){if(arguments.length===1){this._lj=a;return a}else{return this._lj}},lm:function(){},$type:new $.ig.Type("FinancialOverlay",$.ig.FinancialSeries.prototype.$type)},true);$.ig.util.defType("BollingerBandsOverlay","FinancialOverlay",{init:function(){this.ls=new $.ig.List$1(Number,0);this.lt=new $.ig.List$1(Number,0);$.ig.FinancialOverlay.prototype.init.call(this);this.a3($.ig.BollingerBandsOverlay.prototype.$type);this.i4=new $.ig.CategoryFrame(4);this.i5=new $.ig.CategoryFrame(4);this.i6=new $.ig.CategoryFrame(4)},period:function(a){if(arguments.length===1){this.c($.ig.BollingerBandsOverlay.prototype.periodProperty,a);return a}else{return this.b($.ig.BollingerBandsOverlay.prototype.periodProperty)}},multiplier:function(a){if(arguments.length===1){this.c($.ig.BollingerBandsOverlay.prototype.multiplierProperty,a);return a}else{return this.b($.ig.BollingerBandsOverlay.prototype.multiplierProperty)}},ft:function(a,b,c,d){if(this.kq().contains(b)){this.lj(false)}$.ig.FinancialOverlay.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.BollingerBandsOverlay.prototype.lo:this.lj(false);this.renderSeries(false);break;case $.ig.BollingerBandsOverlay.prototype.lp:this.renderSeries(false);break}},lq:null,lr:null,lm:function(){this.ls.clear();this.lt.clear();var a=$.ig.Series.prototype.sMA(new $.ig.SafeEnumerable(this.jz()),this.period()).getEnumerator();var b=$.ig.Series.prototype.sTDEV(new $.ig.SafeEnumerable(this.jz()),this.period()).getEnumerator();this.lr=Number.MAX_VALUE;this.lq=-Number.MAX_VALUE;var c=true;var d=true;var e=this.multiplier();while(c||d){if(a.moveNext()){this.ls.add(a.current())}else{c=false}if(b.moveNext()){this.lt.add(b.current())}else{d=false}if(c&&d){this.lr=Math.min(this.lr,a.current()-b.current()*e);this.lq=Math.max(this.lq,a.current()+b.current()*e)}}return true},e9:function(a){if(this.ls==null||this.lt==null||a==null||this.eb()==null||a!=this.yAxis()){return null}var b=new $.ig.AxisRange(this.lr,this.lq);return b},ls:null,lt:null,ly:function(a){return a},ki:function(a,b){var $self=this;var c=b.ae();var d=b.ad();var e=this.xAxis();var f=this.yAxis();var g=new $.ig.ScalerParams(c,d,e.isInverted());var h=new $.ig.ScalerParams(c,d,f.isInverted());a.f.clear();a.h.clear();a.i.clear();var i=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());if(i!=null&&i.sortedIndices().count()!=this.eb().g()){return}var j=0;j=this.getOffset(c,d);if(!this.lj()){this.lj(this.lm());if(this.yAxis()!=null){this.yAxis().updateRange()}}var k=this.ly(this.xAxis().getUnscaledValue(2,g)-this.xAxis().getUnscaledValue(1,g));for(var l=b.cr().f();l<=b.cr().g();++l){var m;if(i==null){m=b.cr().getBucket(l)}else{var n=i.sortedIndices().__inner[l];var o=i.getUnscaledValueAt(n);var p=this.ly(this.ls.__inner[l]);var q=this.ly(this.lt.__inner[l]);var r=p;var s=q;var t=o;var u=1;while(l<b.cr().g()){n=i.sortedIndices().__inner[l+1];t=i.getUnscaledValueAt(n);if(t-o>k){break}l++;r+=this.ly(this.ls.__inner[l]);s+=this.ly(this.lt.__inner[l]);u++}r/=u;s/=u;var v=this.ly(r-s*this.multiplier());var w=this.ly(r);var x=this.ly(r+s*this.multiplier());var y=NaN;if(!isNaN(o)){y=this.xAxis().getScaledValue(o,g)}m=function(){var $ret=new Array;$ret.add($self.ly(y));$ret.add(v);$ret.add(w);$ret.add(x);return $ret}()}var z=Math.max(1,k);if(!isNaN(m[0])&&l*z>=this.ignoreFirst()){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){m[0]=m[0]+j}else{m[0]=e.getScaledValue(m[0],g)+j}m[1]=f.getScaledValue(m[1],h);m[2]=f.getScaledValue(m[2],h);m[3]=f.getScaledValue(m[3],h);a.f.add(m)}}},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;if(c!=null){c.c6()}},getSeriesValue:function(a,b,c){if(this.ls==null){return $.ig.FinancialSeries.prototype.getSeriesValue.call(this,a,b,c)}var d=this.getOffset(this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.xAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.ls,a,this.xAxis(),e,d,this.ke.runOn(this),b,c)},getPreviousOrExactIndex:function(a,b){if(this.ls==null){return $.ig.FinancialSeries.prototype.getPreviousOrExactIndex.call(this,a,b)}return this.e2(a,b,this.xAxis(),this.ke.runOn(this),this.ls)},getNextOrExactIndex:function(a,b){if(this.ls==null){return $.ig.FinancialSeries.prototype.getNextOrExactIndex.call(this,a,b)}return this.e3(a,b,this.xAxis(),this.ke.runOn(this),this.ls)},ff:function(a,b,c){var d=$.ig.FinancialSeries.prototype.ff.call(this,a,b,c);if(!this.kk(this.kq())){d=false}return d},kj:function(a,b){var $self=this;var c=$.ig.util.cast($.ig.BollingerBandsOverlayView.prototype.$type,b);c.c6();var d=a.f.count();var f=function(e){return a.f.__inner[e][0]};var h=function(g){return a.f.__inner[d-1-g][0]};var j=function(i){return a.f.__inner[i][1]};var l=function(k){return a.f.__inner[k][2]};var n=function(m){return a.f.__inner[d-1-m][3]};c.c5(d,f,h,j,l,n)},et:function(){return new $.ig.BollingerBandsOverlayView(this)},eq:function(a){$.ig.FinancialSeries.prototype.eq.call(this,a);this.lx($.ig.util.cast($.ig.BollingerBandsOverlayView.prototype.$type,a))},_lx:null,lx:function(a){if(arguments.length===1){this._lx=a;return a}else{return this._lx}},$type:new $.ig.Type("BollingerBandsOverlay",$.ig.FinancialOverlay.prototype.$type)},true);$.ig.util.defType("FinancialBucketCalculator","Object",{_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},init:function(a){$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("view")}this.e(a);this.f(-1);this.g(this.g());this.h(0)},getBucket:function(a){return null},getErrorBucket:function(a,b){return NaN},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},getBucketInfo:function(a,b,c,d){a=this.f();b=this.g();c=this.h();d=this.e().cq().resolution();return{firstBucket:a,lastBucket:b,bucketSize:c,resolution:d}},q:function(a){var b=this.e().ae();var c=this.e().ad();if(b.isEmpty()||c.isEmpty()||this.e().cq().xAxis()==null){this.h(0);return}var d=this.e().cq().xAxis()!=null?this.e().cq().xAxis().isInverted():false;var e=new $.ig.ScalerParams(b,c,d);var f=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.e().cq().xAxis());if(f==null||f.sortedIndices()==null){var g=Math.floor(this.e().cq().xAxis().getUnscaledValue(c.left(),e));var h=Math.ceil(this.e().cq().xAxis().getUnscaledValue(c.right(),e));if(this.e().cq().xAxis().isInverted()){h=Math.ceil(this.e().cq().xAxis().getUnscaledValue(c.left(),e));g=Math.floor(this.e().cq().xAxis().getUnscaledValue(c.right(),e))}var i=Math.floor((h-g+1)*a/c.width());this.h(Math.max(1,i));this.f(Math.floor(g/this.h()));this.g(Math.ceil(h/this.h()))}else{this.f(f.getFirstVisibleIndex(b,c));this.g(f.getLastVisibleIndex(b,c));this.h(1)}},cacheValues:function(){},unCacheValues:function(){},$type:new $.ig.Type("FinancialBucketCalculator",$.ig.Object.prototype.$type,[$.ig.IBucketizer.prototype.$type])},true);$.ig.util.defType("BollingerBandsBucketCalculator","FinancialBucketCalculator",{init:function(a){$.ig.FinancialBucketCalculator.prototype.init.call(this,a);this.s(a)},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},getBucket:function(a){var $self=this;var b=a*this.h();var c=Math.min(b+this.h()-1,this.e().cq().eb().g()-1);if(b<=c){var d=this.s().c2().multiplier();var e=0;var f=0;var g=0;for(var h=b;h<=c;++h){if(!isNaN(this.s().c2().ls.__inner[h])&&!isNaN(this.s().c2().lt.__inner[h])){e+=this.s().c2().ls.__inner[h];f+=this.s().c2().lt.__inner[h];++g}}if(g>0){e=e/g;f=f/g;return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(e-f*d);$ret.add(e);$ret.add(e+f*d);return $ret}()}}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("BollingerBandsBucketCalculator",$.ig.FinancialBucketCalculator.prototype.$type)},true);$.ig.util.defType("FinancialSeriesView","SeriesView",{_cq:null,cq:function(a){if(arguments.length===1){this._cq=a;return a}else{return this._cq}},_cr:null,cr:function(a){if(arguments.length===1){this._cr=a;return a}else{return this._cr}},init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this.cq(a);this.cr(this.cw())},cw:function(){},ak:function(){var $self=this;$.ig.SeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.s);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},$type:new $.ig.Type("FinancialSeriesView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("BollingerBandsOverlayView","FinancialSeriesView",{_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},init:function(a){this.cx=new $.ig.Polygon;this.cy=new $.ig.Polyline;this.cz=new $.ig.Polyline;this.c0=new $.ig.Polyline;$.ig.FinancialSeriesView.prototype.init.call(this,a);this.c2(a)},cw:function(){return new $.ig.BollingerBandsBucketCalculator(this)},c5:function(a,b,c,d,e,f){var h=$.ig.Flattener.prototype.c(a,b,d,this.w().resolution()).getEnumerator();while(h.moveNext()){var g=h.current();this.cx.bl().add({__x:b(g),__y:d(g),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.cy.bl().add({__x:b(g),__y:d(g),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var j=$.ig.Flattener.prototype.c(a,b,e,this.w().resolution()).getEnumerator();while(j.moveNext()){var i=j.current();this.cz.bl().add({__x:b(i),__y:e(i),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var l=$.ig.Flattener.prototype.c(a,c,f,this.w().resolution()).getEnumerator();while(l.moveNext()){var k=l.current();this.cx.bl().add({__x:c(k),__y:f(k),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c0.bl().add({__x:c(k),__y:f(k),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}this.ar()},c6:function(){this.cx.bl().clear();this.cy.bl().clear();this.cz.bl().clear();this.c0.bl().clear();this.ar()},cx:null,cy:null,cz:null,c0:null,a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.cy.__stroke=this.w().actualOutline();this.cy.a5(this.w().thickness());this.cz.__stroke=this.w().actualOutline();this.cz.a5(this.w().thickness());this.cz.a6(this.w().dashArray());this.cz.a7(this.w().dashCap());this.c0.__stroke=this.w().actualOutline();this.c0.a5(this.w().thickness());this.cx.__fill=this.w().actualBrush();this.cx.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.cy.__stroke=a;this.cy.a5(this.w().thickness()+$.ig.BollingerBandsOverlayView.prototype.b);this.cz.__stroke=a;this.cz.a5(this.w().thickness()+$.ig.BollingerBandsOverlayView.prototype.b);this.cz.a6(this.w().dashArray());this.cz.a7(this.w().dashCap());this.c0.__stroke=a;this.c0.a5(this.w().thickness()+$.ig.BollingerBandsOverlayView.prototype.b);this.cx.__fill=a;this.cx.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){a.k(this.cx);a.l(this.cy);a.l(this.cz);a.l(this.c0)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PolygonVisualData(1,"FillShape",this.cx);var c=new $.ig.PolyLineVisualData(1,"BottomLine",this.cy);var d=new $.ig.PolyLineVisualData(1,"CentralLine",this.cz);var e=new $.ig.PolyLineVisualData(1,"TopLine",this.c0);a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("BollingerBandsOverlayView",$.ig.FinancialSeriesView.prototype.$type)},true);$.ig.util.defType("BollingerBandWidthIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.BollingerBandWidthIndicatorStrategy},mx:function(){return $.ig.BollingerBandWidthIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.BollingerBandWidthIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.BollingerBandWidthIndicator.prototype.periodProperty)}},m2:function(){return this.period()},multiplier:function(a){if(arguments.length===1){this.c($.ig.BollingerBandWidthIndicator.prototype.multiplierProperty,a);return a}else{return this.b($.ig.BollingerBandWidthIndicator.prototype.multiplierProperty)}},nc:function(){return this.multiplier()},$type:new $.ig.Type("BollingerBandWidthIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("BollingerBandWidthIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());c.w(b.m().d());c.w(b.n().d());return c},a:function(a,b){var c=b.m().c()(a.typicalColumn(),a.period()).getEnumerator();var d=b.n().c()(a.typicalColumn(),a.period()).getEnumerator();var e=a.multiplier();var f=a.indicatorColumn();var g=0;while(c.moveNext()&&d.moveNext()){var h=d.current()*e;var i=c.current()+h;var j=c.current()-h;var k=c.current();var l=b.v()((i-j)/k);f.item(g,l);g++}return true},$type:new $.ig.Type("BollingerBandWidthIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("ChaikinOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.ChaikinOscillatorIndicatorStrategy},mx:function(){return $.ig.ChaikinOscillatorIndicator.prototype.$type},shortPeriod:function(a){if(arguments.length===1){this.c($.ig.ChaikinOscillatorIndicator.prototype.shortPeriodProperty,a);return a}else{return this.b($.ig.ChaikinOscillatorIndicator.prototype.shortPeriodProperty)}},m3:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.c($.ig.ChaikinOscillatorIndicator.prototype.longPeriodProperty,a);return a}else{return this.b($.ig.ChaikinOscillatorIndicator.prototype.longPeriodProperty)}},m4:function(){return this.longPeriod()},$type:new $.ig.Type("ChaikinOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("ChaikinOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this);this.d(new $.ig.AccumulationDistributionIndicatorStrategy)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(this.d().b(a,b));c.w(b.l().d());return c},a:function(a,b){var c=a.indicatorColumn();var d=this.d().c(a,b);var e=b.l().c()(d,a.shortPeriod()).getEnumerator();var f=b.l().c()(d,a.longPeriod()).getEnumerator();var g=0;while(e.moveNext()&&f.moveNext()){var h=e.current()-f.current();c.item(g,h);g++}return true},$type:new $.ig.Type("ChaikinOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("ChaikinVolatilityIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.ChaikinVolatilityIndicatorStrategy},mx:function(){return $.ig.ChaikinVolatilityIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.ChaikinVolatilityIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.ChaikinVolatilityIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("ChaikinVolatilityIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("ChaikinVolatilityIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.w(b.l().d());return c},a:function(a,b){var $self=this;var d=b.u()(function(c){return a.highColumn().item(c)-a.lowColumn().item(c)},a.count());var e=b.l().c()(d,a.period()).getEnumerator();var f=a.indicatorColumn();var g=new Array(a.period());for(var h=0;h<a.period();h++){g[h]=0}var i=0;while(e.moveNext()){var j=i%a.period();var k=b.v()((e.current()-g[j])/(g[j]*100));if(i<a.period()){f.item(i,0)}else{f.item(i,k)}g[j]=e.current();i++}return true},$type:new $.ig.Type("ChaikinVolatilityIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("CommodityChannelIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.CommodityChannelIndexIndicatorStrategy},mx:function(){return $.ig.CommodityChannelIndexIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.CommodityChannelIndexIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.CommodityChannelIndexIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("CommodityChannelIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("CommodityChannelIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());c.w(b.m().d());return c},a:function(a,b){var c=a.period();var d=a.typicalColumn();var e=a.indicatorColumn();var f=b.m().c()(d,c).getEnumerator();var g=d.getEnumerator();var h=new Array(c);for(var i=0;i<c;i++){h[i]=0}var j=0;while(g.moveNext()&&f.moveNext()){h[j%c]=g.current();var k=0;for(var l=0;l<c;++l){k+=Math.abs(f.current()-h[l])}k/=c;e.item(j,b.v()((g.current()-f.current())/(.015*k)));++j}return true},$type:new $.ig.Type("CommodityChannelIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("CustomIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.CustomIndicatorStrategy},mx:function(){return $.ig.CustomIndicator.prototype.$type},l8:function(a,b){var c=this.kr(a,b);var d=this.kt(c);var e=new $.ig.List$1(String,0);if(this.ng!=null){var f=new $.ig.FinancialEventArgs(c.calculateFrom(),c.calculateCount(),c,d);this.ng(this,f);if(f.basedOn()!=null){var h=f.basedOn().getEnumerator();while(h.moveNext()){var g=h.current();e.add(g)}}}return e},nf:null,indicator:function(a){if(arguments.length===1){this.nf=a;this.md();return a}else{return this.nf}},ng:null,basedOnColumns:function(a){if(arguments.length===1){this.ng=a;return a}else{return this.ng}},l7:function(a,b){$.ig.StrategyBasedIndicator.prototype.l7.call(this,a,b);if(this.nf!=null){var c=this.kr(a,b);if(b==0){return false}if(!this.kk(this.l8(a,b))){return false}this.nf(this,new $.ig.FinancialEventArgs(a,b,c,this.kt(c)));if(this.m9(c)&&this.yAxis()!=null){this.yAxis().updateRange()}return true}return false},$type:new $.ig.Type("CustomIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("CustomIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},a:function(a,b){return true},b:function(a,b){return new $.ig.List$1(String,0)},$type:new $.ig.Type("CustomIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PriceChannelOverlayView","FinancialSeriesView",{cx:null,cy:null,cz:null,_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},init:function(a){this.cx=new $.ig.Polygon;this.cy=new $.ig.Polyline;this.cz=new $.ig.Polyline;$.ig.FinancialSeriesView.prototype.init.call(this,a);this.c1(a)},cw:function(){return new $.ig.PriceChannelBucketCalculator(this)},c4:function(){this.cx.bl().clear();this.cy.bl().clear();this.cz.bl().clear();this.ar()},c5:function(a,b,c,d,e){var g=$.ig.Flattener.prototype.c(a,b,d,this.w().resolution()).getEnumerator();while(g.moveNext()){var f=g.current();this.cx.bl().add({__x:b(f),__y:d(f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.cy.bl().add({__x:b(f),__y:d(f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var i=$.ig.Flattener.prototype.c(a,c,e,this.w().resolution()).getEnumerator();while(i.moveNext()){var h=i.current();this.cx.bl().add({__x:c(h),__y:e(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.cz.bl().add({__x:c(h),__y:e(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.cy.__stroke=this.w().actualOutline();this.cy.a5(this.w().thickness());this.cy.a6(this.w().dashArray());this.cy.a7(this.w().dashCap());this.cz.__stroke=this.w().actualOutline();this.cz.a5(this.w().thickness());this.cz.a6(this.w().dashArray());this.cz.a7(this.w().dashCap());this.cx.__fill=this.w().actualBrush();this.cx.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.cy.__stroke=a;this.cy.a5(this.w().thickness()+$.ig.PriceChannelOverlayView.prototype.b);this.cy.a6(this.w().dashArray());this.cy.a7(this.w().dashCap());this.cz.__stroke=a;this.cz.a5(this.w().thickness()+$.ig.PriceChannelOverlayView.prototype.b);this.cz.a6(this.w().dashArray());this.cz.a7(this.w().dashCap());this.cx.__fill=a;this.cx.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){a.k(this.cx);a.l(this.cy);a.l(this.cz)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PolygonVisualData(1,"fill",this.cx);var c=new $.ig.PolyLineVisualData(1,"bottom",this.cy);var d=new $.ig.PolyLineVisualData(1,"top",this.cz);a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("PriceChannelOverlayView",$.ig.FinancialSeriesView.prototype.$type)},true);$.ig.util.defType("DetrendedPriceOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.DetrendedPriceOscillatorIndicatorStrategy},mx:function(){return $.ig.DetrendedPriceOscillatorIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.DetrendedPriceOscillatorIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.DetrendedPriceOscillatorIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("DetrendedPriceOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("DetrendedPriceOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.w(b.m().d());return c},a:function(a,b){var c=a.period();var d=a.closeColumn();var e=a.indicatorColumn();var f=b.m().c()(d,c).getEnumerator();var g=$.ig.intDivide(c,2)+1;var h=new Array(g);for(var i=0;i<g;i++){h[i]=0}for(var j=1;j<Math.min(g+1,e.count());++j){var k=j%g;e.item(j,0);f.moveNext();h[k]=f.current()}for(var l=g+1;l<e.count();l++){var m=l%g;e.item(l,d.item(l)-h[m]);f.moveNext();h[m]=f.current()}return true},$type:new $.ig.Type("DetrendedPriceOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("EaseOfMovementIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.EaseOfMovementIndicatorStrategy},mx:function(){return $.ig.EaseOfMovementIndicator.prototype.$type},$type:new $.ig.Type("EaseOfMovementIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("EaseOfMovementIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=a.indicatorColumn();var d=a.highColumn();var e=a.lowColumn();var f=a.volumeColumn();var g=a.count();if(g>0){c.item(0,0)}for(var h=1;h<g;h++){var i=(d.item(h)+e.item(h))/2;var j=(d.item(h-1)+e.item(h-1))/2;var k=i-j;var l=1e4;var m=b.v()(f.item(h)/l/(d.item(h)-e.item(h)));c.item(h,b.v()(k/m))}return true},$type:new $.ig.Type("EaseOfMovementIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("FastStochasticOscillatorIndicator","StrategyBasedIndicator",{init:function(){var $self=this;$.ig.StrategyBasedIndicator.prototype.init.call(this);this.trendLineBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="Blue";return $ret}());this.trendLineType($.ig.TrendLineType.prototype.exponentialAverage);this.trendLinePeriod(3)},mw:function(){return new $.ig.FastStochasticOscillatorIndicatorStrategy},mx:function(){return $.ig.FastStochasticOscillatorIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.FastStochasticOscillatorIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.FastStochasticOscillatorIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("FastStochasticOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("FastStochasticOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this);this.d(new $.ig.PercentKCalculationStrategy)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(this.d().b(a,b));return c},a:function(a,b){var c=this.d().c(a,b);var d=0;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();a.indicatorColumn().item(d,e);d++}return true},$type:new $.ig.Type("FastStochasticOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("FinancialIndicatorBucketCalculator","FinancialBucketCalculator",{init:function(a){$.ig.FinancialBucketCalculator.prototype.init.call(this,a);this.s(a)},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},getBucket:function(a){var $self=this;var b=a*this.h();var c=Math.min(b+this.h()-1,this.s().c8().lw().count()-1);var d=NaN;var e=NaN;for(var f=b;f<=c;++f){var g=this.s().c8().lw().__inner[f];if(!isNaN(d)){if(!isNaN(g)){d=Math.min(d,g);e=Math.max(e,g)}}else{d=g;e=g}}if(!isNaN(d)){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);return $ret}()}return function(){var $ret=new Array;
$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("FinancialIndicatorBucketCalculator",$.ig.FinancialBucketCalculator.prototype.$type)},true);$.ig.util.defType("FinancialIndicatorView","FinancialSeriesView",{_c8:null,c8:function(a){if(arguments.length===1){this._c8=a;return a}else{return this._c8}},init:function(a){var $self=this;this.cy=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.cz=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.c0=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.c1=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.c2=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.c3=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.c4=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();this.c5=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();$.ig.FinancialSeriesView.prototype.init.call(this,a);this.c8(a);this.cx=function(){var $ret=new $.ig.Pool$1($.ig.LineGeometry.prototype.$type);$ret.create($self.dc.runOn($self));$ret.destroy($self.dd.runOn($self));return $ret}();this.c9(new $.ig.CategoryTrendLineManager)},cw:function(){return new $.ig.FinancialIndicatorBucketCalculator(this)},ak:function(){var $self=this;$.ig.FinancialSeriesView.prototype.ak.call(this);if(!this.af()){this.cq().negativeBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#415460";return $ret}())}},cx:null,dc:function(){return new $.ig.LineGeometry},dd:function(a){},cy:null,cz:null,c0:null,c1:null,c2:null,c3:null,c4:null,c5:null,_c9:null,c9:function(a){if(arguments.length===1){this._c9=a;return a}else{return this._c9}},dg:function(a){$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.cy.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.c0.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.c2.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.cz.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.c1.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.c3.bn()).reset();$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.c4.bn()).reset1();$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.c5.bn()).reset1();if(a){this.cx.g(0)}this.c9().ab();this.ar()},dh:function(){},di:function(a,b,c,d,e,f){$.ig.IndicatorRenderer.prototype.b(a,b,c,d,e,f,this.ae(),this.ad(),this.cy,this.c0,this.c2,this.cz,this.c1,this.c3,this.cr().h(),this.w().resolution());this.ar()},dj:function(a,b,c,d,e,f,g){$.ig.IndicatorRenderer.prototype.c(a,b,c,d,e,f,this.ae(),this.ad(),this.cy,this.c0,this.c2,this.cz,this.c1,this.c3,g,this.cr().h(),this.w().resolution());this.ar()},dk:function(a,b,c,d,e,f,g){$.ig.IndicatorRenderer.prototype.d(a,b,c,d,e,f,g,this.cx,this.c4,this.c5);this.ar()},dl:function(){this.c8().actualTrendLineBrush(null);if(this.c8().trendLineBrush()!=null){this.c8().actualTrendLineBrush(this.c8().trendLineBrush())}else{this.c8().actualTrendLineBrush(this.c8().actualBrush())}},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.cy.__stroke=this.w().actualBrush();this.c2.__stroke=this.w().actualBrush();this.cy.a5(this.w().thickness());this.c2.a5(this.w().thickness());this.cy.a6(this.w().dashArray());this.c2.a7(this.w().dashCap());this.cy.a6(this.w().dashArray());this.cy.a7(this.w().dashCap());this.c0.__fill=this.w().actualBrush();this.c0.__opacity=.8;this.cz.__stroke=this.cq().negativeBrush();this.c3.__stroke=this.cq().negativeBrush();this.cz.a5(this.w().thickness());this.c3.a5(this.w().thickness());this.cz.a6(this.cq().dashArray());this.c3.a6(this.cq().dashArray());this.cz.a7(this.cq().dashCap());this.c3.a7(this.cq().dashCap());this.c1.__fill=this.cq().negativeBrush();this.c1.__opacity=.8;this.c4.__stroke=this.w().actualBrush();this.c4.a5(this.w().thickness());this.c4.a6(this.w().dashArray());this.c4.a7(this.w().dashCap());this.c5.__stroke=this.cq().negativeBrush();this.c5.a5(this.w().thickness());this.c5.a6(this.w().dashArray());this.c5.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.cy.__stroke=a;this.c2.__stroke=a;this.cy.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.c2.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.c0.__fill=a;this.c0.__opacity=.8;this.cz.__stroke=a;this.c3.__stroke=a;this.cz.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.c3.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.c1.__fill=a;this.c1.__opacity=.8;this.c4.__stroke=a;this.c4.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.c5.__stroke=a;this.c5.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.c8().displayType()==$.ig.IndicatorDisplayType.prototype.column){if(this.l&&!b){a.e($.ig.GradientDirection.prototype.bottomTop,null)}a.g(this.c4);a.g(this.c5)}else{if(this.l&&!b){a.e($.ig.GradientDirection.prototype.bottomTop,null)}a.g(this.c0);a.g(this.cy);a.g(this.c2);a.g(this.c1);a.g(this.cz);a.g(this.c3)}}},a5:function(a,b){if(a.b()){if(this.c8().trendLineType()!=$.ig.TrendLineType.prototype.none&&!b){var c=this.c9().n();c.a5(this.c8().trendLineThickness());c.__stroke=this.c8().actualTrendLineBrush();c.a7(this.c8().trendLineDashCap());c.a6(this.c8().trendLineDashArray());if(this.l&&!b){a.e($.ig.GradientDirection.prototype.bottomTop,null)}a.l(c)}}$.ig.SeriesView.prototype.a5.call(this,a,b)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"positiveColumnsShape",this.c4);b.tags().add("Positive");var c=new $.ig.PathVisualData(1,"negativeColumnsShape",this.c5);c.tags().add("Negative");var d=new $.ig.PathVisualData(1,"positive0",this.cy);var e=new $.ig.PathVisualData(1,"positive1",this.c2);var f=new $.ig.PathVisualData(1,"positive01",this.c0);var g=new $.ig.PathVisualData(1,"negative0",this.cz);var h=new $.ig.PathVisualData(1,"negative1",this.c3);var i=new $.ig.PathVisualData(1,"negative01",this.c1);a.shapes().add(d);a.shapes().add(e);a.shapes().add(f);a.shapes().add(g);a.shapes().add(h);a.shapes().add(i)},dm:function(){this.c9($.ig.CategoryTrendLineManagerBase.prototype.af(this.c9(),this.c8().xAxis(),this.w().rootCanvas(),this.c8()))},$type:new $.ig.Type("FinancialIndicatorView",$.ig.FinancialSeriesView.prototype.$type)},true);$.ig.util.defType("ForceIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this);this.displayType($.ig.IndicatorDisplayType.prototype.area)},mw:function(){return new $.ig.ForceIndexIndicatorStrategy},mx:function(){return $.ig.ForceIndexIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.ForceIndexIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.ForceIndexIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("ForceIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("ForceIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.add($.ig.FinancialSeries.prototype.iv);c.w(b.l().d());return c},c:function(a){var $self=this;var $iter=function(){return function(a){return{$state:0,$this:$self,$current:null,$b:0,$c:null,$d:null,$e:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=0;this.$c=a.closeColumn();this.$d=a.volumeColumn();this.$e=a.indicatorColumn();this.$state=1;break;case 1:if(this.$c!=null&&this.$d!=null){this.$state=2}else{this.$state=3}break;case 2:this.$b=Math.min(this.$c.count(),this.$d.count());this.$state=3;break;case 3:this.$state=4;break;case 4:if(this.$b>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=0;this.$state=6;return true;case 6:this.$state=7;break;case 7:this.$state=8;break;case 8:this.$f=1;this.$state=12;break;case 9:this.$current=this.$d.item(this.$f)*(this.$c.item(this.$f)-this.$c.item(this.$f-1));this.$state=10;return true;case 10:this.$state=11;break;case 11:++this.$f;this.$state=12;break;case 12:if(this.$f<this.$b){this.$state=9}else{this.$state=13}break;case 13:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=this.c(a);var d=a.period();var e=a.indicatorColumn();if(d!=0&&!isNaN(d)&&!Number.isInfinity(d)){c=b.l().c()(c,a.period())}var f=0;var h=c.getEnumerator();while(h.moveNext()){var g=h.current();e.item(f,g);++f}return true},$type:new $.ig.Type("ForceIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("FullStochasticOscillatorIndicator","StrategyBasedIndicator",{init:function(){var $self=this;$.ig.StrategyBasedIndicator.prototype.init.call(this);this.trendLineBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="Blue";return $ret}());this.trendLineType($.ig.TrendLineType.prototype.exponentialAverage);this.trendLinePeriod(3)},mw:function(){return new $.ig.FullStochasticOscillatorIndicatorStrategy},mx:function(){return $.ig.FullStochasticOscillatorIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.FullStochasticOscillatorIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.FullStochasticOscillatorIndicator.prototype.periodProperty)}},m2:function(){return this.period()},smoothingPeriod:function(a){if(arguments.length===1){this.c($.ig.FullStochasticOscillatorIndicator.prototype.smoothingPeriodProperty,a);return a}else{return this.b($.ig.FullStochasticOscillatorIndicator.prototype.smoothingPeriodProperty)}},m3:function(){return this.smoothingPeriod()},triggerPeriod:function(a){if(arguments.length===1){this.c($.ig.FullStochasticOscillatorIndicator.prototype.triggerPeriodProperty,a);return a}else{return this.b($.ig.FullStochasticOscillatorIndicator.prototype.triggerPeriodProperty)}},m4:function(){return this.triggerPeriod()},l2:function(){return this.triggerPeriod()},$type:new $.ig.Type("FullStochasticOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("FullStochasticOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this);this.d(new $.ig.PercentKCalculationStrategy)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(this.d().b(a,b));c.w(b.l().d());return c},a:function(a,b){var c=this.d().c(a,b);var d=b.l().c()(c,a.shortPeriod());var e=0;var g=d.getEnumerator();while(g.moveNext()){var f=g.current();a.indicatorColumn().item(e,f);e++}return true},$type:new $.ig.Type("FullStochasticOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PercentKCalculationStrategy","StreamingIndicatorCalculationStrategy",{init:function(){$.ig.StreamingIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.it);return c},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:null,$e:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=a.period();this.$d=a.highColumn();this.$e=a.lowColumn();this.$state=1;break;case 1:this.$f=0;this.$state=16;break;case 2:this.$g=Math.min(this.$c,this.$f);this.$h=-Number.MAX_VALUE;this.$i=Number.MAX_VALUE;this.$state=3;break;case 3:this.$j=0;this.$state=12;break;case 4:this.$state=5;break;case 5:if(!isNaN(this.$d.item(this.$f-this.$j))){this.$state=6}else{this.$state=7}break;case 6:this.$h=Math.max(this.$h,this.$d.item(this.$f-this.$j));this.$state=7;break;case 7:this.$state=8;break;case 8:if(!isNaN(this.$e.item(this.$f-this.$j))){this.$state=9}else{this.$state=10}break;case 9:this.$i=Math.min(this.$i,this.$e.item(this.$f-this.$j));this.$state=10;break;case 10:this.$state=11;break;case 11:this.$j++;this.$state=12;break;case 12:if(this.$j<this.$g){this.$state=4}else{this.$state=13}break;case 13:this.$current=b.v()((a.closeColumn().item(this.$f)-this.$i)/(this.$h-this.$i)*100);this.$state=14;return true;case 14:this.$state=15;break;case 15:this.$f++;this.$state=16;break;case 16:if(this.$f<a.count()){this.$state=2}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},$type:new $.ig.Type("PercentKCalculationStrategy",$.ig.StreamingIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("IndicatorRenderer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d){var $self=this;var e=new $.ig.PathFigure;var f=$.ig.Flattener.prototype.e(new $.ig.List$1($.ig.Number.prototype.$type,0),a,b,c,0,a.count()-1,d);for(var g=0;g<f.count();g++){var h=f.item(g);e.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:b(h),__y:c(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}())}e.__startPoint=$.ig.util.cast($.ig.LineSegment.prototype.$type,e.__segments.__inner[0]).d();return e},b:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=$.ig.util.cast($.ig.PathGeometry.prototype.$type,i.bn()).d();var r=$.ig.util.cast($.ig.PathGeometry.prototype.$type,l.bn()).d();if(o==1){var s=new $.ig.List$1($.ig.Number.prototype.$type,0);var t=q;var u=0;s.add(0);for(var v=0,w=1;w<a;v=w++){var x=u;var y=c(w)-c(v);if(f&&!isNaN(y)){x=Math.sign(y)}if(x!=0&&x!=u){t.add($.ig.IndicatorRenderer.prototype.a(s,b,c,p));u=x;t=u==1?r:q;s.clear();s.add(v)}s.add(w)}t.add($.ig.IndicatorRenderer.prototype.a(s,b,c,p))}else{var z=new $.ig.List$1($.ig.Number.prototype.$type,0);var aa=q;var ab=0;z.add(0);for(var ac=0,ad=1;ad<a;ac=ad++){var ae=ab;var af=c(ad)-c(ac);if(f&&!isNaN(af)){ae=Math.sign(af)}if(ae!=0&&ae!=ab){if(z.count()>0){aa.add($.ig.IndicatorRenderer.prototype.a(z,b,c,p))}ab=ae;aa=ab==1?r:q;z.clear();z.add(ac)}z.add(ad)}if(z.count()>0){aa.add($.ig.IndicatorRenderer.prototype.a(z,b,c,p))}}},c:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var $self=this;var r=$.ig.util.cast($.ig.PathGeometry.prototype.$type,i.bn()).d();var s=$.ig.util.cast($.ig.PathGeometry.prototype.$type,j.bn()).d();var t=$.ig.util.cast($.ig.PathGeometry.prototype.$type,l.bn()).d();var u=$.ig.util.cast($.ig.PathGeometry.prototype.$type,m.bn()).d();if(p==1){var v=new $.ig.List$1($.ig.Number.prototype.$type,0);var w=r;var x=s;var y=0;v.add(0);for(var z=0,aa=1;aa<a;z=aa++){var ab=y;var ac=c(aa)-c(z);if(f&&!isNaN(ac)){ab=Math.sign(ac)}if(ab!=0&&ab!=y){if(v.count()>0){var ad=$.ig.IndicatorRenderer.prototype.a(v,b,c,q);var ae=ad.duplicate1();ae.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ad.__segments.__inner[ad.__segments.count()-1]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ae.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ad.__segments.__inner[0]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());w.add(ad);x.add(ae)}y=ab;w=y==1?t:r;x=y==1?u:s;v.clear();v.add(z)}v.add(aa)}var af=$.ig.IndicatorRenderer.prototype.a(v,b,c,q);var ag=af.duplicate1();ag.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,af.__segments.__inner[af.__segments.count()-1]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ag.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,af.__segments.__inner[0]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());w.add(af);x.add(ag)}else{var ah=new $.ig.List$1($.ig.Number.prototype.$type,0);var ai=r;var aj=s;var ak=0;ah.add(0);for(var al=0,am=1;am<a;al=am++){var an=ak;var ao=c(am)+e(am)-(c(al)+e(al));if(f&&!isNaN(ao)){an=Math.sign(ao)}if(an!=0&&an!=ak){if(ah.count()>0){var ap=$.ig.IndicatorRenderer.prototype.a(ah,b,c,q);var aq=ap.duplicate1();aq.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ap.__segments.__inner[ap.__segments.count()-1]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());aq.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ap.__segments.__inner[0]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ai.add(ap);aj.add(aq)}ak=an;ai=ak==1?t:r;aj=ak==1?u:s;ah.clear();ah.add(al)}ah.add(am)}var ar=$.ig.IndicatorRenderer.prototype.a(ah,b,c,q);var as=ar.duplicate1();as.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ar.__segments.__inner[ar.__segments.count()-1]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());as.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:$.ig.util.cast($.ig.LineSegment.prototype.$type,ar.__segments.__inner[0]).d().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ai.add(ar);aj.add(as)}},d:function(a,b,c,d,e,f,g,h,i,j){var k=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,i.bn());var l=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,j.bn());for(var m=0;m<a;++m){var n=h.item(m);n.e({__x:b(m),__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});n.f({__x:b(m),__y:c(m),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var o=false;if(m>0){if(c(m)<=c(m-1)){o=true}}else{if(a>1){if(c(m+1)<=c(m)){o=true}}}if(o){k.e().add(n)}else{l.e().add(n)}}h.g(a)},$type:new $.ig.Type("IndicatorRenderer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ItemwiseIndicatorCalculationStrategy","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c){},b:function(a,b){},$type:new $.ig.Type("ItemwiseIndicatorCalculationStrategy",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ItemwiseStrategyBasedIndicator","StrategyBasedIndicator",{_ng:null,ng:function(a){if(arguments.length===1){this._ng=a;return a}else{return this._ng}},_nh:null,nh:function(){return this._nh},mw:function(){return new $.ig.ItemwiseStrategyCalculationStrategy},init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this);this.ng(this.nh());this.mv().d(this.ng())},$type:new $.ig.Type("ItemwiseStrategyBasedIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("ItemwiseStrategyCalculationStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},b:function(a,b){return this.d().b(a,b)},a:function(a,b){var c=true;for(var d=a.calculateFrom();d<a.calculateFrom()+a.calculateCount();d++){c=this.d().a(a,b,d);if(!c){return false}}return c},$type:new $.ig.Type("ItemwiseStrategyCalculationStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("MarketFacilitationIndexIndicator","ItemwiseStrategyBasedIndicator",{init:function(){$.ig.ItemwiseStrategyBasedIndicator.prototype.init.call(this);this.displayType($.ig.IndicatorDisplayType.prototype.area)},nh:function(){return new $.ig.MarketFacilitationIndexIndicatorStrategy},mx:function(){return $.ig.MarketFacilitationIndexIndicator.prototype.$type},$type:new $.ig.Type("MarketFacilitationIndexIndicator",$.ig.ItemwiseStrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("MarketFacilitationIndexIndicatorStrategy","ItemwiseIndicatorCalculationStrategy",{init:function(){$.ig.ItemwiseIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b,c){a.indicatorColumn().item(c,b.v()((a.highColumn().item(c)-a.lowColumn().item(c))/a.volumeColumn().item(c)));return true},$type:new $.ig.Type("MarketFacilitationIndexIndicatorStrategy",$.ig.ItemwiseIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("MassIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.MassIndexIndicatorStrategy},mx:function(){return $.ig.MassIndexIndicator.prototype.$type},$type:new $.ig.Type("MassIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("MassIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.w(b.l().d());return c},c:function(a,b){var c=new $.ig.List$1(Number,0);for(var d=0;d<Math.min(a.count(),b.count());d++){c.add(a.item(d)-b.item(d))}return c},a:function(a,b){var c=9;var d=a.highColumn();var e=a.lowColumn();var f=a.indicatorColumn();var g=b.l().c()(this.c(d,e),c).getEnumerator();var h=b.l().c()(b.l().c()(this.c(d,e),c),c).getEnumerator();var i=new Array(c);for(var j=0;j<c;j++){i[j]=0}var k=0;for(var l=0;l<f.count();l++){var m=l%c;k-=i[m];g.moveNext();h.moveNext();var n=b.v()(g.current()/h.current());k+=n;f.item(l,k);i[m]=n}return true},$type:new $.ig.Type("MassIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("MedianPriceIndicator","ItemwiseStrategyBasedIndicator",{init:function(){$.ig.ItemwiseStrategyBasedIndicator.prototype.init.call(this)},nh:function(){return new $.ig.MedianPriceIndicatorStrategy},mx:function(){return $.ig.MedianPriceIndicator.prototype.$type},$type:new $.ig.Type("MedianPriceIndicator",$.ig.ItemwiseStrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("MedianPriceIndicatorStrategy","ItemwiseIndicatorCalculationStrategy",{init:function(){$.ig.ItemwiseIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);return c},a:function(a,b,c){a.indicatorColumn().item(c,(a.highColumn().item(c)+a.lowColumn().item(c))/2);return true},$type:new $.ig.Type("MedianPriceIndicatorStrategy",$.ig.ItemwiseIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("MoneyFlowIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this);this.displayType($.ig.IndicatorDisplayType.prototype.area)},mw:function(){return new $.ig.MoneyFlowIndexIndicatorStrategy},mx:function(){return $.ig.MoneyFlowIndexIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.MoneyFlowIndexIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.MoneyFlowIndexIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("MoneyFlowIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("MoneyFlowIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=a.typicalColumn().getEnumerator();var d=a.volumeColumn().getEnumerator();var e=a.period();var f=0;var g=new Array(e);for(f=0;f<e;f++){g[f]=0}var h=0;var i=new Array(e);for(f=0;f<e;f++){i[f]=0}var j=0;var k=0;f=0;while(c.moveNext()&&d.moveNext()){var l=f%e;var m=c.current()*d.current();h-=g[l];j-=i[l];switch(Math.sign(m-k)){case-1:g[l]=0;i[l]=m;break;case 0:g[l]=0;i[l]=0;break;case 1:g[l]=m;i[l]=0;break}h+=g[l];j+=i[l];var n=b.v()(100*h/(h+j));a.indicatorColumn().item(f,n);k=m;++f}return true},$type:new $.ig.Type("MoneyFlowIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("MovingAverageConvergenceDivergenceIndicator","StrategyBasedIndicator",{init:function(){var $self=this;$.ig.StrategyBasedIndicator.prototype.init.call(this);this.trendLineBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="Blue";return $ret}());this.trendLineType($.ig.TrendLineType.prototype.exponentialAverage);this.trendLinePeriod(9)},mw:function(){return new $.ig.MovingAverageConvergenceDivergenceIndicatorStrategy},mx:function(){return $.ig.MovingAverageConvergenceDivergenceIndicator.prototype.$type},shortPeriod:function(a){if(arguments.length===1){this.c($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.shortPeriodProperty,a);return a}else{return this.b($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.shortPeriodProperty)}},m3:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.c($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.longPeriodProperty,a);return a}else{return this.b($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.longPeriodProperty)}},m4:function(){return this.longPeriod()},signalPeriod:function(a){if(arguments.length===1){this.c($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.signalPeriodProperty,a);return a}else{return this.b($.ig.MovingAverageConvergenceDivergenceIndicator.prototype.signalPeriodProperty)}},l2:function(){return this.signalPeriod()},$type:new $.ig.Type("MovingAverageConvergenceDivergenceIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("MovingAverageConvergenceDivergenceIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());c.w(b.l().d());return c},a:function(a,b){var c=a.typicalColumn();var d=a.indicatorColumn();var e=a.shortPeriod();var f=a.longPeriod();var g=b.l().c()(c,e).getEnumerator();var h=b.l().c()(c,f).getEnumerator();var i=0;while(g.moveNext()&&h.moveNext()){var j=b.v()(g.current()-h.current());d.item(i,j);i++}return true},$type:new $.ig.Type("MovingAverageConvergenceDivergenceIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("NegativeVolumeIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.NegativeVolumeIndexIndicatorStrategy},mx:function(){return $.ig.NegativeVolumeIndexIndicator.prototype.$type},$type:new $.ig.Type("NegativeVolumeIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("NegativeVolumeIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;var g=0;var h=0;if(e.count()>0){e.item(0,f)}for(var i=1;i<e.count();i++){if(d.item(i)<d.item(i-1)){g=b.v()((c.item(i)-c.item(i-1))/c.item(i-1));if(h!=0){f+=g*h}else{f+=g}}e.item(i,f);h=f}return true},$type:new $.ig.Type("NegativeVolumeIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("OnBalanceVolumeIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.OnBalanceVolumeIndicatorStrategy},mx:function(){return $.ig.OnBalanceVolumeIndicator.prototype.$type},$type:new $.ig.Type("OnBalanceVolumeIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("OnBalanceVolumeIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;if(c!=null&&d!=null){f=Math.min(c.count(),d.count())}var g=0;if(f>0){g=d.item(0);e.item(0,g)}for(var h=1;h<f;++h){switch(Math.sign(c.item(h)-c.item(h-1))){case-1:g-=d.item(h);break;case 1:g+=d.item(h);break}e.item(h,g)}return true},$type:new $.ig.Type("OnBalanceVolumeIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PercentagePriceOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.PercentagePriceOscillatorIndicatorStrategy},mx:function(){return $.ig.PercentagePriceOscillatorIndicator.prototype.$type},shortPeriod:function(a){if(arguments.length===1){this.c($.ig.PercentagePriceOscillatorIndicator.prototype.shortPeriodProperty,a);return a}else{return this.b($.ig.PercentagePriceOscillatorIndicator.prototype.shortPeriodProperty)}},m3:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.c($.ig.PercentagePriceOscillatorIndicator.prototype.longPeriodProperty,a);return a}else{return this.b($.ig.PercentagePriceOscillatorIndicator.prototype.longPeriodProperty)}},m4:function(){return this.longPeriod()},$type:new $.ig.Type("PercentagePriceOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("PercentagePriceOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(b.r().d());c.w(b.s().d());return c},a:function(a,b){var c=a.indicatorColumn();var d=b.r().c()(a).getEnumerator();var e=b.s().c()(a).getEnumerator();var f=0;while(d.moveNext()&&e.moveNext()){var g=b.v()(100*(d.current()-e.current())/e.current());c.item(f,g);++f}return true},$type:new $.ig.Type("PercentagePriceOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PercentageVolumeOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)
},mw:function(){return new $.ig.PercentageVolumeOscillatorIndicatorStrategy},mx:function(){return $.ig.PercentageVolumeOscillatorIndicator.prototype.$type},shortPeriod:function(a){if(arguments.length===1){this.c($.ig.PercentageVolumeOscillatorIndicator.prototype.shortPeriodProperty,a);return a}else{return this.b($.ig.PercentageVolumeOscillatorIndicator.prototype.shortPeriodProperty)}},m3:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.c($.ig.PercentageVolumeOscillatorIndicator.prototype.longPeriodProperty,a);return a}else{return this.b($.ig.PercentageVolumeOscillatorIndicator.prototype.longPeriodProperty)}},m4:function(){return this.longPeriod()},$type:new $.ig.Type("PercentageVolumeOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("PercentageVolumeOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(b.p().d());c.w(b.q().d());return c},a:function(a,b){var c=b.p().c()(a).getEnumerator();var d=b.q().c()(a).getEnumerator();var e=a.indicatorColumn();var f=0;while(c.moveNext()&&d.moveNext()){var g=b.v()(100*(c.current()-d.current())/d.current());e.item(f,g);++f}return true},$type:new $.ig.Type("PercentageVolumeOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PositiveVolumeIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.PositiveVolumeIndexIndicatorStrategy},mx:function(){return $.ig.PositiveVolumeIndexIndicator.prototype.$type},$type:new $.ig.Type("PositiveVolumeIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("PositiveVolumeIndexIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.add($.ig.FinancialSeries.prototype.iv);return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;var g=0;var h=0;if(e.count()>0){e.item(0,f)}for(var i=1;i<e.count();i++){if(d.item(i)>d.item(i-1)){g=b.v()((c.item(i)-c.item(i-1))/c.item(i-1));if(h!=0){f+=g*h}else{f+=g}}e.item(i,f);h=f}return true},$type:new $.ig.Type("PositiveVolumeIndexIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("PriceChannelOverlay","FinancialOverlay",{init:function(){this.lp=new $.ig.List$1(Number,0);this.lq=new $.ig.List$1(Number,0);$.ig.FinancialOverlay.prototype.init.call(this);this.a3($.ig.PriceChannelOverlay.prototype.$type);this.i4=new $.ig.CategoryFrame(3);this.i5=new $.ig.CategoryFrame(3);this.i6=new $.ig.CategoryFrame(3)},period:function(a){if(arguments.length===1){this.c($.ig.PriceChannelOverlay.prototype.periodProperty,a);return a}else{return this.b($.ig.PriceChannelOverlay.prototype.periodProperty)}},ft:function(a,b,c,d){switch(b){case $.ig.PriceChannelOverlay.prototype.ip:case $.ig.PriceChannelOverlay.prototype.ir:this.lj(false);break}$.ig.FinancialOverlay.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.PriceChannelOverlay.prototype.lo:this.lj(false);this.renderSeries(false);break}},ff:function(a,b,c){var d=$.ig.FinancialSeries.prototype.ff.call(this,a,b,c);if(this.ju()==null||this.jv()==null){d=false}return d},lm:function(){this.lp.clear();this.lq.clear();var a=$.ig.MathUtil.prototype.i(this.period(),0,this.eb().g());var b=Math.min(this.ju().count(),this.jv().count());var c=this.kp(this.ju());var d=this.kp(this.jv());for(var e=0;e<b;e++){var f=Math.min(a,e);var g=-Number.MAX_VALUE;var h=Number.MAX_VALUE;for(var i=0;i<f;i++){if(!isNaN(c.item(e-i))){g=Math.max(g,c.item(e-i))}if(!isNaN(d.item(e-i))){h=Math.min(h,d.item(e-i))}}if(e==0){h=d.item(0);g=c.item(0)}this.lp.add(g);this.lq.add(h)}return true},lu:function(a){return a},ki:function(a,b){var $self=this;var c=b.ae();var d=b.ad();var e=new $.ig.ScalerParams(c,d,this.xAxis().isInverted());var f=new $.ig.ScalerParams(c,d,this.yAxis().isInverted());var g=this.xAxis();var h=this.yAxis();a.f.clear();a.h.clear();a.i.clear();var i=0;var j=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());if(j!=null&&j.sortedIndices().count()!=this.eb().g()){return}i=this.getOffset(c,d);if(!this.lj()){this.lj(this.lm())}var k=this.lu(this.xAxis().getUnscaledValue(2,e)-this.xAxis().getUnscaledValue(1,e));for(var l=b.cr().f();l<=b.cr().g();++l){var m;if(j==null){m=b.cr().getBucket(l)}else{var n=j.sortedIndices().__inner[l];var o=j.getUnscaledValueAt(n);var p=this.lu(this.lp.__inner[l]);var q=this.lu(this.lq.__inner[l]);var r=p;var s=q;var t=o;while(l<b.cr().g()){n=j.sortedIndices().__inner[l+1];t=j.getUnscaledValueAt(n);if(t-o>k){break}l++;r=Math.max(p,this.lu(this.lp.__inner[l]));s=Math.min(q,this.lu(this.lq.__inner[l]))}if(!$.ig.Single.prototype.isInfinity(s)&&!$.ig.Single.prototype.isInfinity(r)){var u=NaN;if(!isNaN(o)){u=this.xAxis().getScaledValue(o,e)}m=function(){var $ret=new Array;$ret.add($self.lu(u));$ret.add(s);$ret.add(r);return $ret}()}else{m=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()}}var v=Math.max(1,k);if(!isNaN(m[0])&&l*v>=this.ignoreFirst()){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){m[0]=m[0]+i}else{m[0]=g.getScaledValue(m[0],e)+i}m[1]=h.getScaledValue(m[1],f);m[2]=h.getScaledValue(m[2],f);a.f.add(m)}}},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;if(c!=null){c.c4()}},kj:function(a,b){var $self=this;var c=$.ig.util.cast($.ig.PriceChannelOverlayView.prototype.$type,b);if(c==null){return}c.c4();var d=a.f.count();var f=function(e){return a.f.__inner[e][0]};var h=function(g){return a.f.__inner[d-1-g][0]};var j=function(i){return a.f.__inner[i][1]};var l=function(k){return a.f.__inner[d-1-k][2]};c.c5(d,f,h,j,l)},lp:null,lq:null,et:function(){return new $.ig.PriceChannelOverlayView(this)},eq:function(a){$.ig.FinancialSeries.prototype.eq.call(this,a);this.lt($.ig.util.cast($.ig.PriceChannelOverlayView.prototype.$type,a))},_lt:null,lt:function(a){if(arguments.length===1){this._lt=a;return a}else{return this._lt}},getSeriesValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $.ig.ScalerParams(this.seriesViewer().actualWindowRect(),this.view().ad(),this.xAxis().isInverted());var e=this.getOffset(this.seriesViewer().actualWindowRect(),this.view().ad());return this.e0(new $.ig.RangeValueList(this.lp,this.lq),a,this.xAxis(),d,e,this.ke.runOn(this),b,c)},getNextOrExactIndex:function(a,b){if(this.lp==null||this.lq==null){return $.ig.FinancialSeries.prototype.getNextOrExactIndex.call(this,a,b)}return this.e3(a,b,this.xAxis(),this.ke.runOn(this),new $.ig.RangeValueList(this.lp,this.lq))},getPreviousOrExactIndex:function(a,b){if(this.lp==null||this.lq==null){return $.ig.FinancialSeries.prototype.getPreviousOrExactIndex.call(this,a,b)}return this.e2(a,b,this.xAxis(),this.ke.runOn(this),new $.ig.RangeValueList(this.lp,this.lq))},$type:new $.ig.Type("PriceChannelOverlay",$.ig.FinancialOverlay.prototype.$type)},true);$.ig.util.defType("PriceChannelBucketCalculator","FinancialBucketCalculator",{init:function(a){$.ig.FinancialBucketCalculator.prototype.init.call(this,a);this.s(a)},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},getBucket:function(a){var $self=this;var b=a*this.h();var c=Math.min(b+this.h()-1,this.e().cq().eb().g()-1);if(b<=c){var d=-Number.MAX_VALUE;var e=Number.MAX_VALUE;var f=0;for(var g=b;g<=c;++g){if(!isNaN(this.s().c1().lp.__inner[g])&&!isNaN(this.s().c1().lq.__inner[g])){d=Math.max(d,this.s().c1().lp.__inner[g]);e=Math.min(e,this.s().c1().lq.__inner[g]);++f}}if(f>0&&e!=Number.MAX_VALUE&&d!=-Number.MAX_VALUE){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(e);$ret.add(d);return $ret}()}}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("PriceChannelBucketCalculator",$.ig.FinancialBucketCalculator.prototype.$type)},true);$.ig.util.defType("PriceVolumeTrendIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.PriceVolumeTrendIndicatorStrategy},mx:function(){return $.ig.PriceVolumeTrendIndicator.prototype.$type},$type:new $.ig.Type("PriceVolumeTrendIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("PriceVolumeTrendIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.iv);c.add($.ig.FinancialSeries.prototype.it);return c},a:function(a,b){var c=0;var d=a.indicatorColumn();var e=a.volumeColumn();var f=a.closeColumn();var g=a.count();if(g>0){d.item(0,c)}for(var h=1;h<g;++h){c=c+b.v()(e.item(h)*(f.item(h)-f.item(h-1))/f.item(h-1));d.item(h,c)}return true},$type:new $.ig.Type("PriceVolumeTrendIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("RateOfChangeAndMomentumIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.RateOfChangeAndMomentumIndicatorStrategy},mx:function(){return $.ig.RateOfChangeAndMomentumIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.RateOfChangeAndMomentumIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.RateOfChangeAndMomentumIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("RateOfChangeAndMomentumIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("RateOfChangeAndMomentumIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);return c},a:function(a,b){var c=a.closeColumn();var d=a.indicatorColumn();var e=a.period();var f=0;var g=new Array(e);for(f=0;f<e;f++){g[f]=0}f=0;var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=f%e;var k=b.v()(100*(h-g[j])/g[j]);d.item(f,k);g[j]=h;++f}return true},$type:new $.ig.Type("RateOfChangeAndMomentumIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("RelativeStrengthIndexIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this);this.displayType($.ig.IndicatorDisplayType.prototype.area)},mw:function(){return new $.ig.RelativeStrengthIndexIndicatorStrategy},mx:function(){return $.ig.RelativeStrengthIndexIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.RelativeStrengthIndexIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.RelativeStrengthIndexIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("RelativeStrengthIndexIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("RelativeStrengthIndexIndicatorStrategy","StreamingIndicatorCalculationStrategy",{init:function(){$.ig.StreamingIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);return c},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,$f:0,$g:null,$h:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=a.period();this.$d=2/(this.$c+1);this.$e=0;this.$f=0;this.$g=a.indicatorColumn();this.$h=a.closeColumn();this.$state=1;break;case 1:if(this.$g.count()>0){this.$state=2}else{this.$state=4}break;case 2:this.$current=0;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$i=1;this.$state=9;break;case 6:this.$j=this.$h.item(this.$i)-this.$h.item(this.$i-1);this.$k=this.$j>0?this.$j:0;this.$l=this.$j>0?0:-this.$j;this.$e+=this.$k/(this.$c-1);this.$f+=this.$l/(this.$c-1);this.$current=0;this.$state=7;return true;case 7:this.$state=8;break;case 8:++this.$i;this.$state=9;break;case 9:if(this.$i<Math.min(a.period(),this.$g.count())){this.$state=6}else{this.$state=10}break;case 10:this.$state=11;break;case 11:this.$m=a.period();this.$state=15;break;case 12:this.$n=this.$h.item(this.$m)-this.$h.item(this.$m-1);this.$o=this.$n>0?this.$n:0;this.$p=this.$n>0?0:-this.$n;this.$e=(this.$e*(this.$c-1)+this.$o)/this.$c;this.$f=(this.$f*(this.$c-1)+this.$p)/this.$c;this.$current=b.v()(this.$e!=0?100*this.$e/(this.$e+this.$f):0);this.$state=13;return true;case 13:this.$state=14;break;case 14:++this.$m;this.$state=15;break;case 15:if(this.$m<this.$g.count()){this.$state=12}else{this.$state=16}break;case 16:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("RelativeStrengthIndexIndicatorStrategy",$.ig.StreamingIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("SlowStochasticOscillatorIndicator","StrategyBasedIndicator",{init:function(){var $self=this;$.ig.StrategyBasedIndicator.prototype.init.call(this);this.trendLineBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="Blue";return $ret}());this.trendLineType($.ig.TrendLineType.prototype.exponentialAverage);this.trendLinePeriod(3)},mw:function(){return new $.ig.SlowStochasticOscillatorIndicatorStrategy},mx:function(){return $.ig.SlowStochasticOscillatorIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.SlowStochasticOscillatorIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.SlowStochasticOscillatorIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("SlowStochasticOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("SlowStochasticOscillatorIndicatorStrategy","IndicatorCalculationStrategy",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this);this.d(new $.ig.PercentKCalculationStrategy)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(this.d().b(a,b));c.w(b.l().d());return c},a:function(a,b){var c=this.d().c(a,b);var d=b.l().c()(c,3);var e=0;var g=d.getEnumerator();while(g.moveNext()){var f=g.current();a.indicatorColumn().item(e,f);e++}return true},$type:new $.ig.Type("SlowStochasticOscillatorIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("StandardDeviationIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.StandardDeviationIndicatorStrategy},mx:function(){return $.ig.StandardDeviationIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.StandardDeviationIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.StandardDeviationIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("StandardDeviationIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("StandardDeviationIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());c.w(b.n().d());return c},a:function(a,b){var c=b.n().c()(a.typicalColumn(),a.period()).getEnumerator();var d=a.indicatorColumn();var e=0;while(c.moveNext()){d.item(e,c.current());e++}return true},$type:new $.ig.Type("StandardDeviationIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("StochRSIIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.StochRSIIndicatorStrategy},mx:function(){return $.ig.StochRSIIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.StochRSIIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.StochRSIIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("StochRSIIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("StochRSIIndicatorStrategy","IndicatorCalculationStrategy",{_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this);this.d(new $.ig.RelativeStrengthIndexIndicatorStrategy)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(this.d().b(a,b));return c},a:function(a,b){var c=this.d().c(a,b).getEnumerator();var d=a.period();var e=0;var f=new Array(d);for(e=0;e<d;e++){f[e]=0}e=0;while(c.moveNext()){var g=Math.min(d,e);var h=-Number.MAX_VALUE;var i=Number.MAX_VALUE;var j=e%d;for(var k=0;k<g;k++){if(!isNaN(f[g-k-1])){h=Math.max(h,f[g-k-1])}if(!isNaN(f[g-k-1])){i=Math.min(i,f[g-k-1])}}f[j]=c.current();var l=b.v()((c.current()-i)/(h-i));a.indicatorColumn().item(e,l);e++}return true},$type:new $.ig.Type("StochRSIIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("TRIXIndicator","StrategyBasedIndicator",{init:function(){var $self=this;$.ig.StrategyBasedIndicator.prototype.init.call(this);this.displayType($.ig.IndicatorDisplayType.prototype.line);this.trendLineBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="Blue";return $ret}());this.trendLineType($.ig.TrendLineType.prototype.simpleAverage);this.trendLinePeriod(9)},mw:function(){return new $.ig.TRIXIndicatorStrategy},mx:function(){return $.ig.TRIXIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.TRIXIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.TRIXIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("TRIXIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("TRIXIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.it);c.w(b.l().d());return c},a:function(a,b){var c=b.l().c()(a.closeColumn(),a.period());var d=b.l().c()(c,a.period());var e=b.l().c()(d,a.period()).getEnumerator();var f=a.indicatorColumn();if(f.count()>0){f.item(0,0)}var g=1;e.moveNext();var h=e.current();while(e.moveNext()){f.item(g,b.v()((e.current()-h)/h));h=e.current();g++}return true},$type:new $.ig.Type("TRIXIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("TypicalPriceIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.TypicalPriceIndicatorStrategy},mx:function(){return $.ig.TypicalPriceIndicator.prototype.$type},$type:new $.ig.Type("TypicalPriceIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("TypicalPriceIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.typicalColumn().basedOn());return c},a:function(a,b){var c=0;var e=a.typicalColumn().getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},$type:new $.ig.Type("TypicalPriceIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("UltimateOscillatorIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.UltimateOscillatorIndicatorCalculationStrategy},mx:function(){return $.ig.UltimateOscillatorIndicator.prototype.$type},$type:new $.ig.Type("UltimateOscillatorIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("UltimateOscillatorIndicatorCalculationStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.w(a.trueLow().basedOn());c.add($.ig.FinancialSeries.prototype.it);c.w(a.trueRange().basedOn());c.w(b.o().d());return c},c:function(a){var b=0;var c=new $.ig.List$1(Number,0);var d=a.trueLow().getEnumerator();while(d.moveNext()){c.add(a.closeColumn().item(b)-d.current());b++}return c},a:function(a,b){var c=this.c(a);var d=a.trueRange();var e=b.o().c()(c,7).getEnumerator();var f=b.o().c()(d,7).getEnumerator();var g=b.o().c()(c,14).getEnumerator();var h=b.o().c()(d,14).getEnumerator();var i=b.o().c()(c,28).getEnumerator();var j=b.o().c()(d,28).getEnumerator();var k=0;while(e.moveNext()&&f.moveNext()&&g.moveNext()&&h.moveNext()&&i.moveNext()&&j.moveNext()){var l=b.v()(4*(e.current()/f.current())+2*(g.current()/h.current())+i.current()/j.current());var m=l/(4+2+1)*100;a.indicatorColumn().item(k,m);k++}return true},$type:new $.ig.Type("UltimateOscillatorIndicatorCalculationStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("WeightedCloseIndicator","ItemwiseStrategyBasedIndicator",{init:function(){$.ig.ItemwiseStrategyBasedIndicator.prototype.init.call(this)},nh:function(){return new $.ig.WeightedCloseIndicatorStrategy},mx:function(){return $.ig.WeightedCloseIndicator.prototype.$type},$type:new $.ig.Type("WeightedCloseIndicator",$.ig.ItemwiseStrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("WeightedCloseIndicatorStrategy","ItemwiseIndicatorCalculationStrategy",{init:function(){$.ig.ItemwiseIndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.it);return c},a:function(a,b,c){a.indicatorColumn().item(c,(a.highColumn().item(c)+a.lowColumn().item(c)+a.closeColumn().item(c)*2)/4);return true},$type:new $.ig.Type("WeightedCloseIndicatorStrategy",$.ig.ItemwiseIndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("WilliamsPercentRIndicator","StrategyBasedIndicator",{init:function(){$.ig.StrategyBasedIndicator.prototype.init.call(this)},mw:function(){return new $.ig.WilliamsPercentRIndicatorStrategy},mx:function(){return $.ig.WilliamsPercentRIndicator.prototype.$type},period:function(a){if(arguments.length===1){this.c($.ig.WilliamsPercentRIndicator.prototype.periodProperty,a);return a}else{return this.b($.ig.WilliamsPercentRIndicator.prototype.periodProperty)}},m2:function(){return this.period()},$type:new $.ig.Type("WilliamsPercentRIndicator",$.ig.StrategyBasedIndicator.prototype.$type)},true);$.ig.util.defType("WilliamsPercentRIndicatorStrategy","IndicatorCalculationStrategy",{init:function(){$.ig.IndicatorCalculationStrategy.prototype.init.call(this)},b:function(a,b){var c=new $.ig.List$1(String,0);c.add($.ig.FinancialSeries.prototype.ip);c.add($.ig.FinancialSeries.prototype.ir);c.add($.ig.FinancialSeries.prototype.it);return c},a:function(a,b){var c=a.period();var d=a.highColumn();var e=a.lowColumn();for(var f=0;f<a.count();f++){var g=Math.min(c,f);var h=-Number.MAX_VALUE;var i=Number.MAX_VALUE;for(var j=0;j<g;j++){if(!isNaN(d.item(f-j))){h=Math.max(h,d.item(f-j))}if(!isNaN(e.item(f-j))){i=Math.min(i,e.item(f-j))}}a.indicatorColumn().item(f,b.v()((a.closeColumn().item(f)-h)/(h-i)*100))}return true},$type:new $.ig.Type("WilliamsPercentRIndicatorStrategy",$.ig.IndicatorCalculationStrategy.prototype.$type)},true);$.ig.util.defType("FunnelDataContext","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,item:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},$type:new $.ig.Type("FunnelDataContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FunnelFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.i(new $.ig.SliceInfoList)},a:null,f:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,g:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,h:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,i:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,j:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},u:function(a,b,c,d){var e=1-d;a.f(c.f());a.h(c.h());a.g(c.g());a.j(b.j()*e+c.j()*d);var f=b.i().count();var g=c.i().count();var h=Math.max(f,g);if(a.i().count()<h){a.i().p(a.i().count(),new Array(h-a.i().count()))}if(a.i().count()>h){a.i().q(h,a.i().count()-h)}for(var i=0;i<Math.min(f,g);++i){a.i().__inner[i]=$.ig.SliceInfo.prototype.y(a.i().__inner[i],b.i().__inner[i],c.i().__inner[i],d,e)}if(f<g){var j=f>0?b.i().__inner[f-1]:new $.ig.SliceInfo;for(var k=f;k<g;++k){a.i().__inner[k]=$.ig.SliceInfo.prototype.y(a.i().__inner[k],j,c.i().__inner[k],d,e)}}if(f>g){var l=g>0?c.i().__inner[g-1]:new $.ig.SliceInfo;for(var m=g;m<f;++m){a.i().__inner[m]=$.ig.SliceInfo.prototype.y(a.i().__inner[m],b.i().__inner[m],l,d,e)}}},$type:new $.ig.Type("FunnelFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IItemProvider","Object",{$type:new $.ig.Type("IItemProvider",null)},true);$.ig.util.defType("IFunnelLabelSizeDecider","Object",{$type:new $.ig.Type("IFunnelLabelSizeDecider",null)},true);$.ig.util.defType("IOuterLabelWidthDecider","Object",{$type:new $.ig.Type("IOuterLabelWidthDecider",null)},true);$.ig.util.defType("SliceInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.k(new $.ig.SliceAppearance);this.h({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},a:null,g:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,h:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,i:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,j:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,k:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,l:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},y:function(a,b,c,d,e){if(a==null){a=new $.ig.SliceInfo}a.l(c.l());a.j(c.j());a.i(c.i());a.g(c.g());a.h({__x:b.h().__x*e+c.h().__x*d,__y:b.h().__y*e+c.h().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.k($.ig.SliceAppearance.prototype.bd(a.k(),b.k(),c.k(),d,e));return a},$type:new $.ig.Type("SliceInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SliceAppearance","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.h={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.g={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.b={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.f={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.a={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},a:null,q:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,r:function(a){if(arguments.length===1){this.b=a;this.ap();return a}else{return this.b}},c:null,s:function(a){if(arguments.length===1){this.c=a;this.ap();return a}else{return this.c}},d:null,t:function(a){if(arguments.length===1){this.d=a;this.ap();return a}else{return this.d}},e:null,u:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},ap:function(){},aq:function(){var a=new $.ig.PointCollection(0);if(this.t()!=null){var c=this.t().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b)}}else{a.add(this.r());a.add(this.v())}if(this.s()!=null){var e=this.s().getEnumerator();while(e.moveNext()){var d=e.current();a.add(d)}if(this.t()!=null&&this.t().count()>0){a.add(this.t().item(0))}}else{a.add(this.w());a.add(this.x());a.add(this.r())}var f=0,g=Math.min($.ig.intDivide(a.count(),2),5);if(g>1){var h=a.item(0);var i=0,j=h.__x,k=h.__y;while(++f<g&&i<2){h=a.item(f);i=Math.abs(h.__x-j)+Math.abs(h.__y-k);if(i>1){a.add({__x:h.__x,__y:h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}this.u(a)},f:null,v:function(a){if(arguments.length===1){this.f=a;this.ap();return a}else{return this.f}},g:null,w:function(a){if(arguments.length===1){this.g=a;this.ap();return a}else{return this.g}},h:null,x:function(a){if(arguments.length===1){this.h=a;this.ap();return a}else{return this.h}},i:null,y:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},j:null,z:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},k:null,aa:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},l:null,ab:function(a){if(arguments.length===1){this.l=a;return a}else{return this.l}},m:null,ac:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},n:null,ad:function(a){if(arguments.length===1){this.n=a;return a}else{return this.n&&this.l!=null}},o:null,item:function(a){if(arguments.length===1){this.o=a;return a}else{return this.o}},p:null,ae:function(a){if(arguments.length===1){this.p=a;return a}else{return this.p}},bd:function(a,b,c,d,e){if(a==null){a=new $.ig.SliceAppearance}a.z(c.z());a.ad(c.ad());a.ab(c.ab());if(b.ad()&&c.ad()){a.ac({__x:b.ac().__x*e+c.ac().__x*d,__y:b.ac().__y*e+c.ac().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}else if(c.ad()){a.ac({__x:c.ac().__x*d,__y:c.ac().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}a.x({__x:b.x().__x*e+c.x().__x*d,__y:b.x().__y*e+c.x().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.w({__x:b.w().__x*e+c.w().__x*d,__y:b.w().__y*e+c.w().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.r({__x:b.r().__x*e+c.r().__x*d,__y:b.r().__y*e+c.r().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.v({__x:b.v().__x*e+c.v().__x*d,__y:b.v().__y*e+c.v().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});
a.q({__x:b.q().__x*e+c.q().__x*d,__y:b.q().__y*e+c.q().__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(c.s()!=null){var f=b.s();if(f==null){f=new $.ig.PointList;f.add(b.r());f.add(b.x())}a.s($.ig.SliceAppearance.prototype.be(a.s(),f,c.s(),d,e))}else{a.s(null)}if(c.t()!=null){var g=b.t();if(g==null){g=new $.ig.PointList;g.add(b.w());g.add(b.v())}a.t($.ig.SliceAppearance.prototype.be(a.t(),g,c.t(),d,e))}else{a.t(null)}a.aa(c.aa());a.y(c.y());a.item(c.item());a.ae(c.ae());a.aq();return a},be:function(a,b,c,d,e){if(a==null){a=new $.ig.PointList}if(b==null){b=new $.ig.PointList}var f=b.count();var g=c.count();var h=Math.max(f,g);if(a.count()<h){a.p(a.count(),new Array(h-a.count()))}if(a.count()>h){a.q(h,a.count()-h)}for(var i=0;i<Math.min(f,g);++i){a.__inner[i]={__x:b.__inner[i].__x*e+c.__inner[i].__x*d,__y:b.__inner[i].__y*e+c.__inner[i].__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(f<g){var j=f>0?b.__inner[f-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var k=f;k<g;++k){a.__inner[k]={__x:j.__x*e+c.__inner[k].__x*d,__y:j.__y*e+c.__inner[k].__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}if(f>g){var l=g>0?c.__inner[g-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var m=g;m<f;++m){a.__inner[m]=a.__inner[m]={__x:b.__inner[m].__x*e+l.__x*d,__y:b.__inner[m].__y*e+l.__y*d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}return a},$type:new $.ig.Type("SliceAppearance",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SliceInfoList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.SliceInfo.prototype.$type)},ag:function(){var $self=this;this.t(function(a,b){if(a.i()<b.i()){return-1}if(a.i()>b.i()){return 1}return 0})},ah:function(){var $self=this;this.t(function(a,b){if(a.k().q().__y<b.k().q().__y){return-1}if(a.k().q().__y>b.k().q().__y){return 1}return 0})},ai:function(a){var $self=this;this.ah();var c=this.aj(function(b){if(a<b.k().r().__y+b.k().q().__y){return-1}if(a>b.k().x().__y+b.k().q().__y){return 1}else{return 0}});if(c>=0){c=this.__inner[c].i()}else{c=-1}this.ag();if(c>=0){return c}return-1},aj:function(a){var b=0;var c=this.count()-1;while(b<=c){var d=b+(c-b>>1);var e=a(this.__inner[d]);if(e<0){c=d-1}else if(e>0){b=d+1}else{return d}}return~b},$type:new $.ig.Type("SliceInfoList",$.ig.List$1.prototype.$type.specialize($.ig.SliceInfo.prototype.$type))},true);$.ig.util.defType("SliceSelectionManager","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,b:function(a,b){if(this.a.containsKey(this.j(a))){this.a.remove(this.j(a))}else{this.a.item(this.j(a),b)}},c:function(a){return this.a.containsKey(this.j(a))},d:function(){return this.a.count()>0},e:function(a){return!this.c(a)&&this.d()},f:function(a,b){switch(a.e()){case $.ig.ItemsSourceAction.prototype.change:break;case $.ig.ItemsSourceAction.prototype.insert:this.h(a.f(),a.g());break;case $.ig.ItemsSourceAction.prototype.remove:this.g(a.f(),a.g());break;case $.ig.ItemsSourceAction.prototype.replace:for(var c=0;c<a.g();c++){if(this.a.containsKey(this.j(c))){this.a.item(this.j(c),b.b().item(c))}}break;case $.ig.ItemsSourceAction.prototype.reset:this.i();break}},g:function(a,b){var c=new $.ig.Array;var d=new $.ig.Array;for(var f in this.a.keysHolder){var e={key:f,value:this.a[f]};var g=0;g=$.ig.Number.prototype.parseInt(e.key);if(g>=a){c.add(g);d.add(this.a.item(this.j(g)))}}var h=0;var j=c.getEnumerator();while(j.moveNext()){var i=j.current();this.a.remove(this.j(i));if(i-b>a){this.a.item(this.j(i-b),d[h])}h++}},h:function(a,b){var c=new $.ig.Array;var d=new $.ig.Array;for(var f in this.a.keysHolder){var e={key:f,value:this.a[f]};var g=0;g=$.ig.Number.prototype.parseInt(e.key);if(g>=a){c.add(g);d.add(this.a.item(this.j(g)))}}var h=0;var j=c.getEnumerator();while(j.moveNext()){var i=j.current();this.a.remove(this.j(i));this.a.item(this.j(i+b),d[h]);h++}},i:function(){this.a.clear()},j:function(a){return a.toString()},k:function(){var a=new Array(this.a.count());var b=0;for(var d in this.a.keysHolder){var c={key:d,value:this.a[d]};var e=$.ig.Number.prototype.parseInt(c.key);a[b]=e;b++}return a},l:function(a,b){this.i();for(var d=0;d<a.length;d++){var c=a[d];this.b(c,b.b().item(c))}},$type:new $.ig.Type("SliceSelectionManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamFunnelController","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,init:function(){var $self=this;this.f=false;this.g=false;this.a0=-1;this.a1=false;$.ig.Object.prototype.init.call(this);this.a5(new $.ig.DoubleAnimator(0,1,2e3));this.a5().propertyChanged=$.ig.Delegate.prototype.combine(this.a5().propertyChanged,this.ci.runOn(this));this.b5(new $.ig.FunnelFrame);this.b7(new $.ig.FunnelFrame);this.b6(new $.ig.FunnelFrame);this.b4(new $.ig.SliceSelectionManager);this.a8(new $.ig.DoubleColumn);this.a9(new $.ig.ObjectColumn);this.ba(new $.ig.ObjectColumn);this.bh(new $.ig.MessageChannel);this.bi(new $.ig.MessageChannel);this.a7(new $.ig.MessageHandler);this.a7().b($.ig.PropertyChangedMessage.prototype.$type,this.fu.runOn(this));this.a7().b($.ig.DataUpdatedMessage.prototype.$type,this.fs.runOn(this));this.a7().b($.ig.ViewportChangedMessage.prototype.$type,this.f4.runOn(this));this.a7().b($.ig.ViewPropertyChangedMessage.prototype.$type,this.f3.runOn(this));this.a7().b($.ig.MouseMoveMessage.prototype.$type,this.f7.runOn(this));this.a7().b($.ig.MouseButtonMessage.prototype.$type,this.f5.runOn(this));this.a7().b($.ig.MouseLeaveMessage.prototype.$type,this.f8.runOn(this));this.a7().b($.ig.UserSelectedItemsChangedMessage.prototype.$type,this.gf.runOn(this));this.a7().b($.ig.LabelSizeChangedMessage.prototype.$type,this.gg.runOn(this));this.a7().b($.ig.ContainerSizeChangedMessage.prototype.$type,function(a){return $self.bh().d(a)})},ci:function(a,b){this.bn(this.a5().l());if(this.bn()==1){this.bu(false);this.fn(this.b6())}if(this.bu()){var c=1-this.bn();$.ig.FunnelFrame.prototype.u(this.b7(),this.b5(),this.b6(),this.bn());this.fn(this.b7())}},h:null,a5:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},i:null,a6:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},j:null,a7:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},k:null,a8:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},l:null,a9:function(a){if(arguments.length===1){this.l=a;return a}else{if(!this.f&&this.a!=null){this.f=this.a.a7(this.l,this.d)}return this.l}},m:null,ba:function(a){if(arguments.length===1){this.m=a;return a}else{if(!this.g&&this.a!=null){this.g=this.a.a7(this.m,this.e)}return this.m}},n:null,bb:function(a){if(arguments.length===1){this.n=a;return a}else{return this.n}},o:null,bc:function(a){if(arguments.length===1){this.o=a;return a}else{return this.o}},p:null,bd:function(a){if(arguments.length===1){this.p=a;return a}else{return this.p}},q:null,be:function(a){if(arguments.length===1){this.q=a;return a}else{return this.q}},r:null,bf:function(a){if(arguments.length===1){this.r=a;return a}else{return this.r}},s:null,bg:function(a){if(arguments.length===1){this.s=a;return a}else{return this.s}},t:null,bh:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},u:null,bi:function(a){if(arguments.length===1){this.u=a;return a}else{return this.u}},v:null,bj:function(a){if(arguments.length===1){this.v=a;return a}else{return this.v}},w:null,bk:function(a){if(arguments.length===1){this.w=a;return a}else{return this.w}},x:null,bl:function(a){if(arguments.length===1){this.x=a;return a}else{return this.x}},y:null,bm:function(a){if(arguments.length===1){this.y=a;return a}else{return this.y}},z:null,bn:function(a){if(arguments.length===1){this.z=a;return a}else{return this.z}},aa:null,bo:function(a){if(arguments.length===1){this.aa=a;return a}else{return this.aa}},ab:null,bp:function(a){if(arguments.length===1){this.ab=a;return a}else{return this.ab}},ac:null,bq:function(a){if(arguments.length===1){this.ac=a;return a}else{if((this.ac==null||this.ac.length<1)&&this.a!=null){this.ac=this.a.ax(true)}return this.ac}},ad:null,br:function(a){if(arguments.length===1){this.ad=a;return a}else{if((this.ad==null||this.ad.length<1)&&this.a!=null){this.ad=this.a.ax(false)}return this.ad}},ae:null,bs:function(a){if(arguments.length===1){this.ae=a;return a}else{return this.ae}},af:null,bt:function(a){if(arguments.length===1){this.af=a;return a}else{return this.af}},ag:null,bu:function(a){if(arguments.length===1){this.ag=a;return a}else{return this.ag}},ah:null,bv:function(a){if(arguments.length===1){this.ah=a;return a}else{return this.ah}},ai:null,bw:function(a){if(arguments.length===1){this.ai=a;return a}else{return this.ai}},aj:null,bx:function(a){if(arguments.length===1){this.aj=a;return a}else{return this.aj}},ak:null,by:function(a){if(arguments.length===1){this.ak=a;return a}else{return this.ak}},al:null,bz:function(a){if(arguments.length===1){this.al=a;return a}else{return this.al}},am:null,b0:function(a){if(arguments.length===1){this.am=a;return a}else{return this.am}},an:null,b1:function(a){if(arguments.length===1){this.an=a;return a}else{return this.an}},ao:null,b2:function(a){if(arguments.length===1){this.ao=a;return a}else{return this.ao}},ap:null,b3:function(a){if(arguments.length===1){var b=this.ap;this.ap=a;this.e3(b,this.ap);return a}else{return this.ap}},aq:null,b4:function(a){if(arguments.length===1){this.aq=a;return a}else{return this.aq}},ar:null,b5:function(a){if(arguments.length===1){this.ar=a;return a}else{return this.ar}},as:null,b6:function(a){if(arguments.length===1){this.as=a;return a}else{return this.as}},at:null,b7:function(a){if(arguments.length===1){this.at=a;return a}else{return this.at}},au:null,b8:function(a){if(arguments.length===1){this.au=a;return a}else{return this.au}},av:null,b9:function(a){if(arguments.length===1){this.av=a;return a}else{return this.av}},aw:null,ca:function(a){if(arguments.length===1){this.aw=a;return a}else{return this.aw}},ax:null,cb:function(a){if(arguments.length===1){this.ax=a;return a}else{return this.ax}},ay:null,cc:function(a){if(arguments.length===1){this.ay=a;return a}else{return this.ay}},az:null,cd:function(a){if(arguments.length===1){this.az=a;return a}else{return this.az}},a0:null,ce:function(){var b=this.a0;if(b<0&&this.a!=null){b=this.a0=this.a.au()}return b<0?1:b},e3:function(a,b){if(a!=null){var c=$.ig.util.cast($.ig.MessageChannel.prototype.$type,a.c("ConfigurationMessages"));if(c!=null){c.h(this.e4.runOn(this))}c=$.ig.util.cast($.ig.MessageChannel.prototype.$type,a.c("InteractionMessages"));if(c!=null){c.h(this.e4.runOn(this))}this.bh().j();this.bi().j()}if(b!=null){var d=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("ConfigurationMessages"));if(d!=null){d.e(this.e4.runOn(this))}d=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("InteractionMessages"));if(d!=null){d.e(this.e4.runOn(this))}var e=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("RenderingMessages"));this.bh().i(e);var f=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("ModelUpdateMessages"));this.bi().i(f)}this.be(true)},e4:function(a){this.a7().c(a);this.e7()},e5:function(){return this.bg()>0&&this.bf()>0},e6:function(){return this.a8()!=null&&this.a8().b()!=null&&this.a8().b().count()>0&&this.bj()!=null&&this.bk()!=null&&this.bq()!=null&&this.bq().length>0&&this.br()!=null&&this.br().length>0&&this.e5()},e7:function(){if(!this.be()){return}if(!this.e6()){this.e8();return}this.be(false);var a=this.bj().decideWidth(this.fr());if(a>this.bf()){a=0}if(!this.bm()){a=0}var b=this.bf()-a;var c=a>0;var d=this.bl();var e=b>0;if(e||c){this.fa(e,c,d,b,a)}},e8:function(){if(this.fp()&&this.bn()>0){this.a5().ag()}this.fq("LeftLabels");this.fq("RightLabels");this.fq("SliceArea");this.e9();this.b6().i().clear();this.b7().i().clear();this.b5().i().clear()},e9:function(){var a=new $.ig.FrameRenderCompleteMessage;this.bh().d(a)},fa:function(a,b,c,d,e){if(this.bu()){var f=this.b5();this.b5(this.b7());this.b7(f)}else{var g=this.b5();this.b5(this.b6());this.b6(g)}this.fc(this.b6(),a,b,c,d,e);this.a5().ag();this.bn(0);if(this.fp()){$.ig.FunnelFrame.prototype.u(this.b7(),this.b5(),this.b6(),this.bn());this.fn(this.b7());this.bu(true);this.a5().af()}else{this.fn(this.b6())}},fb:function(a){if(isNaN(a)){return 0}return Math.abs(a)},a1:null,fc:function(a,b,c,d,e,f){var g=e/2;this.a1=this.bw();if(this.a1){this.ff(e,g)}else{this.a6(null)}var h=this.bt()==$.ig.FunnelSliceDisplay.prototype.weighted;var i=this.fm();var j=0;var l=i.getEnumerator();while(l.moveNext()){var k=l.current();j+=this.fb(this.a8().b().item(k))}if(j==0){h=false}var m=this.bg()/i.b().count();var n=0;var o=0;o=this.ce()/2;a.j(f);a.f(d);a.g(c);a.h(this.bs()==$.ig.OuterLabelAlignment.prototype.left);a.i(new $.ig.SliceInfoList);var p=0;var r=i.getEnumerator();while(r.moveNext()){var q=r.current();var s;if(h){s=this.fb(this.a8().b().item(q))/j*this.bg()}else{s=m}var t=this.fl(e,n+o);var u=n+s;var v=this.fl(e,u-o);var w=t/2;var x=v/2;var y=new $.ig.SliceInfo;var z=y.k();var aa=0;if(x>w){aa=g-x}else{aa=g-w}var ab=n;z.z(this.fk(q));z.aa(this.fj(q));z.y(this.fi(q));if(b){y.j(true);z.r({__x:g-w-aa+o,__y:n-ab+o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});z.v({__x:g+w-aa-o,__y:n-ab+o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});z.x({__x:g-x-aa+o,__y:u-ab-o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});z.w({__x:g+x-aa-o,__y:u-ab-o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(this.a1){this.fd(z,n+o,u-o,g,aa-o,ab)}z.aq()}if(d){z.ad(true);z.ac({__x:g-aa,__y:(n+u)/2-ab,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});z.ab(this.fh(q));var ac=this.bk().decideLabelSize(y,true);if(ac.c()>e){z.ad(false)}if(ac.d()>s){z.ad(false)}}else{z.ad(false);z.ab(this.fh(q))}if(d||b){z.q({__x:aa,__y:ab,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});z.item(this.a8().b().item(q));z.ae(q)}if(c){y.l(true);y.h({__x:0,__y:(n+u)/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});y.g(this.fg(q));var ad=this.bk().decideLabelSize(y,false);if(ad.d()>s){y.l(false)}}else{y.l(false);y.g(this.fg(q))}y.i(q);a.i().add(y);n+=s;p++}this.f2(a);a.i().ag()},fd:function(a,b,c,d,e,f){var g=this.a6().ah(b);var h=this.a6().ah(c);var i=new $.ig.PointList;var j=new $.ig.PointList;var k=g.c;var l=h.c;for(var m=k;m<=l;m++){i.add({__x:this.a6().r()[m].a.__x-e,__y:this.a6().r()[m].a.__y-f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}e+=this.ce();for(var n=l;n>=k;n--){var o=this.a6().r()[n].a;j.add({__x:d+d-o.__x-e,__y:o.__y-f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}a.s(i);a.t(j)},fe:function(a,b){if(a.__x!=b.__x||a.__y!=b.__y){return true}return false},ff:function(a,b){var c;var d;var e=0,f=this.bg();e=this.ce()/2;f-=e;if(this.cb()){c={__x:b-a*this.bp()/2,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};d={__x:b-a/2,__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{c={__x:b-a/2,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};d={__x:b-a*this.bp()/2,__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}var g=this.bx().__y<this.by().__y?this.bx():this.by();var h=this.by().__y>this.bx().__y?this.by():this.bx();if(g.__y<0){g.__y=0}if(h.__y>1){h.__y=1}if(this.cb()){var i=h.__x;h.__x=g.__x;g.__x=i;i=g.__y;g.__y=1-h.__y;h.__y=1-i}var j={__x:a*g.__x,__y:this.bg()*g.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var k={__x:a*h.__x,__y:this.bg()*h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(this.a6()==null||this.fe(c,this.a6().m())||this.fe(j,this.a6().n())||this.fe(k,this.a6().o())||this.fe(d,this.a6().p())){this.a6(new $.ig.Bezier(c,j,k,d,2,b))}if(this.a6()==null){this.a1=false}else{this.a1=this.a6().q()}},fg:function(a){var b=this.ba();var c=b==null?null:b.b();return c==null||a>=c.count()?null:c.item(a)},fh:function(a){var b=this.a9();var c=b==null?null:b.b();return c==null||a>=c.count()?null:c.item(a)},fi:function(a){if(this.b4().c(a)){return this.b8()}if(this.b4().e(a)&&this.ca()){return this.b9()}return null},fj:function(a){return this.br()[a%this.br().length]},fk:function(a){return this.bq()[a%this.bq().length]},fl:function(a,b){var c=a*this.bp();if(this.a1){var d=this.a6().ah(b).a.__x;return(a/2-d)*2}else{if(this.cb()){return a-(a-c)*((this.bg()-b)/this.bg())}else{return a-(a-c)*(b/this.bg())}}},fm:function(){var $self=this;var a=new $.ig.IntColumn;a.c(this.a8().b().count());a.f(function(b,c){if($self.a8().b().item(b)<$self.a8().b().item(c)){return $self.cb()?-1:1}if($self.a8().b().item(b)>$self.a8().b().item(c)){return $self.cb()?1:-1}return 0});return a},fn:function(a){this.fq("LeftLabels");this.fq("RightLabels");this.fq("SliceArea");if(a.h()){this.fo("LeftPanel",a.j());this.fo("RightPanel",0)}else{this.fo("LeftPanel",0);this.fo("RightPanel",a.j())}var c=a.i().getEnumerator();while(c.moveNext()){var b=c.current();if(b.j()){var d=new $.ig.RenderSliceMessage;d.b("SliceArea");d.g(b.k());d.f=this.ce();this.bh().d(d)}}var f=a.i().getEnumerator();while(f.moveNext()){var e=f.current();if(e.l()){var g=new $.ig.RenderOuterLabelMessage;if(a.h()){g.b("LeftLabels")}else{g.b("RightLabels")}g.i(e.g());g.j(e.h());g.k(a.j());g.l(e);this.bh().d(g)}}var h=new $.ig.FrameRenderCompleteMessage;this.bh().d(h)},fo:function(a,b){var c=new $.ig.SetAreaSizeMessage;c.b(a);c.k(true);c.l(b);this.bh().d(c)},fp:function(){return this.bv()>0},fq:function(a){var b=new $.ig.ClearMessage;b.b(a);this.bh().d(b)},fr:function(){return this.ba()},fs:function(a){this.be(true)},ft:function(a){return $.ig.Convert.prototype.c(a)},fu:function(a){var $self=this;var b=a;var c=b.f();switch(b.d()){case"ValueColumn":this.a8().e(c);this.be(true);break;case"InnerLabelColumn":this.f=false;this.b=c;this.a9().e(c);this.be(true);break;case"InnerLabelVisibility":this.bl(c);this.be(true);break;case"OuterLabelVisibility":this.bm(c);this.be(true);break;case"OuterLabelColumn":this.g=false;this.c=c;this.ba().e(c);this.be(true);break;case"ValueMemberPath":this.bb($.ig.util.cast(String,c));break;case"OuterLabelMemberPath":this.bc($.ig.util.cast(String,c));break;case"InnerLabelMemberPath":this.bd($.ig.util.cast(String,c));break;case"BottomEdgeWidth":this.bp(c);if(this.bp()>1){this.bp(1)}if(this.bp()<.001){this.bp(.001)}this.be(true);break;case"Brushes":this.bq(c);this.be(true);break;case"Outlines":this.br(c);this.be(true);break;case"OuterLabelAlignment":this.bs(c);this.be(true);break;case"FunnelSliceDisplay":this.bt(c);this.be(true);break;case"FormatInnerLabel":this.a9().e(this.b);this.f=false;this.d=c;this.be(true);break;case"FormatOuterLabel":this.ba().e(this.c);this.e=c;this.g=false;this.be(true);break;case"IsInverted":this.cb(c);this.be(true);break;case"TransitionDuration":this.a5().m(this.ft(c));this.bv(c);break;case"AllowSliceSelection":this.bz(c);break;case"SelectedSliceStyle":this.b8(c);this.be(true);break;case"UnselectedSliceStyle":this.b9(c);this.be(true);break;case"UseUnselectedStyle":this.ca(c);this.be(true);break;case"UseBezierCurve":this.bw(c);this.be(true);break;case"UpperBezierControlPoint":this.bx(c);this.be(true);break;case"LowerBezierControlPoint":this.by(c);this.be(true);break;case"ItemProvider":this.b2(c);break;case"ToolTip":var d=new $.ig.TooltipValueChangedMessage;if(c!=null){this.cd(true)}else{this.cd(false);var e=new $.ig.ClearTooltipMessage;this.bh().d(e)}d.f(c);this.bh().d(d);break;case"Legend":this.f1(c);this.be(true);break;case"LegendItemTemplate":this.cg(c);this.be(true);break;case"LegendItemBadgeTemplate":this.ch(c);this.be(true);break;case"UseOuterLabelsForLegend":this.cc(c);this.be(true);break;case"OutlineThickness":case"Container":if(b.d().equals("OutlineThickness")){this.a0=c;this.be(true)}var f=new $.ig.PropertyChangedMessage;f.d(b.d());f.e(b.e());f.f(c);this.bh().d(f);break}},_cf:null,cf:function(a){if(arguments.length===1){this._cf=a;return a}else{return this._cf}},a2:null,cg:function(a){if(arguments.length===1){this.a2=a;return a}else{return this.a2}},a3:null,ch:function(a){if(arguments.length===1){this.a3=a;return a}else{return this.a3}},f1:function(a){if(this.cf()!=null){this.cf().cp(this.b3().c("Model"))}this.cf(a)},f2:function(a){var $self=this;var b=new $.ig.List$1($.ig.UIElement.prototype.$type,0);var d=a.i().getEnumerator();while(d.moveNext()){var c=d.current();var e=new $.ig.ContentControl;var f="";if(c.k().ab()!=null){if(this.cc()&&c.g()!=null){f=c.g().toString()}else{f=c.k().ab().toString()}}var g=null;var h=null;if(c.k().z()!=null){g=c.k().z()}if(c.k().aa()!=null){h=c.k().aa()}var i=null;if(this.b2()!=null){i=this.b2().getItem(c.k().ae())}e.content(function(){var $ret=new $.ig.FunnelSliceDataContext;$ret.series($self.b3().c("Model"));$ret.item(i);$ret.itemBrush(g);$ret.itemLabel(f);$ret.thickness($self.ce());$ret.itemOutline(h);return $ret}());e.bf(this.cg());b.add(e)}if(this.cf()!=null){this.cf().b4(b,this.b3().c("Model"))}},f3:function(a){var b=a;switch(b.d()){case"OuterLabelWidthDecider":this.bj($.ig.util.cast($.ig.IOuterLabelWidthDecider.prototype.$type,b.f()));this.be(true);break;case"FunnelLabelSizeDecider":this.bk($.ig.util.cast($.ig.IFunnelLabelSizeDecider.prototype.$type,b.f()));this.be(true);break}},f4:function(a){var b=a;this.bf(b.c());this.bg(b.d());this.be(true)},f5:function(a){var b=a;if(b.f()==$.ig.MouseButtonType.prototype.right){return}if(b.e()==$.ig.MouseButtonAction.prototype.down){this.b1(this.b0())}else if(b.e()==$.ig.MouseButtonAction.prototype.up){var c=this.b1();this.b1(-1);if(b.h()==$.ig.ModifierKeys.prototype.none){}else if(b.h()!=$.ig.ModifierKeys.prototype.control){return}if(c==this.b0()){this.f6(c)}}},f6:function(a){if(a<0||a>this.a8().b().count()-1){return}if(this.bz()){this.b4().b(a,this.a8().b().item(a));var b=this.b4().k();var c=new $.ig.SelectedItemsChangedMessage;c.b(b);this.bi().d(c);this.be(true)}var d=new $.ig.SliceClickedMessage;d.c(a);d.item(this.a8().b().item(a));this.bi().d(d)},f7:function(a){var b=a;this.b0(this.gb(b.b()));if(this.cd()){this.f9(b.b())}},f8:function(a){var b=new $.ig.ClearTooltipMessage;this.bh().d(b)},f9:function(a){var b=new $.ig.FunnelDataContext;if(this.b2()!=null&&this.b0()>=0&&this.b0()<this.b2().count()){b.item(this.b2().getItem(this.b0()))}b.c(this.b0());if(b.c()<0){var c=new $.ig.ClearTooltipMessage;this.bh().d(c);return}var d=new $.ig.TooltipUpdateMessage;d.h(b);d.g(this.ga(a,b));this.bh().d(d)},ga:function(a,b){var c={__x:a.__x+10,__y:a.__y+10,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return c},gb:function(a){if(!this.e6()){return-1}var b=a.__y;var c=a.__x;var d=this.ge();if(d.h()){c-=d.j()}var e=this.gd(b);if(e==null){return-1}var f=this.gc();var g=this.fl(f,b);var h=g/2;var i=f/2;if(c>=i-h&&c<=i+h){return e.i()}else{return-1}},gc:function(){var a=this.ge();return this.bf()-a.j()},gd:function(a){var b=this.ge();var c=b.i().ai(a);if(c>=0&&c<b.i().count()){return b.i().__inner[c]}return null},ge:function(){var a=null;if(this.bu()){a=this.b7()}else{a=this.b6()}return a},gf:function(a){var b=a;this.b4().l(b.b(),this.a8());this.be(true)},gg:function(a){this.gh(a)},gh:function(a){var b=this.ge();if(a.e()==-1){this.be(true)}else{var c=b.i().__inner[a.e()];if(a.h()){if(a.f().c()>b.j()){this.be(true)}if(a.f().d()!=a.g().d()){this.be(true)}if(a.f().d()>c.k().w().__y-c.k().v().__y){this.be(true)}}else{if(a.f().d()>c.k().w().__y-c.k().v().__y){this.be(true)}}}},$type:new $.ig.Type("XamFunnelController",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Message","Object",{init:function(){$.ig.Object.prototype.init.call(this)},toString:function(){return this.getType().toString()},$type:new $.ig.Type("Message",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InteractionMessage","Message",{init:function(){$.ig.Message.prototype.init.call(this)},$type:new $.ig.Type("InteractionMessage",$.ig.Message.prototype.$type)},true);$.ig.util.defType("LabelSizeChangedMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("LabelSizeChangedMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("RenderingMessage","Message",{init:function(){$.ig.Message.prototype.init.call(this)},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("RenderingMessage",$.ig.Message.prototype.$type)},true);$.ig.util.defType("RenderOuterLabelMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},e:null,i:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,j:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,k:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},toString:function(){return"RenderOuterLabelMessage["+this.i().toString()+", "+this.j().toString()+", "+this.k().toString()+"]"},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},$type:new $.ig.Type("RenderOuterLabelMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("RenderSliceMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this);this.f=1},e:null,g:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,toString:function(){return"RenderSliceMessage["+this.g().toString()+"]"},$type:new $.ig.Type("RenderSliceMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("ModelUpdateMessage","Message",{init:function(){$.ig.Message.prototype.init.call(this)},$type:new $.ig.Type("ModelUpdateMessage",$.ig.Message.prototype.$type)},true);$.ig.util.defType("SelectedItemsChangedMessage","ModelUpdateMessage",{init:function(){$.ig.ModelUpdateMessage.prototype.init.call(this)},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},toString:function(){var a="SelectedItemsChangedMessage[";for(var c=0;c<this.b().length;c++){var b=this.b()[c];a+=b.toString()}a+="]";return a},$type:new $.ig.Type("SelectedItemsChangedMessage",$.ig.ModelUpdateMessage.prototype.$type)},true);$.ig.util.defType("SliceClickedMessage","ModelUpdateMessage",{init:function(){$.ig.ModelUpdateMessage.prototype.init.call(this)},a:null,c:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,item:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"SliceClickedMessage["+this.c().toString()+", "+this.item().toString()+"]"},$type:new $.ig.Type("SliceClickedMessage",$.ig.ModelUpdateMessage.prototype.$type)},true);$.ig.util.defType("ConfigurationMessage","Message",{init:function(){$.ig.Message.prototype.init.call(this)},$type:new $.ig.Type("ConfigurationMessage",$.ig.Message.prototype.$type)},true);$.ig.util.defType("UserSelectedItemsChangedMessage","ConfigurationMessage",{init:function(){$.ig.ConfigurationMessage.prototype.init.call(this)},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},toString:function(){var a="UserSelectedItemsChanged[";for(var c=0;c<this.b().length;c++){var b=this.b()[c];a+=b.toString()}a+="]";return a},$type:new $.ig.Type("UserSelectedItemsChangedMessage",$.ig.ConfigurationMessage.prototype.$type)},true);$.ig.util.defType("FunnelSliceClickedEventArgs","EventArgs",{init:function(){$.ig.EventArgs.prototype.init.call(this)},a:null,index:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,item:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},$type:new $.ig.Type("FunnelSliceClickedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("XamFunnelChart","Control",{init:function(){var $self=this;this.cj=new $.ig.ObservableCollection$1($.ig.Object.prototype.$type,0);this.ck=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Object.prototype.$type,0);this.cm=null;$.ig.Control.prototype.init.call(this);this.cj.collectionChanged=$.ig.Delegate.prototype.combine(this.cj.collectionChanged,this.em.runOn(this));this.di(new $.ig.MessageHandler);this.di().b($.ig.SliceClickedMessage.prototype.$type,this.ek.runOn(this));this.di().b($.ig.SelectedItemsChangedMessage.prototype.$type,this.el.runOn(this));this.dk(new $.ig.MessageChannel);this.cf=function(a,b){$self.d5(b.action(),b.position(),b.count(),b.propertyName())};this.dt();this.a3($.ig.XamFunnelChart.prototype.$type);this.dl(new $.ig.XamFunnelConnector(new $.ig.XamFunnelView,this));this.legendItemTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.d);$ret.measure($.ig.LegendTemplates.prototype.k);return $ret}());this.legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.g);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())},cb:null,cc:null,di:function(a){if(arguments.length===1){this.cc=a;return a}else{return this.cc}},dt:function(){this.ec($.ig.XamFunnelChart.prototype.bj,0,this.bottomEdgeWidth());this.ec($.ig.XamFunnelChart.prototype.bp,this.innerLabelVisibility(),this.innerLabelVisibility());this.ec($.ig.XamFunnelChart.prototype.br,this.outerLabelAlignment(),this.outerLabelAlignment());this.ec($.ig.XamFunnelChart.prototype.bs,this.funnelSliceDisplay(),this.funnelSliceDisplay());this.ec($.ig.XamFunnelChart.prototype.bx,this.upperBezierControlPoint(),this.upperBezierControlPoint());
this.ec($.ig.XamFunnelChart.prototype.by,this.lowerBezierControlPoint(),this.lowerBezierControlPoint());this.du()},du:function(){var a=new $.ig.PropertyChangedMessage;a.d("ItemProvider");a.e(null);a.f(this);this.dk().d(a)},cd:null,dj:function(a){if(arguments.length===1){var b=this.cd;this.cd=a;this.d1(b,this.cd);return a}else{return this.cd}},_dk:null,dk:function(a){if(arguments.length===1){this._dk=a;return a}else{return this._dk}},_dl:null,dl:function(a){if(arguments.length===1){this._dl=a;return a}else{return this._dl}},d1:function(a,b){if(a!=null){var c=$.ig.util.cast($.ig.MessageChannel.prototype.$type,a.c("ModelUpdateMessages"));if(c!=null){c.h(this.d2.runOn(this))}this.dk().j()}if(b!=null){var d=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("ModelUpdateMessages"));if(d!=null){d.e(this.d2.runOn(this))}var e=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("ConfigurationMessages"));this.dk().i(e)}},d2:function(a){this.di().c(a)},itemsSource:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.itemsSourceProperty)}},dm:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.ce,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.ce)}},cf:null,d5:function(a,b,c,d){var $self=this;var e=function(){var $ret=new $.ig.DataUpdatedMessage;$ret.f(b);$ret.g(c);$ret.h(d);return $ret}();switch(a){case $.ig.FastItemsSourceEventAction.prototype.change:e.e($.ig.ItemsSourceAction.prototype.change);break;case $.ig.FastItemsSourceEventAction.prototype.insert:e.e($.ig.ItemsSourceAction.prototype.insert);break;case $.ig.FastItemsSourceEventAction.prototype.remove:e.e($.ig.ItemsSourceAction.prototype.remove);break;case $.ig.FastItemsSourceEventAction.prototype.replace:e.e($.ig.ItemsSourceAction.prototype.replace);break;case $.ig.FastItemsSourceEventAction.prototype.reset:e.e($.ig.ItemsSourceAction.prototype.reset);break}this.ec($.ig.XamFunnelChart.prototype.bg,this.dn(),this.dn());this.ec($.ig.XamFunnelChart.prototype.bm,this.dp(),this.dp());this.ec($.ig.XamFunnelChart.prototype.bo,this.dq(),this.dq());this.dk().d(e)},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.valueMemberPathProperty)}},dn:function(a){if(arguments.length===1){if(this.cg!=a){var b=this.cg;this.cg=a;this.ec($.ig.XamFunnelChart.prototype.bg,b,this.cg)}return a}else{return this.cg}},cg:null,brushes:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.brushesProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.brushesProperty)}},outlines:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.outlinesProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.outlinesProperty)}},bottomEdgeWidth:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.bottomEdgeWidthProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.bottomEdgeWidthProperty)}},innerLabelMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.innerLabelMemberPathProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.innerLabelMemberPathProperty)}},dp:function(a){if(arguments.length===1){if(this.ch!=a){var b=this.ch;this.ch=a;this.ec($.ig.XamFunnelChart.prototype.bm,b,this.dp())}return a}else{return this.ch}},ch:null,outerLabelMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.outerLabelMemberPathProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.outerLabelMemberPathProperty)}},dq:function(a){if(arguments.length===1){if(this.ci!=a){var b=this.ci;this.ci=a;this.ec($.ig.XamFunnelChart.prototype.bo,b,this.dq())}return a}else{return this.ci}},ci:null,innerLabelVisibility:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.innerLabelVisibilityProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.innerLabelVisibilityProperty)}},outerLabelVisibility:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.outerLabelVisibilityProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.outerLabelVisibilityProperty)}},outerLabelAlignment:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.outerLabelAlignmentProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.outerLabelAlignmentProperty)}},funnelSliceDisplay:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.funnelSliceDisplayProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.funnelSliceDisplayProperty)}},formatInnerLabel:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.formatInnerLabelProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.formatInnerLabelProperty)}},formatOuterLabel:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.formatOuterLabelProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.formatOuterLabelProperty)}},transitionDuration:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.transitionDurationProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.transitionDurationProperty)}},isInverted:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.isInvertedProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.isInvertedProperty)}},upperBezierControlPoint:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.upperBezierControlPointProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.upperBezierControlPointProperty)}},lowerBezierControlPoint:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.lowerBezierControlPointProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.lowerBezierControlPointProperty)}},useBezierCurve:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.useBezierCurveProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.useBezierCurveProperty)}},allowSliceSelection:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.allowSliceSelectionProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.allowSliceSelectionProperty)}},useUnselectedStyle:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.useUnselectedStyleProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.useUnselectedStyleProperty)}},selectedSliceStyle:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.selectedSliceStyleProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.selectedSliceStyleProperty)}},unselectedSliceStyle:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.unselectedSliceStyleProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.unselectedSliceStyleProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.toolTipProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.toolTipProperty)}},cj:null,ck:null,selectedItems:function(){return this.cj},legend:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.legendProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.legendProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.legendItemTemplateProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.legendItemTemplateProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.legendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.legendItemBadgeTemplateProperty)}},useOuterLabelsForLegend:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.useOuterLabelsForLegendProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.useOuterLabelsForLegendProperty)}},ec:function(a,b,c){var $self=this;if(this.ee(a,b,c)||this.ed(a,b,c)||this.ei(a,b,c)||this.ej(a,b,c)){return}this.dk().d(function(){var $ret=new $.ig.PropertyChangedMessage;$ret.d(a);$ret.e(b);$ret.f(c);return $ret}())},ed:function(a,b,c){var $self=this;if(a==$.ig.XamFunnelChart.prototype.bh||a==$.ig.XamFunnelChart.prototype.bi){this.dk().d(function(){var $ret=new $.ig.PropertyChangedMessage;$ret.d(a);$ret.e(b==null?null:b.x());$ret.f(c==null?null:c.x());return $ret}());return true}return false},ee:function(a,b,c){var $self=this;if(a==$.ig.XamFunnelChart.prototype.bd){if(b!=null){this.dm(null)}if(c!=null){this.dm(function(){var $ret=new $.ig.FastItemsSource;$ret.f($self.itemsSource());return $ret}())}return true}else if(a==$.ig.XamFunnelChart.prototype.be){if(b!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,b).event=$.ig.Delegate.prototype.remove($.ig.util.cast($.ig.FastItemsSource.prototype.$type,b).event,this.cf)}if(c!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event=$.ig.Delegate.prototype.combine($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).event,this.cf)}this.eh(a,b,c);return true}else if(a==$.ig.XamFunnelChart.prototype.bf||a==$.ig.XamFunnelChart.prototype.bl||a==$.ig.XamFunnelChart.prototype.bn){this.eh(a,b,c);return false}return false},ef:function(a,b){return a.ab(b,null)},eg:function(a,b){return a.z(b,null)},eh:function(a,b,c){if(this.dm()==null){var d=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,b);if(d!=null){if(this.dn()!=null){d.ac(this.dn())}if(this.dp()!=null){d.ac(this.dp())}if(this.dq()!=null){d.ac(this.dq())}this.dn(null);this.dp(null);this.dq(null)}return}if(b!=null&&$.ig.util.cast(String,b)!==null||typeof b==="string"){switch(a){case $.ig.XamFunnelChart.prototype.bf:this.dm().ac(this.dn());this.dn(null);break;case $.ig.XamFunnelChart.prototype.bl:this.dm().ac(this.dp());this.dp(null);break;case $.ig.XamFunnelChart.prototype.bn:this.dm().ac(this.dq());this.dq(null);break}}if(c!=null&&$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!==null){if(this.valueMemberPath()!=null){this.dn(this.ef(c,this.valueMemberPath()))}if(this.innerLabelMemberPath()!=null){this.dp(this.eg(c,this.innerLabelMemberPath()))}if(this.outerLabelMemberPath()!=null){this.dq(this.eg(c,this.outerLabelMemberPath()))}}if(c!=null&&$.ig.util.cast(String,c)!==null||typeof c==="string"){switch(a){case $.ig.XamFunnelChart.prototype.bf:this.dn(this.ef(this.dm(),this.valueMemberPath()));break;case $.ig.XamFunnelChart.prototype.bl:this.dp(this.eg(this.dm(),this.innerLabelMemberPath()));break;case $.ig.XamFunnelChart.prototype.bn:this.dq(this.eg(this.dm(),this.outerLabelMemberPath()));break}}},ei:function(a,b,c){var $self=this;if(a==$.ig.XamFunnelChart.prototype.bp||a==$.ig.XamFunnelChart.prototype.bq){var d=b==$.ig.Visibility.prototype.visible;var e=c==$.ig.Visibility.prototype.visible;this.dk().d(function(){var $ret=new $.ig.PropertyChangedMessage;$ret.d(a);$ret.f(e);$ret.e(d);return $ret}());return true}return false},ej:function(a,b,c){if(a==$.ig.XamFunnelChart.prototype.bv){var d=new $.ig.PropertyChangedMessage;d.d(a);if(b!=null){d.e(b)}if(c!=null){d.f(c)}this.dk().d(d);return true}return false},ek:function(a){var b=a;if(this.sliceClicked!=null){var c=new $.ig.FunnelSliceClickedEventArgs;c.index(b.c());if(this.dm().g()>b.c()&&b.c()>=0){c.item(this.dm().item(b.c()))}this.sliceClicked(this,c)}},sliceClicked:null,el:function(a){},em:function(a,b){},en:function(a,b,c,d){var e=new $.ig.List$1($.ig.Object.prototype.$type,0);var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(!d.containsKey(f)){e.add1(f)}}var i=e.getEnumerator();while(i.moveNext()){var h=i.current();a.remove(h);b.remove(h)}var k=c.getEnumerator();while(k.moveNext()){var j=k.current();if(!b.containsKey(j)){a.add(j);b.add(j,j)}}},getItem:function(a){return this.dm().item(a)},count:function(){return this.dm()!=null?this.dm().g():0},cm:null,provideContainer:function(a){var b=this.cm;this.cm=a;this.ec("Container",b,this.cm)},notifyResized:function(){this.dk().d(new $.ig.ContainerSizeChangedMessage)},notifySetItem:function(source_,a,b,c){this.eo(source_,new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,c,b,a))},notifyClearItems:function(source_){this.eo(source_,new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))},notifyInsertItem:function(source_,a,b){this.eo(source_,new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a))},notifyRemoveItem:function(source_,a,b){this.eo(source_,new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a))},eo:function(s_,a){if(s_.dataView&&s_.dataSource){s_=s_.dataView()}if(s_==this.itemsSource()){var b=this.dm();if(b!=null){b.ae(a)}}},outlineThickness:function(a){if(arguments.length===1){this.c($.ig.XamFunnelChart.prototype.outlineThicknessProperty,a);return a}else{return this.b($.ig.XamFunnelChart.prototype.outlineThicknessProperty)}},ep:function(){var a=this.dl();return a==null?null:a.b},eq:function(){var a=this.ep();return a==null?null:a.b4()},selectedIndexes:function(a){if(arguments.length===1){var b=this.eq();if(b==null){return}var c=this.ep();b.i();var d=a==null?0:a.length;while(d-->0){b.b(a[d],c.a8().b().item(a[d]))}c.be(true);c.e7();return a}else{var e=this.eq();return e==null?null:e.k()}},toggleSelection:function(a){var b=this.eq();if(b==null){return}var c=this.ep();var d=c.a8().b().item(a);if(d!=null){c.b4().b(a,d);c.be(true);c.e7()}},$type:new $.ig.Type("XamFunnelChart",$.ig.Control.prototype.$type,[$.ig.IItemProvider.prototype.$type])},true);$.ig.util.defType("XamFunnelConnector","Object",{a:null,b:null,c:null,init:function(a,b){$.ig.Object.prototype.init.call(this);var c=new $.ig.ServiceProvider;c.b("ConfigurationMessages",new $.ig.MessageChannel);c.b("RenderingMessages",new $.ig.MessageChannel);c.b("InteractionMessages",new $.ig.MessageChannel);c.b("ModelUpdateMessages",new $.ig.MessageChannel);var d=new $.ig.XamFunnelController;d.a=a;d.b3(c);a.ac(c);this.b=d;this.a=a;b.dj(c);this.c=b;c.b("Model",this.c)},d:function(a){this.a=a;var b=this.b.b3();this.b.b3(null);this.b.b3(b);this.a.ac(b)},e:function(){if(this.a!=null){this.a.ac(null)}},$type:new $.ig.Type("XamFunnelConnector",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamFunnelSlice","ContentControl",{init:function(){$.ig.ContentControl.prototype.init.call(this);this.a3($.ig.XamFunnelSlice.prototype.$type);this.d($.ig.XamFunnelSlice.prototype.bt,new $.ig.Binding(1,$.ig.XamFunnelSlice.prototype.bl));this.d($.ig.XamFunnelSlice.prototype.bu,new $.ig.Binding(1,$.ig.XamFunnelSlice.prototype.bm))},_b2:null,b2:function(a){if(arguments.length===1){this._b2=a;return a}else{return this._b2}},_b3:null,b3:function(a){if(arguments.length===1){this._b3=a;return a}else{return this._b3}},b4:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.bq,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.bq)}},b5:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.br,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.br)}},b6:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.bs,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.bs)}},b7:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.bt,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.bt)}},b8:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.bu,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.bu)}},b9:function(a){if(arguments.length===1){this.c($.ig.XamFunnelSlice.prototype.bv,a);return a}else{return this.b($.ig.XamFunnelSlice.prototype.bv)}},cq:function(a,b,c){var d;switch(a){case"Fill":d=new $.ig.Binding(1,$.ig.XamFunnelSlice.prototype.bl);if(c!=null){d.d(this)}this.d($.ig.XamFunnelSlice.prototype.bt,d);break;case"Outline":d=new $.ig.Binding(1,$.ig.XamFunnelSlice.prototype.bm);if(c!=null){d.d(this)}this.d($.ig.XamFunnelSlice.prototype.bu,d);break}},$type:new $.ig.Type("XamFunnelSlice",$.ig.ContentControl.prototype.$type)},true);$.ig.util.defType("XamFunnelView","Object",{a:null,b:null,ac:function(a){if(arguments.length===1){var b=this.b;this.b=a;this.a1(b,this.b);return a}else{return this.b}},c:null,af:function(a){this.c.d(new $.ig.MouseLeaveMessage)},ag:function(a,b,c){var d=new $.ig.MouseMoveMessage;d.b(a);this.c.d(d)},ah:function(a){var b=new $.ig.MouseButtonMessage;b.g(a);b.e($.ig.MouseButtonAction.prototype.down);b.f(this.o.z()?$.ig.MouseButtonType.prototype.right:$.ig.MouseButtonType.prototype.left);b.h(this.o.y());this.c.d(b)},ai:function(a){var b=new $.ig.MouseButtonMessage;b.g(a);b.e($.ig.MouseButtonAction.prototype.up);b.f(this.o.z()?$.ig.MouseButtonType.prototype.right:$.ig.MouseButtonType.prototype.left);b.h(this.o.y());this.c.d(b)},d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,q:null,r:null,s:null,t:null,u:null,aj:function(a){var b=this.d;var c=this.l;if(c==null||b==null){return}var d=b.left(),e=b.top(),f=b.width(),g=b.height();c.u(d,e,f,g);c=this.k;if(c!=null){c.u(d,e,f,g)}c=this.n;if(c!=null){c.u(d,e,f,g)}c=this.m;if(c!=null){c.u(d,e,f,g)}},v:null,w:null,ak:function(a){var b=a.l();var c=a.b();if(c=="LeftPanel"){this.v=b}if(c=="RightPanel"){this.w=b}},al:function(a){var b=a.g();var c=this.l;var d=new $.ig.Polygon;var e=new $.ig.PointCollection(0);for(var f=0;f<b.u().count();f++){var g=b.u().__inner[f];e.add({__x:g.__x+this.v+b.q().__x,__y:g.__y+b.q().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}d.bl(e);d.a5(a.f);d.__fill=b.z();d.__stroke=a.f<1?b.z():b.aa();if(b.y()!=null){c.ab(d,b.y())}c.k(d);if(b.ad()){var h=new $.ig.TextBlock;if(this.q==null){this.q=new $.ig.Brush;this.q.__fill=this.ay("ui-funnel-slice","color",-1)}h.a4(this.q);c.y(this.av(true));var i=b.ab().toString();var j=c.z(i);h.a3(i);h.v(b.ac().__y+b.q().__y-this.aw(true)/2);h.w(b.ac().__x+this.v+b.q().__x-j/2);c.i(h)}},am:function(a){var b=0;if(this.w>0){b=this.d.width()-this.w}var c=a;var d=this.n;var e=new $.ig.TextBlock;e.a3(c.i().toString());d.y(this.av(false));if(this.p==null){this.p=new $.ig.Brush;this.p.__fill=this.e.css("color")}e.a4(this.p);var f=c.j().__y-this.aw(false)/2;e.w(b);e.v(f);d.i(e)},x:null,an:function(a){this.x=a.f()},ao:function(a){this.aq(a)},ap:function(a){this.aq(null)},aq:function(a){var x_=0,y_=0;var t_=null,v_=null,i_=this.e;i_=i_?i_.data("igFunnelChart"):null;if(i_!=null){if(a!=null){t_=this.x;x_=a.g().__x+6;y_=a.g().__y+6;v_=a.h().item()}i_._fireTooltip(t_,v_,x_,y_)}},ar:function(a){if(a.d()=="Container"){this.at(a.f())}},as:function(a){window.setTimeout(a,0)},at:function(a){if(a==null){if(this.o!=null){this.o.bl()}this.e=this.f=this.g=this.i=this.h=null;this.k=this.l=this.n=this.m=null;this.o=null;return}var b=a;var c=this.e=$(b);c.css("position","relative");for(var d=0;d<4;d++){var e=$("<canvas style='position:absolute' />");c.append(e);var f=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,e[0].getContext("2d"));if(d==0){this.f=e;this.k=f}if(d==1){this.g=e;this.l=f}if(d==2){this.i=e;this.n=f}if(d==3){this.h=e;this.m=f}}this.j=$("<span style='position:absolute;display:none' />");c.append(this.j);this.o=new $.ig.DOMEventProxy(this.h);this.o.onMouseOver=$.ig.Delegate.prototype.combine(this.o.onMouseOver,this.ag.runOn(this));this.o.onMouseLeave=$.ig.Delegate.prototype.combine(this.o.onMouseLeave,this.af.runOn(this));this.o.onMouseDown=$.ig.Delegate.prototype.combine(this.o.onMouseDown,this.ah.runOn(this));this.o.onMouseUp=$.ig.Delegate.prototype.combine(this.o.onMouseUp,this.ai.runOn(this));this.a3()},au:function(){var a=this.ay("ui-funnel-slice","border-top-width",-1);return a==null?-1:$.ig.Number.prototype.parseInt(a)},av:function(a){var b=a?this.s:this.r;if(b==null){if(a){this.s=b=this.ay("ui-funnel-slice","font",-1)}else{this.r=b=$.ig.FontUtil.prototype.b(this.e)}}return b},aw:function(a){var b=a?this.u:this.t;if(b<0){var c=a?this.s:this.r;b=$.ig.FontUtil.prototype.a(c);if(a){this.u=b}else{this.t=b}}return b},aa:null,ab:null,ax:function(a){if(this.aa!=null){return a?this.aa:this.ab}if(this.j==null){return null}this.aa=new Array(12);this.ab=new Array(12);for(var b=0;b<12;b++){this.ay("ui-chart-palette-"+(b+1),"background-color",b)}return a?this.aa:this.ab},ay:function(a,b,c){var d=this.j;if(d==null){return null}d.addClass(a);var e=b=="font"?$.ig.FontUtil.prototype.b(d):d.css(b);if(e==null||e.length==0||e=="null"||e=="transparent"){e=null}if(c>=0){var f=new $.ig.Brush;if(e!=null&&e.length!=e.replace("(0, 0, 0, 0","").length){e=null}f.__fill=e==null?$.ig.XamFunnelView.prototype.y[c%$.ig.XamFunnelView.prototype.y.length]:e;this.aa[c]=f;var g=null;if(e!=null){g=d.css("border-top-color");if(g==null||g.length==0||g=="null"||g=="transparent"){g=e}}f=new $.ig.Brush;f.__fill=g==null?$.ig.XamFunnelView.prototype.z[c%$.ig.XamFunnelView.prototype.z.length]:g;this.ab[c]=f}d.removeClass(a);return e},az:function(a,b,c){var d=new $.ig.PropertyChangedMessage;d.d(a);d.e(b);d.f(c);this.c.d(d)},init:function(){var $self=this;this.t=-1;this.u=-1;this.v=0;this.w=0;this.x=null;$.ig.Object.prototype.init.call(this);this.c=new $.ig.MessageChannel;this.a5();this.a6();var a=this.a=new $.ig.MessageHandler;a.b($.ig.ClearMessage.prototype.$type,this.aj.runOn(this));a.b($.ig.RenderSliceMessage.prototype.$type,this.al.runOn(this));a.b($.ig.RenderOuterLabelMessage.prototype.$type,this.am.runOn(this));a.b($.ig.SetAreaSizeMessage.prototype.$type,this.ak.runOn(this));a.b($.ig.TooltipValueChangedMessage.prototype.$type,this.an.runOn(this));a.b($.ig.TooltipUpdateMessage.prototype.$type,this.ao.runOn(this));a.b($.ig.ClearTooltipMessage.prototype.$type,this.ap.runOn(this));a.b($.ig.PropertyChangedMessage.prototype.$type,this.ar.runOn(this));a.b($.ig.ContainerSizeChangedMessage.prototype.$type,function(b){return $self.a3()});this.a3()},a0:function(a){this.a.c(a)},a1:function(a,b){if(a!=null){var c=$.ig.util.cast($.ig.MessageChannel.prototype.$type,a.c("RenderingMessages"));if(c!=null){c.h(this.a0.runOn(this))}this.c.j()}if(b!=null){var d=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("RenderingMessages"));if(d!=null){d.e(this.a0.runOn(this))}var e=$.ig.util.cast($.ig.MessageChannel.prototype.$type,b.c("InteractionMessages"));this.c.i(e)}},a2:function(a,b,c){a.attr("width",b.toString());a.attr("height",c.toString())},a3:function(){if(this.e==null){return}var a=this.e.width();var b=this.e.height();this.d=new $.ig.Rect(0,0,0,a,b);if(this.o!=null){this.o.x(this.d)}this.a2(this.f,a,b);this.a2(this.g,a,b);this.a2(this.i,a,b);this.a2(this.h,a,b);var c=new $.ig.ViewportChangedMessage;c.c(a);c.d(b);this.c.d(c)},a4:function(){this.a3()},a5:function(){var a=new $.ig.ViewPropertyChangedMessage;a.d("OuterLabelWidthDecider");a.e(null);a.f($.ig.util.cast($.ig.IOuterLabelWidthDecider.prototype.$type,this));this.c.d(a)},a6:function(){var a=new $.ig.ViewPropertyChangedMessage;a.d("FunnelLabelSizeDecider");a.e(null);a.f($.ig.util.cast($.ig.IFunnelLabelSizeDecider.prototype.$type,this));this.c.d(a)},decideWidth:function(a){var b=a==null?null:a.b();if(b==null){return 0}var c=0;this.n.y(this.av(false));var e=b.getEnumerator();while(e.moveNext()){var d=e.current();if(d!=null){c=Math.max(this.n.z(d.toString()),c)}}return c},decideLabelSize:function(a,b){var c=0;if(a.k().ad()){this.n.y(this.av(true));c=this.n.z(a.k().ab().toString())}return new $.ig.Size(c,this.aw(b))},a7:function(a,f_){if(f_==null){return true}var b=a.b();var c_=this.e;c_=c_?c_.data("igFunnelChart"):null;if(b==null||c_==null){return false}var i_=b.count();var c=new Array(i_);while(i_-->0){var v_=b.item(i_);c[i_]=f_(v_,i_,c_)}a.e(c);return true},$type:new $.ig.Type("XamFunnelView",$.ig.Object.prototype.$type,[$.ig.IOuterLabelWidthDecider.prototype.$type,$.ig.IFunnelLabelSizeDecider.prototype.$type])},true);$.ig.util.defType("LegendBaseViewManager","Object",{a:null,init:function(a){this.b=false;$.ig.Object.prototype.init.call(this);this.a=a;this.j(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.JQueryObject.prototype.$type,0))},m:function(a){this.i($(a));this.h($("<table></table>"));this.h().addClass(this.a.j());this.i().append(this.h())},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},b:null,r:function(a,b){var c=$.ig.util.cast($.ig.ContentControl.prototype.$type,a);var d=$("<tr></tr>");d.addClass(this.a.k());if(c!=null){var e=$.ig.util.cast($.ig.DataContext.prototype.$type,c.content());if(e!=null&&c.bf()!=null){var f=new $.ig.DataTemplatePassInfo;f.context=d;f.passID="LegendItem";f.areGradientsEnabled=this.b;var g=new $.ig.DataTemplateMeasureInfo;g.passInfo=f;g.width=NaN;g.height=NaN;g.data=e;g.context=d;var h=new $.ig.DataTemplateRenderInfo;h.areGradientsEnabled=this.b;h.passInfo=f;if(c.bf().measure()!=null){c.bf().measure()(g)}h.context=d;h.availableWidth=g.width;h.availableHeight=g.height;h.data=e;h.xPosition=0;h.yPosition=0;c.bf().render()(h);d.find(".ui-legend-item-badge").removeClass("ui-legend-item-badge").addClass(this.a.l());d.find(".ui-legend-item-text").removeClass("ui-legend-item-text").addClass(this.a.m())}}return d},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},u:function(a,b){var c=this.r(a,this.h());c.attr("id",b.toString());c.mouseup(this.a.ao.runOn(this.a));c.mousedown(this.a.an.runOn(this.a));c.mouseleave(this.a.am.runOn(this.a));c.mousemove(this.a.al.runOn(this.a));this.j().add(a,c);if(this.h().children().size()==0||b>=this.h().children().size()){this.h().append(c)}else{var d=this.h().children().eq(b);d.after(c)}},v:function(a){},w:function(a){var $self=this;var b;if(function(){var $ret=$self.j().tryGetValue(a,b);b=$ret.value;return $ret.ret}()){b.remove();this.j().remove(a)}},x:function(a){var c=this.j().keys().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($.ig.ContentControl.prototype.$type,b);if(d!=null&&d.content()!=null){var e=$.ig.util.cast($.ig.DataContext.prototype.$type,d.content());if(e!=null&&e.itemLabel()==a.itemLabel()&&e.series()==a.series()&&e.itemBrush()==a.itemBrush()){return true}}}return false},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},ac:function(a){var b=this.i().width();var c=this.i().height();var d=$('<div style="position : relative;" />');this.k($('<canvas style="position : absolute; top : 0; left : 0" />'));this.i().append(d);d.append(this.k());this.l(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.k()[0].getContext("2d")));this.k().attr("width",b.toString());this.k().attr("height",c.toString());return this.l()},ad:function(){return new $.ig.Size(this.i().width(),Math.max(10,this.i().height()-15))},ae:function(a,b,c,d){var e=a.c();e.beginPath();e.moveTo(b.bl().__inner[0].__x,b.bl().__inner[0].__y);for(var f=1;f<b.bl().count();f++){e.lineTo(b.bl().__inner[f].__x,b.bl().__inner[f].__y)}e.lineTo(b.bl().__inner[0].__x,b.bl().__inner[0].__y);var g=e.createLinearGradient(d.left(),d.top(),d.left(),d.top()+d.height());var i=c.b().getEnumerator();while(i.moveNext()){var h=i.current();g.a(h.c(),h.d().__fill)}e.fillStyle=g;e.fill()},$type:new $.ig.Type("LegendBaseViewManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LegendBase","ContentControl",{bz:function(){return new $.ig.LegendBaseView(this)},b0:function(a){this.bv(a)},_bv:null,bv:function(a){if(arguments.length===1){this._bv=a;return a}else{return this._bv}},init:function(){$.ig.ContentControl.prototype.init.call(this);var a=this.bz();this.b0(a);a.r();this.children(new $.ig.ObservableCollection$1($.ig.UIElement.prototype.$type,0))},b3:function(a,b){},b4:function(a,b){},_children:null,children:function(a){if(arguments.length===1){this._children=a;return a}else{return this._children}},_bw:null,bw:function(a){if(arguments.length===1){this._bw=a;return a}else{return this._bw}},_bx:null,bx:function(a){if(arguments.length===1){this._bx=a;return a}else{return this._bx}},by:function(){if(this.bw()!=null){return this.bw()}else{return this.bx()}},propertyChanged:null,propertyUpdated:null,cb:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},legendItemMouseLeftButtonDown:null,cc:function(a){if(this.legendItemMouseLeftButtonDown!=null){this.legendItemMouseLeftButtonDown(this,a)}},legendItemMouseLeftButtonUp:null,cd:function(a){if(this.legendItemMouseLeftButtonUp!=null){this.legendItemMouseLeftButtonUp(this,a)}},legendItemMouseEnter:null,ce:function(a){if(this.legendItemMouseEnter!=null){this.legendItemMouseEnter(this,a)}},legendItemMouseLeave:null,cf:function(a){if(this.legendItemMouseLeave!=null){this.legendItemMouseLeave(this,a)}},legendItemMouseMove:null,cg:function(a){if(this.legendItemMouseMove!=null){this.legendItemMouseMove(this,a)}},provideContainer:function(a){this.bv().z(a)},legendItemsListStyle:function(a){if(arguments.length===1){this.bv().j(a);return a}else{return this.bv().j()}},legendItemStyle:function(a){if(arguments.length===1){this.bv().k(a);return a}else{return this.bv().k()}},legendItemBadgeStyle:function(a){if(arguments.length===1){this.bv().l(a);return a}else{return this.bv().l()}},legendItemTextStyle:function(a){if(arguments.length===1){this.bv().m(a);return a}else{return this.bv().m()}},$type:new $.ig.Type("LegendBase",$.ig.ContentControl.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("ScaleLegend","LegendBase",{bz:function(){return new $.ig.ScaleLegendView(this)},b0:function(a){$.ig.LegendBase.prototype.b0.call(this,a);this.cv(a)},_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},legendScaleElement:function(){return this.cv().a3()},minText:function(){return this.cv().a4()},maxText:function(){return this.cv().a5()},init:function(){$.ig.LegendBase.prototype.init.call(this);this.a3($.ig.ScaleLegend.prototype.$type)},cw:function(a){if(arguments.length===1){this.c($.ig.ScaleLegend.prototype.cj,a);return a}else{return this.b($.ig.ScaleLegend.prototype.cj)}},cx:function(a){if(arguments.length===1){this.c($.ig.ScaleLegend.prototype.ck,a);return a}else{return this.b($.ig.ScaleLegend.prototype.ck)}},_cy:null,cy:function(a){if(arguments.length===1){this._cy=a;return a}else{return this._cy}},_cz:null,cz:function(a){if(arguments.length===1){this._cz=a;return a}else{return this._cz}},_c0:null,c0:function(a){if(arguments.length===1){this._c0=a;return a}else{return this._c0}},_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},_c3:null,c3:function(a){if(arguments.length===1){this._c3=a;return a}else{return this._c3}},cl:null,c4:function(a){if(arguments.length===1){var $self=this;this.cl=a;this.d($.ig.ScaleLegend.prototype.cj,function(){var $ret=new $.ig.Binding(1,"Visibility");$ret.d($self.cl);return $ret}());this.d($.ig.ScaleLegend.prototype.ck,function(){var $ret=new $.ig.Binding(1,$.ig.MarkerSeries.prototype.il);$ret.d($self.cl);return $ret}());return a}else{return this.cl}},dq:function(){this.cv().bk()},dr:function(a){if(this.c4()==null){return null}var b=$.ig.util.cast($.ig.CustomPaletteBrushScale.prototype.$type,this.c4().fillScale());var c=$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,this.c4().fillScale());var d=this.c4().fillScale();if(b!=null&&this.c4().eb()!=null){return b.getBrush(a,this.c4().eb().g())}else if(c!=null){return c.getBrushByIndex(a,this.c2())
}else if(d!=null){return d.getBrush(a)}return null},ds:function(a){if(a==null){return this.cv().bl()}return $.ig.ColorUtil.prototype.n(a)},dt:function(a){var b=$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a);if(b==null||a.__visibility!=$.ig.Visibility.prototype.visible){return}this.c1(b.l9());this.c3(b.fillScale());this.c2(b.md());this.c4(b);this.c0(new $.ig.ObservableCollection$1($.ig.Brush.prototype.$type,0));this.du()},du:function(){if(this.legendScaleElement()==null||this.c1()==null||this.c1().count()==0){return}if(this.c4()==null||this.c4().actualLegend()!=this){return}var a=false;var b=$.ig.util.cast($.ig.Shape.prototype.$type,this.legendScaleElement());if(b!=null){var c=this.cv().bm();for(var d=0;d<this.c1().count();d++){if(this.c3()==null||!this.c3().isReady()){if(this.c4()!=null){a=true}break}var e=NaN;if(this.c2()!=null){e=(this.c2().item(d)-this.c2().minimum())/(this.c2().maximum()-this.c2().minimum())}var f=(this.c1().item(d)-this.c1().minimum())/(this.c1().maximum()-this.c1().minimum());if(isNaN(e)){e=0}if(isNaN(f)){f=e}var g=this.c4()!=null?this.ds(this.c4().actualMarkerBrush()):this.cv().bl();var h=this.dr(d);var i=h!=null?this.ds(h):g;this.cv().bn(c,i,f)}this.cv().bo(b,a,c)}if(this.minText()!=null){this.minText().a3((Math.round(this.c1().minimum()*1e3)/1e3).toString())}if(this.maxText()!=null){this.maxText().a3((Math.round(this.c1().maximum()*1e3)/1e3).toString())}},$type:new $.ig.Type("ScaleLegend",$.ig.LegendBase.prototype.$type)},true);$.ig.util.defType("LegendBaseView","Object",{init:function(a){this.a=false;$.ig.Object.prototype.init.call(this);this.i(a);this.h(new $.ig.LegendBaseViewManager(this))},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},r:function(){},s:function(a){var $self=this;var b;var c;var d;(function(){var $ret=$self.u(a,b,c,d);b=$ret.chart;c=$ret.series;d=$ret.item;return $ret.ret})();var e=new $.ig.MouseButtonEventArgs;var f=new $.ig.DataChartLegendMouseButtonEventArgs(b,c,d,e,a);return f},t:function(a){var $self=this;var b;var c;var d;(function(){var $ret=$self.u(a,b,c,d);b=$ret.chart;c=$ret.series;d=$ret.item;return $ret.ret})();var e=new $.ig.MouseEventArgs;var f=new $.ig.ChartLegendMouseEventArgs(b,c,d,e,a);return f},u:function(a,b,c,d){b=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,this.i().by());c=null;d=null;if(a!=null){var e=$.ig.util.cast($.ig.ContentControl.prototype.$type,a);if(e!=null&&e.content()!=null&&$.ig.util.cast($.ig.DataContext.prototype.$type,e.content())!==null){var f=$.ig.util.cast($.ig.DataContext.prototype.$type,e.content());c=$.ig.util.cast($.ig.Series.prototype.$type,f.series());if(c!=null){b=c.seriesViewer()}d=f.item()}}return{chart:b,series:c,item:d}},v:function(){},w:function(){return true},x:function(a){},y:function(a){},z:function(a){this.h().m(a)},aa:function(a){this.h().w(a)},ab:function(a){var b=this.i().children().indexOf1(a);this.h().u(a,b)},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},a:null,ak:function(e_){var i_=$(e_.currentTarget).attr("id");return i_==null||i_==""?null:this.i().children().__inner[$.ig.Number.prototype.parseInt(i_)]},al:function(a){if(!this.a){this.i().ce(this.t(this.ak(a)))}this.a=true},am:function(a){if(this.a){this.i().cf(this.t(this.ak(a)))}this.a=false},an:function(a){this.i().cc(this.s(this.ak(a)))},ao:function(a){this.i().cd(this.s(this.ak(a)))},$type:new $.ig.Type("LegendBaseView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScaleLegendView","LegendBaseView",{init:function(a){this.ar=false;$.ig.LegendBaseView.prototype.init.call(this,a);this.a2(a);this.a4(new $.ig.TextBlock);this.a5(new $.ig.TextBlock);this.a3(new $.ig.Polygon)},_a2:null,a2:function(a){if(arguments.length===1){this._a2=a;return a}else{return this._a2}},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},bk:function(){},v:function(){},bl:function(){return $.ig.Color.prototype.s(0,0,0,0)},bm:function(){return new $.ig.GradientData},bn:function(a,b,c){var $self=this;var d=a;d.b().add(function(){var $ret=new $.ig.GradientStopData;$ret.d(function(){var $ret=new $.ig.Brush;$ret.color(b);return $ret}());$ret.c(c);return $ret}())},bo:function(a,b,c){if(b){this.bb(this.a2().c4().actualMarkerBrush());this.a6(null)}else{this.bb(null);this.a6(c)}this.bv()},_a6:null,a6:function(a){if(arguments.length===1){this._a6=a;return a}else{return this._a6}},_a7:null,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},_a8:null,a8:function(a){if(arguments.length===1){this._a8=a;return a}else{return this._a8}},z:function(a){$.ig.LegendBaseView.prototype.z.call(this,a);this.a7(this.h().ac(a));this.a8(this.h().ad());this.bv()},ar:null,bv:function(){if(!this.ar){this.ar=true;window.setTimeout(this.bw.runOn(this),0)}},bw:function(){if(this.ar){this.ar=false;this.bx()}},bx:function(){if(this.a7()==null){return}this.b4()},by:function(a){var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,a);if(b!=null&&b.a3()!=null){return this.a7().z(b.a3())+$.ig.ScaleLegendView.prototype.aq}return 0},bz:function(a){return this.a9()+$.ig.ScaleLegendView.prototype.aq},_a9:null,a9:function(a){if(arguments.length===1){this._a9=a;return a}else{return this._a9}},_ba:null,ba:function(a){if(arguments.length===1){this._ba=a;return a}else{return this._ba}},b4:function(){if(this.a2().c4()==null||this.a2().c4().seriesViewer()==null||this.a6()==null&&this.bb()==null){return}if(this.a7().b()){this.a7().y(this.a2().c4().seriesViewer().je());this.a9(this.a2().c4().seriesViewer().fo().ax());this.ba(this.a2().c4().seriesViewer().jd());var a=this.by(this.a4());var b=this.by(this.a5());var c=Math.max(a,b)+4;if(c>=this.a8().c()){c=0}var d=this.a8().c()-c;var e=2;var f=2;d=d-4;var g=this.a8().d()-4;var h=e+d+4;var i=f;var j=g;var k={__x:e+3/5*d,__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var l={__x:e+5/5*d,__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var m={__x:e+5/5*d,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var n={__x:e,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var o=this.a3();o.bl().clear();o.bl().add(k);o.bl().add(l);o.bl().add(m);o.bl().add(n);this.a4().w(h);this.a4().v(i);this.a4().a4(this.ba());this.a5().w(h);this.a5().v(i+j-this.bz(this.a4()));this.a5().a4(this.ba());this.a7().u(0,0,this.a8().c(),this.a8().d());if(this.a6()==null&&this.bb()!=null){o.__fill=this.bb();this.a7().k(o)}else{this.h().ae(this.a7(),o,this.a6(),new $.ig.Rect(0,f,e,d,g))}if(c>0){this.a7().i(this.a4());this.a7().i(this.a5())}}},_bb:null,bb:function(a){if(arguments.length===1){this._bb=a;return a}else{return this._bb}},$type:new $.ig.Type("ScaleLegendView",$.ig.LegendBaseView.prototype.$type)},true);$.ig.util.defType("GradientData","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.b(new $.ig.List$1($.ig.GradientStopData.prototype.$type,0))},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("GradientData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GradientStopData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("GradientStopData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ClearMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},$type:new $.ig.Type("ClearMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("ClearTooltipMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},$type:new $.ig.Type("ClearTooltipMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("DataUpdatedMessage","ConfigurationMessage",{init:function(){$.ig.ConfigurationMessage.prototype.init.call(this)},a:null,e:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,f:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,g:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,h:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},toString:function(){return"DataUpdatedMessage["+this.e().toString()+","+this.f().toString()+", "+this.g().toString()+", "+this.h().toString()+"]"},$type:new $.ig.Type("DataUpdatedMessage",$.ig.ConfigurationMessage.prototype.$type)},true);$.ig.util.defType("FrameRenderCompleteMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},$type:new $.ig.Type("FrameRenderCompleteMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("MessageChannel","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Array},a:null,d:function(a){if(this.messageSent!=null){this.messageSent(a)}else{this.a.push(a)}},e:function(a){this.messageSent=$.ig.Delegate.prototype.combine(this.messageSent,a);while(this.a.length>0){var b=this.a.shift();this.messageSent(b)}},messageSent:null,h:function(a){this.messageSent=$.ig.Delegate.prototype.remove(this.messageSent,a)},c:null,i:function(a){this.c=a;this.e(this.k.runOn(this))},j:function(){if(this.c==null){return}this.h(this.k.runOn(this));this.c=null},k:function(a){if(this.c!=null){this.c.d(a)}},toString:function(){return"MessageQueue"},$type:new $.ig.Type("MessageChannel",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MessageHandler","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,b:function(a,b){this.a.item(a.typeName(),b)},c:function(a){var b=this.a.item(a.getType().typeName());if(b!=null){b(a)}},$type:new $.ig.Type("MessageHandler",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseButtonMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},a:null,e:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,f:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,g:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},toString:function(){return"MouseButtonMessage["+this.e().toString()+", "+this.f().toString()+", "+this.g().toString()+"]"},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("MouseButtonMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("MouseLeaveMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},toString:function(){return"MouseLeaveMessage["+this.b().toString()+"]"},$type:new $.ig.Type("MouseLeaveMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("MouseMoveMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},toString:function(){return"MouseMoveMessage["+this.b().toString()+"]"},$type:new $.ig.Type("MouseMoveMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("PropertyChangedMessage","ConfigurationMessage",{init:function(){$.ig.ConfigurationMessage.prototype.init.call(this)},a:null,d:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,e:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},toString:function(){var a="null";var b="null";if(this.e()!=null){a=this.e().toString()}if(this.f()!=null){b=this.f().toString()}return"PropertyChangedMessage["+this.d().toString()+", "+a+", "+b+"]"},$type:new $.ig.Type("PropertyChangedMessage",$.ig.ConfigurationMessage.prototype.$type)},true);$.ig.util.defType("ServiceProvider","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,b:function(a,b){this.a.item(a,b)},c:function(a){return this.a.item(a)},$type:new $.ig.Type("ServiceProvider",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SetAreaSizeMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},e:null,i:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,j:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,k:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},h:null,l:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},toString:function(){return"SetAreaSizeMessage["+this.i().toString()+", "+this.j().toString()+", "+this.k().toString()+", "+this.l().toString()+"]"},$type:new $.ig.Type("SetAreaSizeMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("TemplateChangedMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},e:null,g:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,h:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},toString:function(){return"TemplateChangedMessage["+this.g().toString()+", "+this.h().toString()+"]"},$type:new $.ig.Type("TemplateChangedMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("TooltipUpdateMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},e:null,g:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,h:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},toString:function(){return"TooltipUpdateMessage["+this.g().toString()+", "+this.h().toString()+"]"},$type:new $.ig.Type("TooltipUpdateMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("TooltipValueChangedMessage","RenderingMessage",{init:function(){$.ig.RenderingMessage.prototype.init.call(this)},e:null,f:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},toString:function(){return"TooltipValueChangedMessage["+this.f().toString()+"]"},$type:new $.ig.Type("TooltipValueChangedMessage",$.ig.RenderingMessage.prototype.$type)},true);$.ig.util.defType("ViewportChangedMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},a:null,c:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,d:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"ViewportChangedMessage["+this.c().toString()+", "+this.d().toString()+"]"},$type:new $.ig.Type("ViewportChangedMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("ContainerSizeChangedMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},$type:new $.ig.Type("ContainerSizeChangedMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("ViewPropertyChangedMessage","InteractionMessage",{init:function(){$.ig.InteractionMessage.prototype.init.call(this)},a:null,d:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,e:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},toString:function(){return"ViewPropertyChangedMessage["+this.d().toString()+", "+this.e().toString()+", "+this.f().toString()+"]"},$type:new $.ig.Type("ViewPropertyChangedMessage",$.ig.InteractionMessage.prototype.$type)},true);$.ig.util.defType("PieChartViewManager","Object",{_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},a:null,b:null,_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},c:null,init:function(a){this.a=0;this.b=0;this.d=false;$.ig.Object.prototype.init.call(this);this.c=a},d:null,ay:function(){var a=this.q().width();var b=this.q().height();this.az(a,b)},az:function(a,b){this.ab().x(new $.ig.Rect(0,0,0,a,b));if(this.a!=a){this.d=true}this.a=a;if(this.b!=b){this.d=true}this.b=b;this.c.a9()},a0:function(){this.v(new $.ig.Rect(0,0,0,this.a,this.b));this.r().attr("width",this.a.toString());this.r().attr("height",this.b.toString());this.t().attr("width",this.a.toString());this.t().attr("height",this.b.toString());this.u().attr("width",this.a.toString());this.u().attr("height",this.b.toString());this.s().attr("width",this.a.toString());this.s().attr("height",this.b.toString());return this.v()},a1:function(){return this.c.z()},a2:function(){var a=$.ig.DOMEventProxy.prototype.di(this.q());return new $.ig.Size(a.left(),a.top())},a3:function(a,b){var c=new Array(2);b.addClass(a);var d=new $.ig.Brush;d.__fill=b.css("background-color");var e=new $.ig.Brush;e.__fill=b.css("border-top-color");b.removeClass(a);c[0]=d;c[1]=e;return c},a4:function(a){window.setTimeout(a,0)},a5:function(a,b,c,d){var $self=this;(function(){var $ret=$.ig.BrushUtil.prototype.c("chart",$self.q(),a,b);a=$ret.brushes;b=$ret.outlines;return $ret.ret})();c=new $.ig.Brush;c.__fill=this.q().css("color");d=$.ig.FontUtil.prototype.b(this.q());return{brushes:a,outlines:b,fontBrush:c,font:d}},a6:function(a){var $self=this;a.__stroke=function(){var $ret=new $.ig.Brush;$ret.__fill="#000000";return $ret}();a.__fill=function(){var $ret=new $.ig.Brush;$ret.__fill="#222222";return $ret}()},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},a9:function(a){if(a==null){if(this.ab()!=null){this.ab().bl()}this.q(null);this.r(null);this.t(null);this.u(null);this.s(null);this.w(null);this.x(null);this.y(null);this.z(null);this.ab(null);return}var b=a;this.q($(b));this.c.ar();this.c.b5();this.q().css("position","relative");this.q().addClass("ui-corner-all ui-widget-content");this.r($('<canvas style="position : absolute; top : 0; left : 0" />'));this.t($('<canvas style="position : absolute; top : 0; left : 0" />'));this.u($('<canvas style="position : absolute; top : 0; left : 0" />'));this.s($('<canvas style="position : absolute; top : 0; left : 0" />'));this.q().append(this.r());this.q().append(this.t());this.q().append(this.u());this.q().append(this.s());this.w(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.r()[0].getContext("2d")));this.x(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.t()[0].getContext("2d")));this.y(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.u()[0].getContext("2d")));this.z(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.s()[0].getContext("2d")));this.ab(new $.ig.DOMEventProxy(this.s()));this.ab().onMouseOver=$.ig.Delegate.prototype.combine(this.ab().onMouseOver,this.c.bg.runOn(this.c));this.ab().onMouseLeave=$.ig.Delegate.prototype.combine(this.ab().onMouseLeave,this.c.bh.runOn(this.c));this.ab().onMouseDown=$.ig.Delegate.prototype.combine(this.ab().onMouseDown,this.c.bi.runOn(this.c));this.ab().onMouseUp=$.ig.Delegate.prototype.combine(this.ab().onMouseUp,this.c.bj.runOn(this.c));this.ab().ab(this.c.x().isSurfaceInteractionDisabled());this.az(this.q().width(),this.q().height())},ba:function(a){this.q().append(a)},bb:function(a){if(this.ab()==null){return}this.ab().ab(a)},bc:function(){return this.q()},$type:new $.ig.Type("PieChartViewManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialBase","MarkerSeries",{eq:function(a){$.ig.MarkerSeries.prototype.eq.call(this,a);this.ju(a)},_ju:null,ju:function(a){if(arguments.length===1){this._ju=a;return a}else{return this._ju}},init:function(){var $self=this;this.jl=new $.ig.RadialFrame(3);this.jm=new $.ig.RadialFrame(3);this.jn=new $.ig.RadialFrame(3);$.ig.MarkerSeries.prototype.init.call(this);this.jv(new $.ig.SeriesRenderer$2($.ig.RadialFrame.prototype.$type,$.ig.RadialBaseView.prototype.$type,1,this.j1.runOn(this),this.j2.runOn(this),this.gb.runOn(this),this.gc.runOn(this),this.jy.runOn(this),function(a){return $self.ju().dm().q($self.resolution())}))},jy:function(){if(this.d4().k()){this.d4().s()}},categoryAxis:function(){return this.angleAxis()},_jv:null,jv:function(a){if(arguments.length===1){this._jv=a;return a}else{return this._jv}},isRadial:function(){return true},angleAxis:function(a){if(arguments.length===1){this.c($.ig.RadialBase.prototype.angleAxisProperty,a);return a}else{return this.b($.ig.RadialBase.prototype.angleAxisProperty)}},valueAxis:function(a){if(arguments.length===1){this.c($.ig.RadialBase.prototype.valueAxisProperty,a);return a}else{return this.b($.ig.RadialBase.prototype.valueAxisProperty)}},clipSeriesToBounds:function(a){if(arguments.length===1){this.c($.ig.RadialBase.prototype.clipSeriesToBoundsProperty,a);return a}else{return this.b($.ig.RadialBase.prototype.clipSeriesToBoundsProperty)}},fk:function(a,b){this.ju().dm().q(this.resolution());this.renderSeries(false)},fl:function(a,b){this.ju().dm().q(this.resolution());this.renderSeries(false)},preferredCategoryMode:function(a){},ft:function(a,b,c,d){var $self=this;$.ig.MarkerSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.RadialBase.prototype.bj:if(c!=null&&d==null){if(this.angleAxis()!=null){this.angleAxis().deregisterSeries(this)}if(this.valueAxis()!=null){this.valueAxis().deregisterSeries(this)}}if(c==null&&d!=null){if(this.angleAxis()!=null){this.angleAxis().registerSeries(this)}if(this.valueAxis()!=null){this.valueAxis().registerSeries(this)}}this.ju().dm().q(this.resolution());this.renderSeries(false);break;case $.ig.RadialBase.prototype.ji:if(this.angleAxis()!=null&&this.valueAxis()!=null){this.jo=new $.ig.RadialAxes(this.valueAxis(),this.angleAxis())}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.ju().dm().q(this.resolution());this.renderSeries(false);break;case $.ig.RadialBase.prototype.jj:if(this.angleAxis()!=null&&this.valueAxis()!=null){this.jo=new $.ig.RadialAxes(this.valueAxis(),this.angleAxis())}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}this.ju().dm().q(this.resolution());if(this.valueAxis()==null||!this.valueAxis().updateRange()){this.renderSeries(false)}break;case $.ig.Series.prototype.bi:if(this.syncLink()!=null&&this.seriesViewer()!=null){this.ju().dm().q(this.resolution());this.renderSeries(false)}break;case $.ig.RadialBase.prototype.bv:this.jm.a(this.ed(),this.jl,this.jn);if(this.fi(this.view())){return}if(this.ed()==1){this.j2(this.jn,this.ju())}else{this.j2(this.jm,this.ju())}break;case $.ig.RadialBase.prototype.jk:this.renderSeries(false);this.fs();break;case $.ig.Series.prototype.bf:if(c!=$.ig.Visibility.prototype.visible&&d==$.ig.Visibility.prototype.visible){this.ju().dm().q(this.resolution())}break}},getItem:function(a){var b=this.getItemIndex(a);return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},getAngleFromWorld:function(a){var b=this.view().ae();var c=this.view().ad();if(this.angleAxis()!=null&&!b.isEmpty()&&!c.isEmpty()&&this.jo!=null){var d=this.jo.n(a);if(d<0){d+=Math.PI*2}if(d>Math.PI*2){d-=Math.PI*2}return d}return NaN},getExactItemIndex:function(a){var b=this.view().ae();var c=this.view().ad();var d=-1;if(this.angleAxis()!=null&&!b.isEmpty()&&!c.isEmpty()&&this.jo!=null){var e=this.jo.n(a);if(e<0){e+=Math.PI*2}if(e>Math.PI*2){e-=Math.PI*2}var f=this.angleAxis().getUnscaledAngle(e);if(this.angleAxis().categoryMode()!=$.ig.CategoryMode.prototype.mode0){f-=.5}d=f}return d},getItemIndex:function(a){var b=Math.round(this.getExactItemIndex(a));if(this.eb()!=null&&b==this.eb().g()){b=0}return b},scrollIntoView:function(a){return false},jl:null,jm:null,jn:null,j1:function(a,b){},j2:function(a,b){},jo:null,gi:function(){$.ig.Series.prototype.gi.call(this);if(this.angleAxis()!=null){this.angleAxis().e1(false)}if(this.valueAxis()!=null){this.valueAxis().e1(false)}},ff:function(a,b,c){var d=true;var e=c;if(!$.ig.Series.prototype.ff.call(this,a,b,c)||!c.ch()||b.isEmpty()||a.isEmpty()||this.angleAxis()==null||this.angleAxis().itemsSource()==null||this.valueAxis()==null||this.jo==null||this.eb()==null||this.angleAxis().seriesViewer()==null||this.valueAxis().seriesViewer()==null||this.valueAxis().actualMinimumValue()==this.valueAxis().actualMaximumValue()){e.dm().h(0);d=false}return d},fb:function(a){var $self=this;var b;var c;(function(){var $ret=$self.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();if(!this.ff(c,b,this.view())){this.fg(true,this.view());return}var d=new $.ig.SeriesRenderingArguments(this,c,b,a);(function(){var $ret=$self.jv().z(d,$self.jl,$self.jn,$self.jm,$self.ju());$self.jl=$ret.previousFrame;$self.jn=$ret.currentFrame;$self.jm=$ret.transitionFrame;return $ret.ret})()},j3:function(){var a=0;var c=this.seriesViewer().series().getEnumerator();while(c.moveNext()){var b=c.current();if(b==this){return a}var d=$.ig.util.cast($.ig.RadialBase.prototype.$type,b);if(d!=null&&d.angleAxis()==this.angleAxis()&&d.preferredCategoryMode(d.angleAxis())==$.ig.CategoryMode.prototype.mode2){a++}}$.ig.Debug.prototype.a(false,"RadialBase.GetMode2Index failed to find series");return-1},$type:new $.ig.Type("RadialBase",$.ig.MarkerSeries.prototype.$type,[$.ig.IHasCategoryModePreference.prototype.$type])},true);$.ig.util.defType("AnchoredRadialSeries","RadialBase",{et:function(){return new $.ig.AnchoredRadialSeriesView(this)},eq:function(a){$.ig.RadialBase.prototype.eq.call(this,a);this.kl(a)},_kl:null,kl:function(a){if(arguments.length===1){this._kl=a;return a}else{return this._kl}},init:function(){this.j9={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};$.ig.RadialBase.prototype.init.call(this);this.km(new $.ig.CategoryLineRasterizer)},_km:null,km:function(a){if(arguments.length===1){this._km=a;return a}else{return this._km}},getPreviousOrExactIndex:function(a,b){return this.e2(a,b,this.angleAxis(),null,this.kn())},getNextOrExactIndex:function(a,b){return this.e3(a,b,this.angleAxis(),null,this.kn())},ex:function(a,b,c,d,e){if(this.kn()==null){return Number.POSITIVE_INFINITY}return this.ey(a,b,this.angleAxis(),d,e,this.kn().count(),null)},getSeriesValue:function(a,b,c){var d=this.kx(this.angleAxis(),this.view().ae(),this.view().ad());var e=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.angleAxis().isInverted());e.c=this.seriesViewer().viewportRect();return this.e0(this.kn(),a,this.angleAxis(),e,d,null,b,c)},getSeriesValuePosition:function(a,b,c){if(this.valueAxis()==null||this.angleAxis()==null||this.view()==null||this.view().ae().isEmpty()||this.view().ad().isEmpty()){return{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}var d=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.valueAxis().isInverted());d.c=this.seriesViewer().effectiveViewport();var e=this.getSeriesValue(a,b,c);e=this.valueAxis().getScaledValue(e,d);var f=this.jo.n(a);if(!b&&this.angleAxis()!=null){var g=this.getPreviousOrExactIndex(a,c);var h=this.getNextOrExactIndex(a,c);var i=this.kx(this.angleAxis(),this.view().ae(),this.view().ad());var j=new $.ig.ScalerParams(this.view().ae(),this.view().ad(),this.angleAxis().isInverted());j.c=this.seriesViewer().viewportRect();var k=this.ex(a,g,this.angleAxis(),j,i);var l=this.ex(a,h,this.angleAxis(),j,i);if(l<=k){f=this.angleAxis().getScaledValue(h,j)+i}else{f=this.angleAxis().getScaledValue(g,j)+i}}var m=this.jo.j(f,e,this.view().ae(),this.view().ad());var n=this.jo.m(f,e,this.view().ae(),this.view().ad());return{__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.valueMemberPathProperty)}},kn:function(a){if(arguments.length===1){if(this.j8!=a){var b=this.j8;this.j8=a;this.e6($.ig.AnchoredRadialSeries.prototype.j7,b,this.j8)}return a}else{return this.j8}},j8:null,trendLineType:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineDashArrayProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLinePeriodProperty)}},trendLineZIndex:function(a){if(arguments.length===1){this.c($.ig.AnchoredRadialSeries.prototype.trendLineZIndexProperty,a);return a}else{return this.b($.ig.AnchoredRadialSeries.prototype.trendLineZIndexProperty)}},e9:function(a){if(a!=null&&a==this.angleAxis()&&this.kn()!=null&&this.kn().count()>0){return new $.ig.AxisRange(0,this.kn().count()-1)
}if(a!=null&&a==this.valueAxis()&&this.kn()!=null&&this.kn().count()>0){return new $.ig.AxisRange(this.kn().minimum(),this.kn().maximum())}return null},ft:function(a,b,c,d){$.ig.RadialBase.prototype.ft.call(this,a,b,c,d);if(this.kl().d5().ae(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.fs()}var e=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,this.valueAxis());switch(b){case $.ig.Series.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.kn());this.kn(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.kn(this.hk(this.valueMemberPath()));this.kl().dm().q(this.resolution())}if(e!=null&&!e.updateRange()){this.kl().dm().q(this.resolution());this.renderSeries(false)}break;case $.ig.AnchoredRadialSeries.prototype.j6:if(this.eb()!=null){this.eb().ac(this.kn());this.kn(this.hk(this.valueMemberPath()))}break;case $.ig.AnchoredRadialSeries.prototype.j7:if(e!=null&&!e.updateRange()){this.kl().dm().q(this.resolution());this.renderSeries(false)}break;case $.ig.AnchoredRadialSeries.prototype.cf:this.f6();break;case $.ig.AnchoredRadialSeries.prototype.cd:this.fs();break}},fz:function(a,b,c,d){switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.remove:this.kl().dm().q(this.resolution());break}this.kl().d5().ad(a,b,c,d);switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.valueAxis()!=null&&!this.valueAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.insert:if(this.valueAxis()!=null&&!this.valueAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.valueAxis()!=null&&!this.valueAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.valueMemberPath()!=null&&this.kl().dm().h()>0&&this.valueAxis()!=null&&!this.valueAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.change:if(d==this.valueMemberPath()){if(this.valueAxis()!=null&&!this.valueAxis().updateRange()){this.renderSeries(true)}}break}},ff:function(a,b,c){var d=$.ig.RadialBase.prototype.ff.call(this,a,b,c);var e=c;if(this.eb()==null||this.eb().g()==0||this.angleAxis()==null||this.kn()==null||this.angleAxis().itemsCount()==0||this.valueAxis()==null||Number.isInfinity(this.valueAxis().actualMinimumValue())||Number.isInfinity(this.valueAxis().actualMaximumValue())||e.dm().h()<1){d=false}return d},getOffsetValue:function(){return this.kx(this.angleAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.angleAxis().getCategorySize(this.view().ae(),this.view().ad())},ko:function(){return false},kx:function(a,b,c){var d=0;var e=this.preferredCategoryMode(a);if(e==$.ig.CategoryMode.prototype.mode0&&a.categoryMode()!=$.ig.CategoryMode.prototype.mode0){e=$.ig.CategoryMode.prototype.mode1}switch(e){case $.ig.CategoryMode.prototype.mode0:d=0;break;case $.ig.CategoryMode.prototype.mode1:d=.5*a.getCategorySize(b,c);break;case $.ig.CategoryMode.prototype.mode2:d=a.getGroupCenter(this.j3(),b,c);break}if(a.isInverted()){d=-d}return d},j1:function(a,b){var $self=this;var c=b.ae();var d=b.ad();var e=this.angleAxis();var f=this.valueAxis();var g=f.actualMinimumValue();var h=f.actualMaximumValue();a.f.clear();a.h.clear();a.i.clear();var i=this.i8();var j=0;var k=b;var l=new $.ig.CollisionAvoider;var m=0;var n=b.dm().g();m=this.kx(e,c,d);k.d5().ak(this.valueAxis().i0());k.d5().al(this.valueAxis().i1());k.d5().am(function(o,p){return $self.ky(o,p,c,d)});k.d5().an(function(q,r){return $self.kz(q,r,c,d)});var s=function(){var $ret=new $.ig.Clipper(0,d,false);$ret.h(a.i);return $ret}();var t=function(){var $ret=new $.ig.TrendResolutionParams;$ret.j(b.dm().h());$ret.h(b.dm().f());$ret.i(n);$ret.n(m);$ret.m($self.resolution());$ret.k(d);$ret.l(c);return $ret}();k.d5().ao(a.i,this.trendLineType(),this.kn(),this.trendLinePeriod(),function(u){return $self.angleAxis().getScaledAngle(u)},function(v){return $self.valueAxis().getScaledValue2(v)},t,s);var w=true;if(this.k0(b)){n--}for(var x=b.dm().f();x<=n;++x){var y=x;if(y*b.dm().h()>=this.angleAxis().itemsCount()){y-=$.ig.intDivide(this.angleAxis().itemsCount(),b.dm().h())}var z=b.dm().getBucket(y);if(!isNaN(z[0])){z[0]=e.getScaledAngle(z[0])+m;if(z[1]<g||z[1]>h){continue}z[1]=f.getScaledValue2(z[1]);if(b.dm().h()>1){if(z[2]<g||z[2]>h){continue}z[2]=f.getScaledValue2(z[2])}else{z[2]=z[1]}if((isNaN(z[1])||isNaN(z[2]))&&w&&this.ko()&&this.k3()){n++}else{w=false}a.f.add(z);if(i){var aa=Math.min(y*b.dm().h(),this.eb().g()-1);var ab=this.jo.j(z[0],z[1],c,d);var ac=this.jo.m(z[0],z[1],c,d);var ad=new $.ig.Rect(0,ab-5,ac-5,11,11);if(!isNaN(ab)&&!isNaN(ac)&&!Number.isInfinity(ab)&&!Number.isInfinity(ac)&&l.tryAdd(ad)){a.h.add({__x:ab,__y:ac,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var ae=b.dp().item(j);$.ig.util.cast($.ig.DataContext.prototype.$type,ae.content()).item(this.eb().item(aa));++j}}}else{if(w&&this.ko()&&this.k3()){n++}}}b.dp().g(j);return},ky:function(a,b,c,d){return this.jo.j(a,b,c,d)},kz:function(a,b,c,d){return this.jo.m(a,b,c,d)},k0:function(a){var b=a;return!this.ko()&&b.dm().f()==0&&b.dm().g()==this.angleAxis().itemsCount()},k1:function(a,b,c){var d=null;var e=c.ae();var f=c.ad();if(b>-1&&!e.isEmpty()&&!f.isEmpty()){var g=a.__inner[0][0]<f.left()-2e3?f.left()-10:NaN;var h=f.bottom()+10;var i=a.__inner[b][0]>f.right()+2e3?f.right()+10:NaN;var j=f.top()-10;d=new $.ig.Clipper(1,g,h,i,j,false)}return d},j9:null,k2:function(a,b,c,d,e){if(a.count()>0&&d.count()>0){if(!e||this.k4()){a.add(this.j9);a.add(a.__inner[0]);d.add(this.j9);d.add(d.__inner[0])}}},k3:function(){return!this.k4()},k4:function(){var a=this.view().ae();return!a.contains1({__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;if(a){c.dp().clear()}c.d5().ab()},j2:function(a,b){var c=b.ae();var d=b.ad();var e=b;e.d5().t(a.i);$.ig.CategoryMarkerManager.prototype.a(this,a.h,e.dp(),this.useLightweightMarkers());e.dc();this.k5(d,c,e)},k5:function(a,b,c){c.ea(a,b)},f6:function(){$.ig.MarkerSeries.prototype.f6.call(this);if(this.index()<0){return}this.kl().eb()},e8:function(a,b){if(a==this.kl().d5().n()){return null}return $.ig.Series.prototype.e8.call(this,a,b)},scrollIntoView:function(a){var b=this.view().ae();var c=this.view().ad();var d=!b.isEmpty()&&!c.isEmpty()&&this.eb()!=null?this.eb().item1(a):-1;if(this.angleAxis()==null||this.kn()==null||this.valueAxis()==null){return false}if(d<0||d>this.kn().count()-1){return false}var e=this.angleAxis().getScaledAngle(d);var f=this.valueAxis().getScaledValue2(this.kn().item(d));if(isNaN(f)){f=(this.valueAxis().i1()+this.valueAxis().i0())/2}var g=.5+Math.cos(e)*f;var h=.5+Math.sin(e)*f;if(!isNaN(g)){if(g<b.left()+.1*b.width()){g=g+.4*b.width();b.x(g-.5*b.width())}if(g>b.right()-.1*b.width()){g=g-.4*b.width();b.x(g-.5*b.width())}}if(!isNaN(h)){if(h<b.top()+.1*b.height()){h=h+.4*b.height();b.y(h-.5*b.height())}if(h>b.bottom()-.1*b.height()){h=h-.4*b.height();b.y(h-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),b)}return d>=0},fe:function(a,b){$.ig.Series.prototype.fe.call(this,a,b);if(!this.d9()){this.view().b9(b);return}this.view().b9(b);var c=$.ig.util.cast($.ig.AnchoredRadialSeriesView.prototype.$type,this.d7());c.dm().q(this.resolution());if(this.fi(this.d7())){return}var d=new $.ig.RadialFrame(3);this.j1(d,c);this.j2(d,c);this.d9(false)},ho:function(a){$.ig.MarkerSeries.prototype.ho.call(this,a);var b=new $.ig.PolyLineVisualData(1,"trendLine",this.kl().d5().n());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("AnchoredRadialSeries",$.ig.RadialBase.prototype.$type)},true);$.ig.util.defType("RadialAreaSeries","AnchoredRadialSeries",{et:function(){return new $.ig.RadialAreaSeriesView(this)},eq:function(a){$.ig.AnchoredRadialSeries.prototype.eq.call(this,a);this.lb(a)},_lb:null,lb:function(a){if(arguments.length===1){this._lb=a;return a}else{return this._lb}},init:function(){$.ig.AnchoredRadialSeries.prototype.init.call(this);this.a3($.ig.RadialAreaSeries.prototype.$type)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredRadialSeries.prototype.fg.call(this,a,b);this.lb().ek()},j2:function(a,b){$.ig.AnchoredRadialSeries.prototype.j2.call(this,a,b);var c=b.ae();var d=b.ad();var e=b;if(b.ch()&&!c.isEmpty()&&!d.isEmpty()&&this.angleAxis()!=null&&this.valueAxis()!=null){var f=a.f;var g=f.count();var h=new $.ig.List$1($.ig.Array.prototype.$type,2,g);var i=0;for(var j=0;j<g;j++){var k=new Array(4);h.add(k);k[0]=this.jo.j(a.f.__inner[j][0],a.f.__inner[j][1],c,d);k[1]=this.jo.m(a.f.__inner[j][0],a.f.__inner[j][1],c,d);k[2]=this.jo.j(a.f.__inner[j][0],a.f.__inner[j][2],c,d);var l=a.f.__inner[j][2];k[3]=this.jo.m(a.f.__inner[j][0],l,c,d);if(l>i){i=l}}var m=$.ig.ViewportUtils.prototype.a(.5,c,d);var n=$.ig.ViewportUtils.prototype.c(.5,c,d);this.j9={__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};e.el(a.f.count(),h,false,this.lb().dm().h(),this.resolution(),this.k2.runOn(this),this.unknownValuePlotting())}},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.RadialAreaSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.RadialAreaSeries.prototype.unknownValuePlottingProperty)}},ft:function(a,b,c,d){$.ig.AnchoredRadialSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.RadialAreaSeries.prototype.k8:this.renderSeries(false);this.fs();break}},ko:function(){return true},$type:new $.ig.Type("RadialAreaSeries",$.ig.AnchoredRadialSeries.prototype.$type)},true);$.ig.util.defType("RadialBaseView","MarkerSeriesView",{_dm:null,dm:function(a){if(arguments.length===1){this._dm=a;return a}else{return this._dm}},_dn:null,dn:function(a){if(arguments.length===1){this._dn=a;return a}else{return this._dn}},init:function(a){$.ig.MarkerSeriesView.prototype.init.call(this,a);this.dn(a);this.dp(new $.ig.Pool$1($.ig.Marker.prototype.$type));this.de(this.dp())},_dp:null,dp:function(a){if(arguments.length===1){this._dp=a;return a}else{return this._dp}},c0:function(a){this.dp().p(a)},_dq:null,dq:function(a){if(arguments.length===1){this._dq=a;return a}else{return this._dq}},_dr:null,dr:function(a){if(arguments.length===1){this._dr=a;return a}else{return this._dr}},$type:new $.ig.Type("RadialBaseView",$.ig.MarkerSeriesView.prototype.$type)},true);$.ig.util.defType("AnchoredRadialSeriesView","RadialBaseView",{_d4:null,d4:function(a){if(arguments.length===1){this._d4=a;return a}else{return this._d4}},init:function(a){$.ig.RadialBaseView.prototype.init.call(this,a);this.dm(new $.ig.AnchoredRadialBucketCalculator(this));this.d4(a);this.d5(new $.ig.RadialTrendLineManager)},_d5:null,d5:function(a){if(arguments.length===1){this._d5=a;return a}else{return this._d5}},ea:function(a,b){},eb:function(){this.d4().actualTrendLineBrush(null);if(this.d4().trendLineBrush()!=null){this.d4().actualTrendLineBrush(this.d4().trendLineBrush())}else{this.d4().actualTrendLineBrush(this.d4().actualBrush())}},a5:function(a,b){if(a.b()){if(this.l&&!b){}if(this.d4().trendLineType()!=$.ig.TrendLineType.prototype.none&&!b){var c=this.d5().n();c.a5(this.d4().trendLineThickness());c.__stroke=this.d4().actualTrendLineBrush();c.a6(this.d4().trendLineDashArray());c.a7(this.d4().trendLineDashCap());a.l(c)}}$.ig.MarkerSeriesView.prototype.a5.call(this,a,b)},$type:new $.ig.Type("AnchoredRadialSeriesView",$.ig.RadialBaseView.prototype.$type)},true);$.ig.util.defType("RadialAreaSeriesView","AnchoredRadialSeriesView",{_eh:null,eh:function(a){if(arguments.length===1){this._eh=a;return a}else{return this._eh}},init:function(a){this.ec=new $.ig.Path;this.ed=new $.ig.Path;this.ee=new $.ig.Path;this.ef=new $.ig.Path;$.ig.AnchoredRadialSeriesView.prototype.init.call(this,a);this.eh(a)},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},ec:null,ed:null,ee:null,ef:null,ek:function(){this.ec.bn(null);this.ed.bn(null);this.ee.bn(null);this.ef.bn(null);this.ar()},el:function(a,b,c,d,e,f,g){this.d4().km().p(this.ec,this.ed,this.ee,this.ef,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ec.__fill=this.w().actualBrush();this.ee.__fill=this.w().actualBrush();this.ee.__opacity=.5;this.ed.__stroke=this.w().actualOutline();this.ed.a5(this.w().thickness());this.ed.a6(this.w().dashArray());this.ed.a7(this.w().dashCap());this.ef.__stroke=this.w().actualOutline();this.ef.a5(this.w().thickness());this.ef.a6(this.w().dashArray());this.ef.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ed.__stroke=a;this.ed.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ef.__stroke=a;this.ef.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ec.__fill=a;this.ee.__fill=a;this.ee.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){a.e($.ig.GradientDirection.prototype.radial,null)}a.g(this.ec);a.g(this.ee);a.g(this.ed);a.g(this.ef)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ed);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.ef);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.ec);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.ee);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("RadialAreaSeriesView",$.ig.AnchoredRadialSeriesView.prototype.$type)},true);$.ig.util.defType("HighDensityScatterSeries","Series",{init:function(){this.i1=0;this.i2=0;this.i3=0;this.i4=255;this.i5=0;this.i6=0;this.i7=255;this.i8=0;this.i9=0;this.ja=null;this.ji=0;this.jj=0;this.j4=0;this.j5=false;this.__itemIndexes=null;this.j6=null;this.j7=null;$.ig.Series.prototype.init.call(this);this.a3($.ig.HighDensityScatterSeries.prototype.$type)},isScatter:function(){return true},xAxis:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.yAxisProperty)}},xMemberPath:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.xMemberPathProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.xMemberPathProperty)}},km:function(a){if(arguments.length===1){if(this.ix!=a){var b=this.km();this.ix=a;this.e6($.ig.HighDensityScatterSeries.prototype.il,b,this.km())}return a}else{return this.ix}},ix:null,yMemberPath:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.yMemberPathProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.yMemberPathProperty)}},kn:function(a){if(arguments.length===1){if(this.iy!=a){var b=this.kn();this.iy=a;this.e6($.ig.HighDensityScatterSeries.prototype.io,b,this.kn())}return a}else{return this.iy}},iy:null,useBruteForce:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.useBruteForceProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.useBruteForceProperty)}},progressiveLoad:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.progressiveLoadProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.progressiveLoadProperty)}},mouseOverEnabled:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.mouseOverEnabledProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.mouseOverEnabledProperty)}},heatMinimum:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.heatMinimumProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.heatMinimumProperty)}},heatMaximum:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.heatMaximumProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.heatMaximumProperty)}},heatMinimumColor:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.heatMinimumColorProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.heatMinimumColorProperty)}},heatMaximumColor:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.heatMaximumColorProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.heatMaximumColorProperty)}},pointExtent:function(a){if(arguments.length===1){this.c($.ig.HighDensityScatterSeries.prototype.pointExtentProperty,a);return a}else{return this.b($.ig.HighDensityScatterSeries.prototype.pointExtentProperty)}},kt:function(){if(this.ja==null){return}this.ja.q();this.ja.progressiveThunkCompleted=$.ig.Delegate.prototype.remove(this.ja.progressiveThunkCompleted,this.k0.runOn(this));this.ja=null},ft:function(a,b,c,d){var $self=this;$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.HighDensityScatterSeries.prototype.bj:if(this.seriesViewer()!=null){this.j5=!this.seriesViewer().effectiveViewport().isEmpty()}break;case $.ig.HighDensityScatterSeries.prototype.bl:this.kt();if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.km());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.kn());this.km(null);this.kn(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.km(this.hk(this.xMemberPath()));this.kn(this.hk(this.yMemberPath()))}if(this.yAxis()!=null&&!this.yAxis().updateRange()||this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}this.fr();break;case $.ig.HighDensityScatterSeries.prototype.ii:var e=this.jd;this.jd=this.xAxis();this.kt();if(e!=null){e.rangeChanged=$.ig.Delegate.prototype.remove(e.rangeChanged,this.ku.runOn(this))}if(this.jd!=null){this.jd.rangeChanged=$.ig.Delegate.prototype.combine(this.jd.rangeChanged,this.ku.runOn(this))}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.xAxis()!=null&&!this.xAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case $.ig.HighDensityScatterSeries.prototype.ij:var f=this.je;this.je=this.yAxis();this.kt();if(f!=null){f.rangeChanged=$.ig.Delegate.prototype.remove(f.rangeChanged,this.ku.runOn(this))}if(this.je!=null){this.je.rangeChanged=$.ig.Delegate.prototype.combine(this.je.rangeChanged,this.ku.runOn(this))}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.yAxis()!=null&&!this.yAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case $.ig.HighDensityScatterSeries.prototype.ir:this.jf=this.mouseOverEnabled();this.renderSeries(false);break;case $.ig.HighDensityScatterSeries.prototype.ik:if(this.eb()!=null){this.eb().ac(this.km());this.km(this.hk(this.xMemberPath()))}break;case $.ig.HighDensityScatterSeries.prototype.il:this.kt();if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(false)}this.fr();break;case $.ig.HighDensityScatterSeries.prototype.im:if(this.eb()!=null){this.eb().ac(this.kn());this.kn(this.hk(this.yMemberPath()))}break;case $.ig.HighDensityScatterSeries.prototype.io:this.kt();if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}this.fr();break;case $.ig.HighDensityScatterSeries.prototype.ip:this.kt();this.renderSeries(false);this.fs();break;case $.ig.HighDensityScatterSeries.prototype.is:this.renderSeries(false);this.fs();break;case $.ig.HighDensityScatterSeries.prototype.it:this.renderSeries(false);this.fs();break;case $.ig.HighDensityScatterSeries.prototype.iv:case $.ig.HighDensityScatterSeries.prototype.iu:if(!this.ko().dc(this.heatMinimumColor(),this.heatMaximumColor())){return}this.i1=this.heatMinimumColor().c();this.i2=this.heatMinimumColor().d();this.i3=this.heatMinimumColor().e();this.i4=this.heatMaximumColor().c();this.i5=this.heatMaximumColor().d();this.i6=this.heatMaximumColor().e();this.i7=this.i4-this.i1;this.i8=this.i5-this.i2;this.i9=this.i6-this.i3;this.renderSeries(false);this.fs();break;case $.ig.HighDensityScatterSeries.prototype.iw:this.iz=Math.max(d-1,0);this.i0=this.iz>0;this.renderSeries(false);this.fs();break;case $.ig.HighDensityScatterSeries.prototype.iq:this.renderSeries(false);this.fs();break}},ku:function(a,b){this.kt();this.renderSeries(false)},iz:null,i0:null,i1:null,i2:null,i3:null,i4:null,i5:null,i6:null,i7:null,i8:null,i9:null,ja:null,jb:null,jc:null,jd:null,je:null,jf:null,ff:function(a,b,c){var d=$.ig.Series.prototype.ff.call(this,a,b,c);if(this.yAxis()==null||this.xAxis()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.kn()==null||this.km()==null||this.kn().count()<1||this.km().count()<1||this.kn().count()!=this.km().count()||this.xAxis().actualMinimumValue()==this.xAxis().actualMaximumValue()||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()||this.em().isEmpty()){d=false}return d},jg:null,progressiveStatus:function(a){if(arguments.length===1){var b=this.jg;this.jg=a;this.e6("ProgressiveStatus",b,this.jg);return a}else{return this.jg}},fb:function(a){$.ig.Series.prototype.fb.call(this,a);this.kw(a,this.view())},kw:function(a,b){var $self=this;if(this.fi(b)){return}if(this.ja==null&&!this.useBruteForce()){var c=new $.ig.List$1($.ig.PointData.prototype.$type,2,this.km().count());var d=this.xAxis();var e=this.yAxis();var f=new $.ig.Rect(0,0,0,1,1);var g=new $.ig.Rect(0,0,0,1,1);var h=new $.ig.ScalerParams(f,g,d.isInverted());var i=new $.ig.ScalerParams(f,g,e.isInverted());var j;var k;for(var l=0;l<this.km().count();l++){j=d.getScaledValue(this.km().item(l),h);k=e.getScaledValue(this.kn().item(l),i);if(!isNaN(j)&&!isNaN(k)&&!Number.isInfinity(j)&&!Number.isInfinity(k)){c.add(function(){var $ret=new $.ig.PointData;$ret.a=j;$ret.b=k;$ret.c=l;return $ret}())}}if(this.progressiveLoad()){this.jj=1;this.ji=Math.logBase(c.count(),2)+3;this.progressiveStatus(this.jj/this.ji*100);if(this.progressiveLoadStatusChanged!=null){this.progressiveLoadStatusChanged(this,new $.ig.ProgressiveLoadStatusEventArgs(this.progressiveStatus()))}this.ja=$.ig.KDTree2D.prototype.o(c.x(),1);this.ja.progressiveThunkCompleted=$.ig.Delegate.prototype.combine(this.ja.progressiveThunkCompleted,this.k0.runOn(this));if(!this.ja.p()){this.ja.progressiveThunkCompleted=$.ig.Delegate.prototype.remove(this.ja.progressiveThunkCompleted,this.k0.runOn(this))}this.fs()}else{var m=$.ig.Date.prototype.now();this.ja=new $.ig.KDTree2D(0,c.x(),1);var n=$.ig.Date.prototype.now()}}if(this.progressiveLoad()&&!this.useBruteForce()){this.kz(b)}else{this.ky(b)}},jh:null,ji:null,jj:null,fz:function(a,b,c,d){$.ig.Series.prototype.fz.call(this,a,b,c,d);this.kt();var e=false;if(this.xAxis()!=null&&!this.xAxis().updateRange()){e=true}if(this.yAxis()!=null&&!this.yAxis().updateRange()){e=true}if(e){this.renderSeries(false)}this.fr()},kx:function(a){var b=a;var c=this.j1*this.j2;if(this.jf){if(this.__itemIndexes==null||this.__itemIndexes.length!=c){this.__itemIndexes=new Array(c);for(var d=0;d<c;d++){this.__itemIndexes[d]=0}}else{for(var e=0;e<c;e++){this.__itemIndexes[e]=0}}}},ky:function(a){var $self=this;var b;var c;var d=null;if(a.af()){d=this.__itemIndexes}(function(){var $ret=a.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();var e=a;this.jb=new $.ig.ScalerParams(b,c,this.jd.isInverted());this.jb.c=this.seriesViewer().effectiveViewport();this.jc=new $.ig.ScalerParams(b,c,this.je.isInverted());this.jc.c=this.seriesViewer().effectiveViewport();this.la(a);this.kx(a);var f=this.j1*this.j2;if(this.j6==null||this.j6.length!=f){this.j6=new Array(f);this.j7=new Array(f)}var g=this.j6.length;var h=this.j6;var i=this.j7;for(var j=0;j<g;j++){h[j]=0;i[j]=0}this.jh=Math.round(this.resolution());this.j3=e.c9();var k=this.j3.length;var l=this.j3;for(var m=0;m<k;m++){l[m]=0}var n=this.heatMinimum();var o=this.heatMaximum();if(isNaN(n)||Number.isInfinity(n)){n=0}if(isNaN(o)||Number.isInfinity(o)){o=50}this.jm=Math.min(n,o);this.jn=Math.max(n,o);if(this.jm<0){this.jm=0}if(this.jn<0){this.jn=0}this.jo=this.jn-this.jm;if(this.useBruteForce()){this.k1(a)}else{this.k2(a)}e.da();if(a.af()){this.__itemIndexes=d;this.ko().cz()}},kz:function(a){if(this.ja==null){return}this.ky(a)},progressiveLoadStatusChanged:null,k0:function(a,b){var $self=this;this.ko().db(function(){$.ig.Debug.prototype.b("thunk");if($self.jj<$self.ji-1){$self.jj++}$self.progressiveStatus($self.jj/$self.ji*100);if($self.progressiveLoadStatusChanged!=null){$self.progressiveLoadStatusChanged($self,new $.ig.ProgressiveLoadStatusEventArgs($self.progressiveStatus()))}$self.kz($self.view());$self.fs();if($self.ja!=null){if(!$self.ja.p()){$self.ja.progressiveThunkCompleted=$.ig.Delegate.prototype.remove($self.ja.progressiveThunkCompleted,$self.k0.runOn($self));$self.progressiveStatus(100);if($self.progressiveLoadStatusChanged!=null){$self.progressiveLoadStatusChanged($self,new $.ig.ProgressiveLoadStatusEventArgs($self.progressiveStatus()))}}}})},k1:function(a){var b=this.km().asArray().clone();this.xAxis().getScaledValueList(b,0,b.length,this.jb);var c=this.kn().asArray().clone();this.j4=0;var d=this.iz;var e=this.i0;var f=this.j6.length;this.yAxis().getScaledValueList(c,0,c.length,this.jc);var g=255<<24|this.i1<<16|this.i2<<8|this.i3;for(var h=0;h<b.length;h++){var i=b[h];var j=c[h];i=Math.floor(i);j=Math.floor(j);if(i<0||i>=this.j1||j<0||j>=this.j2){continue}if(e){var k=i-d;var l=i+d;l=l>this.j1-1?this.j1-1:l;k=k<0?0:k;var m=j+d;var n=j-d;for(var o=k;o<=l;o++){for(var p=n;p<=m;p++){var q=p*this.j1+o;if(q<0||q>f-1){continue}this.j6[q]=this.j6[q]+1;this.j7[q]=1;this.j4++;if(this.jf){this.__itemIndexes[q]=h+1}}}}else{var r=j*this.j1+i;this.j6[r]=this.j6[r]+1;this.j7[r]=1;this.j4++;if(this.jf){this.__itemIndexes[r]=h+1}}}$.ig.Debug.prototype.b("rendered: "+this.j4);this.k9()},jl:null,k2:function(a){var $self=this;var b;var c;(function(){var $ret=a.getViewInfo(b,c);b=$ret.viewportRect;c=$ret.windowRect;return $ret.ret})();if(this.ja==null){return}if(this.jl==null){this.jl=new $.ig.List$1($.ig.KDTreeNode2D.prototype.$type,2,Math.round(b.width()*b.height()))}else{this.jl.clear()}var d=c.left();var e=c.right();var f=c.top();var g=c.bottom();this.jv=c.top();this.jw=c.height();this.jt=c.left();this.ju=c.width();this.jp=b.top();this.jq=b.height();this.jr=b.left();this.js=b.width();this.jx=(this.seriesViewer().effectiveViewport().left()-this.jr)/this.js;this.jy=(this.seriesViewer().effectiveViewport().top()-this.jp)/this.jq;var h=(this.seriesViewer().effectiveViewport().right()-this.jr)/this.js;this.jz=h-this.jx;var i=(this.seriesViewer().effectiveViewport().bottom()-this.jp)/this.jq;this.j0=i-this.jy;if(this.j5){d=(d-this.jx)/this.jz;e=(e-this.jx)/this.jz;f=(f-this.jy)/this.j0;g=(g-this.jy)/this.j0}var j=this.resolution()/b.width()*c.width();var k=this.resolution()/b.height()*c.height();var l=Math.min(j,k);var m=function(){var $ret=new $.ig.SearchArgs;$ret.a=d;$ret.c=e;$ret.b=f;$ret.d=g;$ret.e=j;$ret.f=k;$ret.g=$.ig.Number.prototype.MAX_VALUE;return $ret}();this.ja.aa(this.jl,m,0,1,0,1);$.ig.Debug.prototype.b("nodes returned: "+this.jl.count());var n;this.j4=0;for(var o=0;o<this.jl.count();o++){n=this.jl.__inner[o];this.k3(n)}$.ig.Debug.prototype.b("rendered: "+this.j4);this.k9()},jm:null,jn:null,jo:null,jp:null,jq:null,jr:null,js:null,jt:null,ju:null,jv:null,jw:null,jx:null,jy:null,jz:null,j0:null,k3:function(a){if(a.a){return}var b=a.h!=null&&a.h.a;var c=a.g==null?0:a.g.length;var d=a.c-c+1;if(b&&d>0){}else{d=1}this.k4(a.d,d,b,a.h);if(c>0&&!b){var e;for(var f=0;f<c;f++){e=a.g[f];this.k4(e,d,false,a.h)}}if(a.h!=null){a.h.a=false}},scrollIntoView:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.seriesViewer()!=null?this.seriesViewer().viewportRect():$.ig.Rect.prototype.empty();var d=new $.ig.Rect(0,0,0,1,1);var e=new $.ig.ScalerParams(d,d,this.xAxis().isInverted());var f=new $.ig.ScalerParams(d,d,this.yAxis().isInverted());var g=!b.isEmpty()&&!c.isEmpty()&&this.eb()!=null?this.eb().x(a):-1;var h=this.xAxis()!=null&&this.km()!=null&&g<this.km().count()?this.xAxis().getScaledValue(this.km().item(g),e):NaN;var i=this.yAxis()!=null&&this.kn()!=null&&g<this.kn().count()?this.yAxis().getScaledValue(this.kn().item(g),f):NaN;if(!isNaN(h)){if(h<b.left()+.1*b.width()){h=h+.4*b.width();b.x(h-.5*b.width())}if(h>b.right()-.1*b.width()){h=h-.4*b.width();b.x(h-.5*b.width())}}if(!isNaN(i)){if(i<b.top()+.1*b.height()){i=i+.4*b.height();b.y(i-.5*b.height())}if(i>b.bottom()-.1*b.height()){i=i-.4*b.height();b.y(i-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),b)}return g>=0},k4:function(a,b,c,d){var e=this.k6(b);var f=a.c;var g=this.iz;if(c){var h=d.b;var i=d.c;var j=d.d;var k=d.e;if(this.j5){h=this.jx+this.jz*h;i=this.jx+this.jz*i;j=this.jy+this.j0*j;k=this.jy+this.j0*k}var l=this.jr+this.js*(h-this.jt)/this.ju;var m=this.jr+this.js*(i-this.jt)/this.ju;var n=this.jp+this.jq*(j-this.jv)/this.jw;var o=this.jp+this.jq*(k-this.jv)/this.jw;l=Math.floor(l);m=Math.floor(m);n=Math.floor(n);o=Math.floor(o);if(this.i0){l-=g;m+=g;n-=g;o+=g}var p=(m-l+1)*(o-n+1);var q=b/p;var r=q;for(var s=l;s<=m;s++){for(var t=n;t<=o;t++){this.k8(f,s,t,q,r)}}}else{var u=a.a;var v=a.b;if(this.j5){u=this.jx+this.jz*u;v=this.jy+this.j0*v}var w=this.jr+this.js*(u-this.jt)/this.ju;var x=this.jp+this.jq*(v-this.jv)/this.jw;w=Math.floor(w);x=Math.floor(x);if(this.i0){var y=w-g;var z=w+g;var aa=x+g;var ab=x-g;var ac=(z-y+1)*(aa-ab+1);var ad=b/ac;var ae=ad;for(var af=y;af<=z;af++){for(var ag=ab;ag<=aa;ag++){this.k8(f,af,ag,ad,ae)}}}else{this.k8(f,w,x,b,1)}}},k5:function(a,b){return Math.floor(255*b)<<24|Math.floor(b*(this.i1+a*this.i7))<<16|Math.floor(b*(this.i2+a*this.i8))<<8|Math.floor(b*(this.i3+a*this.i9))},k6:function(a){return 255<<24|Math.floor(this.i1+a*this.i7)<<16|Math.floor(this.i2+a*this.i8)<<8|Math.floor(this.i3+a*this.i9)},k7:function(a){return(a>>24&255)/255},k8:function(a,b,c,d,e){if(b<0||b>=this.j1||c<0||c>=this.j2){return}var f=c*this.j1+b;this.j6[f]=this.j6[f]+d;this.j7[f]=this.j7[f]+e;if(this.jf){this.__itemIndexes[f]=a+1}this.j4+=d},k9:function(){var a=0;var b=0;var c=this.jo;var d=this.jm;var e=this.jn;var f=this.j6.length;var g=this.j6;var h=this.j7;var i=this.j3;var j=NaN;var k=NaN;var l=0;var m=0;for(var n=0;n<f;n++){a=g[n];if(a!=0){b=h[n];if(a>=e){a=1}else if(a<=d){a=0}else{a=(a-d)/c}if(b>1){b=1}if(b<.2){b=.2}if(j!=a||k!=b){l=this.k5(a,b);j=a;k=b}i[m]=l>>16&255;i[m+1]=l>>8&255;i[m+2]=l&255;i[m+3]=l>>24&255}m+=4}},j1:null,j2:null,j3:null,j4:null,la:function(a){var b=a;b.c8()},et:function(){return new $.ig.HighDensityScatterSeriesView(this)},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.ko(a)},_ko:null,ko:function(a){if(arguments.length===1){this._ko=a;return a}else{return this._ko
}},e9:function(a){if(a!=null&&a==this.xAxis()&&this.km()!=null){return new $.ig.AxisRange(this.km().minimum(),this.km().maximum())}if(a!=null&&a==this.yAxis()&&this.kn()!=null){return new $.ig.AxisRange(this.kn().minimum(),this.kn().maximum())}return null},j5:null,fl:function(a,b){if(this.seriesViewer()!=null){this.j5=!this.seriesViewer().effectiveViewport().isEmpty()}this.renderSeries(false)},fk:function(a,b){this.renderSeries(false)},__itemIndexes:null,j6:null,j7:null,getItem:function(a){if(!this.jf||this.__itemIndexes==null||this.seriesViewer()==null||this.eb()==null||this.__itemIndexes.length!=this.j1*this.j2){return null}var b=this.seriesViewer().actualWindowRect();var c=(a.__x-b.left())/b.width();var d=(a.__y-b.top())/b.height();var e=Math.round(this.em().left()+this.em().width()*c);var f=Math.round(this.em().top()+this.em().height()*d);var g=this.ld(e,f);if(g<0||g>this.__itemIndexes.length-1){return null}var h=this.__itemIndexes[g]-1;if(h<0||h>this.eb().g()){return null}return this.eb().item(h)},ld:function(a,b){var c=this.j1*b+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}var d=1;c=this.j1*(b-d)+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*(b+d)+a;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*b+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*b+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*(b-d)+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*(b+d)+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*(b-d)+a+1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}c=this.j1*(b+d)+a-1;if(c>0&&c<this.__itemIndexes.length&&this.__itemIndexes[c]>0){return c}return 0},scatterMouseOver:null,le:function(a,b,c){this.j3=a;this.j1=b;this.j2=c},ei:function(){return true},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);this.ko().dd();if(this.d7()!=null){this.d7().dd()}this.fs()},fe:function(a,b){$.ig.Series.prototype.fe.call(this,a,b);if(!this.d9()){this.view().b9(b);return}this.view().b9(b);if(this.fi(this.d7())){return}var c=$.ig.util.cast($.ig.HighDensityScatterSeriesView.prototype.$type,this.d7());var d=new $.ig.ScatterFrame;this.kw(false,c);this.d9(false)},$type:new $.ig.Type("HighDensityScatterSeries",$.ig.Series.prototype.$type)},true);$.ig.util.defType("MouseMoveThunk","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("MouseMoveThunk",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterMouseOverEventArgs","EventArgs",{_axisPosition:null,axisPosition:function(a){if(arguments.length===1){this._axisPosition=a;return a}else{return this._axisPosition}},_mousePosition:null,mousePosition:function(a){if(arguments.length===1){this._mousePosition=a;return a}else{return this._mousePosition}},_nearestItems:null,nearestItems:function(a){if(arguments.length===1){this._nearestItems=a;return a}else{return this._nearestItems}},init:function(a,b,c){$.ig.EventArgs.prototype.init.call(this);this.axisPosition(a);this.mousePosition(b);this.nearestItems(c)},$type:new $.ig.Type("ScatterMouseOverEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("ProgressiveLoadStatusEventArgs","EventArgs",{_currentStatus:null,currentStatus:function(a){if(arguments.length===1){this._currentStatus=a;return a}else{return this._currentStatus}},init:function(a){$.ig.EventArgs.prototype.init.call(this);this.currentStatus(a)},$type:new $.ig.Type("ProgressiveLoadStatusEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("HighDensityScatterSeriesView","SeriesView",{init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this.cv(a)},ak:function(){$.ig.SeriesView.prototype.ak.call(this);if(!this.af()){this.w().resolution(4)}},cz:function(){this.cv().le(this.co,this.cp,this.cq)},_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},co:null,cp:null,cq:null,_cw:null,cw:function(a){if(arguments.length===1){this._cw=a;return a}else{return this._cw}},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},_cy:null,cy:function(a){if(arguments.length===1){this._cy=a;return a}else{return this._cy}},c8:function(){if(this.cw()==null){this.cw($("<canvas></canvas>"));var a=this.cw()[0].getContext("2d");this.cy(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,a))}var b=this.w().seriesViewer().getContainerRect();var c=Math.round(b.left());var d=Math.round(b.top());var e=Math.round(b.width());var f=Math.round(b.height());var g=this.cp;var h=this.cq;this.cp=e;this.cq=f;if(g!=this.cp||h!=this.cq||this.co==null){this.cw().attr("width",e.toString());this.cw().attr("height",f.toString());this.cx(this.cy().c().getImageData(0,0,e,f));this.co=this.cx().data}this.cv().le(this.co,this.cp,this.cq)},c9:function(){return this.co},da:function(){var a=Math.round(this.ad().left());var b=Math.round(this.ad().left());var c=Math.round(this.ad().width());var d=Math.round(this.ad().height());this.cy().c().putImageData(this.cx(),0,0);this.ar()},db:function(a){window.setTimeout(a,0)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(b){if(!this.cv().mouseOverEnabled()){return}var c=new $.ig.Rectangle;c.w(this.ad().left());c.v(this.ad().top());c.width(this.ad().width());c.height(this.ad().height());c.__fill=this.a3();a.f(c);return}if(this.cw()==null){return}var d=Math.round(this.ad().left());var e=Math.round(this.ad().top());var f=Math.round(this.ad().width());var g=Math.round(this.ad().height());this.ab().v(this.cw()[0],1,d,e,f,g,d,e,f,g)},dc:function(a,b){return a!=null&&b!=null},dd:function(){if(this.co!=null){for(var a=0;a<this.co.length;a++){this.co[a]=0}this.da()}},$type:new $.ig.Type("HighDensityScatterSeriesView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("KDTree2D","Object",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.d=0;this.e={};this.h=new $.ig.Random;$.ig.Object.prototype.init.call(this);this.k(this.t(a,0,a.length-1,0,b))},init1:function(initNumber){this.d=0;this.e={};this.h=new $.ig.Random;$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,j:function(){return this.e},progressiveThunkCompleted:null,o:function(a,b){var c=new $.ig.KDTree2D(1);c.k(new $.ig.KDTreeNode2D);c.k().a=true;c.a=a;c.b=new $.ig.Stack$1($.ig.KDTreeThunk.prototype.$type);c.c=new $.ig.List$1($.ig.KDTreeThunk.prototype.$type,0);var d=new $.ig.KDTreeThunk;d.a=0;d.b=a.length-1;d.c=0;d.d=b;d.e=c.k();c.b.c(d);return c},p:function(){if(this.b.b()==0&&this.c.count()==0){this.a=null;return false}if(this.b.b()==0&&this.c.count()>0){return true}this.d=this.b.d().c;while(this.b.b()>0&&this.b.d().c==this.d){this.c.add(this.b.e())}window.setTimeout(this.r.runOn(this),0);return true},g:null,q:function(){this.g=true},r:function(){var a;for(var b=0;b<this.c.count();b++){if(this.g||this.a==null){return}if(this.a.length==0){continue}a=this.c.__inner[b];this.s(a.e,this.a,a.a,a.b,a.c,a.d)}this.c.clear();if(this.progressiveThunkCompleted!=null){this.progressiveThunkCompleted(this,new $.ig.EventArgs)}},s:function(a,b,c,d,e,f){var $self=this;a.a=false;a.b=e%2==0;a.c=d-c;if(c==d){a.d=b[c];return}if(c>d){a.a=true;return}if(d-c+1<=f){a.d=b[c];a.g=new Array(d-c+1);var g=0;for(var h=c;h<=d;h++){a.g[g++]=b[h]}return}var i=Math.max($.ig.intDivide(d-c,2),1);var j=this.v(b,c,d,a.b,i);a.d=b[j];if(c<=j-1){a.e=function(){var $ret=new $.ig.KDTreeNode2D;$ret.a=true;return $ret}();a.e.c=j-1-c+1;this.b.c(function(){var $ret=new $.ig.KDTreeThunk;$ret.a=c;$ret.b=j-1;$ret.c=e+1;$ret.d=f;$ret.e=a.e;return $ret}())}else{a.e=null}if(j+1<=d){a.f=function(){var $ret=new $.ig.KDTreeNode2D;$ret.a=true;return $ret}();a.f.c=d-(j+1)+1;this.b.c(function(){var $ret=new $.ig.KDTreeThunk;$ret.a=j+1;$ret.b=d;$ret.c=e+1;$ret.d=f;$ret.e=a.f;return $ret}())}else{a.f=null}},t:function(a,b,c,d,e){var f=new $.ig.KDTreeNode2D;f.b=d%2==0;f.c=c-b;if(b==c){f.d=a[b];return f}if(b>c){return null}if(c-b+1<=e){f.d=a[b];f.g=new Array(c-b+1);var g=0;for(var h=b;h<=c;h++){f.g[g++]=a[h]}return f}var i=Math.max($.ig.intDivide(c-b,2),1);var j=this.v(a,b,c,f.b,i);f.d=a[j];f.e=this.t(a,b,j-1,d+1,e);f.f=this.t(a,j+1,c,d+1,e);return f},u:function(a,b,c,d,e){var f=b?a[e].a:a[e].b;var g=a[e];a[e]=a[d];a[d]=g;var h=c;for(var i=c;i<d;i++){var j;if(b){j=a[i].a}else{j=a[i].b}if(j<=f){g=a[h];a[h]=a[i];a[i]=g;h++}}g=a[d];a[d]=a[h];a[h]=g;return h},h:null,v:function(a,b,c,d,e){if(b==c){return b}var f=this.h.c(b,c);var g=this.u(a,d,b,c,f);var h=g-b+1;if(h==e){return g}else if(e<h){return this.v(a,b,g-1,d,e)}else{return this.v(a,g+1,c,d,e-h)}},w:function(a,b,c,d){this.x(a,b,c,d,this.k())},x:function(a,b,c,d,e){if(e==null||e.a){return}if(e.e==null&&e.f==null){this.y(a,b,c,e,e.d,true,0,d);if(a.d){return}if(e.g!=null&&e.g.length>0){for(var f=0;f<e.g.length;f++){this.y(a,b,c,e,e.g[f],false,f,d);if(a.d){return}}}return}this.y(a,b,c,e,e.d,true,0,d);if(a.d){return}if(e.b){if(b<=e.d.a){this.x(a,b,c,d,e.e);if(a.d){return}if(this.z(b,c,e.d.a,c)<a.f){this.x(a,b,c,d,e.f)}if(a.d){return}}else{this.x(a,b,c,d,e.f);if(a.d){return}if(this.z(b,c,e.d.a,c)<a.f){this.x(a,b,c,d,e.e)}if(a.d){return}}}else{if(c<=e.d.b){this.x(a,b,c,d,e.e);if(a.d){return}if(this.z(b,c,b,e.d.b)<a.f){this.x(a,b,c,d,e.f)}if(a.d){return}}else{this.x(a,b,c,d,e.f);if(a.d){return}if(this.z(b,c,b,e.d.b)<a.f){this.x(a,b,c,d,e.e)}if(a.d){return}}}},y:function(a,b,c,d,e,f,g,h){var $self=this;if(a.d){return}if(a.a>a.b){a.d=true;return}if(a.c.count()<h){if(isNaN(a.e)){a.e=this.z(b,c,e.a,e.b);a.f=a.e;a.g=0}a.c.add(function(){var $ret=new $.ig.KNearestResult;$ret.b=f;$ret.a=g;$ret.e=d;$ret.c=e.a;$ret.d=e.b;return $ret}());a.a++;var i=this.z(b,c,e.a,e.b);if(i<a.e){a.e=i}if(i>a.f){a.f=i;a.g=a.c.count()-1}return}var j=0;if(j<a.f){if(j<a.e){a.e=j}a.c.__inner[a.g]=function(){var $ret=new $.ig.KNearestResult;$ret.b=f;$ret.a=g;$ret.e=d;$ret.c=e.a;$ret.d=e.b;return $ret}();var k=0;var l=0;for(var m=0;m<a.c.count();m++){var n=this.z(b,c,a.c.__inner[m].c,a.c.__inner[m].d);if(n>k){k=n;l=m}}a.a++}},z:function(a,b,c,d){return(a-c)*(a-c)+(b-d)*(b-d)},aa:function(a,b,c,d,e,f){this.ab(a,this.k(),b,c,d,e,f,false,0)},ab:function(a,b,c,d,e,f,g,h,i){if(b==null){return}var j=b.h;if(i>c.g||g-f<c.f&&e-d<c.e){if(b.h==null){b.h=new $.ig.SearchData}j=b.h;j.a=true;j.b=d;j.c=e;j.d=f;j.e=g;a.add(b);return}if(j!=null){j.a=false}if(b.e==null&&b.f==null){a.add(b);return}var k;var l;var m;var n;var o;var p;var q;var r;if(b.b){k=d;l=b.d.a;m=f;n=g;o=b.d.a;p=e;q=f;r=g}else{k=d;l=e;m=f;n=b.d.b;o=d;p=e;q=b.d.b;r=g}if(h){a.add(b);this.ab(a,b.e,c,k,l,m,n,true,i+1);this.ab(a,b.f,c,o,p,q,r,true,i+1)}else{var s=false;if(k>=c.a&&l<=c.c&&m>=c.b&&n<=c.d){s=true;a.add(b);this.ab(a,b.e,c,k,l,m,n,true,i+1)}else if(!(c.a>l||c.c<k||c.b>n||c.d<m)){s=true;a.add(b);this.ab(a,b.e,c,k,l,m,n,false,i+1)}if(o>=c.a&&p<=c.c&&q>=c.b&&r<=c.d){if(!s){a.add(b)}this.ab(a,b.f,c,o,p,q,r,true,i+1)}else if(!(c.a>p||c.c<o||c.b>r||c.d<q)){if(!s){a.add(b)}this.ab(a,b.f,c,o,p,q,r,false,i+1)}}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},ae:function(){this.af(this.k())},af:function(a){if(a==null){return 0}if(this.af(a.e)+this.af(a.f)!=a.c){var b=0}return a.c+1},$type:new $.ig.Type("KDTree2D",$.ig.Object.prototype.$type)},true);$.ig.util.defType("KNearestResults","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,$type:new $.ig.Type("KNearestResults",$.ig.Object.prototype.$type)},true);$.ig.util.defType("KNearestResult","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,$type:new $.ig.Type("KNearestResult",$.ig.Object.prototype.$type)},true);$.ig.util.defType("KDTreeThunk","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,$type:new $.ig.Type("KDTreeThunk",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SearchArgs","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,$type:new $.ig.Type("SearchArgs",$.ig.Object.prototype.$type)},true);$.ig.util.defType("KDTreeNode2D","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,$type:new $.ig.Type("KDTreeNode2D",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SearchData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,$type:new $.ig.Type("SearchData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PointData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,$type:new $.ig.Type("PointData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterLineSeries","ScatterBase",{init:function(){var $self=this;$.ig.ScatterBase.prototype.init.call(this);this.a3($.ig.ScatterLineSeries.prototype.$type);this.jv=new $.ig.ScatterFrame;this.jw=new $.ig.ScatterFrame;this.jx=new $.ig.ScatterFrame;var g=function(a,b,c){var d=$self.eb().x(a.e());if(d==-1||d==0){return a}var e=$self.eb().item(d-1);var f;if(!function(){var $ret=b.w().tryGetValue(e,f);f=$ret.value;return $ret.ret}()){return a}return f};this.jv.u(g);this.jw.u(g);this.jx.u(g)},et:function(){return new $.ig.ScatterLineSeriesView(this)},ky:function(a,b){var $self=this;$.ig.ScatterBase.prototype.ky.call(this,a,b);a.x().clear();a.a7().clear();var c=b.ae();var d=b.ad();var e=this.resolution()*this.resolution();var f=0;if(this.kh()!=null){f=this.kh().count()}if(this.ki()!=null){f=Math.min(this.ki().count(),f)}var g=new $.ig.ScalerParams(c,d,this.kg().h());var h=new $.ig.ScalerParams(c,d,this.kg().i());var j=function(i){return $self.kg().f().getScaledValue($self.kh().item(i),g)};var l=function(k){return $self.kg().g().getScaledValue($self.ki().item(k),h)};var m=d.top()-10;var n=d.bottom()+10;var o=d.left()-10;var p=d.right()+10;var q=function(){var $ret=new $.ig.Clipper(1,o,n,p,m,false);$ret.h(a.x());return $ret}();for(var r=0;r<f;){var s=r;++r;if(f>this.maximumMarkers()){while(r<f&&this.lq(j,l,s,r)<e){++r}q.l(this.lp(j,l,s,r-1))}else{var t=new $.ig.OwnedPoint;t.d({__x:j(s),__y:l(s),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});t.e(this.eb().item(s));if(!a.a7().containsKey(t.e())){a.a7().add(t.e(),t)}}}if(f>this.maximumMarkers()){q.h(null)}},lp:function(a,b,c,d){if(c==d){return{__x:a(c),__y:b(c),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}var e=0;var f=0;var g=d-c+1;for(var h=c;h<=d;++h){e+=a(h);f+=b(h)}return{__x:e/g,__y:f/g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},lq:function(a,b,c,d){var e=a(d)-a(c);var f=b(d)-b(c);return e*e+f*f},kz:function(a,b){var $self=this;b.eq(false);$.ig.ScatterBase.prototype.kz.call(this,a,b);var c=new $.ig.Rect(0,b.ad().left(),b.ad().top(),b.ad().width(),b.ad().height());c.inflate(this.thickness(),this.thickness());this.kw(a,new $.ig.Clipper(0,c,false));var d=$.ig.util.cast($.ig.ScatterLineSeriesView.prototype.$type,b);this.lr(d.eu,a.x().count(),function(e){return a.x().__inner[e].__x},function(f){return a.x().__inner[f].__y},this.unknownValuePlotting(),this.resolution())},lr:function(a,b,c,d,e,f){var $self=this;var g=new $.ig.PathGeometry;a.bn(g);g.d(new $.ig.PathFigureCollection);var h=new $.ig.List$1($.ig.PolyLineSegment.prototype.$type,0);var i=0;for(var j=0;j<b;j++){if(isNaN(c(j))||isNaN(d(j))){var k=j-i;if(k>0){if(e==$.ig.UnknownValuePlotting.prototype.dontPlot||h.count()==0){var l=new $.ig.PolyLineSegment;h.add(l)}this.lt(h.__inner[h.count()-1].__points,i,j-1,c,d,f)}i=j+1}}if(e==$.ig.UnknownValuePlotting.prototype.dontPlot||h.count()==0){var m=new $.ig.PolyLineSegment;h.add(m)}this.lt(h.__inner[h.count()-1].__points,i,b-1,c,d,f);for(var n=0;n<h.count();n++){var o=h.__inner[n];if(o.__points.count()>0){var p=function(){var $ret=new $.ig.PathFigure;$ret.__startPoint=o.__points.__inner[0];return $ret}();p.__segments.add(o);g.d().add(p)}}},ls:function(a,b,c,d,e,f){var g=new $.ig.List$1($.ig.Number.prototype.$type,0);var h=d;var i=e;var j=i-h+1;while(j>0){if(j<=$.ig.ScatterLineSeries.prototype.lm){$.ig.Flattener.prototype.d(g,b,c,h,i,f);h=i+1}else{var k=h+$.ig.ScatterLineSeries.prototype.lm-1;$.ig.Flattener.prototype.d(g,b,c,h,k,f);h=k+1}j=i-h+1}return g},lt:function(a,b,c,d,e,f){if(c>-1){var g=this.resolution();var h=this.ls(new $.ig.List$1($.ig.Number.prototype.$type,0),d,e,b,c,g);var i;for(var j=0;j<h.count();j++){i=h.item(j);a.add({__x:d(i),__y:e(i),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.ScatterLineSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.ScatterLineSeries.prototype.unknownValuePlottingProperty)}},ft:function(a,b,c,d){$.ig.ScatterBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ScatterLineSeries.prototype.ln:this.renderSeries(false);this.fs();break}},$type:new $.ig.Type("ScatterLineSeries",$.ig.ScatterBase.prototype.$type)},true);$.ig.util.defType("ScatterLineSeriesView","ScatterBaseView",{init:function(a){this.eu=new $.ig.Path;$.ig.ScatterBaseView.prototype.init.call(this,a)},eu:null,a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.eu.__stroke=this.w().actualBrush();this.eu.a5(this.w().thickness())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.eu.__stroke=a;this.eu.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){a.g(this.eu)}},eq:function(a){$.ig.ScatterBaseView.prototype.eq.call(this,a);this.eu.bn(null)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"shape",this.eu);b.tags().add("Main");a.shapes().add(b)},$type:new $.ig.Type("ScatterLineSeriesView",$.ig.ScatterBaseView.prototype.$type)},true);$.ig.util.defType("ScatterSplineSeries","ScatterBase",{init:function(){$.ig.ScatterBase.prototype.init.call(this);this.a3($.ig.ScatterSplineSeries.prototype.$type);this.jv=new $.ig.ScatterFrame;this.jw=new $.ig.ScatterFrame;this.jx=new $.ig.ScatterFrame},et:function(){return new $.ig.ScatterSplineSeriesView(this)},stiffness:function(a){if(arguments.length===1){this.c($.ig.ScatterSplineSeries.prototype.stiffnessProperty,a);return a}else{return this.b($.ig.ScatterSplineSeries.prototype.stiffnessProperty)}},ft:function(a,b,c,d){$.ig.ScatterBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ScatterSplineSeries.prototype.lm:this.renderSeries(false);this.fs();break}},ky:function(a,b){var $self=this;$.ig.ScatterBase.prototype.ky.call(this,a,b);a.x().clear();a.a7().clear();var c=b.ae();var d=b.ad();var e=this.resolution()*this.resolution();var f=Math.min(this.kh()!=null?this.kh().count():0,this.ki()!=null?this.ki().count():0);var g=new $.ig.ScalerParams(c,d,this.kg().h());var h=new $.ig.ScalerParams(c,d,this.kg().i());var j=function(i){return $self.kg().f().getScaledValue($self.kh().item(i),g)};var l=function(k){return $self.kg().g().getScaledValue($self.ki().item(k),h)};var m=function(){var $ret=new $.ig.Clipper(0,d,false);$ret.h(a.x());return $ret}();for(var n=0;n<f;){var o=n;++n;while(n<f&&this.lp(j,l,o,n)<e){++n}if(f>this.maximumMarkers()){m.l(this.lo(j,l,o,n-1))}else{var p=new $.ig.OwnedPoint;p.d({__x:j(o),__y:l(o),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});p.e(this.eb().item(o));if(!a.a7().containsKey(p.e())){a.a7().add(p.e(),p)}}}if(f>this.maximumMarkers()){m.h(null)}},lo:function(a,b,c,d){if(c==d){return{__x:a(c),__y:b(c),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}var e=0;var f=0;var g=d-c+1;for(var h=c;h<=d;++h){e+=a(h);f+=b(h)}return{__x:e/g,__y:f/g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},lp:function(a,b,c,d){var e=a(d)-a(c);var f=b(d)-b(c);return e*e+f*f},fg:function(a,b){$.ig.ScatterBase.prototype.fg.call(this,a,b);var c=$.ig.util.cast($.ig.ScatterSplineSeriesView.prototype.$type,b);c.eq(false)},kz:function(a,b){var $self=this;this.fg(false,b);$.ig.ScatterBase.prototype.kz.call(this,a,b);this.kv(a);var c=$.ig.util.cast($.ig.ScatterSplineSeriesView.prototype.$type,b);c.eu.bn(new $.ig.PathGeometry);$.ig.util.cast($.ig.PathGeometry.prototype.$type,c.eu.bn()).d($.ig.Numeric.prototype.g(a.x().count(),function(d){return a.x().__inner[d].__x},function(e){return a.x().__inner[e].__y},this.stiffness()))},$type:new $.ig.Type("ScatterSplineSeries",$.ig.ScatterBase.prototype.$type)},true);$.ig.util.defType("ScatterSplineSeriesView","ScatterBaseView",{init:function(a){this.eu=new $.ig.Path;$.ig.ScatterBaseView.prototype.init.call(this,a)},eu:null,a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.eu.__stroke=this.w().actualBrush();this.eu.a5(this.w().thickness())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.eu.__stroke=a;this.eu.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){a.g(this.eu)}},eq:function(a){$.ig.ScatterBaseView.prototype.eq.call(this,a);this.eu.bn(null)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"shape",this.eu);b.tags().add("Main");a.shapes().add(b)},$type:new $.ig.Type("ScatterSplineSeriesView",$.ig.ScatterBaseView.prototype.$type)},true);$.ig.util.defType("SeriesViewerComponentsForView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("SeriesViewerComponentsForView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesViewerComponentsFromView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("SeriesViewerComponentsFromView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesViewer","Control",{_fo:null,fo:function(a){if(arguments.length===1){this._fo=a;return a}else{return this._fo}},staticInit:function(){$.ig.SeriesViewer.prototype.dm=new $.ig.Rect(0,0,0,1,1)},init:function(){var $self=this;this.cu=new $.ig.SeriesCollection;this.c4=$.ig.Rect.prototype.empty();this.c5=$.ig.Rect.prototype.empty();this.c6=new $.ig.SeriesViewerComponentsForView;this.c7=false;this.c8=$.ig.InteractionState.prototype.none;this.c9=false;this.da=false;this.dc=false;this.dd=false;this.di=0;this.dj=false;this.dk=$.ig.Rect.prototype.empty();this.dn=false;this.dp=null;this.dq=new $.ig.Dictionary$2(String,$.ig.Object.prototype.$type,0);this.dr=NaN;this.ds=NaN;this.dt=NaN;this.du=NaN;this.dv=20;this.dw=NaN;this.dy=0;this.dz=0;this.d0=1;this.d1=1;this.d4=0;$.ig.Control.prototype.init.call(this);this.cv={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.f4(false);this.f5(false);this.canvasRenderScheduler(new $.ig.CanvasRenderScheduler);this.f3(new $.ig.CanvasRenderScheduler);$.ig.SeriesViewer.prototype.dm=new $.ig.Rect(0,0,0,1,1);this.syncSettings(function(){var $ret=new $.ig.SyncSettings;$ret.synchronizeHorizontally(true);$ret.synchronizeVertically(true);return $ret}());this.fs($.ig.Rect.prototype.empty());this.fy($.ig.Rect.prototype.empty());this.fo(this.jb());this.jc(this.fo());this.fo().a6();this.fv(this.crosshairVisibility()==$.ig.Visibility.prototype.visible||this.mobileMode());this.f1().thumbnailSizeChanged=$.ig.Delegate.prototype.combine(this.f1().thumbnailSizeChanged,function(a,b){$self.f1().dj().u(true);var d=$self.series().getEnumerator();while(d.moveNext()){var c=d.current();c.d9(true)}});this.actualSyncLink(new $.ig.SyncLink);this.id(null,this.actualSyncLink());this.fp(new $.ig.ChartContentManager(this));this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(e,f){$self.i4(e,f.propertyName(),f.oldValue(),f.newValue())});this.series().collectionChanged=$.ig.Delegate.prototype.combine(this.series().collectionChanged,this.f9.runOn(this));this.series().collectionResetting=$.ig.Delegate.prototype.combine(this.series().collectionResetting,this.gb.runOn(this));this.fo().bx();this.jo()},series:function(){return this.cu},cu:null,f9:function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();c.syncLink(null);c.seriesViewer(null);this.ga(c);this.fo().bp(c)}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();if(!this.fo().br(e)){this.jl(e);this.fo().bw(e);e.syncLink(this.actualSyncLink());e.seriesViewer(this);e.f4()}}}this.jv();this.j5()},ga:function(a){if($.ig.util.cast($.ig.Series.prototype.$type,a)!==null){a.itemsSource(null)}else if($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a)!==null){a.itemsSource(null)}this.removeSpecificDataSource(a.name(),true)},gb:function(a,b){var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();c.syncLink(null);c.seriesViewer(null);this.ga(c);this.fo().bp(c)}},gc:function(a,b,c,d){var e=this.viewportRect();var f=e.width();var g=e.height();var h=f/g;var i=a/b;if(isNaN(h)){return{width:a,height:b}}if(isNaN(i)||c||d||Math.abs(h-i)>1e-4){if(c&&d){if(a>b){b=a/h}else{a=b*h}}else if(c){b=a/h}else{a=b*h}}if(b>1){var j=1/b;b=1;a=a*j}if(a>1){var k=1/a;a=1;b=b*k}return{width:a,height:b}},gd:function(){return false},hideToolTip:function(){this.fo().bm()},ge:function(a){return null},gf:function(a){return null},getMarkerBrushByIndex:function(a){return null},getMarkerOutlineByIndex:function(a){return null},_fp:null,fp:function(a){if(arguments.length===1){this._fp=a;return a}else{return this._fp}},crosshairPoint:function(a){if(arguments.length===1){if(this.cv!=a){var b=this.cv;this.cv=a;this.gj($.ig.SeriesViewer.prototype.bd,b,this.cv)}return a}else{return this.cv}},cv:null,fq:function(){return this.fr()==$.ig.InteractionState.prototype.dragZoom||this.fr()==$.ig.InteractionState.prototype.dragPan},legend:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.legendProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.legendProperty)}},animateSeriesWhenAxisRangeChanges:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.animateSeriesWhenAxisRangeChangesProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.animateSeriesWhenAxisRangeChangesProperty)}},propertyChanged:null,propertyUpdated:null,gj:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},gk:function(){this.gl(this.series())},gl:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=b.actualLegend();if(d==null){continue}var e=b.legendItem();if(e==null){continue}if(d.children().contains(e)){d.children().remove(e)}if(!d.children().contains(e)&&b.legendItemVisibility()!=$.ig.Visibility.prototype.collapsed){d.b3(e,b)}}},gm:function(a,b,c){this.gx(a,b,$.ig.util.cast($.ig.MouseEventArgs.prototype.$type,c))},gn:function(a,b,c){this.gw(a,b,$.ig.util.cast($.ig.MouseEventArgs.prototype.$type,c))},go:function(a,b,c){this.gy(a,b,$.ig.util.cast($.ig.MouseEventArgs.prototype.$type,c))},gp:function(a,b,c){this.gu(a,b,$.ig.util.cast($.ig.MouseButtonEventArgs.prototype.$type,c))},gq:function(a,b,c){var d=$.ig.util.cast($.ig.MouseButtonEventArgs.prototype.$type,c);if(d!=null){this.gv(a,b,$.ig.util.cast($.ig.MouseButtonEventArgs.prototype.$type,c))}},gr:function(a,b,c){},gs:function(a,b,c){},seriesCursorMouseMove:null,gt:function(a,b){if(this.seriesCursorMouseMove!=null&&this.fv()){this.seriesCursorMouseMove(this,new $.ig.ChartCursorEventArgs(this,a,b))}},seriesMouseLeftButtonDown:null,gu:function(a,b,c){if(this.seriesMouseLeftButtonDown!=null){this.seriesMouseLeftButtonDown(this,new $.ig.DataChartMouseButtonEventArgs(this,a,b,c))}},seriesMouseLeftButtonUp:null,gv:function(a,b,c){if(this.seriesMouseLeftButtonUp!=null){this.seriesMouseLeftButtonUp(this,new $.ig.DataChartMouseButtonEventArgs(this,a,b,c))}},seriesMouseMove:null,gw:function(a,b,c){if(this.seriesMouseMove!=null){this.seriesMouseMove(this,new $.ig.ChartMouseEventArgs(this,a,b,c))}},seriesMouseEnter:null,gx:function(a,b,c){if(this.seriesMouseEnter!=null){this.seriesMouseEnter(this,new $.ig.ChartMouseEventArgs(this,a,b,c))}},seriesMouseLeave:null,gy:function(a,b,c){if(this.seriesMouseLeave!=null){this.seriesMouseLeave(this,new $.ig.ChartMouseEventArgs(this,a,b,c))}},c4:null,viewportRect:function(){return this.c4},c5:null,effectiveViewport:function(){return this.c5},gz:function(a){return $.ig.Rect.prototype.empty()},g0:function(a){a.c9(this.viewportRect())},windowRect:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowRectProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowRectProperty)}},g1:function(a,b){if(!b.isEmpty()){this.c4=b;this.c5=this.gz(this.c4);this.fo().ef(this.c4)}if(this.gd()){if(this.actualSyncLink()!=null){this.ig(this.actualWindowRect())}}this.it(a,b)},c6:null,g2:function(){return this.c6},horizontalZoomable:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.horizontalZoomableProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.horizontalZoomableProperty)}},horizontalZoombarVisibility:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.horizontalZoombarVisibilityProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.horizontalZoombarVisibilityProperty)}},verticalZoomable:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.verticalZoomableProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.verticalZoomableProperty)}},verticalZoombarVisibility:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.verticalZoombarVisibilityProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.verticalZoombarVisibilityProperty)}},isSurfaceInteractionDisabled:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.isSurfaceInteractionDisabledProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.isSurfaceInteractionDisabledProperty)}},g3:function(){$.ig.SyncManager.prototype.a(this)},g4:function(){$.ig.SyncManager.prototype.b(this)},fr:function(a){if(arguments.length===1){if(this.fr()!=a){this.c8=a;switch(this.c8){case $.ig.InteractionState.prototype.none:this.fo().bj();this.i0();this.fo().bk();break;case $.ig.InteractionState.prototype.dragZoom:this.fo().bl();this.fo().bm();this.i0();this.fo().bn();break;case $.ig.InteractionState.prototype.dragPan:this.fo().bl();this.fo().bm();this.i0();this.fo().bo();break}}return a}else{return this.c8}},c7:null,c8:null,_fs:null,fs:function(a){if(arguments.length===1){this._fs=a;return a}else{return this._fs}},_ft:null,ft:function(a){if(arguments.length===1){this._ft=a;
return a}else{return this._ft}},hb:function(a){this.ie(this.il(a))},hc:function(a){this.ie({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},hd:function(a,b){var c=this.actualWindowRect().left()+this.actualWindowRect().width()*a.__x/this.viewportRect().width();var d=this.actualWindowRect().top()+this.actualWindowRect().height()*a.__y/this.viewportRect().height();var e=1-$.ig.MathUtil.prototype.i(b,-.5,.5);var f=Math.max(0,c-e*(c-this.actualWindowRect().left()));var g=Math.min(1,d+e*(this.actualWindowRect().bottom()-d));var h=Math.min(1,c+e*(this.actualWindowRect().right()-c));var i=Math.max(0,d-e*(d-this.actualWindowRect().top()));this.ig(new $.ig.Rect(0,f,i,h-f,g-i));return this.horizontalZoomable()||this.verticalZoomable()},he:function(a){var b=this.actualWindowRect().left()+this.actualWindowRect().width()*a.__x/this.viewportRect().width();var c=this.actualWindowRect().top()+this.actualWindowRect().height()*a.__y/this.viewportRect().height();var d=.7;var e=Math.max(0,b-d*(b-this.actualWindowRect().left()));var f=Math.min(1,c+d*(this.actualWindowRect().bottom()-c));var g=Math.min(1,b+d*(this.actualWindowRect().right()-b));var h=Math.max(0,c-d*(c-this.actualWindowRect().top()));this.ig(new $.ig.Rect(0,e,h,g-e,f-h))},_fu:null,fu:function(a){if(arguments.length===1){this._fu=a;return a}else{return this._fu}},onKeyDown:function(a){if(this.fr()==$.ig.InteractionState.prototype.dragPan&&a==$.ig.Key.prototype.escape){this.fo().by();this.fr($.ig.InteractionState.prototype.none);this.ih($.ig.Rect.prototype.empty());if(this.windowResponse()==$.ig.WindowResponse.prototype.immediate){this.ig(this.fu())}return true}if(this.fr()==$.ig.InteractionState.prototype.dragZoom&&a==$.ig.Key.prototype.escape){this.fo().by();this.fr($.ig.InteractionState.prototype.none);this.fo().bz();this.ih($.ig.Rect.prototype.empty());return true}var b=$.ig.Rect.prototype.empty();var c=false;switch(a){case $.ig.Key.prototype.home:c=true;b=new $.ig.Rect(0,0,0,1,1);break;case $.ig.Key.prototype.pageDown:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left()-.1*this.actualWindowRect().width(),this.actualWindowRect().top()-.1*this.actualWindowRect().height(),1.2*this.actualWindowRect().width(),1.2*this.actualWindowRect().height());break;case $.ig.Key.prototype.pageUp:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left()+.1*this.actualWindowRect().width(),this.actualWindowRect().top()+.1*this.actualWindowRect().height(),.8*this.actualWindowRect().width(),.8*this.actualWindowRect().height());break;case $.ig.Key.prototype.left:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left()-.1*this.actualWindowRect().width(),this.actualWindowRect().top(),this.actualWindowRect().width(),this.actualWindowRect().height());b.x(b.x()-Math.min(b.left(),0));break;case $.ig.Key.prototype.right:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left()+.1*this.actualWindowRect().width(),this.actualWindowRect().top(),this.actualWindowRect().width(),this.actualWindowRect().height());b.x(b.x()-Math.max(b.right()-1,0));break;case $.ig.Key.prototype.up:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left(),this.actualWindowRect().top()-.1*this.actualWindowRect().height(),this.actualWindowRect().width(),this.actualWindowRect().height());b.y(b.y()-Math.min(b.top(),0));break;case $.ig.Key.prototype.down:c=true;b=new $.ig.Rect(0,this.actualWindowRect().left(),this.actualWindowRect().top()+.1*this.actualWindowRect().height(),this.actualWindowRect().width(),this.actualWindowRect().height());b.y(b.y()-Math.max(b.bottom()-1,0));break}if(!b.isEmpty()&&b!=this.actualWindowRect()){this.ig(b)}return c},c9:null,_fv:null,fv:function(a){if(arguments.length===1){this._fv=a;return a}else{return this._fv}},da:null,fw:function(){return this.da},db:null,hk:function(a){if(a.__x>=0&&a.__y>=0&&a.__x<=this.viewportRect().width()&&a.__y<=this.viewportRect().height()){this.hl(a)}else{this.hy()}},hl:function(a){if(this.f5()||this.f4()){return}if(this.da&&this.fv()){var b=this.viewportRect().height()>this.viewportRect().width();this.fo().el(b);var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();if(c.__visibility==$.ig.Visibility.prototype.visible){c.hj(a,this.fo().em.runOn(this.fo()))}}this.fo().ek()}},dragCrosshairActivated:function(){return this.da},_tooltipStyle:null,tooltipStyle:function(a){if(arguments.length===1){this._tooltipStyle=a;return a}else{return this._tooltipStyle}},hm:function(a){if(this.fv()||this.isDragCrosshairEnabled()||this.f6()){this.da=true;this.fs(new $.ig.Rect(0,a.__x,a.__y,0,0));this.ft(new $.ig.Rect(0,a.__x,a.__y,0,0));this.fr($.ig.InteractionState.prototype.none);this.ie(this.il(a))}},hn:function(a){this.hm(a);this.hl(a);this.i0()},ho:function(a,b){if(!this.da){this.h4(a,b)}},hp:function(a){this.fy($.ig.Rect.prototype.empty());this.hy()},fx:function(){return this.c9},hr:function(a){this.db=1;this.da=false;this.fo().ck();this.fo().bz();this.fo().ej();this.ie({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.fo().cj();this.fo().cg();this.fo().bm();this.fr($.ig.InteractionState.prototype.none);this.dc=true;this.c9=true},hs:function(a){this.fo().cj();this.fo().cg();if(this.fo().a3()){this.hz(a)}else{this.h0(a);this.db=a}},ht:function(a){this.fs(new $.ig.Rect(0,a.__x,a.__y,0,0));this.ft(new $.ig.Rect(0,a.__x,a.__y,0,0))},hu:function(a,b){var c=this.actualWindowRect().width();var d=this.actualWindowRect().height();var e=this.actualWindowRect().left()+c/2;var f=this.actualWindowRect().top()+d/2;c=c/a;d=d/a;var g=e-c/2;var h=f-d/2;this.ig(new $.ig.Rect(0,g,h,c,d))},hv:function(a){if(this.fo().a3()){this.hz(a)}else{this.h0(a)}this.fs($.ig.Rect.prototype.empty());this.c9=false},hw:function(a){this.c9=false;this.fs($.ig.Rect.prototype.empty());this.hy()},hx:function(a){this.fo().eo(a.d())},hy:function(){if(this.da){this.ie({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.fo().ej()}this.da=false},hz:function(a){var b=1/a;var c={__x:this.windowRect().x()+this.windowRect().width()/2,__y:this.windowRect().y()+this.windowRect().height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var d={__x:this.windowRect().x()-c.__x,__y:this.windowRect().y()-c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var e=new $.ig.Rect(0,d.__x*b+c.__x,d.__y*b+c.__y,this.windowRect().width()*b,this.windowRect().height()*b);this.ig(e)},h0:function(a){var b=a-this.db;if(b!=0){var c=.03;var d=b<0?1+c:1-c;var e={__x:this.windowRect().x()+this.windowRect().width()/2,__y:this.windowRect().y()+this.windowRect().height()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f={__x:this.windowRect().x()-e.__x,__y:this.windowRect().y()-e.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var g=new $.ig.Rect(0,f.__x*d+e.__x,f.__y*d+e.__y,this.windowRect().width()*d,this.windowRect().height()*d);this.ig(g)}},h1:function(a){this.ih($.ig.Rect.prototype.empty());this.ig(a)},h2:function(a,b){if(!this.c9){this.dc=false}this.h4(a,b)},h3:function(a){if(this.defaultInteraction()!=$.ig.InteractionState.prototype.auto){return this.defaultInteraction()}return this.fo().ev(a)},h4:function(a,b){var c;var d=this.h3(b);if(this.fo().a2()==$.ig.ModifierKeys.prototype.none){switch(d){case $.ig.InteractionState.prototype.dragZoom:c=this.horizontalZoomable()||this.verticalZoomable()?d:$.ig.InteractionState.prototype.none;break;default:c=d;break}}else{if(this.fo().a2()==this.dragModifier()){c=$.ig.InteractionState.prototype.dragZoom}else if(this.fo().a2()==this.panModifier()){c=$.ig.InteractionState.prototype.dragPan}else{c=$.ig.InteractionState.prototype.none}}switch(c){case $.ig.InteractionState.prototype.dragZoom:case $.ig.InteractionState.prototype.dragPan:this.fo().b0();this.fo().b1();break}this.fr(c);switch(this.fr()){case $.ig.InteractionState.prototype.dragZoom:this.ie({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.fs(new $.ig.Rect(0,a.__x,a.__y,0,0));this.ft(new $.ig.Rect(0,a.__x,a.__y,0,0));this.fy(new $.ig.Rect(0,a.__x,a.__y,0,0));this.fo().b6();this.fo().b7(this.fs());this.ih($.ig.Rect.prototype.empty());break;case $.ig.InteractionState.prototype.dragPan:this.fs(new $.ig.Rect(0,a.__x,a.__y,0,0));this.fy(new $.ig.Rect(0,a.__x,a.__y,0,0));break}this.fu(this.actualWindowRect())},_fy:null,fy:function(a){if(arguments.length===1){this._fy=a;return a}else{return this._fy}},h7:function(){return this.fr()==$.ig.InteractionState.prototype.dragPan},h8:function(a){return this.windowResponse()==$.ig.WindowResponse.prototype.immediate||a},h9:function(){return this.fr()==$.ig.InteractionState.prototype.dragZoom},ia:function(a,b){if(this.fs().isEmpty()&&b){this.h4(a,b)}var c=$.ig.SeriesViewer.prototype.bn;if(b){c=$.ig.SeriesViewer.prototype.bm}var d=false;var e=new $.ig.Rect(2,{__x:this.fs().x(),__y:this.fs().y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a);var f=new $.ig.Rect(0,0,0,0,0);if(!this.fy().isEmpty()){f=new $.ig.Rect(2,{__x:this.fy().x(),__y:this.fy().y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a)}if(f.width()>c&&f.height()>c){d=true}if(!this.c9){if(d){this.dc=false}}if(!this.c9&&(this.da||!b)){this.ie(this.il(a))}if(this.h9()){$.ig.Debug.prototype.b("here: "+a+", far: "+d);if(d){var g=this.im(e);this.ih(g)}else{this.ih($.ig.Rect.prototype.empty())}this.fo().b7(e)}if(this.h7()){var h=this.viewportRect();var i=this.actualWindowRect().left()+this.actualWindowRect().width()*(this.fs().x()-a.__x)/h.width();var j=this.actualWindowRect().top()+this.actualWindowRect().height()*(this.fs().y()-a.__y)/h.height();var k=new $.ig.Rect(0,i,j,this.actualWindowRect().width(),this.actualWindowRect().height());if(this.h8(b)){this.ih($.ig.Rect.prototype.empty());this.ig(k);this.fs(new $.ig.Rect(3,a,new $.ig.Size(0,0)));this.ft(new $.ig.Rect(3,a,new $.ig.Size(0,0)))}else{this.ih(k)}}this.ft(new $.ig.Rect(3,a,new $.ig.Size(0,0)));this.fo().es(a)},dc:null,dd:null,ib:function(a,b){var c=$.ig.SeriesViewer.prototype.bn;if(b){c=$.ig.SeriesViewer.prototype.bm}if(!this.dc){var d=false;var e=new $.ig.Rect(2,{__x:this.fs().x(),__y:this.fs().y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a);if(e.width()>c&&e.height()>c){d=true}if(this.fr()==$.ig.InteractionState.prototype.dragZoom){this.fo().bz();if(d){this.ig(this.im(e))}}if(this.fr()==$.ig.InteractionState.prototype.dragPan){var f=this.viewportRect();var g=this.actualWindowRect().left()+this.actualWindowRect().width()*(this.fs().x()-a.__x)/f.width();var h=this.actualWindowRect().top()+this.actualWindowRect().height()*(this.fs().y()-a.__y)/f.height();this.ig(new $.ig.Rect(0,g,h,this.actualWindowRect().width(),this.actualWindowRect().height()))}}var i=false;var j=new $.ig.Rect(2,{__x:this.fy().x(),__y:this.fy().y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a);if(j.width()>c||j.height()>c){i=true}if(i){this.dd=true}this.fr($.ig.InteractionState.prototype.none);this.ih($.ig.Rect.prototype.empty());this.fo().b8();this.dd=false;this.fo().cj();this.fo().cg();if(b){this.fo().bm();this.fo().cj();this.fo().cg();this.fo().ej()}},ic:function(a,b){if(b.propertyName()==$.ig.SyncSettings.prototype.a0){$.ig.SyncManager.prototype.c(this,b.oldValue(),b.newValue())}},id:function(a,b){if(a!=null){a.a9().remove(this);a.propertyUpdated=$.ig.Delegate.prototype.remove(a.propertyUpdated,this.propertyUpdated)}if(b!=null){b.a9().add(this);b.propertyUpdated=$.ig.Delegate.prototype.combine(b.propertyUpdated,this.propertyUpdated)}var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();c.syncLink(this.actualSyncLink());c.seriesViewer(this)}},ie:function(a){this.actualSyncLink().bl(this,a)},ig:function(a){this.actualSyncLink().bn(this,a)},ih:function(a){this.actualSyncLink().bm(this,a)},ii:function(a){if(this.windowResponse()==$.ig.WindowResponse.prototype.immediate){this.ih($.ig.Rect.prototype.empty());this.ig(a)}else{this.ih(a)}},fz:function(){return this.actualSyncLink()!=null},ik:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.actualSyncLink()==null){this.$state=2}else{this.$state=4}break;case 2:this.$state=-2;return false;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$b=this.$this.actualSyncLink().a8().getEnumerator();this.$state=8;break;case 6:this.$a=this.$b.current();this.$current=this.$a;this.$state=7;return true;case 7:this.$state=8;break;case 8:if(this.$b.moveNext()){this.$state=6}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.SeriesViewer.prototype.$type,$iter)},il:function(a){var b=this.viewportRect();var c=this.actualWindowRect().left()+this.actualWindowRect().width()*a.__x/b.width();var d=this.actualWindowRect().top()+this.actualWindowRect().height()*a.__y/b.height();return{__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},im:function(a){var b=this.viewportRect();var c=this.actualWindowRect().left()+this.actualWindowRect().width()*a.left()/b.width();var d=this.actualWindowRect().top()+this.actualWindowRect().height()*a.top()/b.height();var e=this.actualWindowRect().left()+this.actualWindowRect().width()*a.right()/b.width();var f=this.actualWindowRect().top()+this.actualWindowRect().height()*a.bottom()/b.height();return new $.ig.Rect(0,c,d,e-c,f-d)},windowRectChanged:null,io:function(a,b){if(this.windowRectChanged!=null&&a!=b){this.windowRectChanged(this,new $.ig.RectChangedEventArgs(a,b))}},ip:function(a,b){this.io(a,b)},iq:function(a,b){if(a.width()!=b.width()||a.height()!=b.height()||a.x()!=b.x()||a.y()!=b.y()){return true}return false},actualWindowRectChanged:null,ir:function(a,b){if(this.actualWindowRectChanged!=null&&this.iq(a,b)){this.actualWindowRectChanged(this,new $.ig.RectChangedEventArgs(a,b))}},resetZoom:function(){this.fo().cw()},gridAreaRectChanged:null,is:function(a,b){if(this.gridAreaRectChanged!=null&&a!=b){this.gridAreaRectChanged(this,new $.ig.RectChangedEventArgs(a,b))}},it:function(a,b){this.is(a,b);this.jo()},windowResponse:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowResponseProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowResponseProperty)}},_f0:null,f0:function(a){if(arguments.length===1){this._f0=a;return a}else{return this._f0}},windowRectMinWidth:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowRectMinWidthProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowRectMinWidthProperty)}},_syncChannel:null,syncChannel:function(a){if(arguments.length===1){this._syncChannel=a;return a}else{return this._syncChannel}},dh:null,actualSyncLink:function(a){if(arguments.length===1){var b=this.dh;this.dh=a;this.gj($.ig.SeriesViewer.prototype.bq,b,this.dh);return a}else{return this.dh}},iw:function(){this.fo().ds()},overviewPlusDetailPaneVisibility:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.overviewPlusDetailPaneVisibilityProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.overviewPlusDetailPaneVisibilityProperty)}},f1:function(){return this.fo().cu().b()},crosshairVisibility:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.crosshairVisibilityProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.crosshairVisibilityProperty)}},isDragCrosshairEnabled:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.isDragCrosshairEnabledProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.isDragCrosshairEnabledProperty)}},plotAreaBorderBrush:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.plotAreaBorderBrushProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.plotAreaBorderBrushProperty)}},plotAreaBackground:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.plotAreaBackgroundProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.plotAreaBackgroundProperty)}},plotAreaMinWidth:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.plotAreaMinWidthProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.plotAreaMinWidthProperty)}},plotAreaMinHeight:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.plotAreaMinHeightProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.plotAreaMinHeightProperty)}},iy:function(){return this.fr()==$.ig.InteractionState.prototype.none&&!this.c9&&!this.dd},iz:function(){if(this.actualSyncLink()!=null&&this.actualSyncLink().a8().count()>0){var a=true;a=this.iy();if(!a){return false}for(var b=0;b<this.actualSyncLink().a8().count();b++){if(!this.actualSyncLink().a8().item(b).iy()){return false}}return true}else{return this.iy()}},i0:function(){var a=this.crosshairPoint();var b=a;var c=this.iz();if(!c){b={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}for(var d=0;d<this.series().count();d++){var e=this.series().__inner[d];if(e.isAnnotationLayer()){e.moveCursorPoint(b)}}var f=this.fr()==$.ig.InteractionState.prototype.none&&!this.f4()&&(this.fv()||this.da)&&!this.c9&&!this.dd;var g=this.viewportRect();if(f&&!isNaN(a.__x)&&!g.isEmpty()){var h=g.width()*(a.__x-this.actualWindowRect().left())/this.actualWindowRect().width();this.fo().ca(g.left()+h,g.top(),g.left()+h,g.bottom());this.fo().cf();this.fo().en(h)}else{this.fo().cg()}if(f&&!isNaN(a.__y)&&!g.isEmpty()){var i=g.height()*(a.__y-this.actualWindowRect().top())/this.actualWindowRect().height();this.fo().ch(g.left(),g.top()+i,g.right(),g.top()+i);this.fo().ci()}else{this.fo().cj()}},di:null,notifyCrosshairUpdate:function(){},i1:function(a,b){var c=this.windowRectMinWidth();this.windowRect(new $.ig.Rect(0,this.actualWindowPositionHorizontal(),this.actualWindowPositionVertical(),$.ig.MathUtil.prototype.i(a,c,1),$.ig.MathUtil.prototype.i(b,c,1)))},i2:function(){return 1},i3:function(){return 1},i4:function(a,b,c,d){var $self=this;switch(b){case $.ig.SeriesViewer.prototype.bq:this.id($.ig.util.cast($.ig.SyncLink.prototype.$type,c),$.ig.util.cast($.ig.SyncLink.prototype.$type,d));break;case $.ig.SeriesViewer.prototype.bs:if(this.crosshairVisibility()!=$.ig.Visibility.prototype.collapsed){this.fv(true)}else{this.fv(this.mobileMode())}this.i0();break;case $.ig.SeriesViewer.prototype.bd:this.i0();this.notifyCrosshairUpdate();break;case $.ig.SeriesViewer.prototype.bg:if(this.actualSyncLink()!=null){this.di++;this.ig(d);this.di--}if(!this.windowRect().equals(c)&&this.di==0){this.ip(c,this.windowRect())}this.jo();break;case $.ig.SeriesViewer.prototype.b4:this.actualWindowScaleHorizontal(this.windowScaleHorizontal());break;case $.ig.SeriesViewer.prototype.b5:this.actualWindowScaleVertical(this.windowScaleVertical());break;case $.ig.SeriesViewer.prototype.b2:this.actualWindowPositionHorizontal(this.windowPositionHorizontal());break;case $.ig.SeriesViewer.prototype.b3:this.actualWindowPositionVertical(this.windowPositionVertical());break;case $.ig.SeriesViewer.prototype.cs:case $.ig.SeriesViewer.prototype.ct:case $.ig.SeriesViewer.prototype.cr:case $.ig.SeriesViewer.prototype.cq:if(!this.f2()){this.i1(this.actualWindowScaleHorizontal(),this.actualWindowScaleVertical())}break;case $.ig.SeriesViewer.prototype.bl:this.fo().ew();break;case $.ig.SeriesViewer.prototype.br:if(!this.mobileMode()){this.dj=this.overviewPlusDetailPaneVisibility()==$.ig.Visibility.prototype.visible;this.f1().c9().af(false);this.fo().d2();this.fo().bd();this.iw()}else{this.dj=this.overviewPlusDetailPaneVisibility()==$.ig.Visibility.prototype.visible;this.f1().c9().af(this.dj);this.iw()}break;case $.ig.SeriesViewer.prototype.cp:if(c!=d){this.i8()}this.ir(c,d);break;case $.ig.SeriesViewer.prototype.bw:this.fo().er(d);break;case $.ig.SeriesViewer.prototype.bh:case $.ig.SeriesViewer.prototype.bj:this.i5();break}},i5:function(){if(this.f1()==null){return}this.f1().dq(this.horizontalZoomable()||this.verticalZoomable())},dj:null,_f2:null,f2:function(a){if(arguments.length===1){this._f2=a;return a}else{return this._f2}},defaultInteraction:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.defaultInteractionProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.defaultInteractionProperty)}},dragModifier:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.dragModifierProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.dragModifierProperty)}},panModifier:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.panModifierProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.panModifierProperty)}},dk:null,previewRect:function(a){if(arguments.length===1){var b=this.dk;this.dk=a;if(this.dk.isEmpty()){this.fo().ck()}else{this.fo().cn(this.viewportRect(),this.i9(this.previewRect()));this.fo().co();this.gj("PreviewRect",b,this.dk)}return a}else{return this.dk}},i8:function(){var a=this.f2();this.f2(true);this.actualWindowPositionHorizontal(this.actualWindowRect().x());this.actualWindowPositionVertical(this.actualWindowRect().y());this.actualWindowScaleHorizontal(this.actualWindowRect().width());this.actualWindowScaleVertical(this.actualWindowRect().height());this.f2(a);this.fo().bm();this.fo().cp(this.actualWindowRect())},windowPositionHorizontal:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowPositionHorizontalProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowPositionHorizontalProperty)}},windowPositionVertical:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowPositionVerticalProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowPositionVerticalProperty)}},windowScaleHorizontal:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowScaleHorizontalProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowScaleHorizontalProperty)}},windowScaleVertical:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.windowScaleVerticalProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.windowScaleVerticalProperty)}},i9:function(a){if(this.viewportRect().isEmpty()){return $.ig.Rect.prototype.empty()}var b=this.viewportRect();var c=b.left()+b.width()*(a.left()-this.actualWindowRect().left())/this.actualWindowRect().width();var d=b.top()+b.height()*(a.top()-this.actualWindowRect().top())/this.actualWindowRect().height();var e=b.left()+b.width()*(a.right()-this.actualWindowRect().left())/this.actualWindowRect().width();var f=b.top()+b.height()*(a.bottom()-this.actualWindowRect().top())/this.actualWindowRect().height();return new $.ig.Rect(0,c,d,e-c,f-d)},refreshCompleted:null,ja:function(){if(this.refreshCompleted!=null){this.refreshCompleted(this,new $.ig.EventArgs)}},jb:function(){},jc:function(a){this.i5()},crosshairLineStyle:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.crosshairLineStyleProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.crosshairLineStyleProperty)}},previewPathStyle:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.previewPathStyleProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.previewPathStyleProperty)}},zoombarStyle:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.zoombarStyleProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.zoombarStyleProperty)}},circleMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.circleMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.circleMarkerTemplateProperty)}},triangleMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.triangleMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.triangleMarkerTemplateProperty)}},pyramidMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.pyramidMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.pyramidMarkerTemplateProperty)}},squareMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.squareMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.squareMarkerTemplateProperty)}},diamondMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.diamondMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.diamondMarkerTemplateProperty)}},pentagonMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.pentagonMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.pentagonMarkerTemplateProperty)}},hexagonMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.hexagonMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.hexagonMarkerTemplateProperty)}},tetragramMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.tetragramMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.tetragramMarkerTemplateProperty)}},pentagramMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.pentagramMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.pentagramMarkerTemplateProperty)}},hexagramMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.SeriesViewer.prototype.hexagramMarkerTemplateProperty,a);return a}else{return this.b($.ig.SeriesViewer.prototype.hexagramMarkerTemplateProperty)}},jd:function(){},je:function(){},jf:function(){},provideContainer:function(a){this.fo().c9(a)},onContainerResized:function(a,b){this.fo().dr(a,b)},notifyContainerResized:function(){this.fo().dq();this.flush()},getContainerRect:function(){return this.fo().dy()},getContainerOffsets:function(){return this.fo().dz()},attachSeries:function(a){this.fo().bw(a)},removeSeries:function(a){this.fo().bp(a)},_canvasRenderScheduler:null,canvasRenderScheduler:function(a){if(arguments.length===1){this._canvasRenderScheduler=a;return a}else{return this._canvasRenderScheduler}},_f3:null,f3:function(a){if(arguments.length===1){this._f3=a;return a}else{return this._f3}},dn:null,mobileMode:function(a){if(arguments.length===1){var b=this.dn;this.dn=a;if(b!=this.dn){this.fo().eg(this.dn)}return a}else{return this.dn}},_syncSettings:null,syncSettings:function(a){if(arguments.length===1){this._syncSettings=a;return a}else{return this._syncSettings}},addTooltipToView:function(a){this.fo().ep(a)},ji:function(a){this.fo().eq(a)},notifySetItem:function(source_,a,b,c){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}var d=this.actualSyncLink().bd(source_);if(d==null){return}d.ae(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,c,b,a))},notifyClearItems:function(source_){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}var a=this.actualSyncLink().bd(source_);if(a==null){return}a.ae(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset))},notifyInsertItem:function(source_,a,b){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}var c=this.actualSyncLink().bd(source_);if(c==null){return}c.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a))},notifyRemoveItem:function(source_,a,b){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}var c=this.actualSyncLink().bd(source_);if(c==null){return}c.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a))},dp:null,dq:null,_manageDataSources:null,manageDataSources:function(a){if(arguments.length===1){this._manageDataSources=a;return a}else{return this._manageDataSources}},destroy:function(){var a=new $.ig.List$1($.ig.Series.prototype.$type,0);for(var b=0;b<this.series().count();b++){a.add(this.series().__inner[b])}for(var c=0;c<a.count();c++){this.series().remove(a.__inner[c]);this.removeSpecificDataSource(a.__inner[c].name(),true);a.__inner[c].itemsSource(null);a.__inner[c].provideContext(null,null)}this.jj();this.removeWidgetLevelDataSource();this.fo().c9(null)},jj:function(){},setWidgetLevelDataSource:function(source_){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}this.dp=source_;this.jm()},removeWidgetLevelDataSource:function(){this.dp=null;this.jm()},setSpecificDataSource:function(a,source_){if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(!this.dq.containsKey(a)){this.dq.add(a,source_)}else{this.dq.item(a,source_)}this.jm()},removeSpecificDataSource:function(a,b){if(this.dq.containsKey(a)){this.dq.remove(a)}if(!b){this.jm()}},jk:function(a,b){if(a.itemsSource()!=b){a.itemsSource(b)}},jl:function(a){if(!this.manageDataSources()){return}if($.ig.util.cast($.ig.Series.prototype.$type,a)!==null){var b=a;if(this.dq.containsKey(b.name())){var c=this.dq.item(b.name());this.jk(b,c)}else{this.jk(b,this.dp)}}if($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a)!==null){var d=a;if(this.dq.containsKey(d.name())){var e=this.dq.item(d.name());if(d.itemsSource()!=e){d.itemsSource(e)}}else{if(d.itemsSource()!=this.dp){d.itemsSource(this.dp)}}}},jm:function(){if(!this.manageDataSources()){return}var b=this.series().getEnumerator();while(b.moveNext()){var a=b.current();this.jl(a)}},dr:null,topMargin:function(a){if(arguments.length===1){this.dr=a;this.iw();return a}else{return this.dr}},ds:null,leftMargin:function(a){if(arguments.length===1){this.ds=a;this.iw();return a}else{return this.ds}},dt:null,rightMargin:function(a){if(arguments.length===1){this.dt=a;this.iw();return a}else{return this.dt}},du:null,bottomMargin:function(a){if(arguments.length===1){this.du=a;this.iw();return a}else{return this.du}},dv:null,autoMarginWidth:function(a){if(arguments.length===1){this.dv=a;this.iw();return a}else{return this.dv}},dw:null,autoMarginHeight:function(a){if(arguments.length===1){this.dw=a;this.iw();return a}else{return this.dw}},shouldAddAutoMargins:function(){return false},getCoercionMethod:function(a,b){var c=new $.ig.CoercionInfo;c.c(a);c.d(null);var d=$.ig.SeriesViewer.prototype.parseMemberPath(a);if(d.d()==null){return c}if(b!=null){var methods_=b;
var key_=d.d();var val_=null;if(typeof methods_[key_]!="undefined"){val_=methods_[key_]}c.c(d.c());c.d(val_)}return c},parseMemberPath:function(a){var b=a.split("!");if(b.length==2){return new $.ig.Tuple$2(String,String,b[0],b[1])}else{return new $.ig.Tuple$2(String,String,a,null)}},overviewPlusDetailPaneBackgroundImageUri:function(a){if(arguments.length===1){this.f1().c9().av(a);return a}else{return this.f1().c9().av()}},dx:null,actualWindowRect:function(a){if(arguments.length===1){var b=this.dx!=a;if(b){var c=this.dx;this.dx=a;this.gj($.ig.SeriesViewer.prototype.cp,c,a)}return a}else{return this.dx}},jo:function(){this.actualWindowRect(this.jp())},jp:function(){return new $.ig.Rect(0,Math.min(1,Math.max(0,this.windowRect().left())),Math.min(1,Math.max(0,this.windowRect().top())),Math.min(1,Math.max(0,this.windowRect().width())),Math.min(1,Math.max(0,this.windowRect().height())))},dy:null,actualWindowPositionHorizontal:function(a){if(arguments.length===1){var b=this.dy;this.dy=a;this.gj($.ig.SeriesViewer.prototype.cq,b,this.dy);return a}else{return this.dy}},dz:null,actualWindowPositionVertical:function(a){if(arguments.length===1){var b=this.dz;this.dz=a;this.gj($.ig.SeriesViewer.prototype.cr,b,this.dz);return a}else{return this.dz}},d0:null,actualWindowScaleHorizontal:function(a){if(arguments.length===1){var b=this.d0;this.d0=a;this.gj($.ig.SeriesViewer.prototype.cs,b,this.d0);return a}else{return this.d0}},d1:null,actualWindowScaleVertical:function(a){if(arguments.length===1){var b=this.d1;this.d1=a;this.gj($.ig.SeriesViewer.prototype.ct,b,this.d1);return a}else{return this.d1}},ju:function(){if(this.dj){this.f1().dj().u(true);this.f1().f0(false)}},jv:function(){if(this.dj){this.f1().dj().u(true);this.f1().f0(false)}},flush:function(){this.fp().y();this.fo().ei();this.fp().y();this.canvasRenderScheduler().r()},useFixedAspectZoom:function(){return false},d2:null,d3:null,jw:function(a,b){if(this.d2!=null){this.jx(this.d2);this.d2=null;this.d3=null}this.d2=a;this.d3=this.fp().r($.ig.ChartContentType.prototype.background,a,b)},jx:function(a){this.fp().s($.ig.ChartContentType.prototype.background,a);this.d2=null;this.d3=null},jy:function(){this.fp().u($.ig.ChartContentType.prototype.background,this.d2,this.d3,false)},_f4:null,f4:function(a){if(arguments.length===1){this._f4=a;return a}else{return this._f4}},_f5:null,f5:function(a){if(arguments.length===1){this._f5=a;return a}else{return this._f5}},_f6:null,f6:function(a){if(arguments.length===1){this._f6=a;return a}else{return this._f6}},j5:function(){var a=false;var b=false;var c=false;for(var d=0;d<this.series().count();d++){var e=this.series().__inner[d];if(e.isDefaultCrosshairBehaviorDisabled()){a=true}if(e.isDefaultTooltipBehaviorDisabled()){b=true}if(e.isAnnotationLayer()){c=true}}this.f4(a);this.f5(b);this.f6(c)},d4:null,j6:function(){var a=this.d4;this.d4++;return a},$type:new $.ig.Type("SeriesViewer",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("XamDataChart","SeriesViewer",{lh:null,li:null,staticInit:function(){$.ig.XamDataChart.prototype.lh=-Number.MAX_VALUE;$.ig.XamDataChart.prototype.li=Number.MAX_VALUE},lx:function(a){var $self=this;if(a.seriesViewer()==null){return-1}if(!a.isIndexed()){return-1}var b=$.ig.XamDataChartView.prototype.cv(a);if(b.count$1($.ig.Series.prototype.$type)==0){return-1}var d=b.max$111($.ig.Series.prototype.$type,function(c){return c.index()})+1;if($.ig.util.cast($.ig.FragmentBase.prototype.$type,a)!==null||$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,a)!==null){var e=$.ig.util.cast($.ig.FragmentBase.prototype.$type,a)!==null?$.ig.util.cast($.ig.FragmentBase.prototype.$type,a).parentSeries():$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,a).parentSeries();var f=$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a);if(e.index()==-1||e.kz()==null||f==null||e.kz().i().indexOf(f)==-1){return-1}d=e.index()+e.kz().i().indexOf(f)}return d},init:function(){var $self=this;this.lj=new $.ig.AxisCollection;$.ig.SeriesViewer.prototype.init.call(this);this.a3($.ig.XamDataChart.prototype.$type);this.axes().collectionChanged=$.ig.Delegate.prototype.combine(this.axes().collectionChanged,this.ly.runOn(this));this.axes().collectionResetting=$.ig.Delegate.prototype.combine(this.axes().collectionResetting,this.lz.runOn(this))},i4:function(a,b,c,d){$.ig.SeriesViewer.prototype.i4.call(this,a,b,c,d);switch(b){case $.ig.XamDataChart.prototype.lb:this.fo().fe(d);var f=this.axes().getEnumerator();while(f.moveNext()){var e=f.current();e.renderAxis()}break}},isSquare:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.isSquareProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.isSquareProperty)}},gridMode:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.gridModeProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.gridModeProperty)}},brushes:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.brushesProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.brushesProperty)}},markerBrushes:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.markerBrushesProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.markerBrushesProperty)}},outlines:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.outlinesProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.outlinesProperty)}},markerOutlines:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.markerOutlinesProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.markerOutlinesProperty)}},axes:function(){return this.lj},lj:null,ly:function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();if(c!=null){c.c7(null);c.seriesViewer(null);this.ga(c);this.fo().cq(c);c.rangeChanged=$.ig.Delegate.prototype.remove(c.rangeChanged,this.l0.runOn(this));this.fo().cr(c);if(c.dj()!=null){var f=c.fu().getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false)}}}}if(this.axes().count()==0){this.resetZoom()}}if(b.newItems()!=null){var h=b.newItems().getEnumerator();while(h.moveNext()){var g=h.current();if(g!=null){this.jl(g);g.c7(this.actualSyncLink());g.seriesViewer(this);this.fo().cs(g);g.rangeChanged=$.ig.Delegate.prototype.combine(g.rangeChanged,this.l0.runOn(this));this.fo().ct(g)}}}this.jv()},lz:function(a,b){var c=new $.ig.List$1($.ig.Series.prototype.$type,0);var e=this.axes().getEnumerator();while(e.moveNext()){var d=e.current();if(d.dj()!=null){var g=d.fu().getEnumerator();while(g.moveNext()){var f=g.current();if(!c.contains(f)){c.add(f)}}}d.c7(null);d.seriesViewer(null);this.ga(d);this.fo().cq(d);d.rangeChanged=$.ig.Delegate.prototype.remove(d.rangeChanged,this.l0.runOn(this));this.fo().cr(d);this.resetZoom()}var i=this.series().getEnumerator();while(i.moveNext()){var h=i.current();if(!c.contains(h)){c.add(h)}}var k=c.getEnumerator();while(k.moveNext()){var j=k.current();j.renderSeries(false)}},axisRangeChanged:null,l0:function(a,b){var c=$.ig.util.cast($.ig.Axis.prototype.$type,a);if(c==null){return}this.jv();if(this.axisRangeChanged!=null){this.axisRangeChanged(this,new $.ig.ChartAxisRangeChangedEventArgs(this,c,b.oldMinimumValue(),b.minimumValue(),b.oldMaximumValue(),b.maximumValue()))}if(c.crossingAxis()!=null){c.crossingAxis().em()}c.em();var d=this.animateSeriesWhenAxisRangeChanges();if($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,c)!==null){d=true}var f=c.fu().getEnumerator();while(f.moveNext()){var e=f.current();e.d9(true);this.jv();e.renderSeries(d)}var h=c.seriesViewer().series().getEnumerator();while(h.moveNext()){var g=h.current();$.ig.XamDataChart.prototype.l1(c,d,g)}var j=this.axes().getEnumerator();while(j.moveNext()){var i=j.current();if(i!=c&&i.crossingAxis()!=null&&i.crossingAxis()==c){i.em()}}},l1:function(a,b,c){},id:function(a,b){$.ig.SeriesViewer.prototype.id.call(this,a,b);var d=this.axes().getEnumerator();while(d.moveNext()){var c=d.current();c.c7(this.actualSyncLink());c.seriesViewer(this)}},gridZIndex:function(){return this.gridMode()==$.ig.GridMode.prototype.beforeSeries?2:1},seriesZIndex:function(){return this.gridMode()==$.ig.GridMode.prototype.beforeSeries?1:2},styleUpdated:function(){this.fo().d1();var b=this.axes().getEnumerator();while(b.moveNext()){var a=b.current();a.e1(false)}var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();c.view().ce();c.renderSeries(false)}},jd:function(){return this.lw().e9()},jj:function(){$.ig.SeriesViewer.prototype.jj.call(this);var a=new $.ig.List$1($.ig.Axis.prototype.$type,0);for(var b=0;b<this.axes().count();b++){a.add(this.axes().__inner[b])}for(var c=0;c<a.count();c++){this.axes().remove(a.__inner[c]);if($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a.__inner[c])!==null){var d=a.__inner[c];this.removeSpecificDataSource(d.name(),true);d.itemsSource(null)}a.__inner[c].fs(null,null)}},je:function(){return this.lw().fb()},jf:function(){return this.lw().fa()},shouldAddAutoMargins:function(){return true},jm:function(){$.ig.SeriesViewer.prototype.jm.call(this);if(!this.manageDataSources()){return}var b=this.axes().getEnumerator();while(b.moveNext()){var a=b.current();this.jl(a)}},ge:function(a){return this.l2(a,this.brushes())},l2:function(a,b){if(b!=null&&b.count()>0){return b.item(a%b.count())}else{return null}},getMarkerBrushByIndex:function(a){return this.l2(a,this.markerBrushes())},getMarkerOutlineByIndex:function(a){return this.l2(a,this.markerOutlines())},gf:function(a){return this.l2(a,this.outlines())},gd:function(){if(this.isSquare()){return true}return this.l3()},l3:function(){var $self=this;var b=this.series().where$1($.ig.Series.prototype.$type,function(a){return $.ig.util.cast($.ig.PolarBase.prototype.$type,a)!==null||$.ig.util.cast($.ig.RadialBase.prototype.$type,a)!==null});if(b.any$1($.ig.Series.prototype.$type)){return true}var d=this.axes().where$1($.ig.Series.prototype.$type,function(c){return $.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,c)!==null||$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,c)!==null||$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,c)!==null});if(d.any$1($.ig.Series.prototype.$type)){return true}return false},jb:function(){return new $.ig.XamDataChartView(this)},jc:function(a){$.ig.SeriesViewer.prototype.jc.call(this,a);this.lw(a)},_lw:null,lw:function(a){if(arguments.length===1){this._lw=a;return a}else{return this._lw}},plotAreaBackgroundContent:function(a){if(arguments.length===1){this.c($.ig.XamDataChart.prototype.plotAreaBackgroundContentProperty,a);return a}else{return this.b($.ig.XamDataChart.prototype.plotAreaBackgroundContentProperty)}},exportVisualData:function(){var a=new $.ig.ChartVisualData;for(var b=0;b<this.axes().count();b++){var c=this.axes().__inner[b].exportVisualData();a.axes().add(c)}for(var d=0;d<this.series().count();d++){var e=this.series().__inner[d].exportVisualData();a.series().add(e)}a.name(this.name());return a},$type:new $.ig.Type("XamDataChart",$.ig.SeriesViewer.prototype.$type)},true);$.ig.util.defType("SeriesViewerView","Object",{init:function(a){var $self=this;this.a=new $.ig.SeriesViewerComponentsFromView;this.b=$.ig.Rect.prototype.empty();this.c=false;this.d=$.ig.Rect.prototype.empty();this.e=false;this.f=false;this.g=false;this.h=false;$.ig.Object.prototype.init.call(this);this.ag(a);this.ag().crosshairPoint({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.ag().windowResponse($.ig.WindowResponse.prototype.immediate);this.aq(new $.ig.SeriesViewerViewManager(this));this.ap(function(){var $ret=new $.ig.Line;$ret.__visibility=$.ig.Visibility.prototype.collapsed;return $ret}());this.ao(function(){var $ret=new $.ig.Line;$ret.__visibility=$.ig.Visibility.prototype.collapsed;return $ret}())},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},a6:function(){this.ag().crosshairVisibility($.ig.Visibility.prototype.collapsed);var model_=this.ag();var isTouch_=typeof Modernizr!=="undefined"&&Modernizr.touch||typeof $.mobile!=="undefined"&&$.mobile!==null&&$.support.touch;model_.mobileMode(isTouch_);this.an(new $.ig.Path);this.am(new $.ig.Rectangle);this.d0();this.ak(new $.ig.SeriesCollection);this.al(new $.ig.AxisCollection);this.ai(new $.ig.XamOverviewPlusDetailPane);this.bd();this.ai().db(new $.ig.Rect(0,0,0,1,1));this.ai().dd(this.ag().windowRect());this.ai().dj(new $.ig.SeriesViewerSurfaceViewer(this.ag(),this));this.ag().windowRectChanged=$.ig.Delegate.prototype.combine(this.ag().windowRectChanged,this.be.runOn(this));this.ag().gridAreaRectChanged=$.ig.Delegate.prototype.combine(this.ag().gridAreaRectChanged,this.bf.runOn(this));this.aj(new $.ig.OverviewPlusDetailViewportHost(this));this.ah(new $.ig.CanvasRenderScheduler);this.ah().m(this);this.ah().h().add(this.ag().f3());if(this.ag().f1()!=null){this.ag().f1().c9().au(this.ah());this.ai().windowChanging=$.ig.Delegate.prototype.combine(this.ai().windowChanging,this.bb.runOn(this));this.ai().windowChanged=$.ig.Delegate.prototype.combine(this.ai().windowChanged,this.bc.runOn(this))}this.d2()},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},bb:function(a,b){var c=$.ig.SeriesViewerSurfaceViewer.prototype.am(b.oldValue(),b.newValue(),this.ag().horizontalZoomable(),this.ag().verticalZoomable(),this.ai().db());if(c.isEmpty()){this.ai().dd(b.oldValue())}else if(!c.equals(b.newValue())){this.ai().dd(c)}if(this.ag().windowResponse()==$.ig.WindowResponse.prototype.immediate){var d=this.ag().viewportRect().width()/this.ag().viewportRect().height();c=new $.ig.Rect(0,c.left()/d,c.top(),c.width()/d,c.height());this.ag().windowRect(c)}},bc:function(a,b){var c=$.ig.SeriesViewerSurfaceViewer.prototype.am(b.oldValue(),b.newValue(),this.ag().horizontalZoomable(),this.ag().verticalZoomable(),this.ai().db());if(c.isEmpty()){c=b.oldValue()}else if(!c.equals(b.newValue())){this.ai().dd(c)}var d=this.ag().viewportRect().width()/this.ag().viewportRect().height();c=new $.ig.Rect(0,c.left()/d,c.top(),c.width()/d,c.height());this.ag().windowRect(c)},bd:function(){if(this.ag().overviewPlusDetailPaneVisibility()!=$.ig.Visibility.prototype.visible){return}var a=1;if(this.ag().viewportRect().isEmpty()==false){a=this.ag().viewportRect().width()/this.ag().viewportRect().height()}var b=this.ai().db();var c=new $.ig.Rect(0,0,0,a,1);this.ai().db(c);if(b.width()!=c.width()||b.height()!=c.height()||b.x()!=c.x()||b.y()!=c.y()){this.ai().dj().u(true)}this.ai().dd(new $.ig.Rect(0,this.ag().windowRect().left()*a,this.ag().windowRect().top(),this.ag().windowRect().width()*a,this.ag().windowRect().height()))},be:function(a,b){this.bd()},bf:function(a,b){this.bd()},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},bi:function(a,b,c){var d=true;var f=this.ag().series().getEnumerator();while(f.moveNext()){var e=f.current();if(d&&e.d9()){d=false;c.b().u(0,0,a,b)}e.fe(new $.ig.Rect(0,0,0,a,b),c)}},bj:function(){this.aq().au()},bk:function(){},bl:function(){this.aq().av()},bm:function(){for(var a=0;a<this.ag().series().count();a++){this.ag().series().__inner[a].view().a9()}},bn:function(){},bo:function(){},bp:function(a){var b=this.ak().indexOf(a);if(b>=0){this.ak().removeAt(b)}if($.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,a)!==null){var d=a.kz().i().getEnumerator();while(d.moveNext()){var c=d.current();b=this.ak().indexOf(c);if(b>=0){this.ak().removeAt(b)}}}a.provideContext(null,null);this.bq()},bq:function(){if(this.ak().count()==0){if(this.at()!=null&&this.ag().viewportRect()!=null&&!this.ag().viewportRect().isEmpty()){this.at().u(this.ag().viewportRect().left(),this.ag().viewportRect().top(),this.ag().viewportRect().width(),this.ag().viewportRect().height())}}this.ag().canvasRenderScheduler().p()},br:function(a){a.fj(a.view().ad(),this.b);return this.ak().contains(a)},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},bw:function(a){if(!this.ak().contains(a)){this.ak().add(a);if($.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,a)!==null){var c=a.kz().i().getEnumerator();while(c.moveNext()){var b=c.current();this.ak().add(b)}}}a.provideContext(this.at(),this.au())},bx:function(){},by:function(){this.bz();this.bm()},bz:function(){this.am().__visibility=$.ig.Visibility.prototype.collapsed;this.dv()},b0:function(){},b1:function(){},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},b6:function(){this.am().__visibility=$.ig.Visibility.prototype.visible;this.dv()},b7:function(a){this.am().v(a.top()+this.ag().viewportRect().top());this.am().w(a.left()+this.ag().viewportRect().left());this.am().width(a.width());this.am().height(a.height());this.am().__stroke=this.aq().aw();this.am().__fill=null;this.am().a5(.5);this.dv()},b8:function(){},b9:function(){},ca:function(a,b,c,d){this.ao().bo(a);this.ao().bq(b);this.ao().bp(c);this.ao().br(d);this.dv()},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},cf:function(){this.ao().__visibility=$.ig.Visibility.prototype.visible;this.dv()},cg:function(){if(this.ao().__visibility==$.ig.Visibility.prototype.visible){this.ao().__visibility=$.ig.Visibility.prototype.collapsed;this.dv()}},ch:function(a,b,c,d){this.ap().bo(a);this.ap().bq(b);this.ap().bp(c);this.ap().br(d);this.dv()},ci:function(){this.ap().__visibility=$.ig.Visibility.prototype.visible;this.dv()},cj:function(){if(this.ap().__visibility==$.ig.Visibility.prototype.visible){this.ap().__visibility=$.ig.Visibility.prototype.collapsed;this.dv()}},ck:function(){this.an().__visibility=$.ig.Visibility.prototype.collapsed;this.dv()},cl:function(a){var b=new $.ig.PathFigureCollection;var c=new $.ig.PathFigure;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.add(c);return b},cm:function(a){var b=new $.ig.PathFigureCollection;var c=new $.ig.PathFigure;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.right(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $.ig.LineSegment(0,{__x:a.left(),__y:a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.add(c);return b},cn:function(a,b){b.intersect(a);var c=new $.ig.PathGeometry;c.d(this.cm(a));var d=new $.ig.PathGeometry;d.d(this.cl(b));var e=new $.ig.GeometryGroup;e.e().add(c);e.e().add(d);this.an().bn(e);this.an().__fill=this.aq().aw();this.an().__opacity=.1;this.dv()},co:function(){this.an().__visibility=$.ig.Visibility.prototype.visible;this.dv()},cp:function(a){},cq:function(a){var b=this.al().indexOf(a);this.al().removeAt(b);a.fs(null,null);this.dt();this.ag().removeSpecificDataSource(a.name(),true)},cr:function(a){},cs:function(a){if(!this.al().contains(a)){this.al().add(a)}a.fs(this.at(),this.au());this.dt()},ct:function(a){},a:null,cu:function(){this.a.b(this.ai());return this.a},cv:function(a){var b=a.seriesViewer().series();var c=new $.ig.List$1($.ig.Series.prototype.$type,0);for(var d=0;d<b.count();d++){c.add(b.__inner[d]);if($.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,b.__inner[d])!==null){var e=b.__inner[d];var f=e.kz().i();for(var g=0;g<f.count();g++){c.add(f.__inner[g])}}}return c},cw:function(){this.ag().windowRect(new $.ig.Rect(0,0,0,1,1))},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},_at:null,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},_au:null,au:function(a){if(arguments.length===1){this._au=a;return a}else{return this._au}},_av:null,av:function(a){if(arguments.length===1){this._av=a;return a}else{return this._av}},c9:function(a){var $self=this;if(a==null){if(this.aw()!=null){this.aw().bl()}this.aq().at(null);this.ar(null);this.as(null);this.at(null);this.au(null);this.aw(null);if(this.ag().f1()!=null){this.ag().f1().f9(null);this.ag().f1().f8(null);this.ag().f1().ga(null)}return}this.aq().at(a);this.ar(this.aq().r());this.as(this.aq().s());this.at(this.aq().t());this.au(this.aq().u());this.av(window.navigator.msPointerEnabled);if(this.av()){this.a3(true)}this.aw(this.aq().v());this.aw().x(this.ag().viewportRect());this.aw().aa(this.d3.runOn(this));this.aw().onContactCompleted=$.ig.Delegate.prototype.combine(this.aw().onContactCompleted,this.dd.runOn(this));this.aw().onContactMoved=$.ig.Delegate.prototype.combine(this.aw().onContactMoved,this.da.runOn(this));this.aw().onContactStarted=$.ig.Delegate.prototype.combine(this.aw().onContactStarted,this.db.runOn(this));this.aw().onDragCompleted=$.ig.Delegate.prototype.combine(this.aw().onDragCompleted,this.ag().hp.runOn(this.ag()));this.aw().onDragDelta=$.ig.Delegate.prototype.combine(this.aw().onDragDelta,function(b){return $self.ag().hk(b)});this.aw().onDragStarted=$.ig.Delegate.prototype.combine(this.aw().onDragStarted,function(c){return $self.ag().ho(c,true)});this.aw().onGestureCompleted=$.ig.Delegate.prototype.combine(this.aw().onGestureCompleted,function(d,e){return $self.ag().hw(d)});this.aw().onKeyDown=$.ig.Delegate.prototype.combine(this.aw().onKeyDown,this.ag().onKeyDown.runOn(this.ag()));this.aw().onMouseDown=$.ig.Delegate.prototype.combine(this.aw().onMouseDown,this.eb.runOn(this));this.aw().onMouseLeave=$.ig.Delegate.prototype.combine(this.aw().onMouseLeave,this.ea.runOn(this));this.aw().onMouseOver=$.ig.Delegate.prototype.combine(this.aw().onMouseOver,this.d8.runOn(this));this.aw().onMouseUp=$.ig.Delegate.prototype.combine(this.aw().onMouseUp,this.ec.runOn(this));this.aw().onMouseWheel=$.ig.Delegate.prototype.combine(this.aw().onMouseWheel,this.ag().hd.runOn(this.ag()));this.aw().onPinchDelta=$.ig.Delegate.prototype.combine(this.aw().onPinchDelta,function(f,g){return $self.ag().hs(g)});this.aw().onPinchStarted=$.ig.Delegate.prototype.combine(this.aw().onPinchStarted,function(h,i){return $self.ag().hr(h)});this.aw().onDoubleTap=$.ig.Delegate.prototype.combine(this.aw().onDoubleTap,function(j){return $self.ag().he(j)});this.aw().onHold=$.ig.Delegate.prototype.combine(this.aw().onHold,this.dc.runOn(this));if(this.ag().f1()!=null){this.ag().f1().f9(this.as());this.ag().f1().f8(a);this.ag().f1().ga(this.aw())}},da:function(a,b){this.ag().ia(a,b)},db:function(a,b){if(!b&&this.ag().mobileMode()){this.ag().mobileMode(false)}if(b&&!this.ag().mobileMode()){this.ag().mobileMode(true)}this.ag().h2(a,b)},dc:function(a){this.ag().hn(a)},dd:function(a,b){this.ag().ib(a,b)},de:function(a){},_aw:null,aw:function(a){if(arguments.length===1){this._aw=a;return a}else{return this._aw}},dh:function(){this.ax($.ig.FontUtil.prototype.a(this.ag().je()))},_ax:null,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},dk:function(a,b,c){var d=Math.round(a.__x);var e=Math.round(a.__y);c=null;var f=this.au().x(d,e);if((f[0]>0||f[1]>0||f[2]>0)&&f[3]==255){var num2_=f[2];if(num2_%4!=0){num2_=num2_+(4-num2_%4)}var num1_=f[1];if(num1_%4!=0){num1_=num1_+(4-num1_%4)}var num0_=f[0];if(num0_%4!=0){num0_=num0_+(4-num0_%4)}var num_=0;num_=num2_>>2;num_=num_<<6;num_=num_|num1_>>2;num_=num_<<6;num_=num_|num0_>>2;var g=Math.floor($.ig.intDivide(num_,$.ig.SeriesView.prototype.a));g--;var h=null;var i=false;var k=this.ak().getEnumerator();while(k.moveNext()){var j=k.current();if(i){break}var l=$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,j);if(l!=null){var n=l.series().getEnumerator();while(n.moveNext()){var m=n.current();if(m.visualSeriesLink()!=null&&m.visualSeriesLink()._uniqueIndex==g){h=m.visualSeriesLink();i=true;break}}}else if(j._uniqueIndex==g){h=j;break}}if(h!=null){var o=h.getHitDataContext({__x:d,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(o!=null){c=o}}return{ret:h,context:c}}return{ret:null,context:c};return{context:c}},_ay:null,ay:function(a){if(arguments.length===1){this._ay=a;return a}else{return this._ay}},_az:null,az:function(a){if(arguments.length===1){this._az=a;return a}else{return this._az}},b:null,c:null,dq:function(){this.aq().a8()},dr:function(a,b){if(this.ay()!=a){this.c=true}this.ay(a);if(this.az()!=b){this.c=true}this.az(b);this.ds()},ds:function(){this.dt()},dt:function(){var $self=this;var a=this.ay();var b=this.az();var c=this.ag().leftMargin();var d=this.ag().rightMargin();var e=this.ag().bottomMargin();var f=this.ag().topMargin();var g=this.ag().autoMarginHeight();var h=this.ag().autoMarginWidth();if(isNaN(g)){g=this.ax()/2}if(isNaN(h)){h=0}var i=this.ag().shouldAddAutoMargins();var j=new $.ig.List$1($.ig.AxisLabelPanelBase.prototype.$type,0);var l=this.al().getEnumerator();while(l.moveNext()){var k=l.current();if(k.dd()!=null){j.add(k.dd())}}if(i){var m=false;var n=false;var o=false;var p=false;var r=j.getEnumerator();while(r.moveNext()){var q=r.current();if($.ig.LabelPanelArranger.prototype.c(q)==$.ig.AxisLabelsLocation.prototype.outsideLeft&&(q.bq().labelSettings()==null||q.bq().labelSettings().visibility()==$.ig.Visibility.prototype.visible)){m=true}if($.ig.LabelPanelArranger.prototype.c(q)==$.ig.AxisLabelsLocation.prototype.outsideRight&&(q.bq().labelSettings()==null||q.bq().labelSettings().visibility()==$.ig.Visibility.prototype.visible)){n=true}if($.ig.LabelPanelArranger.prototype.c(q)==$.ig.AxisLabelsLocation.prototype.outsideTop&&(q.bq().labelSettings()==null||q.bq().labelSettings().visibility()==$.ig.Visibility.prototype.visible)){o=true}if($.ig.LabelPanelArranger.prototype.c(q)==$.ig.AxisLabelsLocation.prototype.outsideBottom&&(q.bq().labelSettings()==null||q.bq().labelSettings().visibility()==$.ig.Visibility.prototype.visible)){p=true}}if(m||n){if(!o&&isNaN(f)){f=g}if(!p&&isNaN(e)){e=g}}if(p||o){if(!m&&isNaN(c)){c=h}if(!n&&isNaN(d)){d=h}}}if(isNaN(f)){f=0}if(isNaN(c)){c=0}if(isNaN(d)){d=0}if(isNaN(e)){e=0}var s=new $.ig.Rect(0,c,f,a-(c+d),b-(f+e));s=$.ig.LabelPanelArranger.prototype.a(j,s);var t=new $.ig.Size(a-(c+d),b-(f+e));if(this.ag().gd()&&s.width()!=s.height()){if(s.width()<s.height()){f+=(s.height()-s.width())/2;s.top(s.top()+(s.height()-s.width())/2);t.d(t.d()-(s.height()-s.width()));s.height(s.width())}else{c+=(s.width()-s.height())/2;s.left(s.left()+(s.width()-s.height())/2);t.c(t.c()-(s.width()-s.height()));s.width(s.height())}}var u=function(){var $ret=new $.ig.LabelPanelsArrangeState;$ret.m(c);$ret.o(c);$ret.i(f+t.d());$ret.k(f+t.d());$ret.n(c+t.c());$ret.p(c+t.c());$ret.j(f);$ret.l(f);return $ret}();$.ig.LabelPanelArranger.prototype.e(j,u,s,function(v,w){return v.bu(w)});var x=false;if(this.c){this.c=false;x=true}if(x){this.aq().ax(this.ay(),this.az())}this.b=s;this.ag().g1(this.ag().viewportRect(),s);var z=this.al().getEnumerator();while(z.moveNext()){var y=z.current();y.dx(y.c9(),s)}var ab=this.ak().getEnumerator();while(ab.moveNext()){var aa=ab.current();aa.fj(aa.view().ad(),s)}if(this.ag().f1()!=null){var ac=this.ag().f1();var ad=this.ag().mobileMode()?s.width():Number.POSITIVE_INFINITY;var ae=this.ag().mobileMode()?s.height():Number.POSITIVE_INFINITY;var af=ac.fd(new $.ig.Size(ad,ae));this.ag().f1().gd(new $.ig.Rect(0,s.right()-af.c(),s.bottom()-af.d(),af.c(),af.d()))}this.du(s)},du:function(a){},dv:function(){if(!this.g){this.g=true;this.ah().p()}},d:null,dw:function(){if(this.as()==null){return}if(this.as().b()){if(!this.d.isEmpty()){this.as().u(this.d.left(),this.d.top(),this.d.width(),this.d.height())}}this.dx()},e:null,dx:function(){if(this.as().b()){this.d=new $.ig.Rect(0,0,0,this.ay(),this.az());this.as().o(this.ap());this.as().o(this.ao());if(this.e){this.as().e($.ig.GradientDirection.prototype.bottomTop,null)}this.as().g(this.an());this.as().f(this.am())}},dy:function(){return new $.ig.Rect(0,0,0,this.ay(),this.az())},dz:function(){return this.aq().ay()},d0:function(){var $self=this;this.ag().circleMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.d);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().triangleMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.e);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().pyramidMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.f);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().squareMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.g);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().diamondMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.i);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().pentagonMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.j);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().hexagonMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.k);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().tetragramMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.l);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().pentagramMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;
$ret.render($.ig.MarkerTemplates.prototype.m);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}());this.ag().hexagramMarkerTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.MarkerTemplates.prototype.n);$ret.measure($.ig.MarkerTemplates.prototype.c);return $ret}())},d1:function(){this.ed();var a=this.ax();this.dh();if(a!=this.ax()){this.ag().iw()}},d2:function(){if(this.ag().f1()!=null){var a=this.ag().overviewPlusDetailPaneVisibility();this.ag().f1().__visibility=a;this.ag().f1().f0(false)}},d3:function(a){if(a==null){return false}var b=a.__x;var c=a.__y;if(b>=this.ag().viewportRect().left()&&c>=this.ag().viewportRect().top()&&b<=this.ag().viewportRect().left()+this.ag().viewportRect().width()&&c<=this.ag().viewportRect().top()+this.ag().viewportRect().height()){var d=this.ag().f1();if(d!=null&&d.__visibility==$.ig.Visibility.prototype.visible&&b>=d.c9().ay().left()&&c>=d.c9().ay().top()&&b<=d.c9().ay().left()+d.c9().ay().width()&&c<=d.c9().ay().top()+d.c9().ay().height()){return false}return true}return false},_a0:null,a0:function(a){if(arguments.length===1){this._a0=a;return a}else{return this._a0}},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},d8:function(a,b,c){var $self=this;if(!c&&this.ag().mobileMode()){this.ag().mobileMode(false)}var d=new $.ig.MouseEventArgs;d.position(a);if(this.ag().fr()==$.ig.InteractionState.prototype.dragPan||this.ag().fr()==$.ig.InteractionState.prototype.dragZoom||this.ag().fx()||this.ag().f1()==null||this.ag().f1().dw()){if(this.a0()!=null){if(this.f){this.ec(a)}this.a0().g1(d.position(),this.a1(),d);this.a0(null)}return}var e=null;var f=function(){var $ret=$self.dk(a,!b,e);e=$ret.context;return $ret.ret}();this.a1(e);var g=this.d9(f);if(f!=null){var h=false;var i=false;if(this.a0()!=f){i=true}if(this.a0()==null||i){h=true}if(h){if(i){if(this.a0()!=null){g=this.d9(this.a0());this.a0().g1(d.position(),e,d);if(g!=null){g.g1(d.position(),e,d)}}}this.a0(f);f.gz(d.position(),e,d);if(g!=null){g.gz(d.position(),e,d)}}else{this.a0(f);f.g0(d.position(),e,d);if(g!=null){g.g0(d.position(),e,d)}}}else{if(this.a0()!=null){g=this.d9(this.a0());this.a0().g1(d.position(),e,d);if(g!=null){g.g1(d.position(),e,d)}this.a0(null)}for(var j=0;j<this.ag().series().count();j++){var k=this.ag().series().__inner[j];if(k.el()){g=this.d9(k);k.g1(d.position(),k.ef(),d);if(g!=null){g.g1(d.position(),k.ef(),d)}}}}},d9:function(a){var b=null;if(a!=null&&$.ig.util.cast($.ig.FragmentBase.prototype.$type,a)!==null){b=a.parentSeries()}if(a!=null&&$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,a)!==null){b=a.parentSeries()}return b},ea:function(a){if(this.a0()!=null){var b=this.d9(this.a0());var c=new $.ig.MouseEventArgs;c.position(a);this.a0().g1(c.position(),null,c);if(b!=null){b.g1(c.position(),null,c)}this.a0(null)}this.ag().hc(a)},f:null,eb:function(a){if(this.a0()!=null){this.f=true;var b=new $.ig.MouseButtonEventArgs;b.position(a);this.a0().g2(b.position(),this.a1(),b)}},ec:function(a){if(this.a0()!=null){this.f=false;var b=new $.ig.MouseButtonEventArgs;b.position(a);this.a0().g3(b.position(),this.a1(),b)}},ed:function(){},a2:function(){return this.aw().y()},ef:function(a){if(this.aw()!=null){this.aw().x(this.ag().viewportRect())}},eg:function(a){this.ag().fv(this.ag().mobileMode()||this.ag().crosshairVisibility()==$.ig.Visibility.prototype.visible);this.eh(a)},eh:function(a){if(this.ag().f1()!=null){this.ag().f1().mobileMode(a);if(!a){this.ag().f1().__visibility=this.ag().overviewPlusDetailPaneVisibility();this.ag().f1().c9().af(false)}else{this.ag().f1().__visibility=$.ig.Visibility.prototype.collapsed;this.ag().f1().c9().af(this.ag().overviewPlusDetailPaneVisibility()==$.ig.Visibility.prototype.visible)}this.ag().iw()}},g:null,isDirty:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},undirty:function(a){this.g=false;this.dw()},index:function(){return 10},postRender:function(){},ei:function(){this.ds()},h:null,ej:function(){this.aq().a4()},ek:function(){this.aq().a5()},el:function(a){this.aq().a0()},em:function(a){this.aq().a3(a)},en:function(a){this.aq().a1(a)},eo:function(a){this.aq().a2(a)},ep:function(a){this.aq().a6(a)},eq:function(a){this.aq().a7(a)},er:function(a){this.ag().canvasRenderScheduler().p()},es:function(a){},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},ev:function(a){if(this.ag().mobileMode()){return $.ig.InteractionState.prototype.dragPan}else{return $.ig.InteractionState.prototype.dragZoom}},ew:function(){this.aw().ab(this.ag().isSurfaceInteractionDisabled())},$type:new $.ig.Type("SeriesViewerView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.util.defType("XamDataChartView","SeriesViewerView",{init:function(a){$.ig.SeriesViewerView.prototype.init.call(this,a);this.e8(a)},_e8:null,e8:function(a){if(arguments.length===1){this._e8=a;return a}else{return this._e8}},fe:function(a){this.ag().canvasRenderScheduler().o()},ed:function(){var $self=this;var a;var b;var c;var d;var e;(function(){var $ret=$self.aq().az(a,b,c,d,e);a=$ret.brushes;b=$ret.outlines;c=$ret.fontBrush;d=$ret.font;e=$ret.axisLineBrush;return $ret.ret})();this.e8().brushes(a);this.e8().outlines(b);this.e8().markerBrushes(a);this.e8().markerOutlines(b);this.e9(c);this.fb(d);this.fa(e)},_e9:null,e9:function(a){if(arguments.length===1){this._e9=a;return a}else{return this._e9}},_fa:null,fa:function(a){if(arguments.length===1){this._fa=a;return a}else{return this._fa}},c9:function(a){$.ig.SeriesViewerView.prototype.c9.call(this,a)},dx:function(){this.ap().a5(1);this.ao().a5(1);this.ap().__stroke=this.e9();this.ao().__stroke=this.e9();$.ig.SeriesViewerView.prototype.dx.call(this)},_fb:null,fb:function(a){if(arguments.length===1){this._fb=a;return a}else{return this._fb}},$type:new $.ig.Type("XamDataChartView",$.ig.SeriesViewerView.prototype.$type)},true);$.ig.util.defType("ChartCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.SeriesViewer.prototype.$type)},collectionResetting:null,m:function(){if(this.collectionResetting!=null){this.collectionResetting(this,null)}$.ig.ObservableCollection$1.prototype.m.call(this)},$type:new $.ig.Type("ChartCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.SeriesViewer.prototype.$type))},true);$.ig.util.defType("ChartContentManager","DependencyObject",{e:null,f:null,g:null,l:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},init:function(a){this.e=null;this.f=new $.ig.Dictionary$2($.ig.ChartContentType.prototype.$type,$.ig.Dictionary$2.prototype.$type.specialize($.ig.DependencyObject.prototype.$type,$.ig.ContentInfo.prototype.$type),0);this.g=new $.ig.List$1($.ig.Series.prototype.$type,0);this.h=false;$.ig.DependencyObject.prototype.init.call(this);this.o(true);this.n(true);this.f.add($.ig.ChartContentType.prototype.series,new $.ig.Dictionary$2($.ig.DependencyObject.prototype.$type,$.ig.ContentInfo.prototype.$type,0));this.f.add($.ig.ChartContentType.prototype.axis,new $.ig.Dictionary$2($.ig.DependencyObject.prototype.$type,$.ig.ContentInfo.prototype.$type,0));this.f.add($.ig.ChartContentType.prototype.background,new $.ig.Dictionary$2($.ig.DependencyObject.prototype.$type,$.ig.ContentInfo.prototype.$type,0));this.e=a},r:function(a,b,c){var d=this.x(a,b);d.h(c);return d},s:function(a,b){var c=this.f.item(a);if(c.containsKey(b)){c.remove(b)}var d=$.ig.util.cast($.ig.Series.prototype.$type,b);if(d!=null&&this.l().contains(d)){this.l().remove(d)}},h:null,t:function(){if(!this.h){this.h=true;window.setTimeout(this.z.runOn(this),0)}},u:function(a,b,c,d){var e=c;if(!e.j()){e.i(d)}else{if(!d){e.i(false)}}if(!e.j()){e.j(true);this.t()}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},x:function(a,b){var $self=this;var c=this.f.item(a);var d=null;if(!function(){var $ret=c.tryGetValue(b,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ContentInfo;d.g(b);c.add(b,d);var e=$.ig.util.cast($.ig.Series.prototype.$type,b);if(e!=null&&!this.l().contains(e)){if($.ig.util.cast($.ig.FragmentBase.prototype.$type,e)!==null||$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,e)!==null){var f=$.ig.util.cast($.ig.FragmentBase.prototype.$type,e);var g=$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,e);var h=f!=null?f.parentSeries():g.parentSeries();var i=f!=null?f.logicalSeriesLink():g.logicalSeriesLink();var j=0;if(this.l().indexOf(h)==0){j++}j+=h.series().indexOf(i);if(this.l().count()<=j||h.series().count()==0||j==-1){this.l().add(e)}else{this.l().insert(j,e)}}else{this.l().add(e)}}}return d},y:function(){this.z()},z:function(){if(this.e==null||this.f==null){return}if(!this.h){return}this.h=false;var b=this.aa().getEnumerator();while(b.moveNext()){var a=b.current();a.z()}if(!this.h){this.e.ja()}},aa:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=null;this.$a=this.$this.f.item($.ig.ChartContentType.prototype.axis);this.$state=1;break;case 1:this.$c=this.$a.values().getEnumerator();this.$state=4;break;case 2:this.$b=this.$c.current();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$a=this.$this.f.item($.ig.ChartContentType.prototype.series);this.$d=new $.ig.List$1($.ig.ContentInfo.prototype.$type,0);this.$state=6;break;case 6:this.$f=this.$this.l().getEnumerator();this.$state=11;break;case 7:this.$e=this.$f.current();this.$state=8;break;case 8:if(!this.$e.isAnnotationLayer()){this.$state=9}else{this.$state=10}break;case 9:this.$d.add(this.$a.item(this.$e));this.$state=10;break;case 10:this.$state=11;break;case 11:if(this.$f.moveNext()){this.$state=7}else{this.$state=12}break;case 12:this.$state=13;break;case 13:this.$h=this.$this.l().getEnumerator();this.$state=18;break;case 14:this.$g=this.$h.current();this.$state=15;break;case 15:if(this.$g.isAnnotationLayer()){this.$state=16}else{this.$state=17}break;case 16:this.$d.add(this.$a.item(this.$g));this.$state=17;break;case 17:this.$state=18;break;case 18:if(this.$h.moveNext()){this.$state=14}else{this.$state=19}break;case 19:this.$state=20;break;case 20:this.$j=this.$d.getEnumerator();this.$state=23;break;case 21:this.$i=this.$j.current();this.$current=this.$i;this.$state=22;return true;case 22:this.$state=23;break;case 23:if(this.$j.moveNext()){this.$state=21}else{this.$state=24}break;case 24:this.$a=this.$this.f.item($.ig.ChartContentType.prototype.background);this.$state=25;break;case 25:this.$l=this.$a.values().getEnumerator();this.$state=28;break;case 26:this.$k=this.$l.current();this.$current=this.$k;this.$state=27;return true;case 27:this.$state=28;break;case 28:if(this.$l.moveNext()){this.$state=26}else{this.$state=29}break;case 29:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.ContentInfo.prototype.$type,$iter)},ab:function(a){var c=this.f.item($.ig.ChartContentType.prototype.axis).values().getEnumerator();while(c.moveNext()){var b=c.current();$.ig.util.cast($.ig.Axis.prototype.$type,b.g()).ff()}var e=this.f.item($.ig.ChartContentType.prototype.axis).values().getEnumerator();while(e.moveNext()){var d=e.current();d.z()}var g=this.f.item($.ig.ChartContentType.prototype.axis).values().getEnumerator();while(g.moveNext()){var f=g.current();$.ig.util.cast($.ig.Axis.prototype.$type,f.g()).da($.ig.Rect.prototype.empty())}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},ag:function(a,b,c,d){c.k(d)},ah:function(a,b){if(!b.m()){b.m(true);this.t()}},$type:new $.ig.Type("ChartContentManager",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("ContentInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},l:function(){if(this.k().isEmpty()){return false}if(this.k().width()==0&&this.k().height()==0){return false}return true},y:function(){if(this.m()&&$.ig.util.cast($.ig.Axis.prototype.$type,this.g())!==null){this.m(false);var a=this.j();this.j(true);var b=$.ig.util.cast($.ig.Axis.prototype.$type,this.g()).updateRange1(true);if(!b){this.j(a)}}},z:function(){this.y();if($.ig.util.cast($.ig.Axis.prototype.$type,this.g())!==null){var a=$.ig.util.cast($.ig.Axis.prototype.$type,this.g());if(a.crossingAxis()!=null){var b=a.crossingAxis();if(b.df()!=null&&b.df().m()){b.df().y()}}}if(this.j()){this.j(false);this.h()(this.i());this.i(false)}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},$type:new $.ig.Type("ContentInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataContext","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_actualItemBrush:null,actualItemBrush:function(a){if(arguments.length===1){this._actualItemBrush=a;return a}else{return this._actualItemBrush}},_outline:null,outline:function(a){if(arguments.length===1){this._outline=a;return a}else{return this._outline}},_itemLabel:null,itemLabel:function(a){if(arguments.length===1){this._itemLabel=a;return a}else{return this._itemLabel}},_itemBrush:null,itemBrush:function(a){if(arguments.length===1){this._itemBrush=a;return a}else{return this._itemBrush}},_thickness:null,thickness:function(a){if(arguments.length===1){this._thickness=a;return a}else{return this._thickness}},flatten:function(){var series_=this.series();var item_=this.item();var actualItemBrush_=this.actualItemBrush();var outline_=this.outline();var itemLabel_=this.itemLabel();var itemBrush_=this.itemBrush();var thickness_=this.thickness();return{item:item_,itemBrush:actualItemBrush_,outline:outline_,itemLabel:itemLabel_,thickness:thickness_}},$type:new $.ig.Type("DataContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PieSliceDataContext","DataContext",{init:function(){$.ig.DataContext.prototype.init.call(this)},_slice:null,slice:function(a){if(arguments.length===1){this._slice=a;return a}else{return this._slice}},_percentValue:null,percentValue:function(a){if(arguments.length===1){this._percentValue=a;return a}else{return this._percentValue}},_isOthersSlice:null,isOthersSlice:function(a){if(arguments.length===1){this._isOthersSlice=a;return a}else{return this._isOthersSlice}},flatten:function(){var ret_=$.ig.DataContext.prototype.flatten.call(this);var percentValue_=this.percentValue();var isOthersSlice_=this.isOthersSlice();ret_.percentValue=percentValue_;ret_.isOthersSlice=isOthersSlice_;if(isOthersSlice_&&this.item()!=null){var items_=[];var a=this.item().getEnumerator();while(a.moveNext()){var currItem_=a.current();items_.push(currItem_)}ret_.item=items_}return ret_},$type:new $.ig.Type("PieSliceDataContext",$.ig.DataContext.prototype.$type)},true);$.ig.util.defType("FunnelSliceDataContext","DataContext",{init:function(){$.ig.DataContext.prototype.init.call(this)},_itemOutline:null,itemOutline:function(a){if(arguments.length===1){this._itemOutline=a;return a}else{return this._itemOutline}},flatten:function(){var ret_=$.ig.DataContext.prototype.flatten.call(this);var itemOutline_=this.itemOutline();ret_.itemOutline=itemOutline_;return ret_},$type:new $.ig.Type("FunnelSliceDataContext",$.ig.DataContext.prototype.$type)},true);$.ig.util.defType("LabelPanelArranger","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=c.bq();var f=e.crossingAxis();f=$.ig.LabelPanelArranger.prototype.b(c,e,f);var g=$.ig.LabelPanelArranger.prototype.c(c);var h=0;var i=0;h=c.b5();i=c.b5();if(c.bq().labelSettings()!=null&&c.bq().labelSettings().visibility()!=$.ig.Visibility.prototype.visible){i=0;h=0}if($.ig.util.cast($.ig.HorizontalAxisLabelPanelBase.prototype.$type,c)!==null){switch(g){case $.ig.AxisLabelsLocation.prototype.outsideTop:b.y(Math.max(0,b.top()+i));b.height(Math.max(0,b.height()-i));e.labelSettings().q($.ig.AxisLabelsLocation.prototype.outsideTop);break;case $.ig.AxisLabelsLocation.prototype.insideTop:if(f!=null&&c.bw()-b.top()<i&&$.ig.util.cast($.ig.HorizontalAxisLabelPanel.prototype.$type,c)!==null){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideBottom)}else{e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideTop)}break;case $.ig.AxisLabelsLocation.prototype.insideBottom:if(f!=null&&b.bottom()-c.bw()<i&&$.ig.util.cast($.ig.HorizontalAxisLabelPanel.prototype.$type,c)!==null){if(e.labelSettings()!=null){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideTop)}}else{if(e.labelSettings()!=null){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideBottom)}}break;case $.ig.AxisLabelsLocation.prototype.outsideBottom:default:if(e.labelSettings()!=null){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.outsideBottom)}b.height(Math.max(0,b.height()-i));break}}if($.ig.util.cast($.ig.VerticalAxisLabelPanel.prototype.$type,c)!==null){switch(g){case $.ig.AxisLabelsLocation.prototype.outsideRight:b.width(Math.max(0,b.width()-h));e.labelSettings().q($.ig.AxisLabelsLocation.prototype.outsideRight);break;case $.ig.AxisLabelsLocation.prototype.insideLeft:if(f!=null&&c.bw()-b.left()<h){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideRight)}else{e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideLeft)}break;case $.ig.AxisLabelsLocation.prototype.insideRight:if(f!=null&&b.right()-c.bw()<h){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideLeft)}else{e.labelSettings().q($.ig.AxisLabelsLocation.prototype.insideRight)}break;case $.ig.AxisLabelsLocation.prototype.outsideLeft:default:if(e.labelSettings()!=null){e.labelSettings().q($.ig.AxisLabelsLocation.prototype.outsideLeft)}b.x(Math.max(0,b.left()+h));b.width(Math.max(0,b.width()-h));break}}if($.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,c)!==null){if(e.labelSettings()!=null){e.labelSettings().q(g)}}}return b},b:function(a,b,c){if($.ig.util.cast($.ig.RadialAxisLabelPanel.prototype.$type,a)!==null&&$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,b)!==null){c=$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,b).i3()}if($.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,a)!==null&&$.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,b)!==null){c=$.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,b).is()}if($.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,a)!==null&&$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,b)!==null){c=$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,b).h8()}return c},c:function(a){if(a==null){return $.ig.AxisLabelsLocation.prototype.outsideBottom}else{var b=a.bq();if(b!=null&&b.labelSettings()!=null){var c=b.labelSettings().q();if(!a.dm(c)){return a.dl()}return c}else{return a.dl()}}},d:function(a,b,c,d){var e=a.bq();var f=e.crossingAxis();f=$.ig.LabelPanelArranger.prototype.b(a,e,f);var g=$.ig.LabelPanelArranger.prototype.c(a);var h;var i=a.b5();var j=a.b5();if(a.bq()!=null&&a.bq().labelSettings()!=null&&a.bq().labelSettings().visibility()==$.ig.Visibility.prototype.collapsed){return}switch(g){case $.ig.AxisLabelsLocation.prototype.outsideRight:b.n(b.n()-j);b.p(b.p()-j);h=new $.ig.Rect(0,b.n(),c.top(),j,c.height());d(a,h);break;case $.ig.AxisLabelsLocation.prototype.outsideLeft:h=new $.ig.Rect(0,b.m(),c.top(),j,c.height());d(a,h);b.m(b.m()+j);b.o(b.o()+j);break;case $.ig.AxisLabelsLocation.prototype.insideRight:if(f!=null){h=new $.ig.Rect(0,b.m()+a.bw(),c.top(),j,c.height())}else{b.p(b.p()-j);h=new $.ig.Rect(0,b.p(),c.top(),j,c.height())}d(a,h);break;case $.ig.AxisLabelsLocation.prototype.insideLeft:if(f!=null){h=new $.ig.Rect(0,b.m()+a.bw()-j,c.top(),j,c.height())}else{h=new $.ig.Rect(0,b.o(),c.top(),j,c.height());b.o(b.o()+j)}d(a,h);break;case $.ig.AxisLabelsLocation.prototype.outsideBottom:b.i(b.i()-i);b.k(b.k()-i);h=new $.ig.Rect(0,c.left(),b.i(),c.width(),i);d(a,h);break;case $.ig.AxisLabelsLocation.prototype.outsideTop:h=new $.ig.Rect(0,c.left(),b.j(),c.width(),i);d(a,h);b.j(b.j()+i);b.l(b.l()+i);break;case $.ig.AxisLabelsLocation.prototype.insideBottom:if(f!=null){h=new $.ig.Rect(0,c.left(),b.j()+a.bw(),c.width(),i)}else{b.k(b.k()-i);h=new $.ig.Rect(0,c.left(),b.k(),c.width(),i)}d(a,h);break;case $.ig.AxisLabelsLocation.prototype.insideTop:if(f!=null){h=new $.ig.Rect(0,c.left(),b.j()+a.bw()-i,c.width(),i)}else{h=new $.ig.Rect(0,c.left(),b.l(),c.width(),i);b.l(b.l()+i)}d(a,h);break}if($.ig.util.cast($.ig.AngleAxisLabelPanel.prototype.$type,a)!==null){h=new $.ig.Rect(0,c.left(),c.top(),c.width(),c.height());d(a,h)}},e:function(a,b,c,d){var e=new $.ig.List$1($.ig.AxisLabelPanelBase.prototype.$type,0);var f=new $.ig.List$1($.ig.AxisLabelPanelBase.prototype.$type,0);var h=a.getEnumerator();while(h.moveNext()){var g=h.current();var i=$.ig.LabelPanelArranger.prototype.c(g);switch(i){case $.ig.AxisLabelsLocation.prototype.outsideBottom:case $.ig.AxisLabelsLocation.prototype.outsideLeft:case $.ig.AxisLabelsLocation.prototype.outsideTop:case $.ig.AxisLabelsLocation.prototype.outsideRight:f.add(g);break;case $.ig.AxisLabelsLocation.prototype.insideBottom:case $.ig.AxisLabelsLocation.prototype.insideLeft:case $.ig.AxisLabelsLocation.prototype.insideTop:case $.ig.AxisLabelsLocation.prototype.insideRight:e.add(g);break}}var k=f.getEnumerator();while(k.moveNext()){var j=k.current();$.ig.LabelPanelArranger.prototype.d(j,b,c,d)}var m=e.getEnumerator();while(m.moveNext()){var l=m.current();$.ig.LabelPanelArranger.prototype.d(l,b,c,d)}},$type:new $.ig.Type("LabelPanelArranger",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LabelPanelsArrangeState","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},$type:new $.ig.Type("LabelPanelsArrangeState",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LegendTemplates","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){var b=a.data;var c=b.series();var d=c.legendItemBadgeTemplate();var e=c.title();if(e==null){e="Series Title"}$.ig.LegendTemplates.prototype.e(a.context,a.xPosition,a.yPosition,a.availableWidth,a.availableHeight,a.data,e.toString(),d,a.passInfo)},b:function(a){var b=a.data;var c=b.series();var d=c.legendItemBadgeTemplate();var e=b.itemLabel();if(e==null){e="Series Item"}$.ig.LegendTemplates.prototype.e(a.context,a.xPosition,a.yPosition,a.availableWidth,a.availableHeight,a.data,e.toString(),d,a.passInfo)},c:function(a){var b=a.data;var c=b.series();var d=c.legendItemBadgeTemplate();var e=b.itemLabel();if(e==null){e="Pie Item"}$.ig.LegendTemplates.prototype.e(a.context,a.xPosition,a.yPosition,a.availableWidth,a.availableHeight,a.data,e.toString(),d,a.passInfo)},d:function(a){var b=a.data;var c=b.series();var d=c.legendItemBadgeTemplate();var e=b.itemLabel();if(e==null){e="Funnel Item"}$.ig.LegendTemplates.prototype.e(a.context,a.xPosition,a.yPosition,a.availableWidth,a.availableHeight,a.data,e.toString(),d,a.passInfo)},e:function(a,b,c,d,e,f,g,h,i){var j=a;var k=f;if(k!=null&&k.series()!=null){if(h!=null){var l=$("<canvas></canvas>");l.attr("width","18");l.attr("height","16");var m=$("<td class='ui-legend-item-badge'></td>");m.append(l);var n=l[0].getContext("2d");var o=new $.ig.DataTemplateMeasureInfo;o.passInfo=i;o.context=n;o.width=18;o.height=16;o.data=k;h.measure()(o);var p=new $.ig.DataTemplateRenderInfo;p.areGradientsEnabled=i.areGradientsEnabled;p.availableWidth=isNaN(o.width)?18:Math.min(o.width,18);p.availableHeight=isNaN(o.height)?16:Math.min(o.height,16);p.passInfo=i;p.context=n;p.data=k;p.xPosition=0;p.yPosition=0;h.render()(p);j.append(m)}var q=$("<td class='ui-legend-item-text'><span>"+g+"</span></td>");j.append(q)}},f:function(a){var b=a.data;var c=a.context;if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(b.itemBrush())}var d=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);var e=b.slice();var f=new $.ig.Rectangle;f.width(a.availableWidth-e.c8()*2-2);f.height(a.availableHeight-e.c8()*2);f.w(e.c8()+1);f.v(e.c8());f.a5(e.c8());f.__fill=e.dg();f.__stroke=e.dh();if(a.areGradientsEnabled&&!a.isHitTestRender){var g=null;d.e($.ig.GradientDirection.prototype.bottomTop,g)}d.f(f)},g:function(a){var b=a.data;var c=a.context;if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}if(b.itemOutline()!=null){b.outline(b.itemOutline())}var d=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);var e=b.thickness();if(isNaN(e)){e=1}var f=new $.ig.Rectangle;f.width(a.availableWidth-e*2-2);f.height(a.availableHeight-e*2);f.w(e+1);f.v(e);f.a5(e);f.__fill=b.actualItemBrush();f.__stroke=b.outline();if(a.areGradientsEnabled&&!a.isHitTestRender){var g=null;d.e($.ig.GradientDirection.prototype.bottomTop,g)}d.f(f)},h:function(a){var b=a.data;var c=a.context;var d=b.series();if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(d.actualBrush())}var e=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);var f=new $.ig.Line;f.bo(0);f.bq(a.availableHeight/2);f.bp(a.availableWidth);f.br(a.availableHeight/2);f.a5(d.thickness());f.__stroke=b.actualItemBrush();f.a6(d.dashArray());e.o(f);var g=$.ig.util.cast($.ig.MarkerSeries.prototype.$type,b.series());if(g!=null&&g.actualMarkerTemplate()!=null&&g.actualMarkerTemplate().render()!=null){b.outline(d.actualOutline());$.ig.LegendTemplates.prototype.i(g.actualMarkerTemplate(),a)}},i:function(a,b){var c=new $.ig.DataTemplateMeasureInfo;c.passInfo=b.passInfo;c.width=11;c.height=11;c.data=b.data;c.context=b.context;if(a.measure()!=null){a.measure()(c);if(isNaN(c.width)||Number.isInfinity(c.width)||c.width>11){c.width=11}if(isNaN(c.height)||Number.isInfinity(c.height)||c.height>11){c.height=11}}var d=new $.ig.DataTemplateRenderInfo;d.passInfo=b.passInfo;d.availableWidth=c.width;d.availableHeight=c.height;d.xPosition=b.availableWidth/2;d.yPosition=b.availableHeight/2;d.data=b.data;d.context=b.context;d.areGradientsEnabled=b.areGradientsEnabled;a.render()(d)},j:function(a){var b=null;if($.ig.util.cast($.ig.Series.prototype.$type,a.series())!==null){b=a.series()}if(a.itemBrush()!=null){a.actualItemBrush(a.itemBrush())}else{if(b!=null){a.actualItemBrush(b.actualBrush())}else{a.actualItemBrush(a.itemBrush())}}},k:function(a){},l:function(a){},m:function(a){},n:function(a){var $self=this;var b=a.data;var c=a.context;$.ig.LegendTemplates.prototype.j(b);var d=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);var e=new $.ig.Path;var f=new $.ig.PathGeometry;var g=new $.ig.PathFigure;g.__isFilled=true;g.__startPoint={__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};g.__segments.add(new $.ig.LineSegment(0,{__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:11,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:16,__y:9,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());g.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());f.d().add(g);e.bn(f);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){e.a5(b.series().thickness());e.__stroke=b.series().actualOutline();e.a6(b.series().dashArray())}e.__fill=b.actualItemBrush();if(a.areGradientsEnabled&&!a.isHitTestRender){var h=null;d.e($.ig.GradientDirection.prototype.bottomTop,h)}d.g(e);var i=$.ig.util.cast($.ig.MarkerSeries.prototype.$type,b.series());if(i!=null&&i.actualMarkerTemplate()!=null&&i.actualMarkerTemplate().render()!=null){if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){b.outline(b.series().actualOutline())}$.ig.LegendTemplates.prototype.i(i.actualMarkerTemplate(),a)}},o:function(a){var $self=this;var b=a.data;var c=a.context;$.ig.LegendTemplates.prototype.j(b);var d=new $.ig.Path;var e=new $.ig.PathGeometry;var f=new $.ig.PathFigure;f.__isFilled=true;f.__startPoint={__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};f.__segments.add(new $.ig.LineSegment(0,{__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));f.__segments.add(new $.ig.LineSegment(0,{__x:11,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));f.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:16,__y:9,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());f.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));f.__segments.add(new $.ig.LineSegment(0,{__x:5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));f.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);
$ret.h({__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());e.d().add(f);d.bn(e);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){d.a5(b.series().thickness());d.__stroke=b.series().actualOutline();d.a6(b.series().dashArray())}d.__fill=b.actualItemBrush();var g=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);if(a.areGradientsEnabled&&!a.isHitTestRender){var h=null;g.e($.ig.GradientDirection.prototype.bottomTop,h)}g.g(d)},p:function(a){var b=a.data;var c=a.context;var d=b.series();if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(d.actualBrush())}var e=new $.ig.Line;e.bo(0);e.bq(a.availableHeight/2);e.bp(a.availableWidth);e.br(a.availableHeight/2);e.a5(d.thickness());e.a6(d.dashArray());e.__stroke=b.actualItemBrush();var f=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);f.o(e)},q:function(a){var b=a.data;$.ig.LegendTemplates.prototype.j(b);var c=$.ig.util.cast($.ig.MarkerSeries.prototype.$type,b.series());if(c!=null&&c.actualMarkerTemplate()!=null&&c.actualMarkerTemplate().render()!=null){if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){b.outline(b.series().actualOutline())}$.ig.LegendTemplates.prototype.i(c.actualMarkerTemplate(),a)}},r:function(a){var $self=this;var b=a.data;var c=a.context;var d=b.series();if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(d.actualBrush())}var e=new $.ig.Path;var f=new $.ig.PathGeometry;var g=new $.ig.PathFigure;g.__isFilled=true;g.__startPoint={__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};g.__segments.add(new $.ig.LineSegment(0,{__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());f.d().add(g);e.bn(f);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){e.a5(b.series().thickness());e.__stroke=b.series().actualOutline();e.a6(b.series().dashArray())}e.__fill=b.actualItemBrush();var h=new $.ig.Path;var i=new $.ig.PathGeometry;var j=new $.ig.PathFigure;j.__isFilled=true;j.__startPoint={__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};j.__segments.add(new $.ig.LineSegment(0,{__x:11,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));j.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:16,__y:9,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());j.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));i.d().add(j);h.bn(i);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){h.a5(b.series().thickness());h.__stroke=b.series().actualOutline()}if($.ig.util.cast($.ig.WaterfallSeries.prototype.$type,b.series())!==null){h.__fill=b.series().negativeBrush()}var k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);if(a.areGradientsEnabled&&!a.isHitTestRender){var l=null;k.e($.ig.GradientDirection.prototype.bottomTop,l)}k.g(e);k.g(h);var m=$.ig.util.cast($.ig.MarkerSeries.prototype.$type,b.series());if(m!=null&&m.actualMarkerTemplate()!=null&&m.actualMarkerTemplate().render()!=null){if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){b.outline(b.series().actualOutline())}$.ig.LegendTemplates.prototype.i(m.actualMarkerTemplate(),a)}},s:function(a){var $self=this;var b=a.data;var c=a.context;var d=b.series();if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(d.actualBrush())}var e=new $.ig.Path;var f=new $.ig.PathGeometry;var g=new $.ig.PathFigure;g.__isFilled=true;g.__startPoint={__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};g.__segments.add(new $.ig.LineSegment(0,{__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());f.d().add(g);e.bn(f);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){e.a5(b.series().thickness());e.__stroke=b.series().actualOutline();e.a6(b.series().dashArray())}e.__fill=b.actualItemBrush();var h=new $.ig.Path;var i=new $.ig.PathGeometry;var j=new $.ig.PathFigure;j.__isFilled=true;j.__startPoint={__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};j.__segments.add(new $.ig.LineSegment(0,{__x:11,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));j.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:16,__y:9,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());j.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));i.d().add(j);h.bn(i);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){h.a5(b.series().thickness());h.__stroke=b.series().actualOutline();h.a6(b.series().dashArray())}if($.ig.util.cast($.ig.FinancialSeries.prototype.$type,b.series())!==null){h.__fill=b.series().negativeBrush()}var k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);if(a.areGradientsEnabled&&!a.isHitTestRender){var l=null;k.e($.ig.GradientDirection.prototype.bottomTop,l)}k.g(e);k.g(h)},t:function(a){var $self=this;var b=a.data;var c=a.context;var d=b.series();if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}else{b.actualItemBrush(d.actualBrush())}var e=new $.ig.Path;var f=new $.ig.PathGeometry;var g=new $.ig.PathFigure;g.__isFilled=true;g.__startPoint={__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};g.__segments.add(new $.ig.LineSegment(0,{__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(new $.ig.LineSegment(0,{__x:5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));g.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:0,__y:5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());f.d().add(g);e.bn(f);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){e.a5(b.series().thickness());e.__stroke=b.series().actualOutline();e.a6(b.series().dashArray())}e.__fill=b.actualItemBrush();var h=new $.ig.Path;var i=new $.ig.PathGeometry;var j=new $.ig.PathFigure;j.__isFilled=true;j.__startPoint={__x:0,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};j.__segments.add(new $.ig.LineSegment(0,{__x:11,__y:14,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));j.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.k(new $.ig.Size(5,5));$ret.i(false);$ret.h({__x:16,__y:9,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());j.__segments.add(new $.ig.LineSegment(0,{__x:16,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));i.d().add(j);h.bn(i);if($.ig.util.cast($.ig.Series.prototype.$type,b.series())!==null){h.a5(b.series().thickness());h.__stroke=b.series().actualOutline();h.a6(b.series().dashArray())}if($.ig.util.cast($.ig.FinancialSeries.prototype.$type,b.series())!==null){h.__fill=b.series().negativeBrush()}var k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);if(a.areGradientsEnabled&&!a.isHitTestRender){var l=null;k.e($.ig.GradientDirection.prototype.bottomTop,l)}k.g(e);k.g(h)},$type:new $.ig.Type("LegendTemplates",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Marker","ContentControl",{init:function(){$.ig.ContentControl.prototype.init.call(this)},_bp:null,bp:function(a){if(arguments.length===1){this._bp=a;return a}else{return this._bp}},_bq:null,bq:function(a){if(arguments.length===1){this._bq=a;return a}else{return this._bq}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},bk:null,bl:null,$type:new $.ig.Type("Marker",$.ig.ContentControl.prototype.$type)},true);$.ig.util.defType("NumericMarkerManager","MarkerManagerBase",{init:function(initNumber,a,b,c,d,e){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.NumericMarkerManager.prototype.init1.call(this,1,a,b,c,d,e,function(){return $.ig.CollisionAvoidanceType.prototype.none})},init1:function(initNumber,a,b,c,d,e,f){var $self=this;$.ig.MarkerManagerBase.prototype.init.call(this,a,b,c,d,e);this.ak(false);this.al(function(g){return{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}});this.am(f)},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},y:function(a,b,c,d,e){var f=this.g()();a.clear();var g=new $.ig.List$1($.ig.Number.prototype.$type,0);b=Math.max(0,b);var h=null;this.ac(c,d,f,g);if(b>=g.count()){h=g}else{h=new $.ig.List$1($.ig.Number.prototype.$type,0);var i=Math.max(8,e);var j=this.ad(d,g,i,f);var k=new $.ig.List$1($.ig.Number.prototype.$type,1,j.keys());if(this.l()){k.r()}this.ab(b,j,k,h)}this.aw(a,f,h)},aw:function(a,b,c){for(var d=0;d<c.count();++d){var e=c.__inner[d];var f=b[e];var g=this.j()(e);var h=this.h()(g);if(h.content()!=null){$.ig.util.cast($.ig.DataContext.prototype.$type,h.content()).item(g)}var i=new $.ig.OwnedPoint;if(this.ak()){i.f(this.al()(e))}i.e(g);i.d({__x:f.__x,__y:f.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(!a.containsKey(g)){a.add(g,i)}}},z:function(a,b){var $self=this;var c=a.keys();if(this.l()){var d=new $.ig.List$1($.ig.Object.prototype.$type,1,a.keys());d.t(function(e,f){var g=a.item(e);var h=a.item(f);var i=Math.pow(g.d().__x,2)+Math.pow(g.d().__y,2);var j=Math.pow(h.d().__x,2)+Math.pow(h.d().__y,2);return i.compareTo(j)});c=d}var k=null;var l=null;switch(this.am()()){case $.ig.CollisionAvoidanceType.prototype.none:break;case $.ig.CollisionAvoidanceType.prototype.omit:k=function(){var $ret=new $.ig.SmartPlacer;$ret.f(.3);$ret.g(0);return $ret}();l=new $.ig.SmartPlaceableWrapper$1($.ig.Marker.prototype.$type);l.i(true);break;case $.ig.CollisionAvoidanceType.prototype.fade:k=function(){var $ret=new $.ig.SmartPlacer;$ret.f(.6);$ret.g(2);return $ret}();l=new $.ig.SmartPlaceableWrapper$1($.ig.Marker.prototype.$type);l.i(true);break;case $.ig.CollisionAvoidanceType.prototype.omitAndShift:k=function(){var $ret=new $.ig.SmartPlacer;$ret.f(.3);$ret.g(0);return $ret}();l=new $.ig.SmartPlaceableWrapper$1($.ig.Marker.prototype.$type);break;case $.ig.CollisionAvoidanceType.prototype.fadeAndShift:k=function(){var $ret=new $.ig.SmartPlacer;$ret.f(.6);$ret.g(2);return $ret}();l=new $.ig.SmartPlaceableWrapper$1($.ig.Marker.prototype.$type);break}var n=c.getEnumerator();while(n.moveNext()){var m=n.current();var o=a.item(m);var p=this.h()(o.e());if(k!=null&&l!=null){l.j(p);l.m(this.an()(p));l.l(o.d());k.n(l);if(l.opacity()==0){l.smartPosition(l.smartPosition())}o.d(l.k())}else{p.__opacity=1;p.__visibility=$.ig.Visibility.prototype.visible}this.ax(p,o,b)}this.i()(a)},ax:function(a,b,c){a.w(b.d().__x);a.v(b.d().__y)},$type:new $.ig.Type("NumericMarkerManager",$.ig.MarkerManagerBase.prototype.$type)},true);$.ig.util.defType("CategoryMarkerManager","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d){var e=a.i8();if(c==null){return}if(e){for(var f=0;f<b.count();++f){$.ig.CategoryMarkerManager.prototype.b(c,f,b,d)}c.g(b.count())}},b:function(a,b,c,d){a.item(b).w(c.__inner[b].__x);a.item(b).v(c.__inner[b].__y)},$type:new $.ig.Type("CategoryMarkerManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MarkerManagerBucket","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,c:function(){if(this.a==null){this.a=new $.ig.List$1($.ig.Number.prototype.$type,0)}return this.a},b:null,d:function(){if(this.b==null){this.b=new $.ig.List$1($.ig.Number.prototype.$type,0)}return this.b},h:function(a){if(this.d().count()>0){var b=this.d().__inner[this.d().count()-1];this.d().removeAt(this.d().count()-1);a=true;return{ret:b,wasPriority:a}}var c=this.c().__inner[this.c().count()-1];this.c().removeAt(this.c().count()-1);a=false;return{ret:c,wasPriority:a};return{wasPriority:a}},e:function(){return this.c().count()==0&&this.d().count()==0},$type:new $.ig.Type("MarkerManagerBucket",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PathRenderer","Object",{_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.d($.ig.UnknownValuePlotting.prototype.dontPlot)},init1:function(initNumber,a){$.ig.Object.prototype.init.call(this);this.c(a)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},i:function(a,b,c){var d=$.ig.NaNSegmenter.prototype.a(b,this.d());var e=this.j(d,c);var f=new $.ig.PathGeometry;var h=e.getEnumerator();while(h.moveNext()){var g=h.current();f.d().add(g)}a.bn(f)},j:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=a.getEnumerator();this.$state=7;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(this.$c.take$1($.ig.Point.prototype.$type,2).count$1($.ig.Point.prototype.$type)>=2){this.$state=4}else{this.$state=6}break;case 4:this.$e=new $.ig.PathFigure;this.$f=this.$c.first$1($.ig.Point.prototype.$type);this.$e.__startPoint=this.$f;this.$g=this.$this.k(this.$c,b);this.$e.__segments.add(this.$g);this.$current=this.$e;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$d.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1($.ig.PathFigure.prototype.$type,$iter)},k:function(a,b){var c=new $.ig.PolyLineSegment;if(this.c()==null){var e=a.skip$1($.ig.Point.prototype.$type,1).getEnumerator();while(e.moveNext()){var d=e.current();c.__points.add(d)}}else{var g=this.c().flatten(a,b).skip$1($.ig.Point.prototype.$type,1).getEnumerator();while(g.moveNext()){var f=g.current();c.__points.add(f)}}return c},$type:new $.ig.Type("PathRenderer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NaNSegmenter","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,$e:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=a.getEnumerator();this.$d=new $.ig.List$1($.ig.Point.prototype.$type,0);this.$e=true;this.$state=1;break;case 1:this.$state=11;break;case 2:this.$state=3;break;case 3:if($.ig.NaNSegmenter.prototype.b(this.$c.current())){this.$state=4}else{this.$state=9}break;case 4:this.$state=5;break;case 5:if(!this.$e&&b==$.ig.UnknownValuePlotting.prototype.dontPlot){this.$state=6}else{this.$state=8}break;case 6:this.$e=true;this.$f=this.$d;this.$d=new $.ig.List$1($.ig.Point.prototype.$type,0);this.$current=new $.ig.ReadOnlyCollection$1($.ig.Point.prototype.$type,1,this.$f);this.$state=7;return true;case 7:this.$state=8;break;case 8:this.$state=10;break;case 9:this.$e=false;this.$d.add(this.$c.current());this.$state=10;break;case 10:this.$state=11;break;case 11:if(this.$c.moveNext()){this.$state=2}else{this.$state=12}break;case 12:this.$current=new $.ig.ReadOnlyCollection$1($.ig.Point.prototype.$type,1,this.$d);this.$state=13;return true;case 13:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1($.ig.IList$1.prototype.$type.specialize($.ig.Point.prototype.$type),$iter)},b:function(a){return isNaN(a.__x)||isNaN(a.__y)||Number.isInfinity(a.__x)||Number.isInfinity(a.__y)},c:function(a){return!$.ig.NaNSegmenter.prototype.b(a)},$type:new $.ig.Type("NaNSegmenter",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IFlattener","Object",{$type:new $.ig.Type("IFlattener",null)},true);$.ig.util.defType("DefaultFlattener","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function(a,b,c,d,e,f){var g=new $.ig.List$1($.ig.Number.prototype.$type,0);var h=d;var i=e;var j=i-h+1;while(j>0){if(j<=$.ig.DefaultFlattener.prototype.a){$.ig.Flattener.prototype.d(g,b,c,h,i,f);h=i+1}else{var k=h+$.ig.DefaultFlattener.prototype.a-1;$.ig.Flattener.prototype.d(g,b,c,h,k,f);h=k+1}j=i-h+1}return g},c:function(a,b,c,d,e){var f=new $.ig.List$1($.ig.Number.prototype.$type,0);var g=c;var h=d;var i=h-g+1;while(i>0){if(i<=$.ig.DefaultFlattener.prototype.a){$.ig.Flattener.prototype.g(f,a,b,g,h,e);g=h+1}else{var j=g+$.ig.DefaultFlattener.prototype.a-1;$.ig.Flattener.prototype.g(f,a,b,g,j,e);g=j+1}i=h-g+1}return f},flatten:function(a,b){var $self=this;var d=function(c){return $self.g(a,c)};var f=function(e){return $self.h(a,e)};return this.e(a,b,d,f)},d:function(a,b,c,d){return this.f(a,b,c,d)},e:function(a,b,c,d){var e=this.b(new $.ig.List$1($.ig.Number.prototype.$type,0),c,d,0,a.count()-1,b);var f=new $.ig.RearrangedList$1($.ig.Point.prototype.$type,a,e);return f},f:function(a,b,c,d){var e=this.c(a,b,0,c-1,d);var f=new $.ig.List$1($.ig.Point.prototype.$type,0);for(var g=0;g<e.count();g++){f.add({__x:a[e.__inner[g]],__y:b[e.__inner[g]],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}return f},g:function(a,b){return a.item(b).__x},h:function(a,b){return a.item(b).__y},$type:new $.ig.Type("DefaultFlattener",$.ig.Object.prototype.$type,[$.ig.IFlattener.prototype.$type])},true);$.ig.util.defType("RenderSurface","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("RenderSurface",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RenderRequestedEventArgs","EventArgs",{init:function(){$.ig.EventArgs.prototype.init.call(this)},_animate:null,animate:function(a){if(arguments.length===1){this._animate=a;return a}else{return this._animate}},$type:new $.ig.Type("RenderRequestedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("SeriesCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.Series.prototype.$type)},collectionResetting:null,m:function(){if(this.collectionResetting!=null){this.collectionResetting(this,null)}$.ig.ObservableCollection$1.prototype.m.call(this)},$type:new $.ig.Type("SeriesCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.Series.prototype.$type))},true);$.ig.util.defType("SeriesComponentsForView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("SeriesComponentsForView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesComponentsFromView","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("SeriesComponentsFromView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesRenderingArguments","Object",{init:function(a,b,c,d){$.ig.Object.prototype.init.call(this);this.h(a.transitionDuration());this.j(a);this.f(b);this.g(c);this.i(d)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("SeriesRenderingArguments",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesRenderer$2","Object",{$tFrame:null,$tView:null,_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},init:function($tFrame,$tView,initNumber,a,b,c,d,e){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}var $self=this;this.$tFrame=$tFrame;this.$tView=$tView;this.$type=this.$type.specialize(this.$tFrame,this.$tView);$.ig.Object.prototype.init.call(this);this.h(a);this.i(b);this.j(function(f){});this.l(c);this.k(d);this.m(e)},init1:function($tFrame,$tView,initNumber,a,b,c,d,e,f){var $self=this;this.$tFrame=$tFrame;this.$tView=$tView;this.$type=this.$type.specialize(this.$tFrame,this.$tView);$.ig.Object.prototype.init.call(this);this.h(a);this.i(b);this.j(f);this.l(c);this.k(d);this.m(e)},z:function(a,b,c,d,e){var f=0;f=a.h();if(a.i()&&f>0){var g=b;if(this.l()()){this.m()();b=d;d=g}else{b=c;c=g}this.j()(c);this.h()(c,e);this.k()()}else{this.j()(c);this.h()(c,e);this.i()(c,e)}return{previousFrame:b,currentFrame:c,transitionFrame:d}},$type:new $.ig.Type("SeriesRenderer$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IFastItemsSourceProvider","Object",{$type:new $.ig.Type("IFastItemsSourceProvider",null)},true);$.ig.util.defType("SyncLink","FrameworkElement",{init:function(){var $self=this;this.a0=new $.ig.Dictionary$2($.ig.IEnumerable.prototype.$type,$.ig.FastItemsSourceReference.prototype.$type,0);$.ig.FrameworkElement.prototype.init.call(this);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){$self.bc(a,b.propertyName(),b.oldValue(),b.newValue())});this.a9(new $.ig.ChartCollection);this.a9().collectionChanged=$.ig.Delegate.prototype.combine(this.a9().collectionChanged,this.bk.runOn(this));this.a7(new $.ig.Rect(0,0,0,1,1))},_a6:null,a6:function(a){if(arguments.length===1){this._a6=a;return a}else{return this._a6}},bc:function(a,b,c,d){},releaseFastItemsSource:function(a){var $self=this;if(a!=null){var b=null;if(function(){var $ret=$self.a0.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){--b.b;if(b.b==0){this.a0.remove(a)}}}return null},getFastItemsSource:function(a){var $self=this;var b=null;if(a!=null){var c=null;if(!function(){var $ret=$self.a0.tryGetValue(a,c);c=$ret.value;return $ret.ret}()){b=function(){var $ret=new $.ig.FastItemsSource;$ret.f(a);return $ret}();c=new $.ig.FastItemsSourceReference(b);this.a0.add(a,c)}c.b++;b=c.a}return b},bd:function(a){var $self=this;var b=null;if(a!=null){var c=null;if(!function(){var $ret=$self.a0.tryGetValue(a,c);c=$ret.value;return $ret.ret}()){return null}b=c.a}return b},a0:null,_a7:null,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},bg:function(a,b,c){var $self=this;if(!c.isEmpty()){c=new $.ig.Rect(0,c.left(),c.top(),c.width(),c.height());var d=a.windowRectMinWidth();if(b==a){if(!b.horizontalZoomable()){c.x(b.windowRect().x());c.width(b.windowRect().width())}if(!b.verticalZoomable()){c.y(b.windowRect().y());c.height(b.windowRect().height())}}else{var e=$.ig.SyncManager.prototype.e(b);if(e==null||!e.synchronizeHorizontally()){c.x(b.windowRect().x());c.width(b.windowRect().width())}if(e==null||!e.synchronizeVertically()){c.y(b.windowRect().y());c.height(b.windowRect().height())}}var f=.5*(c.left()+c.right());var g=.5*(c.top()+c.bottom());var h=$.ig.MathUtil.prototype.i(c.width(),d,1);var i=$.ig.MathUtil.prototype.i(c.height(),d,1);if(a.useFixedAspectZoom()&&!a.viewportRect().isEmpty()){var j=a.viewportRect();var k=j.width()/j.height();var l=h*j.width();var m=i*j.height();var n=l/m;if(n!=k){if(m*k>l){l=m*k;h=l/j.width()}else{m=l/k;i=m/j.height()}}}else if(a.gd()){var o=false;var p=false;if(Math.abs(h-a.actualWindowRect().width())>d){o=true}if(Math.abs(i-a.actualWindowRect().height())>d){p=true}(function(){var $ret=a.gc(h,i,o,p);h=$ret.width;i=$ret.height;return $ret.ret})();h=$.ig.MathUtil.prototype.i(h,d,1);i=$.ig.MathUtil.prototype.i(i,d,1)}var q=f-.5*h;var r=g-.5*i;var s=f+.5*h;var t=g+.5*i;if(q<0){q=0;s=q+h}if(s>1){s=1;q=s-h}if(r<0){r=0;t=r+i}if(t>1){t=1;r=t-i}c=new $.ig.Rect(0,q,r,s-q,t-r)}return c},a8:function(){return this.a9()},_a9:null,a9:function(a){if(arguments.length===1){this._a9=a;return a}else{return this._a9}},bk:function(a,b){if(b.newItems()!=null){var d=b.newItems().getEnumerator();while(d.moveNext()){var c=d.current();if(c.windowRect().isEmpty()){c.windowRect(this.bg(null,c,this.a7()))}}}},bl:function(a,b){var d=this.a8().getEnumerator();while(d.moveNext()){var c=d.current();if(c==a){c.crosshairPoint({__x:b.__x,__y:b.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}else{var e={__x:b.__x,__y:b.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f=$.ig.SyncManager.prototype.e(c);if(f==null||!f.synchronizeHorizontally()){e.__x=NaN}if(f==null||!f.synchronizeVertically()){e.__y=NaN}c.crosshairPoint(e)}}},bm:function(a,b){var d=this.a8().getEnumerator();while(d.moveNext()){var c=d.current();c.previewRect(this.bg(a,c,b))}},bn:function(a,b){var c=b.isEmpty()||isNaN(b.x())||isNaN(b.y())||isNaN(b.width())||isNaN(b.height());$.ig.Debug.prototype.a(!c,"SyncLink attempted to apply an invalid WindowRect");if(!c&&!a.f0()){var e=this.a8().getEnumerator();while(e.moveNext()){var d=e.current();d.f0(true);d.windowRect(this.bg(a,d,b));d.f0(false)}}},propertyChanged:null,propertyUpdated:null,bq:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},$type:new $.ig.Type("SyncLink",$.ig.FrameworkElement.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type,$.ig.IFastItemsSourceProvider.prototype.$type])},true);$.ig.util.defType("FastItemsSourceReference","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.a=a;this.b=0},a:null,b:null,$type:new $.ig.Type("FastItemsSourceReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SyncSettings","FrameworkElement",{init:function(){$.ig.FrameworkElement.prototype.init.call(this)},syncChannel:function(a){if(arguments.length===1){this.c($.ig.SyncSettings.prototype.syncChannelProperty,a);return a}else{return this.b($.ig.SyncSettings.prototype.syncChannelProperty)}},synchronizeVertically:function(a){if(arguments.length===1){this.c($.ig.SyncSettings.prototype.synchronizeVerticallyProperty,a);return a}else{return this.b($.ig.SyncSettings.prototype.synchronizeVerticallyProperty)}},synchronizeHorizontally:function(a){if(arguments.length===1){this.c($.ig.SyncSettings.prototype.synchronizeHorizontallyProperty,a);return a}else{return this.b($.ig.SyncSettings.prototype.synchronizeHorizontallyProperty)}},a8:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},propertyChanged:null,propertyUpdated:null,$type:new $.ig.Type("SyncSettings",$.ig.FrameworkElement.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("SyncSettingsConverter","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("SyncSettingsConverter",$.ig.Object.prototype.$type)},true);
$.ig.util.defType("SyncLinkManager","Object",{a:null,instance:function(){if($.ig.SyncLinkManager.prototype.a==null){$.ig.SyncLinkManager.prototype.a=new $.ig.SyncLinkManager}return $.ig.SyncLinkManager.prototype.a},b:null,c:function(){return this.b.count()},init:function(){$.ig.Object.prototype.init.call(this);this.b=new $.ig.Dictionary$2(String,$.ig.SyncLink.prototype.$type,0)},getLink:function(a){var $self=this;var b;if(function(){var $ret=$self.b.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){return b}b=new $.ig.SyncLink;b.a6(a);this.b.add(a,b);return b},releaseLink:function(a){if(a.a8().count()==0&&a.a6()!=null&&this.b.containsKey(a.a6())){this.b.remove(a.a6())}},$type:new $.ig.Type("SyncLinkManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SyncManager","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){var b=$.ig.SyncManager.prototype.e(a);if(b==null){return}if(!a.fz()){return}if(a.syncChannel()!=b.syncChannel()){return}$.ig.SyncManager.prototype.c(a,a.syncChannel(),null)},b:function(a){var b=$.ig.SyncManager.prototype.e(a);if(b==null){return}if(a.fz()&&a.syncChannel()==b.syncChannel()){return}var c=null;if(a.fz()){c=a.syncChannel()}$.ig.SyncManager.prototype.c(a,c,b.syncChannel())},c:function(a,b,c){if(a!=null){if(String.isNullOrEmpty(c)){var d=a.actualSyncLink();a.actualSyncLink(null);a.actualSyncLink(new $.ig.SyncLink);if(d!=null){$.ig.SyncLinkManager.prototype.instance().releaseLink(d)}a.syncChannel(null)}else{if(!String.isNullOrEmpty(b)){var e=a.actualSyncLink();a.actualSyncLink(null);if(e!=null){$.ig.SyncLinkManager.prototype.instance().releaseLink(e)}}a.actualSyncLink($.ig.SyncLinkManager.prototype.instance().getLink(c));a.syncChannel(c)}}},d:function(a,b){a.syncSettings(b)},e:function(a){return a.syncSettings()},$type:new $.ig.Type("SyncManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DefaultCategoryTrendlineHost","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.DefaultCategoryTrendlinePreparer},a:null,trendlinePreparer:function(){return this.a},trendLineType:function(){return $.ig.TrendLineType.prototype.none},trendLinePeriod:function(){return 1},$type:new $.ig.Type("DefaultCategoryTrendlineHost",$.ig.Object.prototype.$type,[$.ig.IHasCategoryTrendline.prototype.$type])},true);$.ig.util.defType("DefaultCategoryTrendlinePreparer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},prepareLine:function(a,b,c,d,e,f,g){},$type:new $.ig.Type("DefaultCategoryTrendlinePreparer",$.ig.Object.prototype.$type,[$.ig.IPreparesCategoryTrendline.prototype.$type])},true);$.ig.util.defType("TrendResolutionParams","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},$type:new $.ig.Type("TrendResolutionParams",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TrendFitCalculator","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e,f,g,h,i,j,k){if(d==null){switch(b){case $.ig.TrendLineType.prototype.linearFit:d=$.ig.LeastSquaresFit.prototype.j(e,f,g);break;case $.ig.TrendLineType.prototype.quadraticFit:d=$.ig.LeastSquaresFit.prototype.v(e,f,g);break;case $.ig.TrendLineType.prototype.cubicFit:d=$.ig.LeastSquaresFit.prototype.y(e,f,g);break;case $.ig.TrendLineType.prototype.quarticFit:d=$.ig.LeastSquaresFit.prototype.ab(e,f,g);break;case $.ig.TrendLineType.prototype.quinticFit:d=$.ig.LeastSquaresFit.prototype.ae(e,f,g);break;case $.ig.TrendLineType.prototype.exponentialFit:d=$.ig.LeastSquaresFit.prototype.p(e,f,g);break;case $.ig.TrendLineType.prototype.logarithmicFit:d=$.ig.LeastSquaresFit.prototype.m(e,f,g);break;case $.ig.TrendLineType.prototype.powerLawFit:d=$.ig.LeastSquaresFit.prototype.s(e,f,g);break;default:throw new $.ig.NotImplementedException}}if(d==null){return null}for(var l=0;l<c.k().width();l+=2){var m=l/(c.k().width()-1);var n=j+m*(k-j);var o=NaN;switch(b){case $.ig.TrendLineType.prototype.linearFit:o=$.ig.LeastSquaresFit.prototype.k(d,n);break;case $.ig.TrendLineType.prototype.quadraticFit:o=$.ig.LeastSquaresFit.prototype.w(d,n);break;case $.ig.TrendLineType.prototype.cubicFit:o=$.ig.LeastSquaresFit.prototype.z(d,n);break;case $.ig.TrendLineType.prototype.quarticFit:o=$.ig.LeastSquaresFit.prototype.ac(d,n);break;case $.ig.TrendLineType.prototype.quinticFit:o=$.ig.LeastSquaresFit.prototype.af(d,n);break;case $.ig.TrendLineType.prototype.exponentialFit:o=$.ig.LeastSquaresFit.prototype.q(d,n);break;case $.ig.TrendLineType.prototype.logarithmicFit:o=$.ig.LeastSquaresFit.prototype.n(d,n);break;case $.ig.TrendLineType.prototype.powerLawFit:o=$.ig.LeastSquaresFit.prototype.t(d,n);break;default:throw new $.ig.NotImplementedException}n=h(n);o=i(o);if(!isNaN(o)&&!Number.isInfinity(o)){a.add({__x:n+c.n(),__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}return d},$type:new $.ig.Type("TrendFitCalculator",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TrendAverageCalculator","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c){var d;switch(a){case $.ig.TrendLineType.prototype.simpleAverage:case $.ig.TrendLineType.prototype.exponentialAverage:case $.ig.TrendLineType.prototype.modifiedAverage:case $.ig.TrendLineType.prototype.weightedAverage:if(c<1){c=1}break}switch(a){case $.ig.TrendLineType.prototype.simpleAverage:d=$.ig.Series.prototype.sMA(b,c);break;case $.ig.TrendLineType.prototype.exponentialAverage:d=$.ig.Series.prototype.eMA(b,c);break;case $.ig.TrendLineType.prototype.modifiedAverage:d=$.ig.Series.prototype.mMA(b,c);break;case $.ig.TrendLineType.prototype.cumulativeAverage:d=$.ig.Series.prototype.cMA(b);break;case $.ig.TrendLineType.prototype.weightedAverage:d=$.ig.Series.prototype.wMA(b,c);break;default:throw new $.ig.NotImplementedException}return d},b:function(a,b,c,d){if(b.count()==0){var e=$.ig.TrendAverageCalculator.prototype.a(a,c,d);var g=e.getEnumerator();while(g.moveNext()){var f=g.current();b.add(f)}}},c:function(a,b,c,d,e){if(b.count()==0){var f=$.ig.TrendAverageCalculator.prototype.a(a,c,e).getEnumerator();var g=$.ig.TrendAverageCalculator.prototype.a(a,d,e).getEnumerator();while(f.moveNext()&&g.moveNext()){b.add({__x:f.current(),__y:g.current(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},$type:new $.ig.Type("TrendAverageCalculator",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolarTrendLineManager","TrendLineManagerBase$1",{init:function(){$.ig.TrendLineManagerBase$1.prototype.init.call(this,$.ig.Point.prototype.$type)},ar:function(a,b,c,d,e,f,g,h,i,j,k){var $self=this;var l=j;var m=k;var n=new $.ig.List$1($.ig.Point.prototype.$type,0);if(!h.l().isEmpty()&&!h.k().isEmpty()){var o=null;var p=null;if(c!=null){o=c.toList$1(Number)}if(d!=null){p=d.toList$1(Number)}var q=0;if(o!=null){q=o.count()}if(p!=null){q=Math.min(q,p.count())}if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear();return}if(this.u(b)){this.l().clear();this.m($.ig.TrendFitCalculator.prototype.a(n,b,h,this.m(),q,function(r){return o.item(r)},function(s){return p.item(s)},f,g,l,m))}if(this.v(b)){this.m(null);$.ig.TrendAverageCalculator.prototype.c(b,this.l(),c,d,e);var u=this.l().getEnumerator();while(u.moveNext()){var t=u.current();var v=f(t.__x);var w=g(t.__y);if(!isNaN(v)&&!isNaN(w)){n.add({__x:v,__y:w,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}if(n.count()>0){this.y(n,h,a,i)}}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},y:function(a,b,c,d){var $self=this;if(d!=null){d.h(c)}var i=function(){var $ret=new $.ig.PolarLinePlanner;$ret.q(function(e){return a.item(e).__x});$ret.r(function(f){return a.item(f).__y});$ret.y(d);$ret.v(a.count());$ret.u(b.m());$ret.s(function(g){return $self.ap()(a.item(g).__x,a.item(g).__y)});$ret.t(function(h){return $self.aq()(a.item(h).__x,a.item(h).__y)});$ret.o($self.al());$ret.p($self.am());$ret.w(b.k());$ret.x(b.l());return $ret}();i.bf()},$type:new $.ig.Type("PolarTrendLineManager",$.ig.TrendLineManagerBase$1.prototype.$type.specialize($.ig.Point.prototype.$type))},true);$.ig.util.defType("RadialTrendLineManager","TrendLineManagerBase$1",{init:function(){$.ig.TrendLineManagerBase$1.prototype.init.call(this,Number)},ao:function(a,b,c,d,e,f,g,h){var $self=this;var i=g.h()*g.j();var j=g.i()*g.j();var k=new $.ig.List$1($.ig.Point.prototype.$type,0);if(!g.l().isEmpty()&&!g.k().isEmpty()){if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear();return}if(this.u(b)){this.l().clear();this.m($.ig.TrendFitCalculator.prototype.a(k,b,g,this.m(),c.count(),function(l){return l+1},function(m){return c.item(m)},function(n){return e(n-1)},f,i+1,j+1))}if(this.v(b)){this.m(null);$.ig.TrendAverageCalculator.prototype.b(b,this.l(),c,d);for(var o=g.h();o<=g.i();o+=1){var p=o%c.count()*g.j();if(p>=0&&p<this.l().count()){var q=e(p);var r=f(this.l().__inner[p]);if(!isNaN(q)&&!isNaN(r)){k.add({__x:q+g.n(),__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}}if(k.count()>0){this.y(k,g,a,h)}}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},x:function(a,b,c){this.y(a,b,c,null)},y:function(a,b,c,d){var $self=this;if(d!=null){d.h(c)}var i=function(){var $ret=new $.ig.PolarLinePlanner;$ret.q(function(e){return a.item(e).__x});$ret.r(function(f){return a.item(f).__y});$ret.y(d);$ret.v(a.count());$ret.u(b.m());$ret.s(function(g){return $self.am()(a.item(g).__x,a.item(g).__y)});$ret.t(function(h){return $self.an()(a.item(h).__x,a.item(h).__y)});$ret.o(true);$ret.w(b.k());$ret.x(b.l());return $ret}();i.bf()},$type:new $.ig.Type("RadialTrendLineManager",$.ig.TrendLineManagerBase$1.prototype.$type.specialize(Number))},true);$.ig.util.defType("ScatterTrendLineManager","TrendLineManagerBase$1",{init:function(){$.ig.TrendLineManagerBase$1.prototype.init.call(this,$.ig.Point.prototype.$type)},af:function(a,b,c,d,e,f,g,h,i,j,k){var $self=this;var l=j;var m=k;var n=new $.ig.List$1($.ig.Point.prototype.$type,0);var o=0;if(c!=null){o=c.count()}if(d!=null){o=Math.min(o,d.count())}if(!h.l().isEmpty()&&!h.k().isEmpty()){if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear()}else if(this.u(b)){this.l().clear();this.m($.ig.TrendFitCalculator.prototype.a(n,b,h,this.m(),o,function(p){return c.item(p)},function(q){return d.item(q)},f,g,l,m))}else if(this.v(b)){this.m(null);this.l().clear();$.ig.TrendAverageCalculator.prototype.c(b,this.l(),c,d,e);var s=this.l().getEnumerator();while(s.moveNext()){var r=s.current();var t=f(r.__x);var u=g(r.__y);if(!isNaN(t)&&!isNaN(u)){n.add({__x:t,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}this.y(n,h,a,i)}},$type:new $.ig.Type("ScatterTrendLineManager",$.ig.TrendLineManagerBase$1.prototype.$type.specialize($.ig.Point.prototype.$type))},true);$.ig.util.defType("SortingTrendLineManager","CategoryTrendLineManagerBase",{init:function(a,b){$.ig.CategoryTrendLineManagerBase.prototype.init.call(this);this.aj(a);this.ak(b)},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},prepareLine:function(a,b,c,d,e,f,g){var $self=this;var h=g.h()*g.j();var i=g.i()*g.j();var j=new $.ig.List$1($.ig.Point.prototype.$type,0);if(b==$.ig.TrendLineType.prototype.none){this.m(null);this.l().clear();return}if(this.u(b)){this.l().clear();this.m($.ig.TrendFitCalculator.prototype.a(j,b,g,this.m(),c.count(),function(k){return k+1},function(l){return c.item(l)},function(m){var n=Math.floor(m);var o=Math.ceil(m);var p=m-n;var q;if(o<=i){q=$self.aj()(n)+p*($self.aj()(o)-$self.aj()(n))}else{q=$self.aj()(n)+p*($self.aj()(i)-$self.aj()(n))}return e(q)},f,h,i))}if(this.v(b)){this.m(null);$.ig.TrendAverageCalculator.prototype.b(b,this.l(),c,d);for(var r=g.h();r<=g.i();r+=1){var s=r*g.j();var t=this.aj()(s);if(s>=0&&s<this.l().count()){var u=e(t);var v=f(this.l().__inner[s]);j.add({__x:u+g.n(),__y:v,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}this.x(j,g,a)},$type:new $.ig.Type("SortingTrendLineManager",$.ig.CategoryTrendLineManagerBase.prototype.$type)},true);$.ig.util.defType("ErrorBarSettingsBase","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this);this.j(new $.ig.Style)},j:function(a){if(arguments.length===1){this.c($.ig.ErrorBarSettingsBase.prototype.f,a);return a}else{return this.b($.ig.ErrorBarSettingsBase.prototype.f)}},propertyChanged:null,propertyUpdated:null,o:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},$type:new $.ig.Type("ErrorBarSettingsBase",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("CategoryErrorBarSettings","ErrorBarSettingsBase",{init:function(){$.ig.ErrorBarSettingsBase.prototype.init.call(this);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,this.a4.runOn(this))},aj:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.w,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.w)}},ak:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.x,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.x)}},al:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.y,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.y)}},am:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.z,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.z)}},an:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.aa,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.aa)}},ao:function(a){if(arguments.length===1){this.c($.ig.CategoryErrorBarSettings.prototype.ab,a);return a}else{return this.b($.ig.CategoryErrorBarSettings.prototype.ab)}},ac:null,ap:function(a){if(arguments.length===1){this.ac=a;return a}else{return this.ac}},a4:function(a,b){switch(b.propertyName()){case $.ig.CategoryErrorBarSettings.prototype.s:var c=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,b.oldValue());if(c!=null){c.changed=$.ig.Delegate.prototype.remove(c.changed,this.a5.runOn(this))}if(this.ap()!=null){this.ap().renderSeries(false);if(this.ap().seriesViewer()!=null){this.ap().fs()}}var d=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,b.newValue());if(d!=null){d.changed=$.ig.Delegate.prototype.combine(d.changed,this.a5.runOn(this))}break;case $.ig.CategoryErrorBarSettings.prototype.q:case $.ig.CategoryErrorBarSettings.prototype.r:case $.ig.CategoryErrorBarSettings.prototype.v:case $.ig.CategoryErrorBarSettings.prototype.t:case $.ig.CategoryErrorBarSettings.prototype.u:if(this.ap()!=null){this.ap().renderSeries(false);if(this.ap().seriesViewer()!=null){this.ap().fs()}}break}},a5:function(a,b){var c=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,a);if(c!=null){c.changed=$.ig.Delegate.prototype.remove(c.changed,this.a5.runOn(this));if(this.ap()!=null){this.ap().renderSeries(false)}c.changed=$.ig.Delegate.prototype.combine(c.changed,this.a5.runOn(this))}},$type:new $.ig.Type("CategoryErrorBarSettings",$.ig.ErrorBarSettingsBase.prototype.$type)},true);$.ig.util.defType("ErrorBarsHelper","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},i:function(a){var b=a.getCalculatorType();if(b==$.ig.ErrorBarCalculatorType.prototype.percentage||b==$.ig.ErrorBarCalculatorType.prototype.data){return false}else{return true}},j:function(a,b){if(a.hasConstantPosition()){b=a.getPosition()}return{position:b}},k:function(a,b,c){var $self=this;var d;var e;(function(){var $ret=$self.d().getViewInfo(e,d);e=$ret.viewportRect;d=$ret.windowRect;return $ret.ret})();var f=new $.ig.ScalerParams(d,e,b.isInverted());var g=b.getScaledValue(b.referenceValue(),f);var h=a.getIndependentValue();c=Math.abs(Math.round(g-b.getScaledValue(h,f)));return{errorBarSize:c}},l:function(a,b,c,d){var $self=this;var e;var f;(function(){var $ret=$self.d().getViewInfo(f,e);f=$ret.viewportRect;e=$ret.windowRect;return $ret.ret})();var g=new $.ig.ScalerParams(e,f,c.isInverted());var h=c.getUnscaledValue(a,g);var i=b.getDependentValue(h);var j=c.getScaledValue(c.referenceValue(),g);d=Math.abs(Math.round(j-c.getScaledValue(i,g)));return{errorBarSize:d}},m:function(a,b,c,d,e){var $self=this;var f;var g;(function(){var $ret=$self.d().getViewInfo(g,f);g=$ret.viewportRect;f=$ret.windowRect;return $ret.ret})();var h=new $.ig.ScalerParams(f,g,c.isInverted());var i=new $.ig.ScalerParams(f,g,d.isInverted());var j=c.getUnscaledValue(a,h);var k=b.getDependentValue(j);var l=d.getScaledValue(d.referenceValue(),i);e=Math.abs(Math.round(l-d.getScaledValue(k,i)));return{errorBarSize:e}},n:function(a,b,c){var $self=this;var d;var e;(function(){var $ret=$self.d().getViewInfo(e,d);e=$ret.viewportRect;d=$ret.windowRect;return $ret.ret})();var f=new $.ig.ScalerParams(d,e,b.isInverted());var g=b.getScaledValue(b.referenceValue(),f);c=Math.abs(Math.round(g-b.getScaledValue(a,f)));return{errorBarSize:c}},o:function(a,b,c,d){},p:function(a,b,c,d){},q:function(a,b,c,d){var $self=this;var e=new $.ig.Point(0);if(a.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.standardDeviation){var f;var g;(function(){var $ret=$self.d().getViewInfo(g,f);g=$ret.viewportRect;f=$ret.windowRect;return $ret.ret})();var h=new $.ig.ScalerParams(f,g,b.isInverted());e.__x=Math.round(b.getScaledValue(d,h));e.__y=Math.round(c.__y)}else{e.__x=Math.round(c.__x);e.__y=Math.round(c.__y)}return e},r:function(a,b,c,d){var $self=this;var e=new $.ig.Point(0);if(a.getCalculatorType()==$.ig.ErrorBarCalculatorType.prototype.standardDeviation){var f;var g;(function(){var $ret=$self.d().getViewInfo(g,f);g=$ret.viewportRect;f=$ret.windowRect;return $ret.ret})();var h=new $.ig.ScalerParams(f,g,b.isInverted());e.__x=Math.round(c.__x);e.__y=Math.round(b.getScaledValue(d,h))}else{e.__x=Math.round(c.__x);e.__y=Math.round(c.__y)}return e},$type:new $.ig.Type("ErrorBarsHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterErrorBarSettings","ErrorBarSettingsBase",{init:function(){$.ig.ErrorBarSettingsBase.prototype.init.call(this);this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,this.cg.runOn(this))},a7:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ae,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ae)}},a8:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.af,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.af)}},a9:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ag,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ag)}},ba:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ah,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ah)}},bb:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ai,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ai)}},bc:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.aj,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.aj)}},bd:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ak,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ak)}},be:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.al,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.al)}},bf:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.am,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.am)}},bg:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.an,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.an)}},bh:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ao,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ao)}},bi:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ap,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ap)}},bj:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.aq,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.aq)}},bk:function(a){if(arguments.length===1){this.c($.ig.ScatterErrorBarSettings.prototype.ar,a);return a}else{return this.b($.ig.ScatterErrorBarSettings.prototype.ar)}},as:null,bl:function(a){if(arguments.length===1){this.as=a;return a}else{return this.as}},cg:function(a,b){var $self=this;switch(b.propertyName()){case $.ig.ScatterErrorBarSettings.prototype.s:case $.ig.ScatterErrorBarSettings.prototype.z:var c=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,b.oldValue());if(c!=null){c.changed=$.ig.Delegate.prototype.remove(c.changed,this.ch.runOn(this))}if(this.bl()!=null){this.bl().renderSeries(false);if(this.bl().seriesViewer()!=null){this.bl().fs()}}var d=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,b.newValue());if(d!=null){d.changed=$.ig.Delegate.prototype.combine(d.changed,this.ch.runOn(this))}break;case $.ig.ScatterErrorBarSettings.prototype.q:case $.ig.ScatterErrorBarSettings.prototype.x:case $.ig.ScatterErrorBarSettings.prototype.r:case $.ig.ScatterErrorBarSettings.prototype.t:case $.ig.ScatterErrorBarSettings.prototype.w:case $.ig.ScatterErrorBarSettings.prototype.u:case $.ig.ScatterErrorBarSettings.prototype.v:case $.ig.ScatterErrorBarSettings.prototype.y:case $.ig.ScatterErrorBarSettings.prototype.aa:case $.ig.ScatterErrorBarSettings.prototype.ad:case $.ig.ScatterErrorBarSettings.prototype.ab:case $.ig.ScatterErrorBarSettings.prototype.ac:if(this.bl()!=null){this.bl().renderSeries(false);if(this.bl().seriesViewer()!=null){this.bl().fs()}}break}},ch:function(a,b){var c=$.ig.util.cast($.ig.IErrorBarCalculator.prototype.$type,a);if(c!=null){c.changed=$.ig.Delegate.prototype.remove(c.changed,this.ch.runOn(this));if(this.bl()!=null){this.bl().renderSeries(false)}c.changed=$.ig.Delegate.prototype.combine(c.changed,this.ch.runOn(this))}},$type:new $.ig.Type("ScatterErrorBarSettings",$.ig.ErrorBarSettingsBase.prototype.$type)},true);$.ig.util.defType("AxisRangeChangedEventArgs","EventArgs",{init:function(a,b,c,d){$.ig.EventArgs.prototype.init.call(this);this.oldMinimumValue(a);this.minimumValue(b);this.oldMaximumValue(c);this.maximumValue(d)},_oldMinimumValue:null,oldMinimumValue:function(a){if(arguments.length===1){this._oldMinimumValue=a;return a}else{return this._oldMinimumValue}},_minimumValue:null,minimumValue:function(a){if(arguments.length===1){this._minimumValue=a;return a}else{return this._minimumValue}},_oldMaximumValue:null,oldMaximumValue:function(a){if(arguments.length===1){this._oldMaximumValue=a;return a}else{return this._oldMaximumValue}},_maximumValue:null,maximumValue:function(a){if(arguments.length===1){this._maximumValue=a;return a}else{return this._maximumValue}},$type:new $.ig.Type("AxisRangeChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("DataChartMouseButtonEventArgs","EventArgs",{init:function(a,b,c,d){$.ig.EventArgs.prototype.init.call(this);this.chart(a);this.series(b);this.item(c);this.originalEvent(d)},toString:function(){return this.chart().name()+", "+this.series().name()+", "+(this.item()!=null?this.item().toString():"")+", "+this.getPosition(null).toString()},_originalEvent:null,originalEvent:function(a){if(arguments.length===1){this._originalEvent=a;return a}else{return this._originalEvent}},handled:function(a){if(arguments.length===1){this.originalEvent().handled(a);return a}else{return this.originalEvent().handled()}},getPosition:function(a){return this.originalEvent().getPosition(a)},originalSource:function(){return this.originalEvent().originalSource()},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_chart:null,chart:function(a){if(arguments.length===1){this._chart=a;return a}else{return this._chart}},$type:new $.ig.Type("DataChartMouseButtonEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("DataChartLegendMouseButtonEventArgs","DataChartMouseButtonEventArgs",{init:function(a,b,c,d,e){$.ig.DataChartMouseButtonEventArgs.prototype.init.call(this,a,b,c,d);this.legendItem(e)},_legendItem:null,legendItem:function(a){if(arguments.length===1){this._legendItem=a;return a}else{return this._legendItem}},$type:new $.ig.Type("DataChartLegendMouseButtonEventArgs",$.ig.DataChartMouseButtonEventArgs.prototype.$type)},true);$.ig.util.defType("ChartMouseEventArgs","EventArgs",{init:function(a,b,c,d){$.ig.EventArgs.prototype.init.call(this);this.chart(a);this.series(b);this.item(c);this.originalEvent(d)},toString:function(){return this.chart().name()+", "+this.series().name()+", "+(this.item()!=null?this.item().toString():"")+", "+this.getPosition(null).toString()},_originalEvent:null,originalEvent:function(a){if(arguments.length===1){this._originalEvent=a;return a}else{return this._originalEvent}},getPosition:function(a){return this.originalEvent().getPosition(a)},originalSource:function(){return this.originalEvent().originalSource()},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_chart:null,chart:function(a){if(arguments.length===1){this._chart=a;return a}else{return this._chart}},$type:new $.ig.Type("ChartMouseEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("ChartLegendMouseEventArgs","ChartMouseEventArgs",{init:function(a,b,c,d,e){$.ig.ChartMouseEventArgs.prototype.init.call(this,a,b,c,d);this.legendItem(e)},_legendItem:null,legendItem:function(a){if(arguments.length===1){this._legendItem=a;return a}else{return this._legendItem}},$type:new $.ig.Type("ChartLegendMouseEventArgs",$.ig.ChartMouseEventArgs.prototype.$type)},true);$.ig.util.defType("ChartCursorEventArgs","EventArgs",{init:function(a,b,c){$.ig.EventArgs.prototype.init.call(this);this.seriesViewer(a);this.series(b);this.item(c)},toString:function(){return this.seriesViewer().name()+", "+this.series().name()+", "+(this.item()!=null?this.item().toString():"")},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_seriesViewer:null,seriesViewer:function(a){if(arguments.length===1){this._seriesViewer=a;return a}else{return this._seriesViewer}},chart:function(){return $.ig.util.cast($.ig.XamDataChart.prototype.$type,this.seriesViewer())},$type:new $.ig.Type("ChartCursorEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("FinancialEventArgs","EventArgs",{init:function(a,b,c,d){$.ig.EventArgs.prototype.init.call(this);this.position(a);this.count(b);this.dataSource(c);this.supportingCalculations(d)},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_count:null,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_dataSource:null,dataSource:function(a){if(arguments.length===1){this._dataSource=a;return a}else{return this._dataSource}},_supportingCalculations:null,supportingCalculations:function(a){if(arguments.length===1){this._supportingCalculations=a;return a}else{return this._supportingCalculations}},_basedOn:null,basedOn:function(a){if(arguments.length===1){this._basedOn=a;return a}else{return this._basedOn}},$type:new $.ig.Type("FinancialEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("PropertyUpdatedEventArgs","EventArgs",{init:function(a,b,c){$.ig.EventArgs.prototype.init.call(this);this.propertyName(a);this.oldValue(b);this.newValue(c)},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},_oldValue:null,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:null,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("PropertyUpdatedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("SliceClickEventArgs","EventArgs",{init:function(a){$.ig.EventArgs.prototype.init.call(this);this.slice(a);if(a==null){return}this.isSelected(a.isSelected());this.isExploded(a.isExploded())},_slice:null,slice:function(a){if(arguments.length===1){this._slice=a;return a}else{return this._slice}},isSelected:function(a){if(arguments.length===1){this.a=a;this.slice().isSelected(a);return a}else{return this.a}},a:null,isExploded:function(a){if(arguments.length===1){this.b=a;this.slice().isExploded(a);return a}else{return this.b}},b:null,isOthersSlice:function(){return this.slice().c2()},dataContext:function(){if(this.slice()!=null){return this.slice().dataContext()}return null},$type:new $.ig.Type("SliceClickEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("FinancialPriceSeries","FinancialSeries",{et:function(){return new $.ig.FinancialPriceSeriesView(this)},eq:function(a){$.ig.FinancialSeries.prototype.eq.call(this,a);this.ls(a)},_ls:null,ls:function(a){if(arguments.length===1){this._ls=a;return a}else{return this._ls}},init:function(){$.ig.FinancialSeries.prototype.init.call(this);this.a3($.ig.FinancialPriceSeries.prototype.$type);
this.i4=new $.ig.CategoryFrame(5);this.i5=new $.ig.CategoryFrame(5);this.i6=new $.ig.CategoryFrame(5)},trendLineType:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineDashArrayProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLinePeriodProperty)}},trendLineZIndex:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.trendLineZIndexProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.trendLineZIndexProperty)}},fz:function(a,b,c,d){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis()).notifyDataChanged()}this.ls().cr().q(this.resolution());this.ls().c2().ad(a,b,c,d);if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(true)},displayType:function(a){if(arguments.length===1){this.c($.ig.FinancialPriceSeries.prototype.displayTypeProperty,a);return a}else{return this.b($.ig.FinancialPriceSeries.prototype.displayTypeProperty)}},ft:function(a,b,c,d){switch(b){case $.ig.FinancialPriceSeries.prototype.ij:this.ls().dc();break}$.ig.FinancialSeries.prototype.ft.call(this,a,b,c,d);if(this.ls().c2()!=null&&this.ls().c2().ae(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.fs()}switch(b){case $.ig.FinancialPriceSeries.prototype.lg:if(this.rootCanvas()!=null){this.lw();this.kj(this.i6,this.ls())}this.fs();break;case $.ig.FinancialPriceSeries.prototype.cf:this.f6();break;case $.ig.FinancialPriceSeries.prototype.cd:this.fs();break}},lw:function(){this.ls().c7();if(this.d7()!=null){this.d7().c7()}},e9:function(a){if(a!=null&&a==this.yAxis()&&this.jv()!=null&&!isNaN(this.jv().minimum())&&this.ju()!=null&&!isNaN(this.ju().maximum())){return new $.ig.AxisRange(this.jv().minimum(),this.ju().maximum())}return null},scrollIntoView:function(a){var b=this.eb()!=null?this.eb().item1(a):-1;var c=this.view().ae();var d=this.view().ad();var e=new $.ig.Rect(0,0,0,1,1);if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var f=new $.ig.ScalerParams(e,e,this.xAxis().isInverted());var g=this.xAxis().getScaledValue(b,f);if(g<c.left()+.1*c.width()){g=g+.4*c.width()}if(g>c.right()-.1*c.width()){g=g-.4*c.width()}c.x(g-.5*c.width())}if(this.yAxis()!=null&&this.jv()!=null&&this.ju()!=null&&b<this.jv().count()&&b<this.ju().count()){var h=new $.ig.ScalerParams(e,e,this.yAxis().isInverted());var i=this.yAxis().getScaledValue(this.jv().item(b),h);var j=this.yAxis().getScaledValue(this.ju().item(b),h);if(!isNaN(i)&&!isNaN(j)){var k=Math.abs(i-j);if(c.height()<k){c.height(k);c.y(Math.min(i,j))}else{if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}}}this.syncLink().bn(this.seriesViewer(),c)}return b>=0},ff:function(a,b,c){var d=$.ig.FinancialSeries.prototype.ff.call(this,a,b,c);if(this.jt()==null||this.jw()==null||this.ju()==null||this.jv()==null){d=false}return d},lx:function(a){return a},ki:function(a,b){var $self=this;var c=b.ae();var d=b.ad();var e=this.xAxis();var f=this.yAxis();var g=new $.ig.ScalerParams(c,d,e.isInverted());var h=new $.ig.ScalerParams(c,d,f.isInverted());a.f.clear();a.h.clear();a.i.clear();var i=0;var j=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());if(j!=null&&j.sortedIndices().count()!=this.eb().g()){return}i=this.getOffset(c,d);var k=$.ig.util.cast($.ig.FinancialPriceSeriesView.prototype.$type,b);if(this.trendLineType()!=$.ig.TrendLineType.prototype.none){var l=new Array(this.eb().g());var m=0;var o=this.jz().getEnumerator();while(o.moveNext()){var n=o.current();l[m]=n;m++}this.ls().c2().prepareLine(a.i,this.trendLineType(),l,this.trendLinePeriod(),function(p){return $self.xAxis().getScaledValue(p,g)},function(q){return $self.yAxis().getScaledValue(q,h)},function(){var $ret=new $.ig.TrendResolutionParams;$ret.j(b.cr().h());$ret.h(b.cr().f());$ret.i(b.cr().g());$ret.n(i);$ret.m($self.resolution());$ret.k(d);return $ret}())}var r=this.lx(this.xAxis().getUnscaledValue(2,g)-this.xAxis().getUnscaledValue(1,g));for(var s=b.cr().f();s<=b.cr().g();++s){var t;if(j==null){t=b.cr().getBucket(s)}else{var u=j.sortedIndices().__inner[s];var v=j.getUnscaledValueAt(u);var w=this.lx(this.jt().item(u));var x=this.lx(this.ju().item(u));var y=this.lx(this.jv().item(u));var z=this.lx(this.jw().item(u));var aa=w;var ab=x;var ac=y;var ad=z;var ae=v;while(s<b.cr().g()){u=j.sortedIndices().__inner[s+1];ae=j.getUnscaledValueAt(u);if(ae-v>r){break}s++;ab=Math.max(x,this.lx(this.ju().item(u)));ac=Math.min(y,this.lx(this.jv().item(u)));ad=this.lx(this.jw().item(u))}var af=NaN;if(!isNaN(v)){af=this.xAxis().getScaledValue(v,g)}t=function(){var $ret=new Array;$ret.add($self.lx(af));$ret.add(aa);$ret.add(ab);$ret.add(ac);$ret.add(ad);return $ret}()}if(!isNaN(t[0])){if(this.xAxis()!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){t[0]=t[0]+i}else{t[0]=e.getScaledValue(t[0],g)+i}t[1]=f.getScaledValue(t[1],h);t[2]=f.getScaledValue(t[2],h);t[3]=f.getScaledValue(t[3],h);t[4]=f.getScaledValue(t[4],h);a.f.add(t)}}return},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=$.ig.util.cast($.ig.FinancialPriceSeriesView.prototype.$type,b);c.c8();if(c.c2()!=null){c.c2().ab()}},kj:function(a,b){var $self=this;if(this.xAxis()==null||this.yAxis()==null){return}var c=$.ig.util.cast($.ig.FinancialPriceSeriesView.prototype.$type,b);c.c8();if(c.c2()!=null){c.c2().ab()}var d=this.displayType();var e=this.xAxis().he(b.ae(),b.ad())/2;e=Math.max(e,$.ig.FinancialPriceSeries.prototype.lh);var f=$.ig.util.cast($.ig.FinancialPriceSeriesView.prototype.$type,b);var g=f.c9();var h=f.da();if(this.trendLineType()!=$.ig.TrendLineType.prototype.none){c.c2().t(a.i)}var i=a.f;for(var j=0;j<i.count();++j){var k=i.__inner[j][0]-e;var l=i.__inner[j][0];var m=i.__inner[j][0]+e;var n=i.__inner[j][1];var o=i.__inner[j][2];var p=i.__inner[j][3];var q=i.__inner[j][4];if(isNaN(n)||isNaN(o)||isNaN(p)||isNaN(q)){continue}var r=n<q;var s=r?h:g;switch(d){case $.ig.PriceDisplayType.prototype.candlestick:if(r){var t=n;n=q;q=t}s.e().add(function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:l,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:l,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());s.e().add(function(){var $ret=new $.ig.RectangleGeometry;$ret.f(new $.ig.Rect(0,k,q,m-k,n-q));return $ret}());s.e().add(function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:l,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:l,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());break;case $.ig.PriceDisplayType.prototype.oHLC:s.e().add(function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:k,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:l,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());s.e().add(function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:l,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:l,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());s.e().add(function(){var $ret=new $.ig.LineGeometry;$ret.e({__x:l,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f({__x:m,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());break}}},e8:function(a,b){if(a==this.ls().c2().n()){return null}return $.ig.Series.prototype.e8.call(this,a,b)},f6:function(){$.ig.Series.prototype.f6.call(this);if(this.index()<0){return}this.ls().db()},ho:function(a){$.ig.Series.prototype.ho.call(this,a);var b=new $.ig.PolyLineVisualData(1,"trendLine",this.ls().c2().n());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("FinancialPriceSeries",$.ig.FinancialSeries.prototype.$type)},true);$.ig.util.defType("FinancialPriceBucketCalculator","FinancialBucketCalculator",{init:function(a){$.ig.FinancialBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){var $self=this;var b=a*this.h();var c=Math.min(b+this.h()-1,this.e().cq().eb().g()-1);if(b<=c&&b>=0&&c>=0){var d=this.e().cq().jt().item(b);var e=Number.NEGATIVE_INFINITY;var f=Number.POSITIVE_INFINITY;var g=this.e().cq().jw().item(c);for(var h=b;h<=c;++h){e=Math.max(e,this.e().cq().ju().item(h));f=Math.min(f,this.e().cq().jv().item(h))}f=Math.min(d,f);e=Math.max(g,e);return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);$ret.add(f);$ret.add(g);return $ret}()}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("FinancialPriceBucketCalculator",$.ig.FinancialBucketCalculator.prototype.$type)},true);$.ig.util.defType("FinancialPriceSeriesView","FinancialSeriesView",{_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},init:function(a){this.cx=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();this.cy=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.GeometryGroup);return $ret}();$.ig.FinancialSeriesView.prototype.init.call(this,a);this.c1(a);this.c2(new $.ig.CategoryTrendLineManager)},cw:function(){return new $.ig.FinancialPriceBucketCalculator(this)},ak:function(){var $self=this;$.ig.FinancialSeriesView.prototype.ak.call(this);if(!this.af()){this.cq().negativeBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#415460";return $ret}());this.cq().resolution(2);this.cq().thickness(1);this.cq().outline(function(){var $ret=new $.ig.Brush;$ret.__fill="#222222";return $ret}())}},cx:null,cy:null,_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},c7:function(){if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cx.__stroke=this.w().actualBrush()}else{this.cx.__stroke=this.w().actualOutline()}if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cy.__stroke=this.cq().negativeBrush()}else{this.cy.__stroke=this.w().actualOutline()}},c8:function(){var a=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.cx.bn());var b=$.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.cy.bn());a.reset1();b.reset1();this.ar()},c9:function(){this.ar();return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.cx.bn())},da:function(){this.ar();return $.ig.util.cast($.ig.GeometryGroup.prototype.$type,this.cy.bn())},db:function(){this.c1().actualTrendLineBrush(null);if(this.c1().trendLineBrush()!=null){this.c1().actualTrendLineBrush(this.c1().trendLineBrush())}else{this.c1().actualTrendLineBrush(this.c1().actualBrush())}},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.cx.a5(this.w().thickness());this.cx.a6(this.w().dashArray());this.cx.a7(this.w().dashCap());if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cx.__stroke=this.w().actualBrush()}else{this.cx.__stroke=this.w().actualOutline();this.cx.__fill=this.w().actualBrush()}this.cy.a5(this.w().thickness());this.cy.a6(this.w().dashArray());this.cy.a7(this.w().dashCap());if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cy.__stroke=this.cq().negativeBrush()}else{this.cy.__stroke=this.w().actualOutline();this.cy.__fill=this.cq().negativeBrush()}},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.cx.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cx.__stroke=a}else{this.cx.__stroke=a;this.cx.__fill=a}this.cy.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);if(this.c1().displayType()==$.ig.PriceDisplayType.prototype.oHLC){this.cy.__stroke=a}else{this.cy.__stroke=a;this.cy.__fill=a}},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.c1().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.cx);a.g(this.cy)}},a5:function(a,b){if(a.b()){if(this.c1().trendLineType()!=$.ig.TrendLineType.prototype.none&&!b){var c=this.c2().n();c.a5(this.c1().trendLineThickness());c.__stroke=this.c1().actualTrendLineBrush();c.a6(this.c1().trendLineDashArray());c.a7(this.c1().trendLineDashCap());if(this.l&&!b){a.e($.ig.GradientDirection.prototype.bottomTop,null)}a.l(c)}}$.ig.SeriesView.prototype.a5.call(this,a,b)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"positivePathShape",this.cx);b.tags().add("Positive");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"negativePathShape",this.cy);c.tags().add("Negative");a.shapes().add(b);a.shapes().add(c)},dc:function(){this.c2($.ig.CategoryTrendLineManagerBase.prototype.af(this.c2(),this.cq().xAxis(),this.w().rootCanvas(),this.cq()))},$type:new $.ig.Type("FinancialPriceSeriesView",$.ig.FinancialSeriesView.prototype.$type)},true);$.ig.util.defType("FinancialValueList","Object",{a:null,b:null,c:null,d:null,e:null,init:function(a,b,c,d,e){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b;this.c=d;this.d=c;this.e=e},indexOf:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{var c=NaN;var d=NaN;var e=NaN;var f=NaN;var g=NaN;if(this.a!=null&&b>=0&&b<this.a.count()){c=this.a.item(b)}if(this.b!=null&&b>=0&&b<this.b.count()){d=this.b.item(b)}if(this.d!=null&&b>=0&&b<this.d.count()){e=this.d.item(b)}if(this.c!=null&&b>=0&&b<this.c.count()){f=this.c.item(b)}if(this.e!=null&&b>=0&&b<this.e.count()){g=this.e.item(b)}var h=isNaN(c);var i=isNaN(d);var j=isNaN(e);var k=isNaN(f);var l=isNaN(g);if(!i&&!j&&!k){return(d+e+f)/3}if(!i&&!j){return(d+e)/2}if(!h&&!k){return(c+f)/2}if(!h){return c}if(!i){return d}if(!j){return e}if(!k){return f}return NaN}},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},contains:function(a){throw new $.ig.NotImplementedException},f:function(a,b){throw new $.ig.NotImplementedException},count:function(){var b=0;var c=0;var d=0;var e=0;var f=0;if(this.a!=null){b=this.a.count()}if(this.b!=null){c=this.b.count()}if(this.d!=null){d=this.d.count()}if(this.c!=null){e=this.c.count()}if(this.e!=null){f=this.e.count()}var g=0;g=Math.max(g,b);g=Math.max(g,c);g=Math.max(g,d);g=Math.max(g,e);g=Math.max(g,f);return g},isReadOnly:function(){return true},remove:function(a){throw new $.ig.NotImplementedException},getEnumerator:function(){throw new $.ig.NotImplementedException},$type:new $.ig.Type("FinancialValueList",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("FinancialCalculationDataSource","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_openColumn:null,openColumn:function(a){if(arguments.length===1){this._openColumn=a;return a}else{return this._openColumn}},_closeColumn:null,closeColumn:function(a){if(arguments.length===1){this._closeColumn=a;return a}else{return this._closeColumn}},_highColumn:null,highColumn:function(a){if(arguments.length===1){this._highColumn=a;return a}else{return this._highColumn}},_lowColumn:null,lowColumn:function(a){if(arguments.length===1){this._lowColumn=a;return a}else{return this._lowColumn}},_volumeColumn:null,volumeColumn:function(a){if(arguments.length===1){this._volumeColumn=a;return a}else{return this._volumeColumn}},_indicatorColumn:null,indicatorColumn:function(a){if(arguments.length===1){this._indicatorColumn=a;return a}else{return this._indicatorColumn}},_typicalColumn:null,typicalColumn:function(a){if(arguments.length===1){this._typicalColumn=a;return a}else{return this._typicalColumn}},_trueRange:null,trueRange:function(a){if(arguments.length===1){this._trueRange=a;return a}else{return this._trueRange}},_trueLow:null,trueLow:function(a){if(arguments.length===1){this._trueLow=a;return a}else{return this._trueLow}},_period:null,period:function(a){if(arguments.length===1){this._period=a;return a}else{return this._period}},_shortPeriod:null,shortPeriod:function(a){if(arguments.length===1){this._shortPeriod=a;return a}else{return this._shortPeriod}},_longPeriod:null,longPeriod:function(a){if(arguments.length===1){this._longPeriod=a;return a}else{return this._longPeriod}},_count:null,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_calculateFrom:null,calculateFrom:function(a){if(arguments.length===1){this._calculateFrom=a;return a}else{return this._calculateFrom}},_calculateCount:null,calculateCount:function(a){if(arguments.length===1){this._calculateCount=a;return a}else{return this._calculateCount}},_multiplier:null,multiplier:function(a){if(arguments.length===1){this._multiplier=a;return a}else{return this._multiplier}},_minimumValue:null,minimumValue:function(a){if(arguments.length===1){this._minimumValue=a;return a}else{return this._minimumValue}},_maximumValue:null,maximumValue:function(a){if(arguments.length===1){this._maximumValue=a;return a}else{return this._maximumValue}},_specifiesRange:null,specifiesRange:function(a){if(arguments.length===1){this._specifiesRange=a;return a}else{return this._specifiesRange}},$type:new $.ig.Type("FinancialCalculationDataSource",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FinancialCalculationSupportingCalculations","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},$type:new $.ig.Type("FinancialCalculationSupportingCalculations",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SupportingCalculation$1","Object",{$tCalculationStrategy:null,init:function($tCalculationStrategy,initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.$tCalculationStrategy=$tCalculationStrategy;this.$type=this.$type.specialize(this.$tCalculationStrategy);$.ig.Object.prototype.init.call(this);this.a=a;this.b=new $.ig.List$1(String,0)},init1:function($tCalculationStrategy,initNumber,a,b){this.$tCalculationStrategy=$tCalculationStrategy;this.$type=this.$type.specialize(this.$tCalculationStrategy);$.ig.Object.prototype.init.call(this);this.a=a;this.b=new $.ig.List$1(String,1,b)},a:null,b:null,c:function(){return this.a},d:function(){return this.b},$type:new $.ig.Type("SupportingCalculation$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ColumnSupportingCalculation","SupportingCalculation$1",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SupportingCalculation$1.prototype.init.call(this,$.ig.SupportingCalculationStrategy.prototype.$type,a)},init1:function(initNumber,a,b){$.ig.SupportingCalculation$1.prototype.init1.call(this,$.ig.SupportingCalculationStrategy.prototype.$type,1,a,b)},$type:new $.ig.Type("ColumnSupportingCalculation",$.ig.SupportingCalculation$1.prototype.$type.specialize($.ig.SupportingCalculationStrategy.prototype.$type))},true);$.ig.util.defType("DataSourceSupportingCalculation","SupportingCalculation$1",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.SupportingCalculation$1.prototype.init.call(this,$.ig.ProvideColumnValuesStrategy.prototype.$type,a)},init1:function(initNumber,a,b){$.ig.SupportingCalculation$1.prototype.init1.call(this,$.ig.ProvideColumnValuesStrategy.prototype.$type,1,a,b)},$type:new $.ig.Type("DataSourceSupportingCalculation",$.ig.SupportingCalculation$1.prototype.$type.specialize($.ig.ProvideColumnValuesStrategy.prototype.$type))},true);$.ig.util.defType("CalculatedColumn","Object",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.__valuesProvider=a;this.a=new $.ig.List$1(String,1,b)},init1:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.__valuesProvider=a;this.a=new $.ig.List$1(String,1,b)},__valuesProvider:null,a:null,basedOn:function(){return this.a},getEnumerator:function(){return this.__valuesProvider.getEnumerator()},$type:new $.ig.Type("CalculatedColumn",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("ItemLegend","LegendBase",{bz:function(){return new $.ig.ItemLegendView(this)},b0:function(a){$.ig.LegendBase.prototype.b0.call(this,a);this.cj(a)},_cj:null,cj:function(a){if(arguments.length===1){this._cj=a;return a}else{return this._cj}},init:function(){var $self=this;$.ig.LegendBase.prototype.init.call(this);this.a3($.ig.ItemLegend.prototype.$type);this.children().collectionChanged=$.ig.Delegate.prototype.combine(this.children().collectionChanged,function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();$self.cj().aa(c)}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();$self.cj().ab(e)}}})},b3:function(a,b){if(!this.bv().w()){return}this.co(b)},b4:function(a,b){this.cp(b);if(b==null||a==null||a.count()==0){return}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.ContentControl.prototype.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($.ig.DataContext.prototype.$type,e.content());if(f!=null&&!this.cr(f)){this.children().add(c);var g=new $.ig.LegendItemInfo;g.h(f);g.f(c);g.g(b);g.e(f.itemLabel())}}}},cn:function(a,b){var c=this.cq(b);if(b==null||a==null||a.count()==0){return}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($.ig.ContentControl.prototype.$type,d);if(f!=null&&f.content()!=null){var g=$.ig.util.cast($.ig.DataContext.prototype.$type,f.content());if(g!=null&&!this.cr(g)){this.children().insert(c,d);c++;var h=new $.ig.LegendItemInfo;h.h(g);h.f(d);h.g(b);h.e(g.itemLabel())}}}},co:function(a){this.cp(a);var b=$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a);if(b!=null&&b.mc()!=null&&b.ma()!=null&&b.ma().count()>0){var d=b.ma().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.ContentControl.prototype.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($.ig.DataContext.prototype.$type,e.content());if(f!=null&&!this.cr(f)){this.children().add(c);var g=new $.ig.LegendItemInfo;g.h(f);g.f(c);g.g(a);g.e(f.itemLabel())}}}}},cp:function(a){if(a==null||this.children()==null||this.children().count()==0){return}var b=new $.ig.ObservableCollection$1($.ig.UIElement.prototype.$type,0);var d=this.children().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.ContentControl.prototype.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($.ig.DataContext.prototype.$type,e.content());if(f!=null&&f.series()==a){b.add(c)}}}var h=b.getEnumerator();while(h.moveNext()){var g=h.current();this.children().remove(g)}},cq:function(a){if(a==null||this.children()==null||this.children().count()==0){return 0}var b=new $.ig.ObservableCollection$1($.ig.UIElement.prototype.$type,0);var c=-1;var d=0;var f=this.children().getEnumerator();while(f.moveNext()){var e=f.current();var g=$.ig.util.cast($.ig.ContentControl.prototype.$type,e);if(g!=null&&g.content()!=null){var h=$.ig.util.cast($.ig.DataContext.prototype.$type,g.content());if(h!=null&&h.series()==a){if(c==-1){c=d}b.add(e)}}d++}var j=b.getEnumerator();while(j.moveNext()){var i=j.current();this.children().remove(i)}if(c==-1){return this.children().count()}return c},cr:function(a){return this.cj().at(a)},_ck:null,ck:function(a){if(arguments.length===1){this._ck=a;return a}else{return this._ck}},$type:new $.ig.Type("ItemLegend",$.ig.LegendBase.prototype.$type)},true);$.ig.util.defType("ItemLegendView","LegendBaseView",{init:function(a){$.ig.LegendBaseView.prototype.init.call(this,a);this.aq(a)},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},r:function(){$.ig.LegendBaseView.prototype.r.call(this)},at:function(a){return this.h().x(a)},$type:new $.ig.Type("ItemLegendView",$.ig.LegendBaseView.prototype.$type)},true);$.ig.util.defType("Legend","LegendBase",{bz:function(){return new $.ig.LegendView(this)},b0:function(a){$.ig.LegendBase.prototype.b0.call(this,a);this.cj(a)},_cj:null,cj:function(a){if(arguments.length===1){this._cj=a;return a}else{return this._cj}},init:function(){var $self=this;$.ig.LegendBase.prototype.init.call(this);this.a3($.ig.Legend.prototype.$type);this.children().collectionChanged=$.ig.Delegate.prototype.combine(this.children().collectionChanged,function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();$self.cj().aa(c)}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();$self.cj().ab(e)}}})},b3:function(a,b){var $self=this;if($.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,b)!==null){return}if(!b.isUsableInLegend()){return}var c=0;var e=this.children().getEnumerator();while(e.moveNext()){var d=e.current();var f;var g;var h;(function(){var $ret=$self.bv().u(d,f,g,h);f=$ret.chart;g=$ret.series;h=$ret.item;return $ret.ret})();if(b.seriesViewer()!=null&&f!=null&&(this.cm(b.seriesViewer())<this.cm(f)||this.cm(b.seriesViewer())==-1&&this.cm(f)==-1&&b.seriesViewer().getHashCode()<f.getHashCode())){break}if(b.seriesViewer()!=null&&f!=null&&b.seriesViewer()==f&&g!=null){var i=b.index();var j=g.index();var k=this.cm(b);var l=this.cm(g);if($.ig.util.cast($.ig.FragmentBase.prototype.$type,b)!==null||$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,b)!==null){var m=$.ig.util.cast($.ig.FragmentBase.prototype.$type,b)!==null?$.ig.util.cast($.ig.FragmentBase.prototype.$type,b).parentSeries():$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,b).parentSeries();if(m.reverseLegendOrder()){i=m.index()+m.k1().count()-m.kz().i().indexOf($.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,b))}}if($.ig.util.cast($.ig.FragmentBase.prototype.$type,g)!==null||$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,g)!==null){var n=$.ig.util.cast($.ig.FragmentBase.prototype.$type,g)!==null?$.ig.util.cast($.ig.FragmentBase.prototype.$type,g).parentSeries():$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,g).parentSeries();if(n.reverseLegendOrder()){j=n.index()+n.k1().count()-n.kz().i().indexOf($.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,g))}}if($.ig.util.cast($.ig.BarSeries.prototype.$type,g)!==null){if(l==-1&&k==-1){c=0;break}if(k<l||l==-1){break}}if(i<=j){break}}c++}this.children().insert(c,a);var o=new $.ig.LegendItemInfo;o.f(a);o.g(b);var p=$.ig.util.cast($.ig.ContentControl.prototype.$type,a);if(p!=null&&p.content()!=null){var q=$.ig.util.cast($.ig.DataContext.prototype.$type,p.content());if(q!=null){o.h(q);o.e(q.itemLabel())}}},cm:function(a){return-1},$type:new $.ig.Type("Legend",$.ig.LegendBase.prototype.$type)},true);$.ig.util.defType("LegendItemInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("LegendItemInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LegendView","LegendBaseView",{init:function(a){$.ig.LegendBaseView.prototype.init.call(this,a);this.aq(a)},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},r:function(){$.ig.LegendBaseView.prototype.r.call(this)},$type:new $.ig.Type("LegendView",$.ig.LegendBaseView.prototype.$type)},true);$.ig.util.defType("PieLabel","Control",{init:function(){$.ig.Control.prototype.init.call(this)},_bi:null,bi:function(a){if(arguments.length===1){this._bi=a;return a}else{return this._bi}},_bj:null,bj:function(a){if(arguments.length===1){this._bj=a;return a}else{return this._bj}},_bk:null,bk:function(a){if(arguments.length===1){this._bk=a;return a}else{return this._bk}},_bl:null,bl:function(a){if(arguments.length===1){this._bl=a;return a}else{return this._bl}},_bm:null,bm:function(a){if(arguments.length===1){this._bm=a;return a}else{return this._bm}},bx:function(a){if(a.x().labelsPosition()==$.ig.LabelsPosition.prototype.outsideEnd){this.bj(a.b9(this));var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,this.bl());var c=b.a3();a.x().fp();var d=this.bi().isExploded()?this.bi().c4():this.bi().c3();var e=$.ig.GeometryUtil.prototype.g(d,this.bk(),this.bi().c5()+a.x().labelExtent());var f=a.af().width();if(a.b4(b)+e.__x>f&&e.__x<f){while(a.b4(b)+e.__x>f){c=c.substr(0,c.length-1);
b.a3(c)}if(c.length-3>0){c=c.substr(0,c.length-3);c=c+"..."}else{if(a.b4("...")<this.bj().width()){c="..."}else{c=String.empty()}}}var g=new $.ig.TextBlock;g.a3(c);this.bl(g)}},by:function(){},bz:function(a,b){this.bm().bp(a);this.bm().br(b)},$type:new $.ig.Type("PieLabel",$.ig.Control.prototype.$type)},true);$.ig.util.defType("IndexCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.Number.prototype.$type)},j:function(a,b){if(!this.contains(b)){$.ig.ObservableCollection$1.prototype.j.call(this,a,b)}},i:function(a,b){if(this.contains(b)){this.remove(b);this.j(a,b)}else{$.ig.ObservableCollection$1.prototype.i.call(this,a,b)}},$type:new $.ig.Type("IndexCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.Number.prototype.$type))},true);$.ig.util.defType("IndexCollectionTypeConverter","TypeConverter",{init:function(){$.ig.TypeConverter.prototype.init.call(this)},$type:new $.ig.Type("IndexCollectionTypeConverter",$.ig.TypeConverter.prototype.$type)},true);$.ig.util.defType("Slice","ContentControl",{di:function(){return new $.ig.SliceView(this)},dj:function(a){this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},init:function(){this.ca=false;$.ig.ContentControl.prototype.init.call(this);var a=this.di();this.dj(a);a.i()},cy:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.bx,a);return a}else{return this.b($.ig.Slice.prototype.bx)}},cz:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.by,a);return a}else{return this.b($.ig.Slice.prototype.by)}},c0:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.bz,a);return a}else{return this.b($.ig.Slice.prototype.bz)}},c1:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b0,a);return a}else{return this.b($.ig.Slice.prototype.b0)}},isSelected:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b1,a);return a}else{return this.b($.ig.Slice.prototype.b1)}},isExploded:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b2,a);return a}else{return this.b($.ig.Slice.prototype.b2)}},c2:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b3,a);return a}else{return this.b($.ig.Slice.prototype.b3)}},c3:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b4,a);return a}else{return this.b($.ig.Slice.prototype.b4)}},c4:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b5,a);return a}else{return this.b($.ig.Slice.prototype.b5)}},c5:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b6,a);return a}else{return this.b($.ig.Slice.prototype.b6)}},c6:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b7,a);return a}else{return this.b($.ig.Slice.prototype.b7)}},c7:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b8,a);return a}else{return this.b($.ig.Slice.prototype.b8)}},c8:function(a){if(arguments.length===1){this.c($.ig.Slice.prototype.b9,a);return a}else{return this.b($.ig.Slice.prototype.b9)}},_c9:null,c9:function(a){if(arguments.length===1){this._c9=a;return a}else{return this._c9}},_da:null,da:function(a){if(arguments.length===1){this._da=a;return a}else{return this._da}},_db:null,db:function(a){if(arguments.length===1){this._db=a;return a}else{return this._db}},_dc:null,dc:function(a){if(arguments.length===1){this._dc=a;return a}else{return this._dc}},_dd:null,dd:function(a){if(arguments.length===1){this._dd=a;return a}else{return this._dd}},_de:null,de:function(a){if(arguments.length===1){this._de=a;return a}else{return this._de}},a8:function(){$.ig.Control.prototype.a8.call(this);this.cx().j()},ep:function(){var a=this.da()!=null&&this.da().allowSliceExplosion()?true:false;if(this.isExploded()&&a){var b=new $.ig.Rect(0,this.c4().__x-this.c5(),this.c4().__y-this.c5(),this.c5()*2,this.c5()*2);return b}return new $.ig.Rect(0,this.c3().__x-this.c5(),this.c3().__y-this.c5(),this.c5()*2,this.c5()*2)},eq:function(){if(this.isExploded()&&this.da()!=null&&this.da().allowSliceExplosion()){if(this.de()){return this.dd()}return this.c4()}return this.c3()},ca:null,df:function(a){if(arguments.length===1){var b=this.ca;this.ca=a;if(b&&!this.ca){this.et()}return a}else{return this.ca}},et:function(){var $self=this;if(this.df()){return}var a=this.cx().k();var b=this.da().ee();if(isNaN(this.cy())||isNaN(this.cz())||isNaN(this.c5())||isNaN(this.c6())||this.c7()<0||this.da()==null||b.width()==0||b.height()==0||this.c3().__x==0&&this.c3().__y==0||this.c4().__x==0&&this.c4().__y==0){return}this.c9(this.ep());var c=$.ig.GeometryUtil.prototype.d(this.c9());var d=this.c9().height()/2;var e=this.c9().getCenter();var f=$.ig.Slice.prototype.ex($.ig.MathUtil.prototype.j(this.cy()),c,e,d,100);var g=$.ig.Slice.prototype.ex($.ig.MathUtil.prototype.j(this.cz()),c,e,d,100);var h=$.ig.Slice.prototype.ex($.ig.MathUtil.prototype.j(this.cz()),c,e,d,this.c1());var i=$.ig.Slice.prototype.ex($.ig.MathUtil.prototype.j(this.cy()),c,e,d,this.c0());var j=Math.abs($.ig.PieChartBase.prototype.fd(this.cz()-this.cy()))==360;if(j){if(this.c1()==0){var k=function(){var $ret=new $.ig.EllipseGeometry;$ret.f(e);$ret.g($self.c5());$ret.h($self.c5());return $ret}();a.bn(k);return}else{var l=function(){var $ret=new $.ig.GeometryGroup;$ret.f($.ig.FillRule.prototype.evenOdd);return $ret}();l.e().add(function(){var $ret=new $.ig.EllipseGeometry;$ret.f(e);$ret.g($self.c5());$ret.h($self.c5());return $ret}());l.e().add(function(){var $ret=new $.ig.EllipseGeometry;$ret.f(e);$ret.g($self.c5()*$self.c1()/100);$ret.h($self.c5()*$self.c1()/100);return $ret}());a.bn(l);return}}var m=new $.ig.PathGeometry;a.bn(m);var n=function(){var $ret=new $.ig.PathFigure;$ret.__isClosed=true;return $ret}();m.d(new $.ig.PathFigureCollection);m.d().add(n);n.__startPoint=f;var o=Math.abs(this.cz()-this.cy())>180;var p=new $.ig.ArcSegment;p.h(g);p.k(new $.ig.Size(this.c9().width()/2,this.c9().height()/2));p.i(o);if(this.cz()>this.cy()){p.j($.ig.SweepDirection.prototype.clockwise)}else{p.j($.ig.SweepDirection.prototype.counterclockwise)}n.__segments=new $.ig.PathSegmentCollection;n.__segments.add(p);var q=new $.ig.LineSegment(1);q.d(h);n.__segments.add(q);var r=Math.sqrt(Math.pow(h.__x-g.__x,2)+Math.pow(h.__y-g.__y,2));var s=this.c5()-r;var t=new $.ig.ArcSegment;t.h(i);if(s<0){s=.1}t.k(new $.ig.Size(s,s));t.i(p.i());t.j($.ig.SweepDirection.prototype.counterclockwise);n.__segments.add(t);var u=this.ev(a,f,g,this.cy(),this.cz(),e,this.c5());if(this.c9().height()>0&&this.c9().width()>0&&!b.contains2(u)){var v=u;var w=new $.ig.Rect(0,0,0,b.width(),b.height());w.intersect(v);var x=$.ig.GeometryUtil.prototype.a((this.cy()+this.cz())/2);var y=x/180*Math.PI;var z=Math.abs((v.height()-w.height())/Math.sin(y));var aa=Math.abs((v.width()-w.width())/Math.cos(y));if(isNaN(z)||Number.isInfinity(z)){z=0}if(isNaN(aa)||Number.isInfinity(aa)){aa=0}var ab=Math.max(z,aa);var ac=$.ig.GeometryUtil.prototype.f(this.da().ee().width(),this.da().ee().height(),true,x,this.c5()*this.da().ec()-ab);this.cx().l(ac.__x-this.c4().__x,ac.__y-this.c4().__y);this.de(true);this.dd(ac);this.dc(new $.ig.Rect(0,v.x()-(ac.__x-this.c4().__x),v.y()-(ac.__y-this.c4().__y),v.width(),v.height()))}else{this.de(false);this.cx().m()}},eu:function(a){var b=this.da().ee();if(this.__visibility==$.ig.Visibility.prototype.collapsed){return false}if(isNaN(this.cy())||isNaN(this.cz())||isNaN(this.c5())||isNaN(this.c6())||this.c7()<0||this.da()==null||b.width()==0||b.height()==0||this.c3().__x==0&&this.c3().__y==0||this.c4().__x==0&&this.c4().__y==0){return false}var c=this.c1()/100*this.c5();var d=this.c5();var e=this.c3();if(this.isExploded()&&this.da().allowSliceExplosion()){e=this.c4();if(this.de()){e=this.dd()}}var f=c*c;var g=d*d;var h=Math.pow(a.__x-e.__x,2)+Math.pow(a.__y-e.__y,2);if(h<f||h>g){return false}var i=Math.atan2(a.__y-e.__y,a.__x-e.__x);i=i*180/Math.PI;i=i-this.cy();i=$.ig.GeometryUtil.prototype.a(i);var j=this.cz()-this.cy();if(i>j){return false}return true},ev:function(a,b,c,d,e,f,g){var h=new $.ig.List$1($.ig.Point.prototype.$type,0);h.add(b);h.add(c);h.add(f);d=$.ig.GeometryUtil.prototype.a(d);e=$.ig.GeometryUtil.prototype.a(e);if(0>d&&0<e||360>d&&360<e||e<d){h.add($.ig.GeometryUtil.prototype.g(f,0,g))}if(90>d&&90<e){h.add($.ig.GeometryUtil.prototype.g(f,90,g))}if(180>d&&180<e){h.add($.ig.GeometryUtil.prototype.g(f,180,g))}if(270>d&&270<e){h.add($.ig.GeometryUtil.prototype.g(f,270,g))}var i=Number.MAX_VALUE;var j=Number.MAX_VALUE;var k=-Number.MAX_VALUE;var l=-Number.MAX_VALUE;var n=h.getEnumerator();while(n.moveNext()){var m=n.current();i=Math.min(i,m.__x);j=Math.min(j,m.__y);k=Math.max(k,m.__x);l=Math.max(l,m.__y)}return new $.ig.Rect(0,i,j,k-i,l-j)},ew:function(){var a=new $.ig.PieSliceVisualData;a.appearance(new $.ig.PrimitiveAppearanceData);a.labelAppearance(new $.ig.LabelAppearanceData);a.leaderLineAppearance(new $.ig.PrimitiveAppearanceData);a.endAngle(this.cz());a.explodedOrigin(this.c4());a.explodedRadius(this.c6());a.index(this.c7());a.innerExtentEnd(this.c1());a.innerExtentStart(this.c0());a.isExploded(this.isExploded());a.isOthersSlice(this.c2());a.isSelected(this.isSelected());a.labelAppearance().angle(this.db().bk());a.labelBounds(this.db().bj());if($.ig.util.cast($.ig.TextBlock.prototype.$type,this.db().bl())!==null){var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,this.db().bl());a.label(b.a3());a.labelAppearance().labelBrush($.ig.AppearanceHelper.prototype.fromBrush(b.a4()));a.labelAppearance().text(b.a3());a.labelAppearance().visibility(b.__visibility==$.ig.Visibility.prototype.visible)}else{a.label(this.db().bl().toString())}a.leaderLineAppearance().fill($.ig.AppearanceHelper.prototype.fromBrush(this.db().bm().__fill));a.leaderLineAppearance().opacity(this.db().bm().__opacity);a.leaderLineAppearance().stroke($.ig.AppearanceHelper.prototype.fromBrush(this.db().bm().__stroke));a.leaderLineAppearance().strokeThickness(this.db().bm().a5());a.leaderLineAppearance().visibility(this.db().bm().__visibility);a.origin(this.c3());a.radius(this.c5());a.startAngle(this.cy());if(this.cx()!=null){var c=this.cx().k();a.slicePath(new $.ig.PathVisualData(1,"slicePath",c));a.appearance().fill($.ig.AppearanceHelper.prototype.fromBrush(c.__fill));a.appearance().opacity(c.__opacity);a.appearance().stroke($.ig.AppearanceHelper.prototype.fromBrush(c.__stroke));a.appearance().strokeThickness(c.a5());a.appearance().visibility(c.__visibility)}return a},ex:function(a,b,c,d,e){var f=Math.cos(a);var g=Math.sin(a);var h=Math.sqrt(d*d/(1-b*Math.pow(f,2)));h*=e/100;return{__x:h*f+c.__x,__y:h*g+c.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},_dg:null,dg:function(a){if(arguments.length===1){this._dg=a;return a}else{return this._dg}},_dh:null,dh:function(a){if(arguments.length===1){this._dh=a;return a}else{return this._dh}},$type:new $.ig.Type("Slice",$.ig.ContentControl.prototype.$type)},true);$.ig.util.defType("SliceView","Object",{_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},init:function(a){$.ig.Object.prototype.init.call(this);this.c(a)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},i:function(){this.d(new $.ig.Path);this.c().content(this.d())},j:function(){this.c().et()},k:function(){return this.d()},l:function(a,b){var $self=this;this.d().f(function(){var $ret=new $.ig.TranslateTransform;$ret.g(a);$ret.h(b);return $ret}())},m:function(){this.d().f(null)},$type:new $.ig.Type("SliceView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamPieChart","PieChartBase",{ef:function(){return new $.ig.XamPieChartView(this)},eg:function(a){$.ig.PieChartBase.prototype.eg.call(this,a);this.g7(a)},_g7:null,g7:function(a){if(arguments.length===1){this._g7=a;return a}else{return this._g7}},init:function(){$.ig.PieChartBase.prototype.init.call(this);this.a3($.ig.XamPieChart.prototype.$type)},$type:new $.ig.Type("XamPieChart",$.ig.PieChartBase.prototype.$type)},true);$.ig.util.defType("XamPieChartView","PieChartBaseView",{_cz:null,cz:function(a){if(arguments.length===1){this._cz=a;return a}else{return this._cz}},init:function(a){$.ig.PieChartBaseView.prototype.init.call(this,a);this.cz(a)},$type:new $.ig.Type("XamPieChartView",$.ig.PieChartBaseView.prototype.$type)},true);$.ig.util.defType("PolarBase","MarkerSeries",{et:function(){return new $.ig.PolarBaseView(this)},eq:function(a){$.ig.MarkerSeries.prototype.eq.call(this,a);this.kl(a)},_kl:null,kl:function(a){if(arguments.length===1){this._kl=a;return a}else{return this._kl}},jr:null,isPolar:function(){return true},init:function(){this.jw=new $.ig.PolarFrame;this.jx=new $.ig.PolarFrame;this.jy=new $.ig.PolarFrame;$.ig.MarkerSeries.prototype.init.call(this);this.jx.bb(this.k6.runOn(this));this.jw.bb(this.k6.runOn(this));this.jy.bb(this.k6.runOn(this));this.ko(new $.ig.SeriesRenderer$2($.ig.PolarFrame.prototype.$type,$.ig.PolarBaseView.prototype.$type,0,this.k9.runOn(this),this.la.runOn(this),this.gb.runOn(this),this.gc.runOn(this),this.kt.runOn(this)))},kt:function(){if(this.d4().k()){this.d4().s()}},ku:function(){var $self=this;this.jz.l(this.jr.a9(),this.kp(),this.kq(),this.js,this.jt,function(a,b){return Math.cos(b)},function(c,d){return Math.sin(d)})},_km:null,km:function(a){if(arguments.length===1){this._km=a;return a}else{return this._km}},_kn:null,kn:function(a){if(arguments.length===1){this._kn=a;return a}else{return this._kn}},js:null,jt:null,_ko:null,ko:function(a){if(arguments.length===1){this._ko=a;return a}else{return this._ko}},angleMemberPath:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.angleMemberPathProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.angleMemberPathProperty)}},radiusMemberPath:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.radiusMemberPathProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.radiusMemberPathProperty)}},kp:function(a){if(arguments.length===1){if(this.ju!=a){var b=this.kp();this.ju=a;this.e6($.ig.PolarBase.prototype.jk,b,this.kp())}return a}else{return this.ju}},ju:null,kq:function(a){if(arguments.length===1){if(this.jv!=a){var b=this.kq();this.jv=a;this.e6($.ig.PolarBase.prototype.jl,b,this.kq())}return a}else{return this.jv}},jv:null,angleAxis:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.angleAxisProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.angleAxisProperty)}},radiusAxis:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.radiusAxisProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.radiusAxisProperty)}},useCartesianInterpolation:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.useCartesianInterpolationProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.useCartesianInterpolationProperty)}},maximumMarkers:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.maximumMarkersProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.maximumMarkersProperty)}},trendLineType:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.actualTrendLineBrushProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineDashCapProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineDashArrayProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLinePeriodProperty)}},trendLineZIndex:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.trendLineZIndexProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.trendLineZIndexProperty)}},clipSeriesToBounds:function(a){if(arguments.length===1){this.c($.ig.PolarBase.prototype.clipSeriesToBoundsProperty,a);return a}else{return this.b($.ig.PolarBase.prototype.clipSeriesToBoundsProperty)}},jw:null,jx:null,jy:null,jz:null,gi:function(){$.ig.Series.prototype.gi.call(this);if(this.radiusAxis()!=null){this.radiusAxis().e1(false)}if(this.angleAxis()!=null){this.angleAxis().e1(false)}},fz:function(a,b,c,d){var e=false;this.kl().dn().ad(a,b,c,d);if(this.angleAxis()!=null&&!this.angleAxis().updateRange()){e=true}if(this.radiusAxis()!=null&&!this.radiusAxis().updateRange()){e=true}if(e){this.renderSeries(true)}},fl:function(a,b){this.renderSeries(false)},fk:function(a,b){this.renderSeries(false)},ff:function(a,b,c){var d=true;if(!$.ig.Series.prototype.ff.call(this,a,b,c)||!c.ch()||b.isEmpty()||a.isEmpty()||this.angleAxis()==null||this.radiusAxis()==null||this.kp()==null||this.kq()==null||this.kp().count()==0||this.kq().count()==0||this.eb()==null||this.eb().g()!=this.kp().count()||this.eb().g()!=this.kq().count()||this.jz==null||this.angleAxis().seriesViewer()==null||this.radiusAxis().seriesViewer()==null||this.angleAxis().actualMinimumValue()==this.angleAxis().actualMaximumValue()||this.radiusAxis().actualMinimumValue()==this.radiusAxis().actualMaximumValue()){d=false}return d},fb:function(a){var $self=this;var b;var c;(function(){var $ret=$self.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();if(!this.ff(c,b,this.view())){this.fg(true,this.view());return}this.js=b;this.jt=c;this.kn(new $.ig.PolarAxisInfoCache(this.angleAxis(),this.radiusAxis(),this.eb()));var d=new $.ig.SeriesRenderingArguments(this,c,b,a);(function(){var $ret=$self.ko().z(d,$self.jw,$self.jy,$self.jx,$self.kl());$self.jw=$ret.previousFrame;$self.jy=$ret.currentFrame;$self.jx=$ret.transitionFrame;return $ret.ret})()},k6:function(a){var b=this.jz.k(a.__x,a.__y,this.js,this.jt,this.kn().l(),this.kn().n(),this.kn().m(),this.kn().o(),this.kn().q(),this.kn().r());return b},e9:function(a){if(a!=null&&a==this.angleAxis()&&this.kp()!=null){return new $.ig.AxisRange(this.kp().minimum(),this.kp().maximum())}if(a!=null&&a==this.radiusAxis()&&this.kq()!=null){return new $.ig.AxisRange(this.kq().minimum(),this.kq().maximum())}return null},scrollIntoView:function(a){var b=this.view().ae();var c=this.view().ad();var d=!b.isEmpty()&&!c.isEmpty()&&this.eb()!=null?this.eb().item1(a):-1;if(this.angleAxis()==null||this.kp()==null||this.radiusAxis()==null||this.kq()==null){return false}if(d<0||d>this.kp().count()-1||d>this.kq().count()-1){return false}var e=this.angleAxis().getScaledAngle1(this.kp().item(d));var f=this.radiusAxis().getScaledValue2(this.kq().item(d));var g=.5+Math.cos(e)*f;var h=.5+Math.sin(e)*f;if(!isNaN(g)){if(g<b.left()+.1*b.width()){g=g+.4*b.width();b.x(g-.5*b.width())}if(g>b.right()-.1*b.width()){g=g-.4*b.width();b.x(g-.5*b.width())}}if(!isNaN(h)){if(h<b.top()+.1*b.height()){h=h+.4*b.height();b.y(h-.5*b.height())}if(h>b.bottom()-.1*b.height()){h=h-.4*b.height();b.y(h-.5*b.height())}}if(this.syncLink()!=null){this.syncLink().bn(this.seriesViewer(),b)}return d>=0},getItem:function(a){return null},getItemIndex:function(a){return-1},ft:function(a,b,c,d){var $self=this;$.ig.MarkerSeries.prototype.ft.call(this,a,b,c,d);if(this.kl().dn().ae(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.fs()}switch(b){case $.ig.PolarBase.prototype.bl:if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,c)!=null){$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.kp());$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c).ac(this.kq());this.kp(null);this.kq(null)}if($.ig.util.cast($.ig.FastItemsSource.prototype.$type,d)!=null){this.kp(this.hk(this.angleMemberPath()));this.kq(this.hk(this.radiusMemberPath()))}if(this.radiusAxis()!=null&&!this.radiusAxis().updateRange()||this.angleAxis()!=null&&!this.angleAxis().updateRange()){this.renderSeries(false)}break;case $.ig.PolarBase.prototype.jm:if(this.angleAxis()!=null&&this.radiusAxis()!=null){this.jz=new $.ig.PolarAxes(this.radiusAxis(),this.angleAxis())}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.angleAxis()!=null&&!this.angleAxis().updateRange()){this.renderSeries(false)}else if(c!=null&&d==null){this.fg(true,this.view())}break;case $.ig.PolarBase.prototype.jn:if(this.angleAxis()!=null&&this.radiusAxis()!=null){this.jz=new $.ig.PolarAxes(this.radiusAxis(),this.angleAxis())}if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.radiusAxis()!=null&&!this.radiusAxis().updateRange()){this.renderSeries(false)}else if(c!=null&&d==null){this.fg(true,this.view())}if(this.angleAxis()!=null&&!this.angleAxis().updateRange()){this.angleAxis().em()}break;case $.ig.PolarBase.prototype.ji:if(this.eb()!=null){this.eb().ac(this.kp());this.kp(this.hk(this.angleMemberPath()))}break;case $.ig.PolarBase.prototype.jk:this.kl().dn().ac();if(this.angleAxis()!=null&&!this.angleAxis().updateRange()){this.renderSeries(false)}break;case $.ig.PolarBase.prototype.jj:if(this.eb()!=null){this.eb().ac(this.kq());this.kq(this.hk(this.radiusMemberPath()))}break;case $.ig.PolarBase.prototype.jl:this.kl().dn().ac();if(this.radiusAxis()!=null&&!this.radiusAxis().updateRange()){this.renderSeries(false)}break;case $.ig.PolarBase.prototype.jo:this.renderSeries(false);this.fs();break;case $.ig.PolarBase.prototype.jp:this.renderSeries(false);this.fs();break;case $.ig.PolarBase.prototype.bv:this.kn(new $.ig.PolarAxisInfoCache(this.angleAxis(),this.radiusAxis(),this.eb()));this.js=this.view().ae();this.jt=this.view().ad();this.jx.ba(this.useCartesianInterpolation());this.jx.a(this.ed(),this.jw,this.jy);if(this.fi(this.view())){return}if(this.ed()==1){this.la(this.jy,this.kl())}else{this.la(this.jx,this.kl())}break;case $.ig.PolarBase.prototype.cf:this.f6();break;case $.ig.PolarBase.prototype.jq:this.renderSeries(false);this.fs();break;case $.ig.PolarBase.prototype.cd:this.fs();break}},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;if(a){c.dp().clear()}c.dn().ab()},k7:function(a,b){var $self=this;var c=a.top()-10;var d=a.bottom()+10;var e=a.left()-10;var f=a.right()+10;var g=function(){var $ret=new $.ig.Clipper(1,e,d,f,c,false);$ret.h(b);return $ret}();return g},k8:function(a,b,c,d){var $self=this;a.w(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,1,b));var e=this.eb();for(var f=0;f<b;f++){var g=a.a9().__inner[f];if(!Number.isInfinity(g.__x)&&!Number.isInfinity(g.__y)){var h={__x:this.kp().item(f),__y:this.kq().item(f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var i={__x:g.__x,__y:g.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.w().add(e.item(f),function(){var $ret=new $.ig.OwnedPoint;$ret.e(e.item(f));$ret.f(h);$ret.d(i);return $ret}())}}},k9:function(a,b){var $self=this;var c=b.ae();var d=b.ad();a.v().clear();a.y().clear();var e=Math.min(this.kp()!=null?this.kp().count():0,this.kq()!=null?this.kq().count():0);if(e<1){return}this.kn(new $.ig.PolarAxisInfoCache(this.angleAxis(),this.radiusAxis(),this.eb()));this.jr=a;this.jt=d;this.js=c;b.dm().y(a.v(),this.maximumMarkers(),c,d,this.resolution());if(e<=this.maximumMarkers()){this.k8(a,e,c,d)}var f=this.k7(d,a.y());var g=Math.min(this.angleAxis().actualMinimumValue(),this.angleAxis().actualMaximumValue());var h=Math.max(this.angleAxis().actualMaximumValue(),this.angleAxis().actualMinimumValue());b.dn().al(this.useCartesianInterpolation());b.dn().am($.ig.UnknownValuePlotting.prototype.linearInterpolate);b.dn().an(this.radiusAxis().i0());b.dn().ao(this.radiusAxis().i1());b.dn().ap(function(i,j){return $self.jz.j(i,j,c,d,Math.cos)});b.dn().aq(function(k,l){return $self.jz.n(k,l,c,d,Math.sin)});b.dn().ar(a.y(),this.trendLineType(),this.kp().where$1(Number,function(m){return m<=h&&m>=g}),this.kq(),this.trendLinePeriod(),this.angleAxis().getScaledAngle1.runOn(this.angleAxis()),this.radiusAxis().getScaledValue2.runOn(this.radiusAxis()),function(){var $ret=new $.ig.TrendResolutionParams;$ret.m($self.resolution());$ret.k(d);$ret.l(c);return $ret}(),f,g,h)},la:function(a,b){var c=b.ae();var d=b.ad();this.kn(new $.ig.PolarAxisInfoCache(this.angleAxis(),this.radiusAxis(),this.eb()));b.dm().z(a.v(),this.useLightweightMarkers());b.dc();var e=this.k7(d,b.dn().n().bl());b.dn().w(a.y(),e);this.lb(d,c,b)},lb:function(a,b,c){c.d0(a,b)},f6:function(){$.ig.MarkerSeries.prototype.f6.call(this);if(this.index()<0){return}this.kl().d1()},fe:function(a,b){$.ig.Series.prototype.fe.call(this,a,b);if(!this.d9()){this.view().b9(b);return}this.view().b9(b);if(this.fi(this.d7())){return}var c=this.d7();var d=new $.ig.PolarFrame;this.k9(d,c);this.la(d,c);this.d9(false)},lc:function(a,b){var c=new $.ig.List$1($.ig.Object.prototype.$type,0);var e=b.i().getEnumerator();while(e.moveNext()){var d=e.current();if(!a.containsKey(d)){c.add1(d)}}var g=c.getEnumerator();while(g.moveNext()){var f=g.current();b.u(f)}},ld:function(a,b,c){this.ku();return this.jr.a9().x()},le:function(a){var b=new $.ig.List$1($.ig.Number.prototype.$type,0);var c=this.eb();var e=this.kl().dp().i().getEnumerator();while(e.moveNext()){var d=e.current();b.add(c.x(d))}return b},lf:function(a){return{__x:this.kp().item(a),__y:this.kq().item(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},ho:function(a){$.ig.MarkerSeries.prototype.ho.call(this,a);var b=new $.ig.PolyLineVisualData(1,"trendLine",this.kl().dn().n());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("PolarBase",$.ig.MarkerSeries.prototype.$type)},true);$.ig.util.defType("PolarLineSeriesBase","PolarBase",{et:function(){return new $.ig.PolarLineSeriesBaseView(this)},eq:function(a){$.ig.PolarBase.prototype.eq.call(this,a);this.lo(a)},_lo:null,lo:function(a){if(arguments.length===1){this._lo=a;return a}else{return this._lo}},init:function(){$.ig.PolarBase.prototype.init.call(this);this.lp(new $.ig.PathRenderer(1,new $.ig.DefaultFlattener));this.lq(new $.ig.PathRenderer(0))},_lp:null,lp:function(a){if(arguments.length===1){this._lp=a;return a}else{return this._lp}},_lq:null,lq:function(a){if(arguments.length===1){this._lq=a;return a}else{return this._lq}},l0:function(){return $.ig.UnknownValuePlotting.prototype.dontPlot},lr:function(){return false},ls:function(){return false},k9:function(a,b){var $self=this;$.ig.PolarBase.prototype.k9.call(this,a,b);a.x().clear();var c=b.ae();var d=b.ad();var e=this.kp()!=null?this.kp().count():0;var f=this.kq()!=null?this.kq().count():0;var g=Math.min(e,f);var l=function(){var $ret=new $.ig.PolarLinePlanner;$ret.q(function(h){return $self.kn().j().i0($self.kp().item(h),$self.kn().l(),$self.kn().n())});$ret.v(g);$ret.r(function(i){return $self.radiusAxis().i9($self.kq().item(i),$self.kn().m(),$self.kn().o(),$self.kn().q(),$self.kn().r())});$ret.u($self.resolution());$ret.o($self.useCartesianInterpolation());$ret.p($self.l0());$ret.s(function(j){return $self.l3(a,j)});$ret.t(function(k){return $self.l4(a,k)});$ret.w(d);$ret.x(c);$ret.aa($self.ls());$ret.z($self.lr());return $ret}();var n=$.ig.Enumerable.prototype.a(0,g).where$1($.ig.Number.prototype.$type,function(m){return $self.l7(m)});if(this.ls()){var o=new $.ig.List$1($.ig.Number.prototype.$type,1,$.ig.Enumerable.prototype.a(0,g).where$1($.ig.Number.prototype.$type,this.l7.runOn(this)).take$1($.ig.Number.prototype.$type,1));n=n.concat$1($.ig.Number.prototype.$type,o)}l.bg(a.x(),n)},l3:function(a,b){return a.a9().__inner[b].__x},l4:function(a,b){return a.a9().__inner[b].__y},l5:function(){return!this.l6()},l6:function(){var a=this.seriesViewer().actualWindowRect();return!a.contains1({__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},l7:function(a){return this.kp().item(a)>=this.kn().j().actualMinimumValue()&&this.kp().item(a)<=this.kn().j().actualMaximumValue()&&this.kq().item(a)>=this.kn().k().actualMinimumValue()&&this.kq().item(a)<=this.kn().k().actualMaximumValue()||isNaN(this.kp().item(a))||isNaN(this.kq().item(a))},l8:function(a){},l9:function(a,b){},fg:function(a,b){$.ig.PolarBase.prototype.fg.call(this,a,b);this.l8(b)},_lt:null,lt:function(a){if(arguments.length===1){this._lt=a;return a}else{return this._lt}},la:function(a,b){$.ig.PolarBase.prototype.la.call(this,a,b);if(this.useCartesianInterpolation()){this.lt(this.lp())}else{this.lt(this.lq())}this.lt().d(this.l0());this.l8(b);this.l9(a,b)},$type:new $.ig.Type("PolarLineSeriesBase",$.ig.PolarBase.prototype.$type)},true);$.ig.util.defType("PolarAreaSeries","PolarLineSeriesBase",{et:function(){return new $.ig.PolarAreaSeriesView(this)},eq:function(a){$.ig.PolarLineSeriesBase.prototype.eq.call(this,a);this.mi(a)},_mi:null,mi:function(a){if(arguments.length===1){this._mi=a;return a}else{return this._mi}},init:function(){$.ig.PolarLineSeriesBase.prototype.init.call(this);this.a3($.ig.PolarAreaSeries.prototype.$type)},l8:function(a){var b=a;b.eh()},l9:function(a,b){if(a.x().any$1($.ig.Point.prototype.$type)&&a.x().first$1($.ig.Point.prototype.$type)!=a.x().last$1($.ig.Point.prototype.$type)){a.x().add(a.x().first$1($.ig.Point.prototype.$type))}var c=b;c.ei(a.x(),this.resolution())},ls:function(){return true},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.PolarAreaSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.PolarAreaSeries.prototype.unknownValuePlottingProperty)}},l0:function(){return this.unknownValuePlotting()},$type:new $.ig.Type("PolarAreaSeries",$.ig.PolarLineSeriesBase.prototype.$type)},true);$.ig.util.defType("PolarBaseView","MarkerSeriesView",{_dl:null,dl:function(a){if(arguments.length===1){this._dl=a;return a}else{return this._dl}},_dm:null,dm:function(a){if(arguments.length===1){this._dm=a;return a}else{return this._dm}},init:function(a){$.ig.MarkerSeriesView.prototype.init.call(this,a);this.dl(a);this.dp(new $.ig.HashPool$2($.ig.Object.prototype.$type,$.ig.Marker.prototype.$type));this.dd(this.dp());this.dn(new $.ig.PolarTrendLineManager)},_dn:null,dn:function(a){if(arguments.length===1){this._dn=a;return a}else{return this._dn}},ak:function(){$.ig.MarkerSeriesView.prototype.ak.call(this);this.dm(this.dw());if(!this.af()){this.dl().maximumMarkers(1e3);this.cr().markerType($.ig.MarkerType.prototype.automatic)}},dw:function(){var $self=this;var c=new $.ig.NumericMarkerManager(0,function(a){return $self.dp().item(a)},function(b){return $self.dl().kn().p().item(b)},this.dx.runOn(this),this.dy.runOn(this),this.dz.runOn(this));c.ak(true);c.al(this.dl().lf.runOn(this.dl()));return c},dx:function(a){this.dl().lc(a,this.dp())},dy:function(){return this.dl().ld(this.dp(),this.ae(),this.ad())},dz:function(){return this.dl().le(this.dp())},d0:function(a,b){if(this.dl().clipSeriesToBounds()){var c=new $.ig.GeometryGroup;
this.dl().radiusAxis().jm(c,a,b)}else{}},d1:function(){if(this.dl().trendLineBrush()!=null){this.dl().actualTrendLineBrush(this.dl().trendLineBrush())}else{this.dl().actualTrendLineBrush(this.dl().actualBrush())}},_dp:null,dp:function(a){if(arguments.length===1){this._dp=a;return a}else{return this._dp}},c0:function(a){this.dp().w(a)},a5:function(a,b){$.ig.MarkerSeriesView.prototype.a5.call(this,a,b)},d4:function(){return $.ig.Rect.prototype.empty()},$type:new $.ig.Type("PolarBaseView",$.ig.MarkerSeriesView.prototype.$type)},true);$.ig.util.defType("PolarLineSeriesBaseView","PolarBaseView",{_d8:null,d8:function(a){if(arguments.length===1){this._d8=a;return a}else{return this._d8}},init:function(a){$.ig.PolarBaseView.prototype.init.call(this,a);this.d8(a)},$type:new $.ig.Type("PolarLineSeriesBaseView",$.ig.PolarBaseView.prototype.$type)},true);$.ig.util.defType("PolarAreaSeriesView","PolarLineSeriesBaseView",{_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},init:function(a){this.eb=new $.ig.Path;this.ec=new $.ig.Path;$.ig.PolarLineSeriesBaseView.prototype.init.call(this,a);this.ee(a)},ak:function(){var $self=this;$.ig.PolarBaseView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},eb:null,ec:null,eh:function(){this.ec.bn(null);this.eb.bn(null);this.ar()},ei:function(a,b){var c=new $.ig.List$1($.ig.Point.prototype.$type,1,a);this.ee().lt().i(this.eb,c,b);this.ee().lt().i(this.ec,c,b);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.eb.__stroke=this.w().actualOutline();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap());this.ec.__fill=this.w().actualBrush()},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ec.__fill=a},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.d4();a.e($.ig.GradientDirection.prototype.radial,c)}a.g(this.ec);a.g(this.eb)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"polarShape",this.eb);b.tags().add("Main");var c=new $.ig.PathVisualData(1,"fillShape",this.ec);c.tags().add("Fill");a.shapes().add(b);a.shapes().add(c)},$type:new $.ig.Type("PolarAreaSeriesView",$.ig.PolarLineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("PolarAxisInfoCache","Object",{_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.j(a);this.k(b);this.l(this.j().hb());this.n(this.j().isInverted());this.m(this.k().hb());this.o(this.k().isInverted());this.q(this.k().i0());this.r(this.k().i1());this.p(c)},$type:new $.ig.Type("PolarAxisInfoCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterFrameBase$1","Frame",{$t:null,init:function($t){var $self=this;this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Frame.prototype.init.call(this);this.x(new $.ig.List$1($.ig.Point.prototype.$type,0));this.w(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0));this.v(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0));this.y(new $.ig.List$1($.ig.Point.prototype.$type,0));this.z(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0));this.aa(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0));this.ab(new $.ig.Dictionary$2($.ig.Object.prototype.$type,Number,0));this.ac(new $.ig.Dictionary$2($.ig.Object.prototype.$type,Number,0));this.u(function(a,b,c){return a});this.t(new $.ig.DictInterpolator$3($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,this.$t,this.ak.runOn(this),function(d){return d.e()},function(e){return!isNaN(e.d().__x)&&!isNaN(e.d().__y)},function(){return new $.ig.OwnedPoint}))},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},a:function(a,b,c){var d=b;var e=c;if(d==null||e==null){return}this.t().q(this.w(),a,d.w(),e.w(),d,e);$.ig.ScatterFrameBase$1.prototype.b(this.x(),a,d.x(),e.x());this.t().q(this.v(),a,d.v(),e.v(),d,e);this.t().q(this.z(),a,d.z(),e.z(),d,e);this.t().q(this.aa(),a,d.aa(),e.aa(),d,e);this.ag(this.v(),a,d,e);$.ig.ScatterFrameBase$1.prototype.b(this.y(),a,d.y(),e.y());this.ab(e.ab());this.ac(e.ac());this.af(a,d,e)},af:function(a,b,c){},ag:function(a,b,c,d){var $self=this;var g=c.w().values().where$1($.ig.OwnedPoint.prototype.$type,function(e){return!a.containsKey(e.e())}).getEnumerator();while(g.moveNext()){var f=g.current();var h;if(!function(){var $ret=d.w().tryGetValue(f.e(),h);h=$ret.value;return $ret.ret}()||h.f().__x==f.f().__x&&h.f().__y==f.f().__y){continue}var i=new $.ig.OwnedPoint;this.ak(i,b,f,h,c,d);if(isNaN(i.d().__x)||isNaN(i.d().__y)){continue}a.add(i.e(),i)}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},aj:function(a,b,c,d){if(c!=null){a.f({__x:c.f().__x,__y:c.f().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}else if(d!=null){a.f({__x:d.f().__x,__y:d.f().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},ak:function(a,b,c,d,e,f){var $self=this;var g;var h;if(c==null){if(d!=null){var i;if(function(){var $ret=e.w().tryGetValue(d.e(),i);i=$ret.value;return $ret.ret}()){g=i}else{g=this.u()(d,e,f)}}else{a.d({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return}}else{g=c;if(a.e()==null){a.e(c.e())}}if(d==null){if(c!=null){var j;if(function(){var $ret=f.w().tryGetValue(c.e(),j);j=$ret.value;return $ret.ret}()){h=j}else{a.d({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return}}else{a.d({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return}}else{h=d;if(a.e()==null){a.e(d.e())}}this.aj(a,b,g,h);if(isNaN(g.d().__x)||isNaN(g.d().__y)){g=h}this.al(a,b,g,h)},al:function(a,b,c,d){var e=1-b;a.d({__x:c.d().__x*e+d.d().__x*b,__y:c.d().__y*e+d.d().__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},$type:new $.ig.Type("ScatterFrameBase$1",$.ig.Frame.prototype.$type)},true);$.ig.util.defType("PolarFrame","ScatterFrameBase$1",{init:function(){$.ig.ScatterFrameBase$1.prototype.init.call(this,$.ig.PolarFrame.prototype.$type);this.a9(new $.ig.List$1($.ig.Point.prototype.$type,0));this.ba(true)},_a9:null,a9:function(a){if(arguments.length===1){this._a9=a;return a}else{return this._a9}},_ba:null,ba:function(a){if(arguments.length===1){this._ba=a;return a}else{return this._ba}},_bb:null,bb:function(a){if(arguments.length===1){this._bb=a;return a}else{return this._bb}},af:function(a,b,c){var d=$.ig.util.cast($.ig.PolarFrame.prototype.$type,b);var e=$.ig.util.cast($.ig.PolarFrame.prototype.$type,c);if(d==null||e==null){return}$.ig.PolarFrame.prototype.b(this.a9(),a,d.a9(),e.a9())},aj:function(a,b,c,d){if(this.ba()){$.ig.ScatterFrameBase$1.prototype.aj.call(this,a,b,c,d)}else{$.ig.ScatterFrameBase$1.prototype.aj.call(this,a,b,c,d);if(c!=null&&d!=null&&(c.f().__x!=d.f().__x||c.f().__y!=d.f().__y)){var e=1-b;a.f({__x:c.f().__x*e+d.f().__x*b,__y:c.f().__y*e+d.f().__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},bi:function(a){return!isNaN(a.__x)&&!isNaN(a.__y)&&!Number.isInfinity(a.__x)&&!Number.isInfinity(a.__y)},al:function(a,b,c,d){if(this.ba()){$.ig.ScatterFrameBase$1.prototype.al.call(this,a,b,c,d)}else{if(c!=null&&d!=null&&(c.d().__x!=d.d().__x||c.d().__y!=d.d().__y)&&this.bi(a.f())){a.d(this.bb()(a.f()))}else{$.ig.ScatterFrameBase$1.prototype.al.call(this,a,b,c,d)}}},$type:new $.ig.Type("PolarFrame",$.ig.ScatterFrameBase$1.prototype.$type.specialize($.ig.PolarFrame.prototype.$type))},true);$.ig.util.defType("AngleRadiusPair","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("AngleRadiusPair",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolarLinePlanner","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},a:null,w:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,x:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},a4:function(){if(this.q()==null||this.r()==null||this.s()==null||this.t()==null||this.w()==$.ig.Rect.prototype.empty()||this.x()==$.ig.Rect.prototype.empty()){return false}return true},a5:function(a,b,c,d){var e=a(d)-a(c);var f=b(d)-b(c);return e*e+f*f},a6:function(a){var b=new $.ig.List$1($.ig.AngleRadiusPair.prototype.$type,0);var c=this.u()*this.u();var d;if(a!=null){d=a}else{d=$.ig.Enumerable.prototype.a(0,this.v())}var e=d.getEnumerator();var f=true;f=e.moveNext();var g=e.current();while(f){var h=g;f=e.moveNext();g=e.current();while(f&&this.a5(this.s(),this.t(),h,g)<c){f=e.moveNext();g=e.current()}var i=new $.ig.AngleRadiusPair;i.d(h);if(!this.o()){i.e(this.q()(h));i.f(this.r()(h))}b.add(i)}return b},a7:function(a){var c=this.a6(a).getEnumerator();while(c.moveNext()){var b=c.current();if(isNaN(b.e())||Number.isInfinity(b.e())||isNaN(b.f())||Number.isInfinity(b.f())){this.be({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});continue}this.be({__x:this.s()(b.d()),__y:this.t()(b.d()),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},a8:function(){return Math.pow(this.u()/Math.max(this.w().width()/this.x().width(),this.w().height()/this.x().height()),2)},a9:function(a,b){var c=.5+b*Math.cos(a);var d=.5+b*Math.sin(a);c=this.a.left()+this.a.width()*(c-this.b.left())/this.b.width();d=this.a.top()+this.a.height()*(d-this.b.top())/this.b.height();this.be({__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},ba:function(a){var b=this.a8();var c=this.a6(a);var d=c.item(0).e();var e=c.item(0).f();var f=c.item(0).d();for(var g=1;g<c.count();g++){var h=c.item(g).e();var i=c.item(g).f();var j=c.item(g).d();if(isNaN(h)||Number.isInfinity(h)||isNaN(i)||Number.isInfinity(i)){this.be({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(this.p()!=$.ig.UnknownValuePlotting.prototype.linearInterpolate){g++;if(g<c.count()){d=c.item(g).e();e=c.item(g).f()}}continue}this.bb(h,i,d,e,g,b,f>j);d=h;e=i;f=j}},bb:function(a,b,c,d,e,f,g){var h=false;if(a<c&&!g||a>c&&g){h=true;var i=a;a=c;c=i;i=b;b=d;d=i}var j=$.ig.Flattener.prototype.b(c,d,a,b,f);if(h){j=j.reverse$1(Number)}var l=j.getEnumerator();while(l.moveNext()){var k=l.current();var m=c+k*(a-c);var n=d+k*(b-d);this.a9(m,n)}},bc:function(a){var $self=this;var b=this.w().top()-10;var c=this.w().bottom()+10;var d=this.w().left()-10;var e=this.w().right()+10;if(this.y()==null){this.y(function(){var $ret=new $.ig.Clipper(1,d,c,e,b,$self.aa());$ret.h(a);return $ret}())}},bd:function(a){return!isNaN(a.__x)&&!isNaN(a.__y)&&!Number.isInfinity(a.__x)&&!Number.isInfinity(a.__y)},be:function(a){if(this.p()==$.ig.UnknownValuePlotting.prototype.linearInterpolate&&!this.bd(a)){return}if(this.z()){this.ab().add(a)}else{this.y().l(a)}},bf:function(a){this.bg(null,null)},bg:function(a,b){this.ab(a);if(!this.a4()){return}if(this.v()>1){this.bc(a);if(this.o()){this.a7(b)}else{this.ba(b)}this.y().h(null)}},$type:new $.ig.Type("PolarLinePlanner",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PolarLineSeries","PolarLineSeriesBase",{et:function(){return new $.ig.PolarLineSeriesView(this)},eq:function(a){$.ig.PolarLineSeriesBase.prototype.eq.call(this,a);this.mi(a)},_mi:null,mi:function(a){if(arguments.length===1){this._mi=a;return a}else{return this._mi}},init:function(){$.ig.PolarLineSeriesBase.prototype.init.call(this);this.a3($.ig.PolarLineSeries.prototype.$type)},l8:function(a){var b=a;b.eg()},l9:function(a,b){var c=b;c.eh(a.x(),this.resolution())},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.PolarLineSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.PolarLineSeries.prototype.unknownValuePlottingProperty)}},l0:function(){return this.unknownValuePlotting()},ft:function(a,b,c,d){$.ig.PolarBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.PolarLineSeries.prototype.mf:this.renderSeries(false);this.fs();break}},$type:new $.ig.Type("PolarLineSeries",$.ig.PolarLineSeriesBase.prototype.$type)},true);$.ig.util.defType("PolarLineSeriesView","PolarLineSeriesBaseView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){this.eb=new $.ig.Path;$.ig.PolarLineSeriesBaseView.prototype.init.call(this,a);this.ed(a)},ak:function(){$.ig.PolarBaseView.prototype.ak.call(this)},eb:null,eg:function(){this.eb.bn(null);this.ar()},eh:function(a,b){this.ed().lt().i(this.eb,a,b);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.eb.__stroke=this.w().actualBrush();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(this.l&&!b){a.e($.ig.GradientDirection.prototype.radial,null)}a.g(this.eb)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"polarShape",this.eb);b.tags().add("Main");a.shapes().add(b)},$type:new $.ig.Type("PolarLineSeriesView",$.ig.PolarLineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("PolarScatterSeries","PolarBase",{et:function(){return new $.ig.PolarScatterSeriesView(this)},eq:function(a){$.ig.PolarBase.prototype.eq.call(this,a);this.ll(a)},_ll:null,ll:function(a){if(arguments.length===1){this._ll=a;return a}else{return this._ll}},init:function(){$.ig.PolarBase.prototype.init.call(this);this.a3($.ig.PolarScatterSeries.prototype.$type)},$type:new $.ig.Type("PolarScatterSeries",$.ig.PolarBase.prototype.$type)},true);$.ig.util.defType("PolarScatterSeriesView","PolarBaseView",{_d8:null,d8:function(a){if(arguments.length===1){this._d8=a;return a}else{return this._d8}},init:function(a){$.ig.PolarBaseView.prototype.init.call(this,a);this.d8(a)},ak:function(){var $self=this;$.ig.PolarBaseView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.q);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},$type:new $.ig.Type("PolarScatterSeriesView",$.ig.PolarBaseView.prototype.$type)},true);$.ig.util.defType("PolarSplineAreaSeries","PolarLineSeriesBase",{et:function(){return new $.ig.PolarSplineAreaSeriesView(this)},eq:function(a){$.ig.PolarLineSeriesBase.prototype.eq.call(this,a);this.mi(a)},_mi:null,mi:function(a){if(arguments.length===1){this._mi=a;return a}else{return this._mi}},init:function(){$.ig.PolarLineSeriesBase.prototype.init.call(this);this.a3($.ig.PolarSplineAreaSeries.prototype.$type)},l8:function(a){var b=a;b.eh()},l9:function(a,b){this.l8(b);if(a.x().count()<1){return}var c=b;c.ei(a.x(),this.stiffness())},ls:function(){return true},stiffness:function(a){if(arguments.length===1){this.c($.ig.PolarSplineAreaSeries.prototype.stiffnessProperty,a);return a}else{return this.b($.ig.PolarSplineAreaSeries.prototype.stiffnessProperty)}},ft:function(a,b,c,d){$.ig.PolarBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.PolarSplineAreaSeries.prototype.mf:this.renderSeries(false);break}},$type:new $.ig.Type("PolarSplineAreaSeries",$.ig.PolarLineSeriesBase.prototype.$type)},true);$.ig.util.defType("PolarSplineAreaSeriesView","PolarLineSeriesBaseView",{_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},init:function(a){this.eb=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();this.ec=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();$.ig.PolarLineSeriesBaseView.prototype.init.call(this,a);this.ee(a)},ak:function(){var $self=this;$.ig.PolarBaseView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},eb:null,ec:null,eh:function(){$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.ec.bn()).reset();$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.eb.bn()).reset();this.ar()},ei:function(a,b){var $self=this;$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.eb.bn()).d($.ig.Numeric.prototype.g(a.count()+1,function(c){return c<a.count()?a.__inner[c].__x:a.__inner[c-a.count()].__x},function(d){return d<a.count()?a.__inner[d].__y:a.__inner[d-a.count()].__y},b));$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.ec.bn()).d($.ig.Numeric.prototype.g(a.count()+1,function(e){return e<a.count()?a.__inner[e].__x:a.__inner[e-a.count()].__x},function(f){return f<a.count()?a.__inner[f].__y:a.__inner[f-a.count()].__y},b));this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ec.__fill=this.w().actualBrush();this.eb.__stroke=this.w().actualOutline();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ec.__fill=a;this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.d4();a.e($.ig.GradientDirection.prototype.radial,c)}a.g(this.ec);a.g(this.eb)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"polarShape",this.eb);b.tags().add("Main");var c=new $.ig.PathVisualData(1,"fillShape",this.ec);c.tags().add("Fill");a.shapes().add(b);a.shapes().add(c)},$type:new $.ig.Type("PolarSplineAreaSeriesView",$.ig.PolarLineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("PolarSplineSeries","PolarLineSeriesBase",{et:function(){return new $.ig.PolarSplineSeriesView(this)},eq:function(a){$.ig.PolarLineSeriesBase.prototype.eq.call(this,a);this.mi(a)},_mi:null,mi:function(a){if(arguments.length===1){this._mi=a;return a}else{return this._mi}},init:function(){$.ig.PolarLineSeriesBase.prototype.init.call(this);this.a3($.ig.PolarSplineSeries.prototype.$type)},stiffness:function(a){if(arguments.length===1){this.c($.ig.PolarSplineSeries.prototype.stiffnessProperty,a);return a}else{return this.b($.ig.PolarSplineSeries.prototype.stiffnessProperty)}},ft:function(a,b,c,d){$.ig.PolarBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.PolarSplineSeries.prototype.mf:this.renderSeries(false);break}},l8:function(a){var b=a;b.eg()},l9:function(a,b){this.l8(b);var c=b;c.eh(a.x(),this.stiffness())},$type:new $.ig.Type("PolarSplineSeries",$.ig.PolarLineSeriesBase.prototype.$type)},true);$.ig.util.defType("PolarSplineSeriesView","PolarLineSeriesBaseView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){this.eb=function(){var $ret=new $.ig.Path;$ret.bn(new $.ig.PathGeometry);return $ret}();$.ig.PolarLineSeriesBaseView.prototype.init.call(this,a);this.ed(a)},ak:function(){var $self=this;$.ig.PolarBaseView.prototype.ak.call(this);var a=new $.ig.PathGeometry;a.d().add(function(){var $ret=new $.ig.PathFigure;return $ret}());this.eb.bn(a)},eb:null,eg:function(){$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.eb.bn()).reset();this.ar()},eh:function(a,b){var $self=this;$.ig.util.cast($.ig.PathGeometry.prototype.$type,this.eb.bn()).d($.ig.Numeric.prototype.g(a.count(),function(c){return a.__inner[c].__x},function(d){return a.__inner[d].__y},b));this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.eb.__stroke=this.w().actualBrush();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(this.l&&!b){a.e($.ig.GradientDirection.prototype.radial,null)}a.g(this.eb)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"polarShape",this.eb);b.tags().add("Main");a.shapes().add(b)},$type:new $.ig.Type("PolarSplineSeriesView",$.ig.PolarLineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("RadialBucketCalculator","Object",{_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},init:function(a){$.ig.Object.prototype.init.call(this);this.e(a)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},getBucket:function(a){throw new $.ig.NotImplementedException},getErrorBucket:function(a,b){return NaN},getBucketInfo:function(a,b,c,d){a=this.f();b=this.g();c=this.h();d=this.e().dn().resolution();return{firstBucket:a,lastBucket:b,bucketSize:c,resolution:d}},q:function(a){var b=this.e().ae();var c=this.e().ad();var d=this.e().dn().angleAxis();if(b.isEmpty()||c.isEmpty()||d==null||this.e().dn().eb()==null||this.e().dn().eb().g()==0){this.h(0);return}var e=Math.floor(d.io(c,b));var f=Math.ceil(d.ip(c,b));if(d.isInverted()){f=Math.ceil(d.io(c,b));e=Math.floor(d.ip(c,b))}if(f<e){f=d.itemsCount()+f}var g=this.e().dn().valueAxis();var h=g!=null?g.i0():.75;var i=Math.min(c.width(),c.height())*.5*h*2*Math.PI;var j=Math.floor((f-e+1)*a/i);this.h(Math.max(1,j));this.f(Math.max(0,Math.floor(e/this.h())-1));this.g(Math.ceil(f/this.h()))},cacheValues:function(){},unCacheValues:function(){},$type:new $.ig.Type("RadialBucketCalculator",$.ig.Object.prototype.$type,[$.ig.IBucketizer.prototype.$type])},true);$.ig.util.defType("AnchoredRadialBucketCalculator","RadialBucketCalculator",{_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},init:function(a){$.ig.RadialBucketCalculator.prototype.init.call(this,a);this.s(a)},getBucket:function(a){var $self=this;var b=this.s().d4().kn();var c=Math.min(a*this.h(),b.count()-1);var d=Math.min(c+this.h()-1,b.count()-1);var e=NaN;var f=NaN;for(var g=c;g<=d;++g){var h=b.item(g);if(!isNaN(e)){if(!isNaN(h)){e=Math.min(e,h);f=Math.max(f,h)}}else{e=h;f=h}}if(!isNaN(e)){return function(){var $ret=new Array;$ret.add(.5*(c+d));$ret.add(e);$ret.add(f);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(c+d));$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("AnchoredRadialBucketCalculator",$.ig.RadialBucketCalculator.prototype.$type)},true);$.ig.util.defType("RadialFrame","CategoryFrame",{init:function(a){$.ig.CategoryFrame.prototype.init.call(this,a)},$type:new $.ig.Type("RadialFrame",$.ig.CategoryFrame.prototype.$type)},true);$.ig.util.defType("RadialColumnSeries","AnchoredRadialSeries",{et:function(){return new $.ig.RadialColumnSeriesView(this)},eq:function(a){$.ig.AnchoredRadialSeries.prototype.eq.call(this,a);this.ld(a)},_ld:null,ld:function(a){if(arguments.length===1){this._ld=a;return a}else{return this._ld}},init:function(){$.ig.AnchoredRadialSeries.prototype.init.call(this);this.a3($.ig.RadialColumnSeries.prototype.$type)},onApplyTemplate:function(){$.ig.Control.prototype.a8.call(this);this.renderSeries(false)},radiusX:function(a){if(arguments.length===1){this.c($.ig.RadialColumnSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.RadialColumnSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.RadialColumnSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.RadialColumnSeries.prototype.radiusYProperty)}},preferredCategoryMode:function(a){return a!=null&&a==this.angleAxis()?$.ig.CategoryMode.prototype.mode2:$.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredRadialSeries.prototype.fg.call(this,a,b);var c=b;if(a){c.ec.g(0)}},j2:function(a,b){$.ig.AnchoredRadialSeries.prototype.j2.call(this,a,b);var c=a.f;var d=b.ae();var e=b.ad();var f=this.valueAxis().h3(e,d);var g=b;var h=this.valueAxis();var i=Math.max(0,.5*h.i1());i=Math.max(i,f.minLength()*.9);var j=$.ig.ViewportUtils.prototype.e(i,d,e);var k=this.angleAxis().he(d,e);var l=Math.max(.1*this.valueAxis().i0(),i);var m=this.jo.j(0,l,d,e);var n=this.jo.m(0,l,d,e);var o=this.jo.j(k,l,d,e);var p=this.jo.m(k,l,d,e);var q=Math.sqrt((m-o)*(m-o)+(n-p)*(n-p));var r={__x:$.ig.ViewportUtils.prototype.a(.5,d,e),__y:$.ig.ViewportUtils.prototype.c(.5,d,e),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var s=0;s<c.count();++s){var t=Math.min(a.f.__inner[s][2],f.maxLength()*1.1);var u=this.jo.j(a.f.__inner[s][0],t,d,e);var v=this.jo.m(a.f.__inner[s][0],t,d,e);var w=Math.sqrt((u-r.__x)*(u-r.__x)+(v-r.__y)*(v-r.__y));var x=w;var y=j;var z=a.f.__inner[s][0]-Math.PI/2;var aa=g.ec.item(s);var ab=0-q/2;var ac=q/2;var ad=Math.max(y,x);var ae=Math.min(y,x);var af=Math.cos(z);var ag=Math.sin(z);var ah={__x:r.__x+(ab*af-ad*ag),__y:r.__y+(ab*ag+ad*af),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ai={__x:r.__x+(ac*af-ad*ag),__y:r.__y+(ac*ag+ad*af),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var aj={__x:r.__x+(ac*af-ae*ag),__y:r.__y+(ac*ag+ae*af),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ak={__x:r.__x+(ab*af-ae*ag),__y:r.__y+(ab*ag+ae*af),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var al=new $.ig.PathGeometry;var am=new $.ig.PathFigure;am.__startPoint=ah;am.__isClosed=true;var an=new $.ig.PolyLineSegment;an.__points.add(ai);an.__points.add(aj);an.__points.add(ak);am.__segments.add(an);al.d().add(am);aa.bn(al)}g.ec.g(c.count());this.ld().eq()},$type:new $.ig.Type("RadialColumnSeries",$.ig.AnchoredRadialSeries.prototype.$type)},true);$.ig.util.defType("RadialColumnSeriesView","AnchoredRadialSeriesView",{_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},init:function(a){var $self=this;$.ig.AnchoredRadialSeriesView.prototype.init.call(this,a);this.ef(a);this.ec=function(){var $ret=new $.ig.Pool$1($.ig.Path.prototype.$type);$ret.create($self.el.runOn($self));$ret.activate($self.em.runOn($self));$ret.disactivate($self.en.runOn($self));$ret.destroy($self.eo.runOn($self));return $ret}()},ec:null,ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);this.eg(new $.ig.List$1($.ig.Path.prototype.$type,0));if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},_eg:null,eg:function(a){if(arguments.length===1){this._eg=a;return a}else{return this._eg}},el:function(){var a=new $.ig.Path;this.eg().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},em:function(a){a.__visibility=$.ig.Visibility.prototype.visible},en:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},eo:function(a){this.eg().remove(a)},ep:function(a,b,c,d,e,f){this.ar()},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)
},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.eg().count();c++){var d=this.eg().__inner[c];this.at(d,c,b);if(this.l&&!b){a.e($.ig.GradientDirection.prototype.radial,null)}a.g(d)}}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var d=this.ec.h().getEnumerator();while(d.moveNext()){var c=d.current();var e=new $.ig.PathVisualData(1,"column"+b,c);e.tags().add("Main");a.shapes().add(e);b++}},eq:function(){this.ar()},$type:new $.ig.Type("RadialColumnSeriesView",$.ig.AnchoredRadialSeriesView.prototype.$type)},true);$.ig.util.defType("RadialLineSeries","AnchoredRadialSeries",{et:function(){return new $.ig.RadialLineSeriesView(this)},eq:function(a){$.ig.AnchoredRadialSeries.prototype.eq.call(this,a);this.lb(a)},_lb:null,lb:function(a){if(arguments.length===1){this._lb=a;return a}else{return this._lb}},init:function(){$.ig.AnchoredRadialSeries.prototype.init.call(this);this.a3($.ig.RadialLineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.Control.prototype.a8.call(this)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredRadialSeries.prototype.fg.call(this,a,b);var c=b;c.ej()},j2:function(a,b){$.ig.AnchoredRadialSeries.prototype.j2.call(this,a,b);var c=b.ae();var d=b.ad();var e=a.f;var f=e.count();var g=new $.ig.List$1($.ig.Array.prototype.$type,2,f);var h=0;for(var i=0;i<f;i++){var j=new Array(4);g.add(j);j[0]=this.jo.j(a.f.__inner[i][0],a.f.__inner[i][1],c,d);j[1]=this.jo.m(a.f.__inner[i][0],a.f.__inner[i][1],c,d);j[2]=this.jo.j(a.f.__inner[i][0],a.f.__inner[i][2],c,d);var k=a.f.__inner[i][2];j[3]=this.jo.m(a.f.__inner[i][0],k,c,d);if(k>h){h=k}}var l=b;l.ek(f,g,false,this.unknownValuePlotting(),this.k1(g,f-1,b),l.dm().h(),this.resolution())},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.RadialLineSeries.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.RadialLineSeries.prototype.unknownValuePlottingProperty)}},ft:function(a,b,c,d){$.ig.AnchoredRadialSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.RadialLineSeries.prototype.k8:this.renderSeries(false);this.fs();break}},ko:function(){return true},$type:new $.ig.Type("RadialLineSeries",$.ig.AnchoredRadialSeries.prototype.$type)},true);$.ig.util.defType("RadialLineSeriesView","AnchoredRadialSeriesView",{_eg:null,eg:function(a){if(arguments.length===1){this._eg=a;return a}else{return this._eg}},init:function(a){this.ec=new $.ig.Path;this.ed=new $.ig.Path;this.ee=new $.ig.Path;$.ig.AnchoredRadialSeriesView.prototype.init.call(this,a);this.eg(a)},ak:function(){$.ig.MarkerSeriesView.prototype.ak.call(this)},ec:null,ed:null,ee:null,ej:function(){this.ec.bn(null);this.ed.bn(null);this.ee.bn(null);this.ar()},ek:function(a,b,c,d,e,f,g){this.d4().km().i(this.ec,this.ed,this.ee,a,b,c,d,e,f,g);this.ar()},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ec.__stroke=this.w().actualBrush();this.ec.a5(this.w().thickness());this.ec.a6(this.w().dashArray());this.ec.a7(this.w().dashCap());this.ee.__stroke=this.w().actualBrush();this.ee.a5(this.w().thickness());this.ee.a6(this.w().dashArray());this.ee.a7(this.w().dashCap());this.ed.__fill=this.w().actualBrush();this.ed.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ec.__stroke=a;this.ec.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ee.__stroke=a;this.ee.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ed.__fill=a;this.ed.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){a.e($.ig.GradientDirection.prototype.radial,null)}a.g(this.ed);a.g(this.ec);a.g(this.ee)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ec);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.ee);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ed);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("RadialLineSeriesView",$.ig.AnchoredRadialSeriesView.prototype.$type)},true);$.ig.util.defType("RadialPieSeries","AnchoredRadialSeries",{et:function(){return new $.ig.RadialPieSeriesView(this)},eq:function(a){$.ig.AnchoredRadialSeries.prototype.eq.call(this,a);this.ld(a)},_ld:null,ld:function(a){if(arguments.length===1){this._ld=a;return a}else{return this._ld}},init:function(){$.ig.AnchoredRadialSeries.prototype.init.call(this);this.a3($.ig.RadialPieSeries.prototype.$type)},radiusX:function(a){if(arguments.length===1){this.c($.ig.RadialPieSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.RadialPieSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.RadialPieSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.RadialPieSeries.prototype.radiusYProperty)}},preferredCategoryMode:function(a){return a!=null&&a==this.angleAxis()?$.ig.CategoryMode.prototype.mode2:$.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredRadialSeries.prototype.fg.call(this,a,b);var c=b;if(a&&c.ec!=null){c.ec.g(0)}},j2:function(a,b){$.ig.AnchoredRadialSeries.prototype.j2.call(this,a,b);var c=b;var d=b.ae();var e=b.ad();var f=this.valueAxis().h3(e,d);var g=a.f;var h=this.valueAxis();var i=Math.max(0,.5*h.i1());var j=i;j=Math.max(j,f.minLength());var k=this.angleAxis().he(d,e);var l={__x:.5,__y:.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var m=this.radiusX();var n=this.radiusY();var o=m>0&&n>0;var p=0;for(var q=0;q<g.count();++q){var r=c.ec.item(q);var s=g.__inner[q][0];var t=Math.min(g.__inner[q][2],f.maxLength());var u=null;if(o){u=this.lh(d,e,s-k*.5,s+k*.5,j,t,l,m,n)}else{u=this.lg(d,e,s-k*.5,s+k*.5,j,t,l)}r.bn(u);var v=g.__inner[q][2];if(v>p){p=v}}c.dq($.ig.ViewportUtils.prototype.e(p,d,e));c.dr({__x:$.ig.ViewportUtils.prototype.a(l.__x,d,e),__y:$.ig.ViewportUtils.prototype.c(l.__y,d,e),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.ec.g(g.count());c.ep()},lg:function(a,b,c,d,e,f,g){var $self=this;var h=$.ig.SliceCoords.prototype.aw(a,b,c,d,e,f,g);var i=new $.ig.PathFigure;i.__startPoint=h.m();i.__isClosed=true;i.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d(h.n());return $ret}());i.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(h.o());$ret.k(h.v());$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(h.u());return $ret}());i.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d(h.p());return $ret}());i.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(h.m());$ret.k(h.w());$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.i(h.u());return $ret}());var j=new $.ig.PathGeometry;j.d().add(i);return j},lh:function(a,b,c,d,e,f,g,h,i){var $self=this;var j=$.ig.SliceCoords.prototype.ax(a,b,c,d,e,f,g,h,i);if(j==null){return this.lg(a,b,c,d,e,f,g)}var k=new $.ig.PathFigure;k.__startPoint=j.m();k.__isClosed=true;var l=(c+(d-c)*.5)*180/Math.PI+90;var m=new $.ig.Size(j.x().c()*(e/f),j.x().d()*(e/f));k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.q());$ret.k(m);$ret.l(l);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(false);return $ret}());k.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d(j.n());return $ret}());k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.r());$ret.k(j.x());$ret.l(l);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(false);return $ret}());k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.o());$ret.k(j.v());$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(j.u());return $ret}());k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.s());$ret.k(j.x());$ret.l(l);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(false);return $ret}());k.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d(j.p());return $ret}());k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.t());$ret.k(m);$ret.l(l);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.i(false);return $ret}());k.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h(j.m());$ret.k(j.w());$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.i(j.u());return $ret}());var n=new $.ig.PathGeometry;n.d().add(k);return n},ft:function(a,b,c,d){$.ig.AnchoredRadialSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.RadialPieSeries.prototype.k8:case $.ig.RadialPieSeries.prototype.k9:this.renderSeries(false);break}},$type:new $.ig.Type("RadialPieSeries",$.ig.AnchoredRadialSeries.prototype.$type)},true);$.ig.util.defType("SliceCoords","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},aw:function(a,b,c,d,e,f,g){var $self=this;var h=Math.min(c,d);var i=Math.max(c,d);var j=Math.cos(h);var k=Math.sin(h);var l=Math.max(0,e);var m=f;var n=g.__x+j*l;var o=g.__y+k*l;var p=g.__x+j*m;var q=g.__y+k*m;var r=Math.cos(i);var s=Math.sin(i);var t=g.__x+r*l;var u=g.__y+s*l;var v=g.__x+r*m;var w=g.__y+s*m;n=$.ig.ViewportUtils.prototype.a(n,a,b);o=$.ig.ViewportUtils.prototype.c(o,a,b);p=$.ig.ViewportUtils.prototype.a(p,a,b);q=$.ig.ViewportUtils.prototype.c(q,a,b);t=$.ig.ViewportUtils.prototype.a(t,a,b);u=$.ig.ViewportUtils.prototype.c(u,a,b);v=$.ig.ViewportUtils.prototype.a(v,a,b);w=$.ig.ViewportUtils.prototype.c(w,a,b);var x={__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var y={__x:p,__y:q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var z={__x:v,__y:w,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var aa={__x:t,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ab=$.ig.ViewportUtils.prototype.e(m,a,b);var ac=$.ig.ViewportUtils.prototype.g(m,a,b);var ad=$.ig.ViewportUtils.prototype.e(l,a,b);var ae=$.ig.ViewportUtils.prototype.g(l,a,b);return function(){var $ret=new $.ig.SliceCoords;$ret.m(x);$ret.n(y);$ret.o(z);$ret.p(aa);$ret.u(i-h>Math.PI);$ret.v(new $.ig.Size(ab,ac));$ret.w(new $.ig.Size(ad,ae));return $ret}()},ax:function(a,b,c,d,e,f,g,h,i){var j=$.ig.ViewportUtils.prototype.f(i,a,b);var k=f-e;if(k<0){return null}if($.ig.ViewportUtils.prototype.e(k,a,b)<2){return null}if(j*2>k){j=k/2;i=$.ig.ViewportUtils.prototype.e(j,a,b)}var l=$.ig.ViewportUtils.prototype.f(h,a,b);var m=l/(f-j);var n=Math.atan(m);if(n*2>Math.abs(d-c)){n=Math.abs(d-c)/2;h=$.ig.ViewportUtils.prototype.e(Math.tan(n)*(f-j),a,b)}var o=$.ig.SliceCoords.prototype.aw(a,b,c+n,d-n,e,f,g);var p=$.ig.SliceCoords.prototype.aw(a,b,c,d,e+j*(e/f),f-j,g);o.r(o.n());o.t(o.p());o.q(p.m());o.n(p.n());o.s(p.o());o.p(p.p());o.x(new $.ig.Size(h,i));return o},$type:new $.ig.Type("SliceCoords",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialPieSeriesView","AnchoredRadialSeriesView",{_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},init:function(a){var $self=this;$.ig.AnchoredRadialSeriesView.prototype.init.call(this,a);this.ef(a);this.ec=function(){var $ret=new $.ig.Pool$1($.ig.Path.prototype.$type);$ret.create($self.el.runOn($self));$ret.activate($self.em.runOn($self));$ret.disactivate($self.en.runOn($self));$ret.destroy($self.eo.runOn($self));return $ret}()},ec:null,ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);this.eg(new $.ig.List$1($.ig.Path.prototype.$type,0));if(!this.af()){this.w().resolution(4);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},_eg:null,eg:function(a){if(arguments.length===1){this._eg=a;return a}else{return this._eg}},el:function(){var $self=this;var a=function(){var $ret=new $.ig.Path;$ret.dataContext(function(){var $ret=new $.ig.DataContext;$ret.series($self.w());return $ret}());return $ret}();this.eg().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},em:function(a){a.__visibility=$.ig.Visibility.prototype.visible},en:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},eo:function(a){this.eg().remove(a)},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.__fill=this.w().actualBrush();c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__stroke=d;c.a5(this.w().thickness());c.__fill=d},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.eg().count();c++){var d=this.eg().__inner[c];this.at(d,c,b);if(this.l&&!b){var e=this.dq()*2;var f=d.__fill!=null&&d.__fill.isGradient()&&this.dr()!=null?new $.ig.Rect(0,this.dr().__x-this.dq(),this.dr().__y-this.dq(),e,e):null;a.e($.ig.GradientDirection.prototype.radial,f)}a.g(d)}}},ep:function(){this.ar()},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var d=this.ec.h().getEnumerator();while(d.moveNext()){var c=d.current();var e=new $.ig.PathVisualData(1,"slice"+b,c);e.tags().add("Main");a.shapes().add(e);b++}},$type:new $.ig.Type("RadialPieSeriesView",$.ig.AnchoredRadialSeriesView.prototype.$type)},true);$.ig.util.defType("ScatterAxisInfoCache","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("ScatterAxisInfoCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DictInterpolator$3","Object",{$tKey:null,$tValue:null,$tFrame:null,init:function($tKey,$tValue,$tFrame,a,b,c,d){this.$tKey=$tKey;this.$tValue=$tValue;this.$tFrame=$tFrame;this.$type=this.$type.specialize(this.$tKey,this.$tValue,this.$tFrame);$.ig.Object.prototype.init.call(this);this.e(a);this.f(b);this.g(c);this.h(d)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},q:function(a,b,c,d,e,f){var $self=this;var g=new $.ig.List$1(this.$tKey,0);var i=a.keys().getEnumerator();while(i.moveNext()){var h=i.current();var j;var k;var l=a.item(h);var m=function(){var $ret=c.tryGetValue(h,j);j=$ret.value;return $ret.ret}();var n=function(){var $ret=d.tryGetValue(h,k);k=$ret.value;return $ret.ret}();if(!m&&!n){g.add(h)}else{this.e()(l,b,j,k,e,f);if(!this.g()(l)){g.add(h)}}}var p=g.getEnumerator();while(p.moveNext()){var o=p.current();a.remove(o)}var r=c.keys().getEnumerator();while(r.moveNext()){var q=r.current();var s=c.item(q);var t;var u;(function(){var $ret=d.tryGetValue(q,t);t=$ret.value;return $ret.ret})();var v=function(){var $ret=a.tryGetValue(q,u);u=$ret.value;return $ret.ret}();if(!v){u=this.h()();this.e()(u,b,s,t,e,f);if(!this.g()(u)){continue}a.add(this.f()(u),u)}}var x=d.keys().getEnumerator();while(x.moveNext()){var w=x.current();var y=d.item(w);var z;var aa;var ab=function(){var $ret=c.tryGetValue(w,z);z=$ret.value;return $ret.ret}();var ac=function(){var $ret=a.tryGetValue(w,aa);aa=$ret.value;return $ret.ret}();if(!ac&&!ab){aa=this.h()();this.e()(aa,b,z,y,e,f);if(!this.g()(aa)){continue}a.add(this.f()(aa),aa)}}},$type:new $.ig.Type("DictInterpolator$3",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OwnedPoint","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.f({__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("OwnedPoint",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterFrame","ScatterFrameBase$1",{init:function(){$.ig.ScatterFrameBase$1.prototype.init.call(this,$.ig.ScatterFrame.prototype.$type);this.a7(new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0))},_a7:null,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},af:function(a,b,c){$.ig.ScatterFrameBase$1.prototype.af.call(this,a,b,c);var d=$.ig.util.cast($.ig.ScatterFrame.prototype.$type,b);var e=$.ig.util.cast($.ig.ScatterFrame.prototype.$type,c);if(d==null||e==null){return}this.t().q(this.a7(),a,d.a7(),e.a7(),d,e)},$type:new $.ig.Type("ScatterFrame",$.ig.ScatterFrameBase$1.prototype.$type.specialize($.ig.ScatterFrame.prototype.$type))},true);$.ig.util.defType("ScatterSeries","ScatterBase",{et:function(){return new $.ig.ScatterSeriesView(this)},eq:function(a){$.ig.ScatterBase.prototype.eq.call(this,a);this.ln(a)},_ln:null,ln:function(a){if(arguments.length===1){this._ln=a;return a}else{return this._ln}},init:function(){$.ig.ScatterBase.prototype.init.call(this);this.a3($.ig.ScatterSeries.prototype.$type);this.jv=new $.ig.ScatterFrame;this.jw=new $.ig.ScatterFrame;this.jx=new $.ig.ScatterFrame},$type:new $.ig.Type("ScatterSeries",$.ig.ScatterBase.prototype.$type)},true);$.ig.util.defType("ScatterSeriesView","ScatterBaseView",{_ev:null,ev:function(a){if(arguments.length===1){this._ev=a;return a}else{return this._ev}},init:function(a){$.ig.ScatterBaseView.prototype.init.call(this,a);this.ev(a)},ak:function(){var $self=this;$.ig.ScatterBaseView.prototype.ak.call(this);if(!this.af()){this.cr().markerType($.ig.MarkerType.prototype.automatic);this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.q);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},$type:new $.ig.Type("ScatterSeriesView",$.ig.ScatterBaseView.prototype.$type)},true);$.ig.util.defType("CoercionInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("CoercionInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesViewerSurfaceViewer","DependencyObject",{init:function(a,b){this.h=true;$.ig.DependencyObject.prototype.init.call(this);if(a==null||b==null){throw new $.ig.ArgumentNullException("model")}this.s(a);this.s().windowRectChanged=$.ig.Delegate.prototype.combine(this.s().windowRectChanged,this.z.runOn(this));this.q(b);this.t(new $.ig.Canvas);this.ak()},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},z:function(a,b){var c=this.r();this.r(true);this.zoomLevel(1-Math.min(b.newRect().height(),b.newRect().width()));this.r(c)},g:null,s:function(a){if(arguments.length===1){if(this.g!=null){var b=$.ig.util.cast($.ig.INotifyPropertyChanged.prototype.$type,this.g);if(b!=null){b.propertyChanged=$.ig.Delegate.prototype.remove(b.propertyChanged,this.ac.runOn(this))}}this.g=a;if(this.g!=null){var c=$.ig.util.cast($.ig.INotifyPropertyChanged.prototype.$type,this.g);if(c!=null){c.propertyChanged=$.ig.Delegate.prototype.combine(c.propertyChanged,this.ac.runOn(this))}}return a}else{return this.g}},ac:function(a,b){if(b.propertyName()=="DefaultInteraction"){this.k=this.s().defaultInteraction();this.aj(b.propertyName(),this.defaultInteraction(),this.defaultInteraction())}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},zoomTo100:function(){this.s().windowRect($.ig.XamDataChart.prototype.dm)},scaleToFit:function(){this.s().windowRect($.ig.XamDataChart.prototype.dm)},renderPreview:function(){if(!this.u()){return}var a=new $.ig.RenderSurface;a.b(this.q().ai().c9().a0());if(a.b()!=null&&a.b().b()){var b=this.q().ai().c9().a1();this.q().bi(b.c(),b.d(),a)}this.u(false)},worldRect:function(){return $.ig.XamDataChart.prototype.dm},viewportRect:function(){return this.s().viewportRect()},minimumZoomLevel:function(){return 0},maximumZoomLevel:function(){if(this.s().windowRectMinWidth()==1e-4){return.9}else{return 1-this.s().windowRectMinWidth()}},h:null,u:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},zoomLevel:function(a){if(arguments.length===1){this.c($.ig.SeriesViewerSurfaceViewer.prototype.i,a);return a}else{return this.b($.ig.SeriesViewerSurfaceViewer.prototype.i)}},aj:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}switch(a){case $.ig.SeriesViewerSurfaceViewer.prototype.e:if(c-this.minimumZoomLevel()<-1e-5){this.zoomLevel(this.minimumZoomLevel());return}if(c-this.maximumZoomLevel()>1e-4){this.zoomLevel(this.maximumZoomLevel());return}var d=this.s()!=null&&this.s().f1()!=null&&this.s().f1().dv();if(!this.r()&&!d){var e=1-this.zoomLevel();var f=this.s().actualWindowRect().getCenter();var g=new $.ig.Rect(0,f.__x-e/2,f.__y-e/2,e,e);this.s().windowRect($.ig.SeriesViewerSurfaceViewer.prototype.am(this.s().windowRect(),g,this.s().horizontalZoomable(),this.s().verticalZoomable(),this.worldRect()))}this.ak();if(this.s().f1()!=null){this.s().f1().ge(this.zoomLevel())}break}},ak:function(){var a=Math.round(100*(1/(1-this.zoomLevel())));if(a<=1e3){this.zoomLevelDisplayText(a.toString())}else{this.zoomLevelDisplayText("> 1000")}},j:null,zoomLevelDisplayText:function(a){if(arguments.length===1){var b=this.zoomLevelDisplayText()!=a;if(b){var c=this.zoomLevelDisplayText();this.j=a;this.aj($.ig.SeriesViewerSurfaceViewer.prototype.f,c,a)}return a}else{return this.j}},k:null,defaultInteraction:function(a){if(arguments.length===1){this.k=a;this.s().defaultInteraction(a);return a}else{return this.k}},propertyChanged:null,am:function(a,b,c,d,e){var f,g,h,i;if(c){f=b.left();h=b.width()}else{f=a.left();h=a.width()}if(d){g=b.top();i=b.height()}else{g=a.top();i=a.height()}var j=f+h;var k=g+i;var l=Math.max(0,e.left()-f);var m=Math.max(0,j-e.right());var n=Math.max(0,e.top()-g);var o=Math.max(0,k-e.bottom());f+=l-m;g+=n-o;var p=new $.ig.Rect(0,f,g,h,i);p.intersect(e);return p},$type:new $.ig.Type("SeriesViewerSurfaceViewer",$.ig.DependencyObject.prototype.$type,[$.ig.IOverviewPlusDetailControl.prototype.$type,$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("OverviewPlusDetailViewportHost","Object",{init:function(a){$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("view")}this.b(a)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},getViewInfo:function(a,b){a=new $.ig.Rect(0,0,0,this.b().ai().c9().ar().width(),this.b().ai().c9().ar().height());b=$.ig.SeriesViewer.prototype.dm;return{viewportRect:a,windowRect:b}},$type:new $.ig.Type("OverviewPlusDetailViewportHost",$.ig.Object.prototype.$type,[$.ig.IProvidesViewport.prototype.$type])},true);$.ig.util.defType("SeriesViewerViewManager","Object",{_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},at:function(a){if(a==null){if(this.v()!=null){this.v().bl()}this.m(null);this.n(null);this.o(null);this.p(null);this.q(null);this.r(null);this.s(null);this.t(null);this.u(null);this.w(null);this.v(null);return}var b=a;this.m($(b));this.a.ed();this.a.dh();this.m().css("position","relative");this.n($('<canvas style="position : absolute; top : 0; left : 0" />'));this.o($('<canvas style="position : absolute; top : 0; left : 0" />'));this.p($('<canvas style="position : absolute; top : 0; left : 0" />'));this.q($('<canvas style="position : absolute; top : 0; left : 0" />'));this.m().append(this.n());this.m().append(this.p());this.m().append(this.o());this.r(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.n()[0].getContext("2d")));this.s(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.o()[0].getContext("2d")));this.t(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.p()[0].getContext("2d")));this.u(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.q()[0].getContext("2d")));this.a.de(this.r());this.a.dr(this.m().width(),this.m().height());this.v(new $.ig.DOMEventProxy(this.o()));this.w($("<div></div>"));this.w().hide();this.w().css("position","absolute");this.w().css("z-index","10000");this.w().addClass(this.a.ag().tooltipStyle());this.m().append(this.w())},au:function(){this.o().css("cursor","default")},av:function(){this.o().css("cursor","pointer")},aw:function(){var $self=this;return function(){var $ret=new $.ig.Brush;$ret.__fill="#000000";return $ret}()},ax:function(a,b){this.n().attr("width",a.toString());this.n().attr("height",b.toString());this.o().attr("width",a.toString());this.o().attr("height",b.toString());this.o().attr("tabindex","0");this.o().css("outline","0");this.p().attr("width",a.toString());this.p().attr("height",b.toString());this.q().attr("width",a.toString());this.q().attr("height",b.toString())},ay:function(){var a=$.ig.DOMEventProxy.prototype.di(this.m());return new $.ig.Size(a.left(),a.top())},az:function(a,b,c,d,e){a=new $.ig.BrushCollection;b=new $.ig.BrushCollection;var f=1;var g=true;var h=$("<div></div>");var i=$.ig.util.getClassCount(".ui-chart-palette-",true);if(i==0){var j=new $.ig.Brush;j.__fill="#B1BFC9";var k=new $.ig.Brush;k.__fill="#50a8be";var l=new $.ig.Brush;l.__fill="#798995";var m=new $.ig.Brush;m.__fill="#fc6754";var n=new $.ig.Brush;n.__fill="#4F606C";var o=new $.ig.Brush;o.__fill="#fec33c";var p=new $.ig.Brush;p.__fill="#374650";var q=new $.ig.Brush;q.__fill="#3c6399";var r=new $.ig.Brush;r.__fill="#162C3B";var s=new $.ig.Brush;s.__fill="#91af49";a.add(k);a.add(m);a.add(o);a.add(q);a.add(s);b.add(j);b.add(l);b.add(n);b.add(p);b.add(r);f=6;i=5}var t=$.ig.util.getClassCount(".ui-chart-axis",false);if(t==0){g=false}this.m().append(h);for(var u=f;u<=i;u++){var v=$.ig.BrushUtil.prototype.b("ui-chart-palette-"+u,h);a.add(v[0]);b.add(v[1])}if(g){var w=$.ig.BrushUtil.prototype.b("ui-chart-axis",h);e=w[1]}else{var x=new $.ig.Brush;x.__fill="#989EA3";e=x}h.remove();c=new $.ig.Brush;c.__fill=this.m().css("color");var y=this.m().css("font-style");var z=this.m().css("font-variant");var aa=this.m().css("font-weight");var ab=this.m().css("font-size");var ac=this.m().css("line-height");var ad=this.m().css("font-family");d="";var ae=true;if(y.length>0){if(!ae){d+=" "}else{ae=false}d+=y}if(z.length>0){if(!ae){d+=" "}else{ae=false}d+=z}if(aa.length>0){if(!ae){d+=" "}else{ae=false}d+=aa}if(ab.length>0){if(!ae){d+=" "}else{ae=false}d+=ab}if(ac.length>0){if(!ae){d+="/"}else{ae=false}d+=ac}if(ad.length>0){if(!ae){d+=" "}else{ae=false}d+=ad}return{brushes:a,outlines:b,fontBrush:c,font:d,axisLineBrush:e}},a0:function(){this.w().children().remove()},a1:function(x_){var box_=this.w();var offset_=$.ig.DOMEventProxy.prototype.di(this.w());var a=this.ay();x_=a.c()+this.a.ag().viewportRect().left()+x_;box_.offset({left:x_,top:offset_.top})},a2:function(y_){var box_=this.w();var offset_=this.w().offset();var a=this.ay();y_=a.d()+this.a.ag().viewportRect().top()+y_;box_.offset({left:offset_.left,top:y_})},a3:function(a){var b=a;b.show();this.w().append(b)},a4:function(){this.w().hide()},a5:function(){this.w().show()},a6:function(a){$("body").append(a)},a7:function(a){a.remove()},a8:function(){this.a.dr(this.m().width(),this.m().height())},$type:new $.ig.Type("SeriesViewerViewManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FragmentBase","HorizontalAnchoredCategorySeries",{init:function(){$.ig.HorizontalAnchoredCategorySeries.prototype.init.call(this);this.lr=null},_logicalSeriesLink:null,logicalSeriesLink:function(a){if(arguments.length===1){this._logicalSeriesLink=a;return a}else{return this._logicalSeriesLink}},lr:null,parentSeries:function(a){if(arguments.length===1){this.lr=a;return a}else{return this.lr}},jx:function(){if(this.parentSeries()==null){return null}return this.parentSeries().j6()},lx:function(a,b,c,d,e,f,g){var h=c[0];var i=c[1];var j=new $.ig.Rect(0,h-5,i-5,11,11);if(!isNaN(h)&&!isNaN(i)&&!Number.isInfinity(h)&&!Number.isInfinity(i)&&d.tryAdd(j)){b.h.add({__x:h,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.updateMarkerTemplate(g,f);return true}return false},j3:function(a,b){if(this.valueColumn()==null||this.parentSeries()==null||this.logicalSeriesLink()==null){return}if(this.logicalSeriesLink().ct().count()==0||this.logicalSeriesLink().cs().count()==0){return}this.j9(b).m(a,b)},ly:function(a,b,c){var d=this.k3(c);var e=d;var f=this.logicalSeriesLink().cv();var g=f?this.parentSeries().kz().k():this.parentSeries().kz().l();var h=g.indexOf(this);if(a.count()==0){return}if(h==-1){return}var i=false;for(var j=h;j>=0;j--){if(i){break}if(j==0){a.add({__x:a.last$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});
a.add({__x:a.first$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});break}var k=$.ig.util.cast($.ig.FragmentBase.prototype.$type,g.__inner[j-1]);if(k!=null&&k.kt()!=null&&k.kt().d().count()>0&&this.view()!=null&&k.ff(this.view().ad(),this.view().ae(),this.view())){i=true;for(var l=k.kt().d().count()-1;l>=0;l--){a.add(k.kt().d().__inner[l])}}}},ff:function(a,b,c){var d=$.ig.AnchoredCategorySeries.prototype.ff.call(this,a,b,c);var e=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.parentSeries().j6());var f=this.parentSeries().j7();if(this.parentSeries()==null||e==null||e.itemsSource()==null||f==null||this.parentSeries().eb()==null||e.seriesViewer()==null||f.seriesViewer()==null){d=false}if(this.valueColumn()==null){return false}if(Number.isInfinity(this.valueColumn().minimum())&&Number.isInfinity(this.valueColumn().maximum())){d=false}if(isNaN(this.valueColumn().minimum())&&isNaN(this.valueColumn().maximum())){d=false}return d},k3:function(a){var b=0;var c=a.ae();var d=a.ad();var e=new $.ig.ScalerParams(c,d,this.yAxis().isInverted());if(!c.isEmpty()&&!d.isEmpty()&&this.yAxis()!=null){b=this.yAxis().getScaledValue(0,e)}return b},e9:function(a){return null},lz:function(){if(this.parentSeries()==null){return-1}var a=this.parentSeries().index();var b=new $.ig.PointCollection(0);b.reverse$1($.ig.Point.prototype.$type);var d=this.parentSeries().reverseLegendOrder()?this.parentSeries().k1().reverse$1($.ig.Point.prototype.$type):this.parentSeries().k1().getEnumerator();while(d.moveNext()){var c=d.current();if(c.visualSeriesLink()==this){return a}if(this.parentSeries().actualLegend()==null||c.actualVisibility()!=$.ig.Visibility.prototype.visible||c.actualLegendItemVisibility()!=$.ig.Visibility.prototype.visible){continue}a++}return-1},l0:function(a){if(a==null){}},ft:function(a,b,c,d){$.ig.HorizontalAnchoredCategorySeries.prototype.ft.call(this,a,b,c,d);if(this.parentSeries()==null){return}var e=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,this.parentSeries().j7());if(e==null){return}switch(b){case $.ig.AnchoredCategorySeries.prototype.kc:this.kr().dz().ac();if(e!=null&&!e.updateRange()){this.parentSeries().lq().dl().q(this.resolution());this.renderSeries(false)}break}},fe:function(a,b){$.ig.CategorySeries.prototype.fe.call(this,a,b)},$type:new $.ig.Type("FragmentBase",$.ig.HorizontalAnchoredCategorySeries.prototype.$type)},true);$.ig.util.defType("AreaFragment","FragmentBase",{init:function(){$.ig.FragmentBase.prototype.init.call(this);this.a3($.ig.AreaFragment.prototype.$type)},et:function(){return new $.ig.AreaFragmentView(this)},_l2:null,l2:function(a){if(arguments.length===1){this._l2=a;return a}else{return this._l2}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.l2(a)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eh()},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);this.kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null?true:false);var c=$.ig.util.cast($.ig.AreaFragmentView.prototype.$type,b);var d=c.dl().h();this.kt().p(c.d9,c.ea,c.eb,c.ec,a.f.count(),a.f,true,d,this.resolution(),function(e,f,g,h,i){return $self.ly(e,a.f,b)},$.ig.UnknownValuePlotting.prototype.linearInterpolate)},$type:new $.ig.Type("AreaFragment",$.ig.FragmentBase.prototype.$type)},true);$.ig.util.defType("AreaFragmentView","AnchoredCategorySeriesView",{_ee:null,ee:function(a){if(arguments.length===1){this._ee=a;return a}else{return this._ee}},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},init:function(a){var $self=this;this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;this.ec=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ee(a)},d9:null,ea:null,eb:null,ec:null,eh:function(){this.d9.bn(null);this.eb.bn(null);this.ea.bn(null);this.ec.bn(null)},ds:function(){return new $.ig.AreaFragmentBucketCalculator(this)},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__fill=this.w().actualBrush();this.eb.__fill=this.w().actualBrush();this.eb.__opacity=.5;this.ea.__stroke=this.w().actualOutline();this.ea.a5(this.w().thickness());this.ea.a6(this.w().dashArray());this.ea.a7(this.w().dashCap());this.ec.__stroke=this.w().actualOutline();this.ec.a5(this.w().thickness());this.ec.a6(this.w().dashArray());this.ec.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__fill=a;this.eb.__fill=a;this.eb.__opacity=1;this.ea.__stroke=a;this.ea.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ec.__stroke=a;this.ec.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(this.l&&!b){var c=this.cd(this.ee().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.d9);a.g(this.eb);a.g(this.ea);a.g(this.ec)},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ea);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.ec);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.d9);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.eb);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("AreaFragmentView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("ColumnFragment","FragmentBase",{init:function(){$.ig.FragmentBase.prototype.init.call(this);this.a3($.ig.ColumnFragment.prototype.$type)},et:function(){return new $.ig.ColumnFragmentView(this)},_l6:null,l6:function(a){if(arguments.length===1){this._l6=a;return a}else{return this._l6}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.l6(a)},radiusX:function(a){if(arguments.length===1){this.c($.ig.ColumnFragment.prototype.radiusXProperty,a);return a}else{return this.b($.ig.ColumnFragment.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.ColumnFragment.prototype.radiusYProperty,a);return a}else{return this.b($.ig.ColumnFragment.prototype.radiusYProperty)}},xAxis:function(){return this.parentSeries()!=null?$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.parentSeries().j6()):null},yAxis:function(){return this.parentSeries()!=null?$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.parentSeries().j7()):null},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},j6:function(){return null},j7:function(){return null},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;if(a&&c.eh()!=null){this.jm.h.clear();c.eh().g(0)}},e9:function(a){if(this.valueColumn()==null||this.valueColumn().count()==0){return null}return new $.ig.AxisRange(this.valueColumn().minimum(),this.valueColumn().maximum())},ff:function(a,b,c){if(this.parentSeries()==null){return false}return this.parentSeries().lv(this,a,b,this.l9(c))},ev:function(){return true},e8:function(a,b){var c=$.ig.util.cast($.ig.FrameworkElement.prototype.$type,a);var d=c!=null?$.ig.util.cast($.ig.DataContext.prototype.$type,c.dataContext()):null;var e=d!=null?d.item():null;if(e==null){var f=this.view().ad();var g=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var h={__x:g.left()+g.width()*(b.__x-f.left())/f.width(),__y:g.top()+g.height()*(b.__y-f.top())/f.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};e=this.getItem(h)}return e},getItem:function(a){var b=0;if($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){b=this.jz(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},jz:function(a){var b=this.view().ae();var c=this.view().ad();if(b.isEmpty()||c.isEmpty()){return-1}var d=new $.ig.ScalerParams(b,c,this.xAxis().isInverted());var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis());var f=this.xAxis().getUnscaledValue(c.left(),d);var g=this.xAxis().getUnscaledValue(c.right(),d);var h=(a.__x-b.left())/b.width();var i=f+(g-f)*h;if(i<=$.ig.Date.prototype.minValue().getTime()||i>=$.ig.Date.prototype.maxValue().getTime()){return-1}var j=e.getIndexClosestToUnscaledValue(i);return j},getItemIndex:function(a){if(this.parentSeries()==null){return-1}return this.parentSeries().lu(a)},lx:function(a,b,c,d,e,f,g){var h=0;var i=c[0];var j=e<h?c[2]:c[1];var k=new $.ig.Rect(0,i-5,j-5,11,11);if(!isNaN(i)&&!isNaN(j)&&!Number.isInfinity(i)&&!Number.isInfinity(j)&&d.tryAdd(k)){b.h.add({__x:i,__y:j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.updateMarkerTemplate(g,f);return true}return false},l9:function(a){if(a==this.d7()){return this.parentSeries().d7()}else{return this.parentSeries().js()}},j3:function(a,b){if(this.valueColumn()==null||this.parentSeries()==null||this.logicalSeriesLink()==null||this.logicalSeriesLink().cs().count()==0||this.logicalSeriesLink().ct().count()==0){return}var c;if(b==this.d7()){c=this.parentSeries().jn}else{c=this.parentSeries().jm}var d=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,this.l9(b));a.f.clear();a.h.clear();var e=d.dl().f();var f=d.dl().g();var g=this.parentSeries().jr().r().yScaler();var h=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.parentSeries().jr().r().scaler());var i=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,g)!==null&&$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,g).hb();var j=$.ig.util.cast($.ig.StackedBucketCalculator.prototype.$type,d.dl());var k=d.dl().h();var l=0;for(var m=e;m<=f;m++){var n=m*k;if(this.__visibility!=$.ig.Visibility.prototype.visible){break}if(m>=this.valueColumn().count()||m>=c.f.count()+e){continue}var o=this.valueColumn().item(m);var p=!i||i&&o>0;var q;if(h==null){q=j.r(this,m,m,b.ae(),b.ad(),c)}else{q=j.r(this,m,h.sortedIndices().__inner[m],b.ae(),b.ad(),c)}a.f.add(q);if(p){if(this.lx(b,a,q,this.jr().r().provideCollisionDetector(),o,n,l)){l++}}}b.dm().g(l)},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);if(this.parentSeries()==null){return}this.parentSeries().lx(this,a,b);$.ig.CategoryMarkerManager.prototype.a(this,a.h,b.dm(),this.useLightweightMarkers())},ft:function(a,b,c,d){$.ig.FragmentBase.prototype.ft.call(this,a,b,c,d)},$type:new $.ig.Type("ColumnFragment",$.ig.FragmentBase.prototype.$type)},true);$.ig.util.defType("BarFragment","ColumnFragment",{init:function(){$.ig.ColumnFragment.prototype.init.call(this);this.a3($.ig.BarFragment.prototype.$type)},xAxis:function(){return this.parentSeries()!=null?this.parentSeries().xAxis():null},yAxis:function(){return this.parentSeries()!=null?this.parentSeries().yAxis():null},jx:function(){if(this.parentSeries()==null){return null}return this.parentSeries().j7()},lx:function(a,b,c,d,e,f,g){var h=c[0];var i=e<0?c[2]:c[1];var j=new $.ig.Rect(0,i-5,h-5,11,11);if(!isNaN(i)&&!isNaN(h)&&!Number.isInfinity(i)&&!Number.isInfinity(h)&&d.tryAdd(j)){b.h.add({__x:i,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.updateMarkerTemplate(g,f);return true}return false},getItem:function(a){var b=0;if($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.yAxis())!==null){b=this.jz(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},jz:function(a){var b=this.view().ae();var c=this.view().ad();if(b.isEmpty()||c.isEmpty()){return-1}var d=new $.ig.ScalerParams(b,c,this.yAxis().isInverted());var e=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.yAxis());var f=this.yAxis().getUnscaledValue(c.top(),d);var g=this.yAxis().getUnscaledValue(c.bottom(),d);var h=(a.__y-b.top())/b.height();var i=f+(g-f)*h;if(i<=$.ig.Date.prototype.minValue().getTime()||i>=$.ig.Date.prototype.maxValue().getTime()){return-1}var j=e.getIndexClosestToUnscaledValue(i);return j},k3:function(a){var b=0;var c=a.ae();var d=a.ad();var e=new $.ig.ScalerParams(c,d,this.xAxis().isInverted());if(!c.isEmpty()&&!d.isEmpty()&&this.xAxis()!=null){b=this.xAxis().getScaledValue(0,e)}return b},ft:function(a,b,c,d){$.ig.ColumnFragment.prototype.ft.call(this,a,b,c,d);if(this.parentSeries()==null||this.xAxis()==null){return}var e=this.xAxis();switch(b){case $.ig.AnchoredCategorySeries.prototype.kc:this.kr().dz().ac();if(e!=null&&!e.updateRange()){this.parentSeries().lq().dl().q(this.resolution());this.renderSeries(false)}break}},$type:new $.ig.Type("BarFragment",$.ig.ColumnFragment.prototype.$type)},true);$.ig.util.defType("AreaFragmentBucketCalculator","AnchoredCategoryBucketCalculator",{init:function(a){$.ig.AnchoredCategoryBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){var $self=this;var b=Math.min(a*this.h(),this.t().dy().valueColumn().count()-1);var c=Math.min(b+this.h()-1,this.t().dy().valueColumn().count()-1);var d=NaN;var e=NaN;var f=$.ig.util.cast($.ig.FragmentBase.prototype.$type,this.t().dy());var g=f.parentSeries();for(var h=b;h<=c;++h){var i=this.t().dy().valueColumn().item(h);if(isNaN(i)||Number.isInfinity(i)){i=0}var j=Math.abs(g.ky()[h])+g.kx()[h];if($.ig.util.cast($.ig.IStacked100Series.prototype.$type,g)!==null){if(j==0){i=0}else if(i<0){i=(f.logicalSeriesLink().ct().__inner[h]+i)/j*100}else{i=(f.logicalSeriesLink().cs().__inner[h]+i)/j*100}}else{i=i<0?f.logicalSeriesLink().ct().__inner[h]+i:f.logicalSeriesLink().cs().__inner[h]+i}if(!isNaN(d)){if(!isNaN(i)){d=Math.min(d,i);e=Math.max(e,i)}}else{d=i;e=i}}if(!isNaN(d)){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("AreaFragmentBucketCalculator",$.ig.AnchoredCategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("LineFragmentBucketCalculator","AnchoredCategoryBucketCalculator",{init:function(a){$.ig.AnchoredCategoryBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){var $self=this;var b=Math.min(a*this.h(),this.t().dy().valueColumn().count()-1);var c=Math.min(b+this.h()-1,this.t().dy().valueColumn().count()-1);var d=NaN;var e=NaN;var f=$.ig.util.cast($.ig.FragmentBase.prototype.$type,this.t().dy());var g=f.parentSeries();for(var h=b;h<=c;++h){var i=this.t().dy().valueColumn().item(h);var j=Math.abs(g.ky()[h])+g.kx()[h];if(isNaN(i)||Number.isInfinity(i)){i=0}if($.ig.util.cast($.ig.IStacked100Series.prototype.$type,g)!==null){if(j==0){i=0}else if(i<0){i=(f.logicalSeriesLink().ct().__inner[h]+i)/j*100}else{i=(f.logicalSeriesLink().cs().__inner[h]+i)/j*100}}else{i=i<0?f.logicalSeriesLink().ct().__inner[h]+i:f.logicalSeriesLink().cs().__inner[h]+i}if(!isNaN(d)){if(!isNaN(i)){d=Math.min(d,i);e=Math.max(e,i)}}else{d=i;e=i}}if(!isNaN(d)){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("LineFragmentBucketCalculator",$.ig.AnchoredCategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("SplineFragmentBucketCalculator","AnchoredCategoryBucketCalculator",{init:function(a){$.ig.AnchoredCategoryBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){var $self=this;var b=Math.min(a*this.h(),this.t().dy().valueColumn().count()-1);var c=Math.min(b+this.h()-1,this.t().dy().valueColumn().count()-1);var d=NaN;var e=NaN;var f=$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,this.t().dy());var g=f.parentSeries();for(var h=b;h<=c;++h){var i=this.t().dy().valueColumn().item(h);var j=Math.abs(g.ky()[h])+g.kx()[h];if(isNaN(i)||Number.isInfinity(i)){i=0}if($.ig.util.cast($.ig.IStacked100Series.prototype.$type,g)!==null){if(j==0){i=0}else if(i<0){i=(f.logicalSeriesLink().ct().__inner[h]+i)/j*100}else{i=(f.logicalSeriesLink().cs().__inner[h]+i)/j*100}}else{i=i<0?f.logicalSeriesLink().ct().__inner[h]+i:f.logicalSeriesLink().cs().__inner[h]+i}if(!isNaN(d)){if(!isNaN(i)){d=Math.min(d,i);e=Math.max(e,i)}}else{d=i;e=i}}if(!isNaN(d)){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);return $ret}()}return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("SplineFragmentBucketCalculator",$.ig.AnchoredCategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("StackedBucketCalculator","CategoryBucketCalculator",{init:function(a){$.ig.CategoryBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){var $self=this;var b=$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,this.e().dk());var c=Math.min(b.ky()!=null?b.ky().length:0,b.kx()!=null?b.kx().length:0);var d=Math.min(a*this.h(),c-1);var e=Math.min(d+this.h()-1,c-1);var f=NaN;var g=NaN;for(var h=d;h<=e;++h){var i=Math.min(b.ky()[h],b.kx()[h]);var j=Math.max(b.ky()[h],b.kx()[h]);if(!isNaN(f)){if(!isNaN(i)){f=Math.min(f,i);g=Math.max(g,i)}if(!isNaN(j)){f=Math.min(f,j);g=Math.max(g,j)}}else{f=i;g=j}}if(!isNaN(f)&&!isNaN(g)){return function(){var $ret=new Array;$ret.add(.5*(d+e));$ret.add(f);$ret.add(g);return $ret}()}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},r:function(a,b,c,d,e,f){return null},$type:new $.ig.Type("StackedBucketCalculator",$.ig.CategoryBucketCalculator.prototype.$type)},true);$.ig.util.defType("StackedBarBucketCalculator","StackedBucketCalculator",{init:function(a){$.ig.StackedBucketCalculator.prototype.init.call(this,a)},q:function(a){var b=this.e().ae();var c=this.e().ad();var d=$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.e().dk());var e=this.e().dk().eb();if(b.isEmpty()||c.isEmpty()||d.yAxis()==null||e==null||e.g()==0){this.h(0);return}var f=Math.floor(d.yAxis().hd(c.top(),b,c,$.ig.CategoryMode.prototype.mode0));var g=Math.ceil(d.yAxis().hd(c.bottom(),b,c,$.ig.CategoryMode.prototype.mode0));if(!d.yAxis().isInverted()){g=Math.ceil(d.yAxis().hd(c.top(),b,c,$.ig.CategoryMode.prototype.mode0));f=Math.floor(d.yAxis().hd(c.bottom(),b,c,$.ig.CategoryMode.prototype.mode0))}var h=Math.floor((g-f+1)*a/c.height());this.h(Math.max(1,h));this.f(Math.max(0,Math.floor(f/this.h())-1));this.g(Math.ceil(g/this.h()))},getBucket:function(a){return $.ig.StackedBucketCalculator.prototype.getBucket.call(this,a)},r:function(a,b,c,d,e,f){var $self=this;var g=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}();var h=$.ig.util.cast($.ig.BarFragment.prototype.$type,a);if(h==null||h.logicalSeriesLink()==null){return g}var i=$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.e().dk());var j=a.valueColumn().item(c);var k=0;var l=NaN;var m=NaN;var n=Number.NEGATIVE_INFINITY;var o=Number.POSITIVE_INFINITY;var p=Math.min(i.ky()!=null?i.ky().length:0,i.kx()!=null?i.kx().length:0);var q=c*this.h();var r=Math.min(q+this.h()-1,p-1);for(var s=q;s<=r;++s){j=a.valueColumn().item(s);if(j<k){o=Math.min(o,h.logicalSeriesLink().ct().__inner[s]+j);n=Math.max(n,h.logicalSeriesLink().ct().__inner[s])}else{o=Math.min(o,h.logicalSeriesLink().cs().__inner[s]);n=Math.max(n,h.logicalSeriesLink().cs().__inner[s]+j)}if(!isNaN(l)){if(!isNaN(o)){l=Math.min(l,o);m=Math.max(m,o)}if(!isNaN(n)){l=Math.min(l,n);m=Math.max(m,n)}}else{l=o;m=n}}var t=new $.ig.ScalerParams(d,e,i.xAxis().isInverted());g=function(){var $ret=new Array;$ret.add(f.f.__inner[b-$self.f()][0]);$ret.add(i.xAxis().getScaledValue(m,t));$ret.add(i.xAxis().getScaledValue(l,t));return $ret}();return g},$type:new $.ig.Type("StackedBarBucketCalculator",$.ig.StackedBucketCalculator.prototype.$type)},true);$.ig.util.defType("Stacked100BarBucketCalculator","StackedBarBucketCalculator",{init:function(a){$.ig.StackedBarBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){return $.ig.StackedBarBucketCalculator.prototype.getBucket.call(this,a)},r:function(a,b,c,d,e,f){var $self=this;var g=$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.e().dk());var h=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}();var i=$.ig.util.cast($.ig.BarFragment.prototype.$type,a);if(i==null||i.logicalSeriesLink()==null){return h}var j=a.valueColumn().item(c);var k=0;var l=0;var m=NaN;var n=NaN;var o=Number.NEGATIVE_INFINITY;var p=Number.POSITIVE_INFINITY;var q=Math.min(g.ky()!=null?g.ky().length:0,g.kx()!=null?g.kx().length:0);var r=c*this.h();var s=Math.min(r+this.h()-1,q-1);for(var t=r;t<=s;++t){j=a.valueColumn().item(t);k=Math.abs(g.ky()[t])+g.kx()[t];if(j<l){p=Math.min(p,(i.logicalSeriesLink().ct().__inner[t]+j)/k*100);o=Math.max(o,i.logicalSeriesLink().ct().__inner[t]/k*100)}else{p=Math.min(p,i.logicalSeriesLink().cs().__inner[t]/k*100);o=Math.max(o,(i.logicalSeriesLink().cs().__inner[t]+j)/k*100)}if(!isNaN(m)){if(!isNaN(p)){m=Math.min(m,p);n=Math.max(n,p)}if(!isNaN(o)){m=Math.min(m,o);n=Math.max(n,o)}}else{m=p;n=o}}var u=new $.ig.ScalerParams(d,e,g.xAxis().isInverted());h=function(){var $ret=new Array;$ret.add(f.f.__inner[b-$self.f()][0]);$ret.add(g.xAxis().getScaledValue(n,u));$ret.add(g.xAxis().getScaledValue(m,u));return $ret}();return h},$type:new $.ig.Type("Stacked100BarBucketCalculator",$.ig.StackedBarBucketCalculator.prototype.$type)},true);$.ig.util.defType("StackedColumnBucketCalculator","StackedBucketCalculator",{init:function(a){$.ig.StackedBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){return $.ig.StackedBucketCalculator.prototype.getBucket.call(this,a)},r:function(a,b,c,d,e,f){var $self=this;var g=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}();var h=$.ig.util.cast($.ig.ColumnFragment.prototype.$type,a);if(h==null||h.logicalSeriesLink()==null){return g}var i=$.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.e().dk());var j=a.valueColumn().item(c);var k=0;var l=NaN;var m=NaN;var n=Number.NEGATIVE_INFINITY;var o=Number.POSITIVE_INFINITY;var p=Math.min(i.ky()!=null?i.ky().length:0,i.kx()!=null?i.kx().length:0);var q=c*this.h();var r=Math.min(q+this.h()-1,p-1);for(var s=q;s<=r;++s){j=a.valueColumn().item(s);if(j<k){o=Math.min(o,h.logicalSeriesLink().ct().__inner[s]+j);n=Math.max(n,h.logicalSeriesLink().ct().__inner[s])}else{o=Math.min(o,h.logicalSeriesLink().cs().__inner[s]);n=Math.max(n,h.logicalSeriesLink().cs().__inner[s]+j)}if(!isNaN(l)){if(!isNaN(o)){l=Math.min(l,o);m=Math.max(m,o)}if(!isNaN(n)){l=Math.min(l,n);m=Math.max(m,n)}}else{l=o;m=n}}var t=new $.ig.ScalerParams(d,e,i.yAxis().isInverted());g=function(){var $ret=new Array;$ret.add(f.f.__inner[b-$self.f()][0]);$ret.add(i.yAxis().getScaledValue(m,t));$ret.add(i.yAxis().getScaledValue(l,t));return $ret}();return g},$type:new $.ig.Type("StackedColumnBucketCalculator",$.ig.StackedBucketCalculator.prototype.$type)},true);$.ig.util.defType("Stacked100ColumnBucketCalculator","StackedColumnBucketCalculator",{init:function(a){$.ig.StackedColumnBucketCalculator.prototype.init.call(this,a)},getBucket:function(a){return $.ig.StackedColumnBucketCalculator.prototype.getBucket.call(this,a)},r:function(a,b,c,d,e,f){var $self=this;var g=$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,this.e().dk());var h=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}();var i=$.ig.util.cast($.ig.ColumnFragment.prototype.$type,a);if(i==null||i.logicalSeriesLink()==null){return h}var j=a.valueColumn().item(c);var k=0;var l=NaN;var m=NaN;var n=Number.NEGATIVE_INFINITY;var o=Number.POSITIVE_INFINITY;var p=0;var q=Math.min(g.ky()!=null?g.ky().length:0,g.kx()!=null?g.kx().length:0);var r=c*this.h();var s=Math.min(r+this.h()-1,q-1);for(var t=r;t<=s;++t){j=a.valueColumn().item(t);p=Math.abs(g.ky()[t])+g.kx()[t];if(j<k){o=Math.min(o,(i.logicalSeriesLink().ct().__inner[t]+j)/p*100);n=Math.max(n,i.logicalSeriesLink().ct().__inner[t]/p*100)}else{o=Math.min(o,i.logicalSeriesLink().cs().__inner[t]/p*100);n=Math.max(n,(i.logicalSeriesLink().cs().__inner[t]+j)/p*100)}if(!isNaN(l)){if(!isNaN(o)){l=Math.min(l,o);m=Math.max(m,o)}if(!isNaN(n)){l=Math.min(l,n);m=Math.max(m,n)}}else{l=o;m=n}}var u=new $.ig.ScalerParams(d,e,i.yAxis().isInverted());h=function(){var $ret=new Array;$ret.add(f.f.__inner[b-$self.f()][0]);$ret.add(i.yAxis().getScaledValue(m,u));$ret.add(i.yAxis().getScaledValue(l,u));return $ret}();return h},$type:new $.ig.Type("Stacked100ColumnBucketCalculator",$.ig.StackedColumnBucketCalculator.prototype.$type)},true);$.ig.util.defType("ColumnFragmentView","AnchoredCategorySeriesView",{_ef:null,ef:function(a){if(arguments.length===1){this._ef=a;return a}else{return this._ef}},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},init:function(a){var $self=this;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ef(a);this.ei(new $.ig.List$1(Number,0));this.ej(new $.ig.List$1(Number,0));this.eh(function(){var $ret=new $.ig.Pool$1($.ig.Rectangle.prototype.$type);$ret.create($self.eu.runOn($self));$ret.activate($self.ev.runOn($self));$ret.disactivate($self.ew.runOn($self));$ret.destroy($self.ex.runOn($self));return $ret}());this.eg(new $.ig.List$1($.ig.Rectangle.prototype.$type,0))},_eg:null,eg:function(a){if(arguments.length===1){this._eg=a;return a}else{return this._eg}},_eh:null,eh:function(a){if(arguments.length===1){this._eh=a;return a}else{return this._eh}},_ei:null,ei:function(a){if(arguments.length===1){this._ei=a;return a}else{return this._ei}},_ej:null,ej:function(a){if(arguments.length===1){this._ej=a;return a}else{return this._ej}},eu:function(){var $self=this;var a=function(){var $ret=new $.ig.Rectangle;$ret.dataContext(function(){var $ret=new $.ig.DataContext;$ret.series($self.w());return $ret}());return $ret}();this.eg().add(a);a.__visibility=$.ig.Visibility.prototype.collapsed;return a},ev:function(a){a.__visibility=$.ig.Visibility.prototype.visible},ew:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},ex:function(a){this.eg().remove(a)},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());c.a6(this.w().dashArray());c.a7(this.w().dashCap())},ey:function(a,b,c){var d=false;if(a.v()!=c){d=true;a.v(c)}if(a.w()!=b){d=true;a.w(b)}if(d){this.ar()}},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){for(var c=0;c<this.eg().count();c++){var d=this.eg().__inner[c];this.at(d,c,b);if(this.l&&!b){var e=d.__fill!=null&&d.__fill.isGradient()?new $.ig.Rect(0,d.w(),d.v(),d.width(),d.height()):null;a.e($.ig.GradientDirection.prototype.bottomTop,e)}a.f(d)}}},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=0;var c=new $.ig.List$1($.ig.Rectangle.prototype.$type,0);var e=this.eh().h().getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}c.t(function(f,g){if(f.w()<g.w()){return-1}else if(f.w()>g.w()){return 1}else{return 0}});var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=new $.ig.RectangleVisualData(1,"column"+b,h);j.tags().add("Main");a.shapes().add(j)}b++},$type:new $.ig.Type("ColumnFragmentView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("LineFragment","FragmentBase",{init:function(){$.ig.FragmentBase.prototype.init.call(this);this.a3($.ig.LineFragment.prototype.$type)},et:function(){return new $.ig.LineFragmentView(this)},_l2:null,l2:function(a){if(arguments.length===1){this._l2=a;return a}else{return this._l2}},eq:function(a){$.ig.AnchoredCategorySeries.prototype.eq.call(this,a);this.l2(a)},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.eg()},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);var d=function(c){return a.f.__inner[c][0]};var f=function(e){return a.f.__inner[e][1]};var h=function(g){return a.f.__inner[g][0]};var j=function(i){return a.f.__inner[i][2]};this.kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null?true:false);var k=b.dl().h();var l=$.ig.util.cast($.ig.LineFragmentView.prototype.$type,b);this.kt().i(l.d9,l.ea,l.eb,a.f.count(),a.f,true,$.ig.UnknownValuePlotting.prototype.linearInterpolate,this.k5(a.f,a.f.count()-1,b.ad(),b.ae()),k,this.resolution())},$type:new $.ig.Type("LineFragment",$.ig.FragmentBase.prototype.$type)},true);$.ig.util.defType("LineFragmentView","AnchoredCategorySeriesView",{_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},init:function(a){this.d9=new $.ig.Path;this.ea=new $.ig.Path;this.eb=new $.ig.Path;$.ig.AnchoredCategorySeriesView.prototype.init.call(this,a);this.ed(a)},d9:null,ea:null,eb:null,eg:function(){this.ea.bn(null);this.d9.bn(null);this.eb.bn(null)},ds:function(){return new $.ig.LineFragmentBucketCalculator(this)},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.d9.__stroke=this.w().actualBrush();this.d9.a5(this.w().thickness());this.d9.a6(this.w().dashArray());this.d9.a7(this.w().dashCap());this.eb.__stroke=this.w().actualBrush();this.eb.a5(this.w().thickness());this.eb.a6(this.w().dashArray());this.eb.a7(this.w().dashCap());this.ea.__fill=this.w().actualBrush();this.ea.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.d9.__stroke=a;this.d9.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.eb.__stroke=a;this.eb.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ea.__fill=a;this.ea.__opacity=1},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ed().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ea);a.g(this.d9);a.g(this.eb)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.d9);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.eb);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ea);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("LineFragmentView",$.ig.AnchoredCategorySeriesView.prototype.$type)},true);$.ig.util.defType("SplineFragmentBase","SplineSeriesBase",{init:function(){$.ig.SplineSeriesBase.prototype.init.call(this);this.mc=null},_logicalSeriesLink:null,logicalSeriesLink:function(a){if(arguments.length===1){this._logicalSeriesLink=a;return a}else{return this._logicalSeriesLink}},mc:null,parentSeries:function(a){if(arguments.length===1){this.mc=a;return a}else{return this.mc}},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},l5:function(a,b,c,d,e,f){var g=b[0];var h=b[1];var i=new $.ig.Rect(0,g-5,h-5,11,11);if(!isNaN(g)&&!isNaN(h)&&!Number.isInfinity(g)&&!Number.isInfinity(h)&&c.tryAdd(i)){a.h.add({__x:g,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});
var j=f.dm().item(e);$.ig.util.cast($.ig.DataContext.prototype.$type,j.content()).item(this.eb().item(d));return true}return false},ff:function(a,b,c){var d=$.ig.AnchoredCategorySeries.prototype.ff.call(this,a,b,c);var e=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.parentSeries().j6());var f=this.parentSeries().j7();if(this.parentSeries()==null||e==null||e.itemsSource()==null||f==null||this.parentSeries().eb()==null||e.seriesViewer()==null||f.seriesViewer()==null){d=false}if(this.valueColumn()==null){return false}if(Number.isInfinity(this.valueColumn().minimum())&&Number.isInfinity(this.valueColumn().maximum())){d=false}if(isNaN(this.valueColumn().minimum())&&isNaN(this.valueColumn().maximum())){d=false}return d},e9:function(a){return null},l4:function(a,b,c,d,e,f){var $self=this;var g=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,d);if(g==null){return}var h=new $.ig.ScalerParams(b,c,d.isInverted());var i=new $.ig.ScalerParams(b,c,e.isInverted());var j=this.l3(d.getUnscaledValue(2,h)-d.getUnscaledValue(1,h));var k=this.i8();var l=0;var m=this.l7(d,b,c);var o=function(n){return Math.abs($self.parentSeries().ky()[n])+$self.parentSeries().kx()[n]};var q=function(p){return p};var t=function(r){var s=g.sortedIndices().__inner[r];if($.ig.util.cast($.ig.IStacked100Series.prototype.$type,$self.parentSeries())!==null){return $self.valueColumn().item(s)<0?($self.logicalSeriesLink().ct().__inner[s]+$self.valueColumn().item(s))/o(s)*100:($self.logicalSeriesLink().cs().__inner[s]+$self.valueColumn().item(s))/o(s)*100}else{return $self.valueColumn().item(s)<0?$self.logicalSeriesLink().ct().__inner[s]+$self.valueColumn().item(s):$self.logicalSeriesLink().cs().__inner[s]+$self.valueColumn().item(s)}};var u=this.js().dl().g();var v=this.js().dl().f();var w=Math.ceil(c.width()/(u-v));var x=new $.ig.CollisionAvoider;var y=this.js().dl().h();if(y<=0||v<=0&&u<=0){this.js().dm().g(l);return}for(var z=v;z<u+1;++z){var aa=null;var ab=z*y;if(g!=null&&g.sortedIndices()!=null&&ab>=0&&ab<g.sortedIndices().count()){ab=g.sortedIndices().__inner[ab]}if(z>=this.valueColumn().count()-1){if(k&&this.l5(a,a.f.last$1($.ig.Array.prototype.$type),x,Math.min(ab,this.eb().g()-1),l,f)){++l}break}var ac=q(z);var ad=t(z);var ae=q(z+1);var af=t(z+1);var ag=ae-ac;var ah=this.ly()[z];var ai=this.ly()[z+1];var aj=g.getUnscaledValueAt(g.sortedIndices().__inner[z]);var ak=d.getScaledValue(aj,h)+m;var al=e.getScaledValue(ad,i);a.f.add(function(){var $ret=new Array;$ret.add(ak);$ret.add(al);$ret.add(al);return $ret}());for(var am=1;am<w;++am){var an=am/w;var ao=ac+ag*an;var ap=(ae-ao)/ag;var aq=(ao-ac)/ag;var ar=ap*ad+aq*af+((ap*ap*ap-ap)*ah+(aq*aq*aq-aq)*ai)*ag*ag/6;var as=g.getUnscaledValueAt(g.sortedIndices().__inner[z]);var at=g.getUnscaledValueAt(g.sortedIndices().__inner[z+1]);if(as==at&&ad==af){break}var au=as+(at-as)*an;ao=d.getScaledValue(au,h)+m;ar=e.getScaledValue(ar,i);a.f.add(function(){var $ret=new Array;$ret.add(ao);$ret.add(ar);$ret.add(ar);return $ret}())}if(k){aa=function(){var $ret=new Array;$ret.add(ak);$ret.add(al);$ret.add(al);return $ret}()}if(k&&this.l5(a,aa,x,Math.min(ab,this.eb().g()-1),l,f)){++l}}this.js().dm().g(l)},j3:function(a,b){var $self=this;if(this.valueColumn()==null||this.parentSeries()==null||this.logicalSeriesLink()==null){return}if(this.logicalSeriesLink().ct().count()==0||this.logicalSeriesLink().cs().count()==0){return}if(this.js().dl().h()==0){return}$.ig.SplineSeriesBase.prototype.j3.call(this,a,b);if(a.f.count()<=1){return}var c=b.ae();var d=b.ad();var e=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.parentSeries().j6());var f=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.parentSeries().j7());var g=new $.ig.ScalerParams(c,d,e.isInverted());var h=new $.ig.ScalerParams(c,d,f.isInverted());a.f.clear();a.h.clear();var i=this.i8();var j=0;var k;var l;if(b==this.d7()){k=this.parentSeries().jn;l=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,this.parentSeries().d7())}else{k=this.parentSeries().jm;l=this.parentSeries().js()}var m=l.dl().h();var n=$.ig.util.cast($.ig.ISortingAxis.prototype.$type,e);if(n!=null&&n.sortedIndices().count()!=this.eb().g()){return}var o=this.preferredCategoryMode(e);if(o==$.ig.CategoryMode.prototype.mode0&&e.categoryMode()!=$.ig.CategoryMode.prototype.mode0){o=$.ig.CategoryMode.prototype.mode1}var p=0;switch(o){case $.ig.CategoryMode.prototype.mode0:p=0;break;case $.ig.CategoryMode.prototype.mode1:p=.5*e.getCategorySize(c,d);break;case $.ig.CategoryMode.prototype.mode2:var q=this.index();p=e.getGroupCenter(this.index(),c,d);break}if(e.isInverted()){p=-p}var s=function(r){return Math.abs($self.parentSeries().ky()[r])+$self.parentSeries().kx()[r]};var u=function(t){return t};var x=function(v){var w=$self.valueColumn().item(v);if(isNaN(w)||Number.isInfinity(w)){w=0}if($.ig.util.cast($.ig.IStacked100Series.prototype.$type,$self.parentSeries())!==null){if(s(v)==0){return 0}return w<0?($self.logicalSeriesLink().ct().__inner[v]+w)/s(v)*100:($self.logicalSeriesLink().cs().__inner[v]+w)/s(v)*100}return w<0?$self.logicalSeriesLink().ct().__inner[v]+w:$self.logicalSeriesLink().cs().__inner[v]+w};var y=b.dl().h();var z=this.splineType()==$.ig.SplineType.prototype.natural?NaN:0;if(e!=null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,e)!==null&&$.ig.util.cast($.ig.ISortingAxis.prototype.$type,e).sortedIndices()!=null){var aa=new $.ig.SafeSortedReadOnlyDoubleCollection(this.valueColumn(),$.ig.util.cast($.ig.ISortingAxis.prototype.$type,e).sortedIndices());x=function(ab){return aa.item(ab)}}this.ly($.ig.Numeric.prototype.c(this.valueColumn().count(),u,x,z,z));var ac=l.dl().f();var ad=l.dl().g();var ae=Math.ceil(d.width()/(ad-ac));var af=new $.ig.CollisionAvoider;if(n!=null){this.l4(a,c,d,e,f,b);return}for(var ag=ac;ag<ad+1;++ag){if(ag>=this.valueColumn().count()){break}var ah=null;if(y==1){if(ag>=this.valueColumn().count()-1){if(i&&a.f.count()>0&&this.l5(a,a.f.__inner[a.f.count()-1],af,Math.min(ag*y,this.eb().g()-1),j,b)){++j}break}var ai=u(ag);var aj=u(ag+1);var ak=x(ag);var al=x(ag+1);var am=aj-ai;var an=this.ly()[ag];var ao=this.ly()[ag+1];var ap=e.getScaledValue(ai,g)+p;var aq=f.getScaledValue(ak,h);a.f.add(function(){var $ret=new Array;$ret.add(ap);$ret.add(aq);$ret.add(aq);return $ret}());for(var ar=1;ar<ae;++ar){var as=ai+am*ar/ae;var at=(aj-as)/am;var au=(as-ai)/am;var av=at*ak+au*al+((at*at*at-at)*an+(au*au*au-au)*ao)*am*am/6;as=e.getScaledValue(as,g)+p;av=f.getScaledValue(av,h);a.f.add(function(){var $ret=new Array;$ret.add(as);$ret.add(av);$ret.add(av);return $ret}())}if(i){ah=function(){var $ret=new Array;$ret.add(ap);$ret.add(aq);$ret.add(aq);return $ret}()}}else{ah=b.dl().getBucket(ag);if(!isNaN(ah[0])){ah[0]=e.getScaledValue(ah[0],g)+p;ah[1]=f.getScaledValue(ah[1],h);ah[2]=f.getScaledValue(ah[2],h);a.f.add(ah)}}if(i&&this.l5(a,ah,af,Math.min(ag*y,this.eb().g()-1),j,b)){++j}}b.dm().g(j)},$type:new $.ig.Type("SplineFragmentBase",$.ig.SplineSeriesBase.prototype.$type)},true);$.ig.util.defType("SplineAreaFragment","SplineFragmentBase",{init:function(){$.ig.SplineFragmentBase.prototype.init.call(this);this.a3($.ig.SplineAreaFragment.prototype.$type)},et:function(){return new $.ig.SplineAreaFragmentView(this)},eq:function(a){$.ig.SplineSeriesBase.prototype.eq.call(this,a);this.mo($.ig.util.cast($.ig.SplineAreaFragmentView.prototype.$type,a))},_mo:null,mo:function(a){if(arguments.length===1){this._mo=a;return a}else{return this._mo}},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},_mp:null,mp:function(a){if(arguments.length===1){this._mp=a;return a}else{return this._mp}},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.el()},j2:function(a,b){var $self=this;$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);this.kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null?true:false);var c=$.ig.util.cast($.ig.SplineAreaFragmentView.prototype.$type,b);var d=b.dl().h();this.kt().p(c.ed,c.ee,c.ef,c.eg,a.f.count(),a.f,true,d,this.resolution(),function(e,f,g,h,i){return $self.mu(e,a.f,b)},$.ig.UnknownValuePlotting.prototype.dontPlot)},mu:function(a,b,c){var d=this.k3(c);var e=d;var f=this.logicalSeriesLink().cv();var g=f?this.parentSeries().kz().k():this.parentSeries().kz().l();var h=g.indexOf(this);if(a.count()==0){return}if(h==-1){return}var i=false;for(var j=h;j>=0;j--){if(i){break}if(j==0){a.add({__x:a.last$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a.add({__x:a.first$1($.ig.Point.prototype.$type).__x,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});break}var k=$.ig.util.cast($.ig.SplineFragmentBase.prototype.$type,g.__inner[j-1]);if(k!=null&&k.kt()!=null&&k.kt().d().count()>0&&this.view()!=null&&k.ff(this.view().ad(),this.view().ae(),this.view())){i=true;for(var l=k.kt().d().count()-1;l>=0;l--){a.add(k.kt().d().__inner[l])}}}},k3:function(a){var b=0;var c=a.ae();var d=a.ad();var e=new $.ig.ScalerParams(c,d,this.yAxis().isInverted());if(!c.isEmpty()&&!d.isEmpty()&&this.yAxis()!=null){b=this.yAxis().getScaledValue(0,e)}return b},$type:new $.ig.Type("SplineAreaFragment",$.ig.SplineFragmentBase.prototype.$type)},true);$.ig.util.defType("SplineAreaFragmentView","SplineSeriesBaseView",{_ei:null,ei:function(a){if(arguments.length===1){this._ei=a;return a}else{return this._ei}},ak:function(){var $self=this;$.ig.MarkerSeriesView.prototype.ak.call(this);if(!this.af()){this.w().legendItemBadgeTemplate(function(){var $ret=new $.ig.DataTemplate;$ret.render($.ig.LegendTemplates.prototype.n);$ret.measure($.ig.LegendTemplates.prototype.m);return $ret}())}},init:function(a){var $self=this;this.ed=new $.ig.Path;this.ee=new $.ig.Path;this.ef=new $.ig.Path;this.eg=new $.ig.Path;$.ig.SplineSeriesBaseView.prototype.init.call(this,a);this.ei(a)},ed:null,ee:null,ef:null,eg:null,el:function(){this.ed.bn(null);this.ef.bn(null);this.ee.bn(null);this.eg.bn(null)},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ed.__fill=this.w().actualBrush();this.ef.__fill=this.w().actualBrush();this.ef.__opacity=.5;this.ee.__stroke=this.w().actualOutline();this.ee.a5(this.w().thickness());this.ee.a6(this.w().dashArray());this.ee.a7(this.w().dashCap());this.eg.__stroke=this.w().actualOutline();this.eg.a5(this.w().thickness());this.eg.a6(this.w().dashArray());this.eg.a7(this.w().dashCap())},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ed.__fill=a;this.ef.__fill=a;this.ef.__opacity=1;this.ee.__stroke=a;this.ee.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.eg.__stroke=a;this.eg.a5(this.w().thickness()+$.ig.SeriesView.prototype.b)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.ei().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ed);a.g(this.ef);a.g(this.ee);a.g(this.eg)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ee);b.tags().add("Lower");var c=new $.ig.PathVisualData(1,"upperShape",this.eg);c.tags().add("Upper");c.tags().add("Main");var d=new $.ig.PathVisualData(1,"translucentShape",this.ed);d.tags().add("Translucent");var e=new $.ig.PathVisualData(1,"fillShape",this.ef);e.tags().add("Fill");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("SplineAreaFragmentView",$.ig.SplineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("SplineFragment","SplineFragmentBase",{init:function(){$.ig.SplineFragmentBase.prototype.init.call(this);this.a3($.ig.SplineFragment.prototype.$type)},et:function(){return new $.ig.SplineFragmentView(this)},_mn:null,mn:function(a){if(arguments.length===1){this._mn=a;return a}else{return this._mn}},eq:function(a){$.ig.SplineSeriesBase.prototype.eq.call(this,a);this.mn(a)},fg:function(a,b){$.ig.AnchoredCategorySeries.prototype.fg.call(this,a,b);var c=b;c.ek()},j2:function(a,b){$.ig.AnchoredCategorySeries.prototype.j2.call(this,a,b);this.kt().c($.ig.util.cast($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null?true:false);var c=$.ig.util.cast($.ig.SplineFragmentView.prototype.$type,b);var d=c.dl().h();this.kt().i(c.ed,c.ee,c.ef,a.f.count(),a.f,true,$.ig.UnknownValuePlotting.prototype.dontPlot,this.k5(a.f,a.f.count()-1,b.ad(),b.ae()),d,this.resolution())},$type:new $.ig.Type("SplineFragment",$.ig.SplineFragmentBase.prototype.$type)},true);$.ig.util.defType("SplineFragmentView","SplineSeriesBaseView",{_eh:null,eh:function(a){if(arguments.length===1){this._eh=a;return a}else{return this._eh}},init:function(a){this.ed=new $.ig.Path;this.ee=new $.ig.Path;this.ef=new $.ig.Path;$.ig.SplineSeriesBaseView.prototype.init.call(this,a);this.eh(a)},ds:function(){return new $.ig.SplineFragmentBucketCalculator(this)},ed:null,ee:null,ef:null,ek:function(){this.ee.bn(null);this.ed.bn(null);this.ef.bn(null)},a0:function(){$.ig.SeriesView.prototype.a0.call(this);this.ed.__stroke=this.w().actualBrush();this.ed.a5(this.w().thickness());this.ed.a6(this.w().dashArray());this.ed.a7(this.w().dashCap());this.ef.__stroke=this.w().actualBrush();this.ef.a5(this.w().thickness());this.ef.a6(this.w().dashArray());this.ef.a7(this.w().dashCap());this.ee.__fill=this.w().actualBrush();this.ee.__opacity=.75},a1:function(){$.ig.SeriesView.prototype.a1.call(this);var a=this.a3();this.ed.__stroke=a;this.ed.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ef.__stroke=a;this.ef.a5(this.w().thickness()+$.ig.SeriesView.prototype.b);this.ee.__fill=a;this.ee.__opacity=.75},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(a.b()){if(this.l&&!b){var c=this.cd(this.eh().yAxis());a.e($.ig.GradientDirection.prototype.bottomTop,c)}a.g(this.ee);a.g(this.ed);a.g(this.ef)}},ca:function(a){$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.PathVisualData(1,"lowerShape",this.ed);b.tags().add("Lower");b.tags().add("Main");var c=new $.ig.PathVisualData(1,"upperShape",this.ef);c.tags().add("Upper");var d=new $.ig.PathVisualData(1,"translucentShape",this.ee);d.tags().add("Translucent");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("SplineFragmentView",$.ig.SplineSeriesBaseView.prototype.$type)},true);$.ig.util.defType("StackedSeriesBase","CategorySeries",{init:function(){this.kg=new $.ig.Dictionary$2(String,$.ig.Boolean.prototype.$type,0);$.ig.CategorySeries.prototype.init.call(this);this.series(new $.ig.StackedSeriesCollection);this.series().collectionResetting=$.ig.Delegate.prototype.combine(this.series().collectionResetting,this.lm.runOn(this));this.series().collectionChanged=$.ig.Delegate.prototype.combine(this.series().collectionChanged,this.ln.runOn(this));this.jr(new $.ig.StackedSeriesFramePreparer(1,this,this.kt(),this,this,this.kt().dl()));this.kz(new $.ig.StackedSeriesManager(this));this.k0(new $.ig.StackedSeriesCollection);this.k0().collectionChanged=$.ig.Delegate.prototype.combine(this.k0().collectionChanged,this.ln.runOn(this));this.k0().collectionResetting=$.ig.Delegate.prototype.combine(this.k0().collectionResetting,this.ll.runOn(this))},et:function(){return new $.ig.StackedSeriesView(this)},_kt:null,kt:function(a){if(arguments.length===1){this._kt=a;return a}else{return this._kt}},eq:function(a){$.ig.CategorySeries.prototype.eq.call(this,a);this.kt(a)},fj:function(a,b){$.ig.Series.prototype.fj.call(this,a,b);var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();c.visualSeriesLink().view().ad(b)}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},autoGenerateSeries:function(a){if(arguments.length===1){this.c($.ig.StackedSeriesBase.prototype.autoGenerateSeriesProperty,a);return a}else{return this.b($.ig.StackedSeriesBase.prototype.autoGenerateSeriesProperty)}},reverseLegendOrder:function(a){if(arguments.length===1){this.c($.ig.StackedSeriesBase.prototype.reverseLegendOrderProperty,a);return a}else{return this.b($.ig.StackedSeriesBase.prototype.reverseLegendOrderProperty)}},isStacked:function(){return true},seriesCreated:null,ku:function(a){if(arguments.length===1){this.c($.ig.StackedSeriesBase.prototype.kf,a);return a}else{return this.b($.ig.StackedSeriesBase.prototype.kf)}},_kv:null,kv:function(a){if(arguments.length===1){this._kv=a;return a}else{return this._kv}},_kw:null,kw:function(a){if(arguments.length===1){this._kw=a;return a}else{return this._kw}},_kx:null,kx:function(a){if(arguments.length===1){this._kx=a;return a}else{return this._kx}},_ky:null,ky:function(a){if(arguments.length===1){this._ky=a;return a}else{return this._ky}},_jr:null,jr:function(a){if(arguments.length===1){this._jr=a;return a}else{return this._jr}},_kz:null,kz:function(a){if(arguments.length===1){this._kz=a;return a}else{return this._kz}},_k0:null,k0:function(a){if(arguments.length===1){this._k0=a;return a}else{return this._k0}},k1:function(){return this.autoGenerateSeries()?this.k0():this.series()},ll:function(a,b){var d=this.k0().getEnumerator();while(d.moveNext()){var c=d.current();if(this.kz()!=null&&this.kz().j().contains(c)){c.parentSeries(null);this.kz().j().remove(c)}}},lm:function(a,b){var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();if(this.kz()!=null&&this.kz().j().contains(c)){c.parentSeries(null);this.kz().j().remove(c)}}},ln:function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();if(this.kz()!=null&&this.kz().j().contains(c)){c.parentSeries(null);this.kz().j().remove(c)}}}if(b.newItems()!=null){var e=b.newStartingIndex();var g=b.newItems().getEnumerator();while(g.moveNext()){var f=g.current();if(this.kz()!=null&&!this.kz().j().contains(f)){f.parentSeries(this);f.d5();f.d6();f.d7();f.d8();f.d9();f.ea();f.eb();f.ec();f.d3();f.d4();f.ed();f.ee();f.ef();f.d3();f.eg();f.eh();f.ei();f.ej();f.ek();f.el();f.em();f.en();f.eo();f.d2();if(!this.autoGenerateSeries()){this.kz().j().insert(e,f);e++}}}}if(!this.autoGenerateSeries()){this.lp()}},j9:function(a){if(a==this.d7()){var b=$.ig.util.cast($.ig.CategorySeriesView.prototype.$type,this.d7());return new $.ig.StackedSeriesFramePreparer(1,this,$.ig.util.cast($.ig.ISupportsMarkers.prototype.$type,b),this.seriesViewer().fo().aj(),this,b.dl())}else{return this.jr()}},j3:function(a,b){this.ly();this.j9(b).m(a,b)},fg:function(a,b){$.ig.CategorySeries.prototype.fg.call(this,a,b);var d=this.k1().getEnumerator();while(d.moveNext()){var c=d.current();if(c.visualSeriesLink()!=null){c.visualSeriesLink().fg(a,c.visualSeriesLink().view())}}},lo:function(){this.ly()},lp:function(){var a=this.j6();if(a!=null){a.updateRange1(true)}var b=this.j7();if(b!=null){b.updateRange1(true)}},scrollIntoView:function(a){var b=this.eb()!=null?this.eb().item1(a):-1;var c=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var d=this.view().ad();if(b>=0&&c!=null&&d!=null){var e=this.j6();if(e!=null){var f=new $.ig.ScalerParams(c,d,e.isInverted());var g=e.getScaledValue(b,f);if(g<c.left()+.1*c.width()){g=g+.4*c.width()}if(g>c.right()-.1*c.width()){g=g-.4*c.width()}c.x(g-.5*c.width())}var h=this.j7();if(h!=null&&this.kx()!=null&&b<this.kx().length){var i=new $.ig.ScalerParams(c,d,h.isInverted());var j=h.getScaledValue(this.kx()[b],i);var k=h.getScaledValue(this.ky()[b],i);if(!isNaN(j)&&!isNaN(k)){var l=Math.abs(k-j);if(c.height()<l){c.height(l);c.y(Math.min(k,j))}else{if(k<c.top()+.1*c.height()){k=k+.4*c.height()}if(k>c.bottom()-.1*c.height()){k=k-.4*c.height()}c.y(k-.5*c.height())}}}this.syncLink().bn(this.seriesViewer(),c)}return b>=0},e9:function(a){if(this.ky()==null||this.ky().length==0||this.kx()==null||this.kx().length==0){return null}if(a==this.j6()){var b=Math.min(this.ky().length,this.kx().length);return new $.ig.AxisRange(0,b-1)}if(a==this.j7()){return new $.ig.AxisRange(this.kv(),this.kw())}return null},i8:function(){return false},fz:function(a,b,c,d){this.j8();this.renderSeries(false)},lq:function(){return this.kt()},lr:function(){var a=0;var b=this.view().ae();var c=this.view().ad();var d=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.j7());if(!b.isEmpty()&&!c.isEmpty()&&d!=null){var e=new $.ig.ScalerParams(b,c,d.isInverted());a=d.getScaledValue(d.referenceValue(),e)}return a},ls:function(){var a=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.j7());if(a!=null){return a.referenceValue()}return 0},lt:function(a){return this.index()<0||this.k1()==null||this.k1().count()==0?-1:this.index()+this.k1().indexOf(a)},lu:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.view().ad();var d=-1;var e=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.j6());if(e!=null&&!b.isEmpty()&&!c.isEmpty()){var f=e.hd(c.left(),b,c,e.categoryMode());var g=e.hd(c.right(),b,c,e.categoryMode());var h=(a.__x-b.left())/b.width();var i=f+h*(g-f);if(e.categoryMode()!=$.ig.CategoryMode.prototype.mode0){i-=.5}var j=Math.round(i);d=j}return d},lv:function(a,b,c,d){var e=true;var f=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.j6());var g=$.ig.util.cast($.ig.NumericYAxis.prototype.$type,this.j7());if(!d.ch()||c.isEmpty()||b.isEmpty()||f==null||f.itemsSource()==null||g==null||this.eb()==null||f.seriesViewer()==null||g.seriesViewer()==null||g.actualMinimumValue()==g.actualMaximumValue()){e=false}var h=d;var i=h.dl().h();if(a.valueColumn()==null||a.valueColumn().count()==0||i<1||a.__visibility!=$.ig.Visibility.prototype.visible){e=false}return e},kg:null,lw:function(){if(this.seriesViewer()==null||this.kz()==null){return}if(!this.autoGenerateSeries()){this.k0().clear();var b=this.series().getEnumerator();while(b.moveNext()){var a=b.current();if(!this.kz().j().contains(a)){this.kz().j().add(a)}}this.lp();return}},j2:function(a,b){$.ig.CategorySeries.prototype.j2.call(this,a,b);this.kz().ae()},lx:function(a,b,c){},ly:function(){if(this.eb()==null){return}var a=this.eb().g();this.kx(new Array(a));this.ky(new Array(a));for(var b=0;b<a;b++){this.kx()[b]=0;this.ky()[b]=0}this.kv(Number.POSITIVE_INFINITY);this.kw(Number.NEGATIVE_INFINITY);var c=0;var e=this.k1().getEnumerator();while(e.moveNext()){var d=e.current();this.eb().ac(d.cr());d.cr(this.hk(d.valueMemberPath()));if(d.visualSeriesLink()!=null){d.visualSeriesLink().ks(true);d.visualSeriesLink().valueColumn(d.cr());d.visualSeriesLink().ks(false)}d.cv(true);if(d.cr()!=null){d.cs().clear();d.ct().clear();for(var f=0;f<d.cr().count();f++){var g=d.cr().item(f);if(g<c){d.cs().add(c);d.ct().add(this.ky()[f]);this.ky()[f]+=g;if(d.cv()){d.cv(false)}}else if(g>=c){d.cs().add(this.kx()[f]);d.ct().add(c);this.kx()[f]+=g}else if(isNaN(g)||Number.isInfinity(g)){d.cs().add(this.kx()[f]);d.ct().add(this.ky()[f])}}}}for(var h=0;h<a;h++){this.kv(Math.min(this.kv(),this.ky()[h]));this.kw(Math.max(this.kw(),this.kx()[h]))}},ft:function(a,b,c,d){var $self=this;$.ig.CategorySeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.CategorySeries.prototype.bj:if(this.k1()!=null){var f=this.k1().getEnumerator();while(f.moveNext()){var e=f.current();e.cq(this.seriesViewer())}this.kz().ae()}break;case $.ig.StackedSeriesBase.prototype.bk:if(this.k1()!=null){var h=this.k1().getEnumerator();while(h.moveNext()){var g=h.current();if(g.visualSeriesLink()!=null){g.visualSeriesLink().itemsSource(d)}}}break;case $.ig.CategorySeries.prototype.bl:if(this.autoGenerateSeries()){this.lw()}if(!this.j8()){this.kt().dl().q(this.resolution())}this.renderSeries(false);break;case $.ig.StackedSeriesBase.prototype.kb:this.lw();break;case $.ig.StackedSeriesBase.prototype.kc:if(this.seriesViewer()!=null){this.seriesViewer().gl(this.kz().i())}break;case $.ig.StackedSeriesBase.prototype.kd:var j=this.k1().getEnumerator();while(j.moveNext()){var i=j.current();i.d2()}break;case $.ig.StackedSeriesBase.prototype.b0:var l=this.k1().getEnumerator();while(l.moveNext()){var k=l.current();k.d5()}break;case $.ig.StackedSeriesBase.prototype.b8:var n=this.k1().getEnumerator();while(n.moveNext()){var m=n.current();m.d6()}break;case $.ig.StackedSeriesBase.prototype.b7:var p=this.k1().getEnumerator();while(p.moveNext()){var o=p.current();o.d7()}break;case $.ig.StackedSeriesBase.prototype.cb:var r=this.k1().getEnumerator();while(r.moveNext()){var q=r.current();q.d8()}break;case"IsHitTestVisible":var t=this.k1().getEnumerator();while(t.moveNext()){var s=t.current();s.d9()}break;case $.ig.StackedSeriesBase.prototype.bp:var v=this.k1().getEnumerator();while(v.moveNext()){var u=v.current();u.ea()}break;case $.ig.StackedSeriesBase.prototype.bq:var x=this.k1().getEnumerator();while(x.moveNext()){var w=x.current();w.eb()}break;case $.ig.StackedSeriesBase.prototype.bo:var z=this.k1().getEnumerator();while(z.moveNext()){var y=z.current();y.ec()}break;case $.ig.StackedSeriesBase.prototype.ij:var ab=this.k1().getEnumerator();while(ab.moveNext()){var aa=ab.current();aa.d3()}break;case $.ig.StackedSeriesBase.prototype.ii:var ad=this.k1().getEnumerator();while(ad.moveNext()){var ac=ad.current();ac.d4()}break;case $.ig.StackedSeriesBase.prototype.il:var af=this.k1().getEnumerator();while(af.moveNext()){var ae=af.current();ae.ed()}break;case $.ig.StackedSeriesBase.prototype.io:var ah=this.k1().getEnumerator();while(ah.moveNext()){var ag=ah.current();ag.ee()}break;case $.ig.StackedSeriesBase.prototype.iq:var aj=this.k1().getEnumerator();while(aj.moveNext()){var ai=aj.current();ai.ef()}break;case"Opacity":var al=this.k1().getEnumerator();while(al.moveNext()){var ak=al.current();ak.eg()}break;case"OpacityMask":var an=this.k1().getEnumerator();while(an.moveNext()){var am=an.current();am.eh()}break;case $.ig.StackedSeriesBase.prototype.b2:var ap=this.k1().getEnumerator();while(ap.moveNext()){var ao=ap.current();ao.ei()}break;case $.ig.StackedSeriesBase.prototype.ca:var ar=this.k1().getEnumerator();while(ar.moveNext()){var aq=ar.current();aq.el()}break;case $.ig.StackedSeriesBase.prototype.b6:var at=this.k1().getEnumerator();while(at.moveNext()){var as=at.current();as.em()}break;case $.ig.StackedSeriesBase.prototype.b9:var av=this.k1().getEnumerator();while(av.moveNext()){var au=av.current();au.en()}break;case $.ig.StackedSeriesBase.prototype.ir:var ax=this.k1().getEnumerator();while(ax.moveNext()){var aw=ax.current();aw.eo()}break}},currentCategoryMode:function(){return this.preferredCategoryMode($.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,this.j6()))},scaler:function(){return $.ig.util.cast($.ig.ICategoryScaler.prototype.$type,this.j6())},yScaler:function(){return $.ig.util.cast($.ig.IScaler.prototype.$type,this.j7())},bucketizer:function(){return this.js().dl()},currentMode2Index:function(){return this.j1()},provideCollisionDetector:function(){return new $.ig.CollisionAvoider},fe:function(a,b){var c=this.d9();$.ig.CategorySeries.prototype.fe.call(this,a,b);if(!c){this.view().b9(b);return}this.view().b9(b);if(this.fi(this.d7())){return}var e=this.series().getEnumerator();while(e.moveNext()){var d=e.current();d.visualSeriesLink().fe(a,b)}this.d9(false)},exportVisualData:function(){var a=new $.ig.StackedSeriesVisualData;a.viewport(this.em());a.type(this.getType().typeName());a.name(this.name());var c=this.series().getEnumerator();while(c.moveNext()){var b=c.current();var d=new $.ig.SeriesVisualData;d.viewport(this.em());d.type(b.getType().typeName());b.visualSeriesLink().view().ca(d);a.fragmentSeries().add(d)}this.ho(a);this.view().ca(a);return a},$type:new $.ig.Type("StackedSeriesBase",$.ig.CategorySeries.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type])},true);$.ig.util.defType("HorizontalStackedSeriesBase","StackedSeriesBase",{init:function(){$.ig.StackedSeriesBase.prototype.init.call(this)},xAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalStackedSeriesBase.prototype.xAxisProperty,a);return a}else{return this.b($.ig.HorizontalStackedSeriesBase.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.HorizontalStackedSeriesBase.prototype.yAxisProperty,a);return a}else{return this.b($.ig.HorizontalStackedSeriesBase.prototype.yAxisProperty)}},getOffsetValue:function(){return this.jr().ab(this.xAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().ae(),this.view().ad())},j6:function(){return this.xAxis()},j7:function(){return this.yAxis()},j8:function(){return this.yAxis()!=null&&this.yAxis().updateRange()},ft:function(a,b,c,d){$.ig.StackedSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.HorizontalStackedSeriesBase.prototype.l1:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.renderSeries(false);this.fs()}break;case $.ig.HorizontalStackedSeriesBase.prototype.l2:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.j8();this.renderSeries(false);this.fs()}break}},$type:new $.ig.Type("HorizontalStackedSeriesBase",$.ig.StackedSeriesBase.prototype.$type)},true);$.ig.util.defType("StackedAreaSeries","HorizontalStackedSeriesBase",{init:function(){$.ig.HorizontalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedAreaSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.xAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.yAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},$type:new $.ig.Type("StackedAreaSeries",$.ig.HorizontalStackedSeriesBase.prototype.$type)},true);$.ig.util.defType("IStacked100Series","Object",{$type:new $.ig.Type("IStacked100Series",null)},true);$.ig.util.defType("Stacked100AreaSeries","StackedAreaSeries",{init:function(){$.ig.StackedAreaSeries.prototype.init.call(this);this.a3($.ig.Stacked100AreaSeries.prototype.$type)},onApplyTemplate:function(){$.ig.StackedAreaSeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100AreaSeries",$.ig.StackedAreaSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("VerticalStackedSeriesBase","StackedSeriesBase",{init:function(){$.ig.StackedSeriesBase.prototype.init.call(this)},xAxis:function(a){if(arguments.length===1){this.c($.ig.VerticalStackedSeriesBase.prototype.xAxisProperty,a);return a}else{return this.b($.ig.VerticalStackedSeriesBase.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.VerticalStackedSeriesBase.prototype.yAxisProperty,a);return a}else{return this.b($.ig.VerticalStackedSeriesBase.prototype.yAxisProperty)}},jx:function(){return this.yAxis()},getOffsetValue:function(){return this.jr().ab(this.yAxis(),this.view().ae(),this.view().ad())},getCategoryWidth:function(){return this.yAxis().getCategorySize(this.view().ae(),this.view().ad())},isVertical:function(){return true},j6:function(){return this.xAxis()},j7:function(){return this.yAxis()},j8:function(){return this.xAxis()!=null&&this.xAxis().updateRange()},ft:function(a,b,c,d){$.ig.StackedSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.VerticalStackedSeriesBase.prototype.l1:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));
this.js().dl().q(this.resolution());this.renderSeries(false);this.fs()}break;case $.ig.VerticalStackedSeriesBase.prototype.l2:if(c!=d){this.hf($.ig.util.cast($.ig.Axis.prototype.$type,c));this.hg($.ig.util.cast($.ig.Axis.prototype.$type,d));this.js().dl().q(this.resolution());this.j8();this.renderSeries(false);this.fs()}break}},$type:new $.ig.Type("VerticalStackedSeriesBase",$.ig.StackedSeriesBase.prototype.$type)},true);$.ig.util.defType("StackedBarSeries","VerticalStackedSeriesBase",{init:function(){$.ig.VerticalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedBarSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},et:function(){return new $.ig.StackedBarSeriesView(this)},_ma:null,ma:function(a){if(arguments.length===1){this._ma=a;return a}else{return this._ma}},eq:function(a){$.ig.StackedSeriesBase.prototype.eq.call(this,a);this.ma(a)},radiusX:function(a){if(arguments.length===1){this.c($.ig.StackedBarSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.StackedBarSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.StackedBarSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.StackedBarSeries.prototype.radiusYProperty)}},lq:function(){return this.ma()},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},j1:function(){var a=0;var c=this.seriesViewer().series().getEnumerator();while(c.moveNext()){var b=c.current();if(b==this){return a}var d=$.ig.util.cast($.ig.IBarSeries.prototype.$type,b);if(d!=null&&d.yAxis()==this.yAxis()&&d.getPreferredCategoryMode()==$.ig.CategoryMode.prototype.mode2){a++}}$.ig.Debug.prototype.a(false,"CategorySeries.GetMode2Index failed to find series");return-1},lr:function(){var a=0;var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.view().ad();var d=new $.ig.ScalerParams(b,c,this.xAxis().isInverted());if(!b.isEmpty()&&!c.isEmpty()&&this.xAxis()!=null){a=this.xAxis().getScaledValue(this.xAxis().referenceValue(),d)}return a},ls:function(){if(this.xAxis()!=null){return this.xAxis().referenceValue()}return 0},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.yAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.xAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},scrollIntoView:function(a){var b=this.eb()!=null?this.eb().item1(a):-1;var c=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var d=this.view().ad();var e=new $.ig.Rect(0,0,0,1,1);var f=new $.ig.ScalerParams(e,e,this.xAxis().isInverted());var g=new $.ig.ScalerParams(e,e,this.yAxis().isInverted());if(b>=0&&c!=null&&d!=null){if(this.yAxis()!=null){var h=this.yAxis().getScaledValue(b,g);if(h<c.top()+.1*c.height()){h=h+.4*c.height()}if(h>c.bottom()-.1*c.height()){h=h-.4*c.height()}c.y(h-.5*c.height())}if(this.xAxis()!=null&&this.kx()!=null&&b<this.kx().length){var i=this.xAxis().getScaledValue(this.kx()[b],f);var j=this.xAxis().getScaledValue(this.ky()[b],f);if(!isNaN(i)&&!isNaN(j)){var k=Math.abs(j-i);if(c.width()<k){c.width(k);c.x(Math.min(j,i))}else{if(j<c.left()+.1*c.width()){j=j+.4*c.width()}if(j>c.right()-.1*c.width()){j=j-.4*c.width()}c.x(j-.5*c.width())}}}this.syncLink().bn(this.seriesViewer(),c)}return b>=0},ff:function(a,b,c){var d=true;var e=c;if(!c.ch()||b.isEmpty()||a.isEmpty()||this.yAxis()==null||this.yAxis().itemsSource()==null||this.xAxis()==null||this.eb()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.xAxis().actualMinimumValue()==this.xAxis().actualMaximumValue()){e.dl().h(0);d=false}return d},fz:function(a,b,c,d){switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:case $.ig.FastItemsSourceEventAction.prototype.insert:case $.ig.FastItemsSourceEventAction.prototype.remove:this.js().dl().q(this.resolution());break}switch(a){case $.ig.FastItemsSourceEventAction.prototype.reset:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.insert:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.remove:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.replace:if(this.js().dl().h()>0){this.renderSeries(true)}break;case $.ig.FastItemsSourceEventAction.prototype.change:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.renderSeries(true)}break}},getItemIndex:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$.ig.Rect.prototype.empty();var c=this.view().ad();var d=-1;if(this.yAxis()!=null&&!b.isEmpty()&&!c.isEmpty()){var e=this.yAxis().hd(c.top(),b,c,this.yAxis().categoryMode());var f=this.yAxis().hd(c.bottom(),b,c,this.yAxis().categoryMode());var g=(a.__y-b.top())/b.height();var h=e+g*(f-e);if(this.yAxis().categoryMode()!=$.ig.CategoryMode.prototype.mode0){h-=.5}var i=Math.round(h);d=i}return d},getItem:function(a){var b=this.getItemIndex(a);return b>=0&&this.eb()!=null&&b<this.eb().g()?this.eb().item(b):null},lp:function(){if(this.xAxis()!=null){this.xAxis().updateRange1(true)}if(this.yAxis()!=null){this.yAxis().updateRange1(true)}},lu:function(a){return this.getItemIndex(a)},lv:function(a,b,c,d){var e=true;if(!d.ch()||c.isEmpty()||b.isEmpty()||this.yAxis()==null||this.yAxis().itemsSource()==null||this.xAxis()==null||this.eb()==null||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null){e=false}var f=d;if(a.valueColumn()==null||a.valueColumn().count()==0||f.dl().h()<1){e=false}return e},lx:function(a,b,c){var d=$.ig.util.cast($.ig.BarFragment.prototype.$type,a);var e=$.ig.util.cast($.ig.ColumnFragmentView.prototype.$type,c);if(!this.ff(c.ad(),c.ae(),c)||d==null||e==null){return}var f=this.yAxis().he(c.ae(),c.ad());if(isNaN(f)||Number.isInfinity(f)){d.l6().eh().g(0);return}var g=0;var i=b.f.getEnumerator();while(i.moveNext()){var h=i.current();if(Number.isInfinity(h[0])||isNaN(h[0])||Number.isInfinity(h[1])||Number.isInfinity(h[2])||isNaN(h[1])||isNaN(h[2])){continue}var j=h[0]-.5*f;var k=h[1];var l=h[2];l=Math.max(l,-100);k=Math.min(k,c.ad().right()+100);var m=e.eh().item(g);m.height(f);m.width(Math.abs(k-l));e.ey(m,Math.min(k,l),j);g++}e.eh().g(g)},ft:function(a,b,c,d){$.ig.VerticalStackedSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.StackedBarSeries.prototype.l5:case $.ig.StackedBarSeries.prototype.l6:var f=this.k1().getEnumerator();while(f.moveNext()){var e=f.current();e.ej();e.ek()}this.renderSeries(false);break;case $.ig.StackedBarSeries.prototype.bi:if(this.xAxis()!=null){this.xAxis().updateRange()}break;case $.ig.CategorySeries.prototype.bl:if(this.xAxis()!=null&&!this.xAxis().updateRange()){this.ma().dl().q(this.resolution())}this.renderSeries(false);break;case $.ig.StackedBarSeries.prototype.bj:if(c!=null&&d==null){this.hf(this.xAxis());this.hf(this.yAxis())}if(c==null&&d!=null){this.hg(this.xAxis());this.hg(this.yAxis())}this.ma().dl().q(this.resolution());this.renderSeries(false);if(this.xAxis()!=null){this.xAxis().updateRange()}break}},getPreferredCategoryMode:function(){return this.preferredCategoryMode(this.yAxis())},currentCategoryMode:function(){return this.preferredCategoryMode(this.yAxis())},scaler:function(){return this.yAxis()},yScaler:function(){return this.xAxis()},$type:new $.ig.Type("StackedBarSeries",$.ig.VerticalStackedSeriesBase.prototype.$type,[$.ig.IIsCategoryBased.prototype.$type,$.ig.IBarSeries.prototype.$type])},true);$.ig.util.defType("Stacked100BarSeries","StackedBarSeries",{init:function(){$.ig.StackedBarSeries.prototype.init.call(this);this.a3($.ig.Stacked100BarSeries.prototype.$type)},onApplyTemplate:function(){$.ig.StackedBarSeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},et:function(){return new $.ig.Stacked100BarSeriesView(this)},_me:null,me:function(a){if(arguments.length===1){this._me=a;return a}else{return this._me}},eq:function(a){$.ig.StackedBarSeries.prototype.eq.call(this,a);this.me(a)},lq:function(){return this.me()},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100BarSeries",$.ig.StackedBarSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("StackedSeriesView","CategorySeriesView",{_dz:null,dz:function(a){if(arguments.length===1){this._dz=a;return a}else{return this._dz}},dw:null,d0:function(){return this.dw},dx:null,d1:function(){return this.dx},init:function(a){this.dw=new $.ig.Canvas;this.dx=new $.ig.Panel;$.ig.CategorySeriesView.prototype.init.call(this,a);this.dz(a)},ds:function(){return new $.ig.StackedBucketCalculator(this)},ak:function(){$.ig.MarkerSeriesView.prototype.ak.call(this)},bz:function(a,b){$.ig.SeriesView.prototype.bz.call(this,a,b);var d=this.dz().series().getEnumerator();while(d.moveNext()){var c=d.current();c.visualSeriesLink().view().bz(a,b)}},$type:new $.ig.Type("StackedSeriesView",$.ig.CategorySeriesView.prototype.$type)},true);$.ig.util.defType("StackedBarSeriesView","StackedSeriesView",{_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},init:function(a){$.ig.StackedSeriesView.prototype.init.call(this,a);this.d7(a)},ds:function(){return new $.ig.StackedBarBucketCalculator(this)},$type:new $.ig.Type("StackedBarSeriesView",$.ig.StackedSeriesView.prototype.$type)},true);$.ig.util.defType("Stacked100BarSeriesView","StackedBarSeriesView",{_eb:null,eb:function(a){if(arguments.length===1){this._eb=a;return a}else{return this._eb}},init:function(a){$.ig.StackedBarSeriesView.prototype.init.call(this,a);this.eb(a)},ds:function(){return new $.ig.Stacked100BarBucketCalculator(this)},$type:new $.ig.Type("Stacked100BarSeriesView",$.ig.StackedBarSeriesView.prototype.$type)},true);$.ig.util.defType("StackedColumnSeries","HorizontalStackedSeriesBase",{init:function(){$.ig.HorizontalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedColumnSeries.prototype.$type)},et:function(){return new $.ig.StackedColumnSeriesView(this)},_ma:null,ma:function(a){if(arguments.length===1){this._ma=a;return a}else{return this._ma}},eq:function(a){$.ig.StackedSeriesBase.prototype.eq.call(this,a);this.ma(a)},radiusX:function(a){if(arguments.length===1){this.c($.ig.StackedColumnSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.StackedColumnSeries.prototype.radiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.StackedColumnSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.StackedColumnSeries.prototype.radiusYProperty)}},lq:function(){return this.ma()},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode2},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.xAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.yAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},lx:function(a,b,c){var d=$.ig.util.cast($.ig.ColumnFragment.prototype.$type,a);var e=$.ig.util.cast($.ig.ColumnFragmentView.prototype.$type,c);if(!this.ff(c.ad(),c.ae(),c)||d==null||e==null){return}if(d==null){return}var f=this.xAxis().he(c.ae(),c.ad());if(isNaN(f)||Number.isInfinity(f)){d.l6().eh().g(0);return}var g=0;var i=b.f.getEnumerator();while(i.moveNext()){var h=i.current();if(Number.isInfinity(h[0])||isNaN(h[0])||Number.isInfinity(h[1])||Number.isInfinity(h[2])||isNaN(h[1])||isNaN(h[2])){continue}var j=h[0]-.5*f;var k=h[1];var l=h[2];k=Math.max(k,-100);l=Math.min(l,c.ad().bottom()+100);var m=e.eh().item(g);m.width(f);m.height(Math.abs(l-k));e.ey(m,j,Math.min(l,k));g++}e.eh().g(g)},ft:function(a,b,c,d){$.ig.HorizontalStackedSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.StackedColumnSeries.prototype.l5:case $.ig.StackedColumnSeries.prototype.l6:var f=this.k1().getEnumerator();while(f.moveNext()){var e=f.current();e.ej();e.ek()}this.renderSeries(false);break;case $.ig.StackedColumnSeries.prototype.bi:if(this.yAxis()!=null){this.yAxis().updateRange()}break;case $.ig.StackedColumnSeries.prototype.bj:if(this.yAxis()!=null){this.yAxis().updateRange()}break}},$type:new $.ig.Type("StackedColumnSeries",$.ig.HorizontalStackedSeriesBase.prototype.$type)},true);$.ig.util.defType("Stacked100ColumnSeries","StackedColumnSeries",{init:function(){$.ig.StackedColumnSeries.prototype.init.call(this);this.a3($.ig.Stacked100ColumnSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},et:function(){return new $.ig.Stacked100ColumnSeriesView(this)},_me:null,me:function(a){if(arguments.length===1){this._me=a;return a}else{return this._me}},eq:function(a){$.ig.StackedColumnSeries.prototype.eq.call(this,a);this.me(a)},lq:function(){return this.me()},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100ColumnSeries",$.ig.StackedColumnSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("StackedColumnSeriesView","StackedSeriesView",{init:function(a){$.ig.StackedSeriesView.prototype.init.call(this,a)},ds:function(){return new $.ig.StackedColumnBucketCalculator(this)},$type:new $.ig.Type("StackedColumnSeriesView",$.ig.StackedSeriesView.prototype.$type)},true);$.ig.util.defType("Stacked100ColumnSeriesView","StackedColumnSeriesView",{_d7:null,d7:function(a){if(arguments.length===1){this._d7=a;return a}else{return this._d7}},init:function(a){$.ig.StackedColumnSeriesView.prototype.init.call(this,a);this.d7(a)},ds:function(){return new $.ig.Stacked100ColumnBucketCalculator(this)},$type:new $.ig.Type("Stacked100ColumnSeriesView",$.ig.StackedColumnSeriesView.prototype.$type)},true);$.ig.util.defType("StackedLineSeries","HorizontalStackedSeriesBase",{init:function(){$.ig.HorizontalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedLineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.xAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.yAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},$type:new $.ig.Type("StackedLineSeries",$.ig.HorizontalStackedSeriesBase.prototype.$type)},true);$.ig.util.defType("Stacked100LineSeries","StackedLineSeries",{init:function(){$.ig.StackedLineSeries.prototype.init.call(this);this.a3($.ig.Stacked100LineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.StackedLineSeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100LineSeries",$.ig.StackedLineSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("StackedSplineAreaSeries","HorizontalStackedSeriesBase",{init:function(){$.ig.HorizontalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedSplineAreaSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.xAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.yAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},$type:new $.ig.Type("StackedSplineAreaSeries",$.ig.HorizontalStackedSeriesBase.prototype.$type)},true);$.ig.util.defType("Stacked100SplineAreaSeries","StackedSplineAreaSeries",{init:function(){$.ig.StackedSplineAreaSeries.prototype.init.call(this);this.a3($.ig.Stacked100SplineAreaSeries.prototype.$type)},onApplyTemplate:function(){$.ig.StackedSplineAreaSeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100SplineAreaSeries",$.ig.StackedSplineAreaSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("StackedSplineSeries","HorizontalStackedSeriesBase",{init:function(){$.ig.HorizontalStackedSeriesBase.prototype.init.call(this);this.a3($.ig.StackedSplineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.CategorySeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},e9:function(a){if(this.itemsSource()==null){return null}if(a==this.xAxis()){return new $.ig.AxisRange(0,this.eb().g()-1)}if(a==this.yAxis()){this.ly();return new $.ig.AxisRange(this.kv(),this.kw())}return null},preferredCategoryMode:function(a){return $.ig.CategoryMode.prototype.mode0},$type:new $.ig.Type("StackedSplineSeries",$.ig.HorizontalStackedSeriesBase.prototype.$type)},true);$.ig.util.defType("Stacked100SplineSeries","StackedSplineSeries",{init:function(){$.ig.StackedSplineSeries.prototype.init.call(this);this.a3($.ig.Stacked100SplineSeries.prototype.$type)},onApplyTemplate:function(){$.ig.StackedSplineSeries.prototype.onApplyTemplate.call(this);this.renderSeries(false)},ly:function(){$.ig.StackedSeriesBase.prototype.ly.call(this);if(this.eb()==null){return}var a=Number.POSITIVE_INFINITY;var b=Number.NEGATIVE_INFINITY;for(var c=0;c<this.eb().g();c++){var d=Math.abs(this.ky()[c])+this.kx()[c];if(d==0){a=Math.min(a,0);b=Math.max(b,0);continue}a=Math.min(a,this.ky()[c]/d*100);b=Math.max(b,this.kx()[c]/d*100)}this.kv(a);this.kw(b)},$type:new $.ig.Type("Stacked100SplineSeries",$.ig.StackedSplineSeries.prototype.$type,[$.ig.IStacked100Series.prototype.$type])},true);$.ig.util.defType("StackedFragmentSeries","DependencyObject",{init:function(){var $self=this;$.ig.DependencyObject.prototype.init.call(this);this.cs(new $.ig.List$1(Number,0));this.ct(new $.ig.List$1(Number,0));this.cu(new $.ig.List$1($.ig.Array.prototype.$type,0));this.propertyUpdated=$.ig.Delegate.prototype.combine(this.propertyUpdated,function(a,b){$self.eq(a,b.propertyName(),b.oldValue(),b.newValue())})},brush:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.brushProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.brushProperty)}},actualBrush:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualBrushProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualBrushProperty)}},dashArray:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.dashArrayProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.dashArrayProperty)}},actualDashArray:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualDashArrayProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualDashArrayProperty)}},dashCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.dashCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.dashCapProperty)}},actualDashCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualDashCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualDashCapProperty)}},endCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.endCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.endCapProperty)}},actualEndCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualEndCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualEndCapProperty)}},isHitTestVisible:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.isHitTestVisibleProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.isHitTestVisibleProperty)}},actualIsHitTestVisible:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualIsHitTestVisibleProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualIsHitTestVisibleProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.legendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.legendItemBadgeTemplateProperty)}},actualLegendItemBadgeTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualLegendItemBadgeTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualLegendItemBadgeTemplateProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.legendItemTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.legendItemTemplateProperty)}},actualLegendItemTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualLegendItemTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualLegendItemTemplateProperty)}},legendItemVisibility:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.legendItemVisibilityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.legendItemVisibilityProperty)}},actualLegendItemVisibility:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualLegendItemVisibilityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualLegendItemVisibilityProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.markerBrushProperty)}},actualMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualMarkerBrushProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualMarkerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.markerOutlineProperty)}},actualMarkerOutline:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualMarkerOutlineProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualMarkerOutlineProperty)}},markerStyle:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.markerStyleProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.markerStyleProperty)}},actualMarkerStyle:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualMarkerStyleProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualMarkerStyleProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.markerTemplateProperty)}},actualMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualMarkerTemplateProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualMarkerTemplateProperty)}},markerType:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.markerTypeProperty)}},actualMarkerType:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualMarkerTypeProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualMarkerTypeProperty)}},name:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.nameProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.nameProperty)}},opacity:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.opacityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.opacityProperty)}},actualOpacity:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualOpacityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualOpacityProperty)}},opacityMask:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.opacityMaskProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.opacityMaskProperty)}},actualOpacityMask:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualOpacityMaskProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualOpacityMaskProperty)}},outline:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.outlineProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.outlineProperty)}},actualOutline:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualOutlineProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualOutlineProperty)}},radiusX:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.radiusXProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.radiusXProperty)}},actualRadiusX:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualRadiusXProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualRadiusXProperty)}},radiusY:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.radiusYProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.radiusYProperty)}},actualRadiusY:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualRadiusYProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualRadiusYProperty)}},startCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.startCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.startCapProperty)}},actualStartCap:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualStartCapProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualStartCapProperty)}},thickness:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.thicknessProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.thicknessProperty)}},actualThickness:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualThicknessProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualThicknessProperty)}},title:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.titleProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.titleProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.toolTipProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.toolTipProperty)}},actualToolTip:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualToolTipProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualToolTipProperty)}},useLightweightMarkers:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.useLightweightMarkersProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.useLightweightMarkersProperty)}},actualUseLightweightMarkers:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualUseLightweightMarkersProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualUseLightweightMarkersProperty)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.valueMemberPathProperty)}},visibility:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.visibilityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.visibilityProperty)}},actualVisibility:function(a){if(arguments.length===1){this.c($.ig.StackedFragmentSeries.prototype.actualVisibilityProperty,a);return a}else{return this.b($.ig.StackedFragmentSeries.prototype.actualVisibilityProperty)}},_parentSeries:null,parentSeries:function(a){if(arguments.length===1){this._parentSeries=a;return a}else{return this._parentSeries}},_cp:null,cp:function(a){if(arguments.length===1){this._cp=a;return a}else{return this._cp}},_cq:null,cq:function(a){if(arguments.length===1){this._cq=a;return a}else{return this._cq}},_cr:null,cr:function(a){if(arguments.length===1){this._cr=a;return a}else{return this._cr}},_visualSeriesLink:null,visualSeriesLink:function(a){if(arguments.length===1){this._visualSeriesLink=a;return a}else{return this._visualSeriesLink}},_cs:null,cs:function(a){if(arguments.length===1){this._cs=a;return a}else{return this._cs}},_ct:null,ct:function(a){if(arguments.length===1){this._ct=a;return a}else{return this._ct}},_cu:null,cu:function(a){if(arguments.length===1){this._cu=a;return a}else{return this._cu}},_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},d2:function(){if(this.parentSeries()==null){return}this.actualVisibility(this.parentSeries().__visibility!=$.ig.Visibility.prototype.visible?$.ig.Visibility.prototype.collapsed:this.visibility());if(this.visualSeriesLink()!=null){this.visualSeriesLink().__visibility=this.actualVisibility()}},d3:function(){if(this.parentSeries()==null){return}this.actualMarkerTemplate(this.markerTemplate()!=null?this.markerTemplate():this.parentSeries().markerTemplate());if(this.visualSeriesLink()!=null){this.visualSeriesLink().markerTemplate(this.actualMarkerTemplate())}},d4:function(){if(this.parentSeries()==null){return}var a=this.markerType()==$.ig.MarkerType.prototype.unset?$.ig.MarkerType.prototype.none:this.markerType();this.actualMarkerType(this.markerType()==$.ig.MarkerType.prototype.unset?this.parentSeries().markerType():a);if(this.visualSeriesLink()!=null){this.visualSeriesLink().markerType(this.actualMarkerType())}},d5:function(){if(this.parentSeries()==null){return}this.actualBrush(this.brush()!=null?this.brush():this.parentSeries().brush());if(this.visualSeriesLink()!=null){this.visualSeriesLink().brush(this.actualBrush())}},d6:function(){if(this.parentSeries()==null){return}this.actualDashArray(this.dashArray()!=null?this.dashArray():this.parentSeries().dashArray());if(this.visualSeriesLink()!=null){this.visualSeriesLink().dashArray(this.actualDashArray())
}},d7:function(){if(this.parentSeries()==null){return}this.actualDashCap(this.dashCap());if(this.visualSeriesLink()!=null){this.visualSeriesLink().dashCap(this.actualDashCap())}},d8:function(){if(this.parentSeries()==null){return}this.actualEndCap(this.endCap());if(this.visualSeriesLink()!=null){this.visualSeriesLink().endCap(this.actualEndCap())}},d9:function(){if(this.parentSeries()==null){return}this.actualIsHitTestVisible(this.isHitTestVisible())},ea:function(){if(this.parentSeries()==null){return}this.actualLegendItemBadgeTemplate(this.legendItemBadgeTemplate()!=null?this.legendItemBadgeTemplate():this.parentSeries().legendItemBadgeTemplate());if(this.visualSeriesLink()!=null){if(this.actualLegendItemBadgeTemplate()!=null){this.visualSeriesLink().legendItemBadgeTemplate(this.actualLegendItemBadgeTemplate())}else{this.visualSeriesLink().legendItemBadgeTemplate(null)}}},eb:function(){if(this.parentSeries()==null){return}this.actualLegendItemTemplate(this.legendItemTemplate()!=null?this.legendItemTemplate():this.parentSeries().legendItemTemplate());if(this.visualSeriesLink()!=null){if(this.actualLegendItemTemplate()!=null){this.visualSeriesLink().legendItemTemplate(this.actualLegendItemTemplate())}else{this.visualSeriesLink().legendItemTemplate(null)}}},ec:function(){if(this.parentSeries()==null){return}this.actualLegendItemVisibility(this.parentSeries().legendItemVisibility()!=$.ig.Visibility.prototype.visible?$.ig.Visibility.prototype.collapsed:this.legendItemVisibility());if(this.visualSeriesLink()!=null){this.visualSeriesLink().legendItemVisibility(this.actualLegendItemVisibility())}},ed:function(){if(this.parentSeries()==null){return}this.actualMarkerBrush(this.markerBrush()!=null?this.markerBrush():this.parentSeries().markerBrush());if(this.visualSeriesLink()!=null){this.visualSeriesLink().markerBrush(this.actualMarkerBrush())}},ee:function(){if(this.parentSeries()==null){return}this.actualMarkerOutline(this.markerOutline()!=null?this.markerOutline():this.parentSeries().markerOutline());if(this.visualSeriesLink()!=null){this.visualSeriesLink().markerOutline(this.actualMarkerOutline())}},ef:function(){if(this.parentSeries()==null){return}this.actualMarkerStyle(this.markerStyle()!=null?this.markerStyle():this.parentSeries().markerStyle());if(this.visualSeriesLink()!=null){if(this.actualMarkerStyle()!=null){this.visualSeriesLink().markerStyle(this.actualMarkerStyle())}else{this.visualSeriesLink().markerStyle(null)}}},eg:function(){if(this.parentSeries()==null){return}this.actualOpacity(!isNaN(this.opacity())?this.opacity():this.parentSeries().__opacity);if(this.visualSeriesLink()!=null){this.visualSeriesLink().__opacity=this.actualOpacity()}},eh:function(){},ei:function(){if(this.parentSeries()==null){return}this.actualOutline(this.outline()!=null?this.outline():this.parentSeries().outline());if(this.visualSeriesLink()!=null){this.visualSeriesLink().outline(this.actualOutline())}},ej:function(){if(this.parentSeries()==null){return}var a=NaN;if($.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.parentSeries())!==null){a=$.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.parentSeries()).radiusX()}if($.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.parentSeries())!==null){a=$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.parentSeries()).radiusX()}this.actualRadiusX(isNaN(this.radiusX())&&!isNaN(a)?a:this.radiusX());if(this.visualSeriesLink()!=null){if($.ig.util.cast($.ig.ColumnFragment.prototype.$type,this.visualSeriesLink())!==null){this.visualSeriesLink().radiusX(this.actualRadiusX())}if($.ig.util.cast($.ig.BarFragment.prototype.$type,this.visualSeriesLink())!==null){this.visualSeriesLink().radiusX(this.actualRadiusX())}}},ek:function(){if(this.parentSeries()==null){return}var a=NaN;if($.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.parentSeries())!==null){a=$.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.parentSeries()).radiusY()}if($.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.parentSeries())!==null){a=$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.parentSeries()).radiusY()}this.actualRadiusY(isNaN(this.radiusY())&&!isNaN(a)?a:this.radiusY());if(this.visualSeriesLink()!=null){if($.ig.util.cast($.ig.ColumnFragment.prototype.$type,this.visualSeriesLink())!==null){this.visualSeriesLink().radiusY(this.actualRadiusY())}if($.ig.util.cast($.ig.BarFragment.prototype.$type,this.visualSeriesLink())!==null){this.visualSeriesLink().radiusY(this.actualRadiusY())}}},el:function(){if(this.parentSeries()==null){return}this.actualStartCap(this.startCap());if(this.visualSeriesLink()!=null){this.visualSeriesLink().startCap(this.actualStartCap())}},em:function(){if(this.parentSeries()==null){return}this.actualThickness(!isNaN(this.thickness())?this.thickness():this.parentSeries().thickness());if(this.visualSeriesLink()!=null){this.visualSeriesLink().thickness(this.actualThickness())}},en:function(){if(this.parentSeries()==null){return}if(this.visualSeriesLink()!=null){this.visualSeriesLink().toolTip(this.toolTip())}},eo:function(){if(this.parentSeries()==null){return}this.actualUseLightweightMarkers(this.useLightweightMarkers());if(this.visualSeriesLink()!=null){this.visualSeriesLink().useLightweightMarkers(this.actualUseLightweightMarkers())}},propertyChanged:null,propertyUpdated:null,ep:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}if(this.propertyUpdated!=null){this.propertyUpdated(this,new $.ig.PropertyUpdatedEventArgs(a,b,c))}},eq:function(a,b,c,d){var $self=this;if(this.parentSeries()==null){return}switch(b){case $.ig.StackedFragmentSeries.prototype.at:if(this.parentSeries()==null||this.visualSeriesLink()==null){return}this.visualSeriesLink().title(d);break;case $.ig.StackedFragmentSeries.prototype.az:this.d2();break;case $.ig.StackedFragmentSeries.prototype.e:this.d5();break;case $.ig.StackedFragmentSeries.prototype.g:this.d6();break;case $.ig.StackedFragmentSeries.prototype.i:this.d7();break;case $.ig.StackedFragmentSeries.prototype.k:this.d8();break;case $.ig.StackedFragmentSeries.prototype.m:this.d9();break;case $.ig.StackedFragmentSeries.prototype.aa:this.d3();break;case $.ig.StackedFragmentSeries.prototype.ac:this.d4();break;case $.ig.StackedFragmentSeries.prototype.o:this.ea();break;case $.ig.StackedFragmentSeries.prototype.q:this.eb();break;case $.ig.StackedFragmentSeries.prototype.s:this.ec();break;case $.ig.StackedFragmentSeries.prototype.u:this.ed();break;case $.ig.StackedFragmentSeries.prototype.w:this.ee();break;case $.ig.StackedFragmentSeries.prototype.y:this.ef();break;case $.ig.StackedFragmentSeries.prototype.af:this.eg();break;case $.ig.StackedFragmentSeries.prototype.ah:this.eh();break;case $.ig.StackedFragmentSeries.prototype.aj:this.ei();break;case $.ig.StackedFragmentSeries.prototype.al:this.ej();break;case $.ig.StackedFragmentSeries.prototype.an:this.ek();break;case $.ig.StackedFragmentSeries.prototype.ap:this.el();break;case $.ig.StackedFragmentSeries.prototype.ar:this.em();break;case $.ig.StackedFragmentSeries.prototype.au:this.en();break;case $.ig.StackedFragmentSeries.prototype.aw:this.eo();break}this.parentSeries().renderSeries(false)},$type:new $.ig.Type("StackedFragmentSeries",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("StackedSeriesCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.StackedFragmentSeries.prototype.$type)},collectionResetting:null,m:function(){if(this.collectionResetting!=null){this.collectionResetting(this,null)}$.ig.ObservableCollection$1.prototype.m.call(this)},$type:new $.ig.Type("StackedSeriesCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.StackedFragmentSeries.prototype.$type))},true);$.ig.util.defType("StackedSeriesFramePreparer","CategoryFramePreparer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.CategoryFramePreparer.prototype.init.call(this,a)},init1:function(initNumber,a,b,c,d,e){$.ig.CategoryFramePreparer.prototype.init1.call(this,1,a,b,c,d,e)},an:function(a){var b=new $.ig.SingleValuesHolder;if($.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.r())!==null||$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.r())!==null){var c=$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,this.r());if(c.k1().count()>0){b.t(c.k1().__inner[0].cr())}return b}var d=this.ar().valueColumn();b.t(d);return b},af:function(a,b,c,d,e){var $self=this;var f=0;var g=false;var h;var i=a.t()!=null;var j=this.r().provideCollisionDetector();var k=a.x();var l=new $.ig.ScalerParams(a.q(),a.r(),a.s().isInverted());var m=new $.ig.ScalerParams(a.q(),a.r(),a.u().isInverted());var n=a.s().getUnscaledValue(2,l)-a.s().getUnscaledValue(1,l);var o=a.q();var p=a.r();var q=$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a.u())!==null&&$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a.u()).hb();for(var r=a.m();r<=a.n();++r){var s;if(a.t()==null){s=this.q().getBucket(r)}else{s=function(){var $ret=$self.ak(a,r,b,n,g,h,c);r=$ret.currentIndex;g=$ret.isCluster;h=$ret.endBucket;return $ret.ret}()}var t=!q||q&&s[1]>0;var u=s[0];if(!isNaN(s[0])){this.al(a,s,c,i,l,m);a.v().f.add(s);var v=r*a.o();if(a.t()!=null&&a.t().sortedIndices()!=null&&v>=0&&v<a.t().sortedIndices().count()){v=a.t().sortedIndices().__inner[v]}var w=s;if(k){w=new Array(s.length);w[0]=u;this.ah(b,v,true,a.w());w[1]=b.h();w[2]=b.i();this.al(a,w,c,i,l,m)}if(d&&t&&this.x(a.v(),w,j,Math.min(v,b.e()-1),f)){++f}}}return f},x:function(a,b,c,d,e){var f=b[0];var g=b[1];if($.ig.util.cast($.ig.IBarSeries.prototype.$type,this.e())!==null){g=b[0];f=b[1]}var h=new $.ig.Rect(0,f-5,g-5,11,11);if(!isNaN(f)&&!isNaN(g)&&!Number.isInfinity(f)&&!Number.isInfinity(g)&&c.tryAdd(h)){a.h.add({__x:f,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.e().updateMarkerTemplate(e,d);return true}return false},$type:new $.ig.Type("StackedSeriesFramePreparer",$.ig.CategoryFramePreparer.prototype.$type)},true);$.ig.util.defType("StackedSeriesManager","Object",{init:function(a){var $self=this;$.ig.Object.prototype.init.call(this);if(a==null){return}this.h(a);this.i(new $.ig.ObservableCollection$1($.ig.AnchoredCategorySeries.prototype.$type,0));this.j(new $.ig.StackedSeriesCollection);this.k(new $.ig.ObservableCollection$1($.ig.AnchoredCategorySeries.prototype.$type,0));this.l(new $.ig.ObservableCollection$1($.ig.AnchoredCategorySeries.prototype.$type,0));this.m(this.h().kt().d0());this.n(this.h().kt().d1());this.j().collectionChanged=$.ig.Delegate.prototype.combine(this.j().collectionChanged,function(b,c){if(c.oldItems()!=null){var e=c.oldItems().getEnumerator();while(e.moveNext()){var d=e.current();if($self.i().contains(d.visualSeriesLink())){$self.i().remove(d.visualSeriesLink())}}}if(c.newItems()!=null){var f=c.newStartingIndex();var h=c.newItems().getEnumerator();while(h.moveNext()){var g=h.current();var i=$self.ac(g);$self.i().insert(f,i);f++}}});this.i().collectionChanged=$.ig.Delegate.prototype.combine(this.i().collectionChanged,function(j,k){if(k.oldItems()!=null){var m=k.oldItems().getEnumerator();while(m.moveNext()){var l=m.current();l.fg(true,l.view());l.seriesViewer(null);l.syncLink(null);l.itemsSource(null);l.legend(null);if($self.n()!=null&&$self.n().a1().contains(l)){$self.n().a1().remove(l)}if($self.h().seriesViewer()!=null){$self.h().seriesViewer().removeSeries(l)}}}if(k.newItems()!=null){var o=k.newItems().getEnumerator();while(o.moveNext()){var n=o.current();n.seriesViewer($self.h().seriesViewer());n.syncLink($self.h().syncLink());if(!$self.n().a1().contains(n)){$self.n().a1().add(n)}if($self.h().seriesViewer()!=null){$self.h().seriesViewer().attachSeries(n)}}}$self.ae()})},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},ac:function(a){if($.ig.util.cast($.ig.StackedLineSeries.prototype.$type,this.h())!==null){var b=new $.ig.LineFragment;b.parentSeries(this.h());a.visualSeriesLink(b);b.logicalSeriesLink(a);this.ad(b,a);return b}if($.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,this.h())!==null){var c=new $.ig.ColumnFragment;c.parentSeries(this.h());a.visualSeriesLink(c);c.logicalSeriesLink(a);this.ad(c,a);return c}if($.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.h())!==null){var d=new $.ig.BarFragment;d.parentSeries($.ig.util.cast($.ig.StackedBarSeries.prototype.$type,this.h()));a.visualSeriesLink(d);d.logicalSeriesLink(a);this.ad(d,a);return d}if($.ig.util.cast($.ig.StackedAreaSeries.prototype.$type,this.h())!==null){var e=new $.ig.AreaFragment;e.parentSeries(this.h());a.visualSeriesLink(e);e.logicalSeriesLink(a);this.ad(e,a);return e}if($.ig.util.cast($.ig.StackedSplineSeries.prototype.$type,this.h())!==null){var f=new $.ig.SplineFragment;f.parentSeries(this.h());a.visualSeriesLink(f);f.logicalSeriesLink(a);this.ad(f,a);return f}if($.ig.util.cast($.ig.StackedSplineAreaSeries.prototype.$type,this.h())!==null){var g=new $.ig.SplineAreaFragment;g.parentSeries(this.h());a.visualSeriesLink(g);g.logicalSeriesLink(a);this.ad(g,a);return g}return null},ad:function(a,b){a.brush(b.actualBrush());a.dashArray(b.actualDashArray());a.dashCap(b.actualDashCap());a.endCap(b.actualEndCap());a.itemsSource(this.h().itemsSource());a.legend(this.h().actualLegend());a.legendItemVisibility(b.actualLegendItemVisibility());a.markerBrush(b.actualMarkerBrush());a.markerOutline(b.actualMarkerOutline());a.markerStyle(b.actualMarkerStyle());a.markerTemplate(b.actualMarkerTemplate());a.markerType(b.actualMarkerType());a.miterLimit(this.h().miterLimit());a.__opacity=b.opacity();a.outline(b.actualOutline());a.resolution(this.h().resolution());a.startCap(b.actualStartCap());a.thickness(b.actualThickness());a.title(b.title());a.useLightweightMarkers(b.actualUseLightweightMarkers());a.valueMemberPath(b.valueMemberPath());a.__visibility=b.actualVisibility();a.toolTip(b.toolTip())},ae:function(){this.k().clear();this.l().clear();var b=this.i().getEnumerator();while(b.moveNext()){var a=b.current();a.d9(true);a.seriesViewer(this.h().seriesViewer());a.syncLink(this.h().syncLink());a.index(this.h().lt(this.j().__inner[this.i().indexOf(a)]));if(this.j().__inner[this.i().indexOf(a)].cv()){this.k().add(a)}else{this.l().add(a)}if($.ig.util.cast($.ig.StackedLineSeries.prototype.$type,this.h())!==null||$.ig.util.cast($.ig.StackedAreaSeries.prototype.$type,this.h())!==null||$.ig.util.cast($.ig.StackedSplineSeries.prototype.$type,this.h())!==null||$.ig.util.cast($.ig.StackedSplineAreaSeries.prototype.$type,this.h())!==null){a.k9(this.h().j6());a.la(this.h().j7())}a.renderSeries(false)}},$type:new $.ig.Type("StackedSeriesManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Bezier","Object",{a:null,l:function(){return this.a},b:null,m:function(){return this.b},c:null,n:function(){return this.c},d:null,o:function(){return this.d},e:null,p:function(){return this.e},f:null,init:function(a,b,c,d,e,f){this.f=Number.MAX_VALUE;this.i=new $.ig.Array;$.ig.Object.prototype.init.call(this);this.b=a;this.c=b;this.d=c;this.e=d;this.a=e;this.f=f;this.q(this.af())},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},g:null,r:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},h:null,s:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},ae:function(a){var b=1-a;var c=b*b;var d=c*b;var e=a*a;var f=e*a;var g={__x:d*this.b.__x+3*c*a*this.c.__x+3*b*e*this.d.__x+f*this.e.__x,__y:d*this.b.__y+3*c*a*this.c.__y+3*b*e*this.d.__y+f*this.e.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var h=new $.ig.BezierPoint;h.a=g;h.b=a;return h},i:null,af:function(){this.r(new $.ig.Array);this.s(new $.ig.Array);var a=new $.ig.BezierOp;a.a=0;a.b=1;this.i.clear();this.i.push(a);var b=0;while(this.i.length>0){var c=this.i.pop();var d=this.ae(c.a);var e=this.ae(c.b);var f=(e.a.__x-d.a.__x)*(e.a.__x-d.a.__x)+(e.a.__y-d.a.__y)*(e.a.__y-d.a.__y);if(f<this.a){d.c=b++;e.c=b++;this.r().add(d);this.r().add(e);if(d.a.__x>this.f||e.a.__x>this.f){return false}}else{var g=(c.a+c.b)/2;var h=new $.ig.BezierOp;h.a=c.a;h.b=g;var i=new $.ig.BezierOp;i.a=g;i.b=c.b;this.i.push(i);this.i.push(h)}}var k=this.r().getEnumerator();while(k.moveNext()){var j=k.current();this.s().add(j)}this.ag();return true},ag:function(){var $self=this;this.s().sort(function(a,b){var c=a;var d=b;if(c.a.__y<d.a.__y){return-1}if(c.a.__y>d.a.__y){return 1}return 0})},ah:function(a){var $self=this;var c=this.ai(function(b){if(a<b.a.__y){return-1}if(a>b.a.__y){return 1}return 0});if(c<0){c=~c}if(c<0){c=0}if(c>this.s().length-1){c=this.s().length-1}var d=100000001;var e=1e8;var f=100000002;e=Math.abs(this.s()[c].a.__y-a);if(c-1>=0){d=Math.abs(this.s()[c-1].a.__y-a)}if(c+1<this.s().length){f=Math.abs(this.s()[c+1].a.__y-a)}if(e<=d&&e<=f){return this.s()[c]}if(d<=e&&d<=f&&c-1>0){return this.s()[c-1]}if(f<=d&&f<=e&&c+1<this.s().length){return this.s()[c+1]}return this.s()[c]},ai:function(a){var b=0;var c=this.s().length-1;while(b<=c){var d=b+(c-b>>1);var e=a(this.s()[d]);if(e<0){c=d-1}else if(e>0){b=d+1}else{return d}}return~b},$type:new $.ig.Type("Bezier",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BezierOp","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,$type:new $.ig.Type("BezierOp",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BezierPoint","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,$type:new $.ig.Type("BezierPoint",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ChartVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.axes(new $.ig.AxisVisualDataList);this.series(new $.ig.SeriesVisualDataList)},_axes:null,axes:function(a){if(arguments.length===1){this._axes=a;return a}else{return this._axes}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_isViewportScaled:null,isViewportScaled:function(a){if(arguments.length===1){this._isViewportScaled=a;return a}else{return this._isViewportScaled}},scaleByViewport:function(){var b=this.axes().getEnumerator();while(b.moveNext()){var a=b.current();a.h()}var d=this.series().getEnumerator();while(d.moveNext()){var c=d.current();c.h()}},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g("name: "+this.name()+",");a.g("isViewportScaled: "+(this.isViewportScaled()?"true":"false")+", ");a.g("axes: [");for(var b=0;b<this.axes().count();b++){if(b!=0){a.d(", ")}a.d(this.axes().__inner[b].serialize())}a.g("],");a.g("series: [");for(var c=0;c<this.series().count();c++){if(c!=0){a.d(", ")}a.d(this.series().__inner[c].serialize())}a.g("]");a.g("}");return a.toString()},getSerializedSeriesPoints:function(a,b,c){var d=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);for(var e=0;e<this.series().count();e++){if($.ig.Series.prototype.e8(e).name()==a){var f=this.series().__inner[e].shapes().containingTag(b);for(var g=0;g<f.count();g++){var h=f.__inner[e];h.getPointsOverride(d,c)}}}var i=new $.ig.StringBuilder;i.g("[");for(var j=0;j<d.count();j++){var k=d.__inner[j];i.g("[");for(var l=0;l<k.count();l++){if(l!=0){i.d(", ")}i.d("{ x: "+k.__inner[l].__x+", y: "+k.__inner[l].__y+"}")}i.g("]")}i.g("]");return i.toString()},$type:new $.ig.Type("ChartVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PieChartVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.slices(new $.ig.PieSliceVisualDataList);this.others(new $.ig.List$1($.ig.Object.prototype.$type,0))},_slices:null,slices:function(a){if(arguments.length===1){this._slices=a;return a}else{return this._slices}},_othersSlice:null,othersSlice:function(a){if(arguments.length===1){this._othersSlice=a;return a}else{return this._othersSlice}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_others:null,others:function(a){if(arguments.length===1){this._others=a;return a}else{return this._others}},$type:new $.ig.Type("PieChartVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SeriesVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.SeriesVisualData.prototype.$type)},$type:new $.ig.Type("SeriesVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.SeriesVisualData.prototype.$type))},true);$.ig.util.defType("SeriesVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.shapes(new $.ig.PrimitiveVisualDataList);this.markerShapes(new $.ig.MarkerVisualDataList)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},_shapes:null,shapes:function(a){if(arguments.length===1){this._shapes=a;return a}else{return this._shapes}},_markerShapes:null,markerShapes:function(a){if(arguments.length===1){this._markerShapes=a;return a}else{return this._markerShapes}},_pixels:null,pixels:function(a){if(arguments.length===1){this._pixels=a;return a}else{return this._pixels}},_pixelWidth:null,pixelWidth:function(a){if(arguments.length===1){this._pixelWidth=a;return a}else{return this._pixelWidth}},h:function(){var b=this.shapes().getEnumerator();while(b.moveNext()){var a=b.current();a.scaleByViewport(this.viewport())}var d=this.markerShapes().getEnumerator();while(d.moveNext()){var c=d.current();c.h(this.viewport())}},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g('name: "'+this.name()+'",');a.g('type: "'+this.type()+'", ');a.g("viewport: { left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height()+"}, ");a.g("shapes: [");for(var b=0;b<this.shapes().count();b++){if(b!=0){a.d(", ")}a.d(this.shapes().__inner[b].serialize())}a.g("],");a.g("markerShapes: [");for(var c=0;c<this.markerShapes().count();c++){if(c!=0){a.d(", ")}a.d(this.markerShapes().__inner[c].serialize())}a.g("]");if(this.pixels()!=null){a.g(", pixels: [");for(var d=0;d<this.pixels().length;d++){if(d!=0){a.d(", ")}a.d(this.pixels()[d].toString())}a.g("], ");a.g("pixelWidth: "+this.pixelWidth()+", ")}a.g("}");return a.toString()},$type:new $.ig.Type("SeriesVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MarkerVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.MarkerVisualData.prototype.$type)},$type:new $.ig.Type("MarkerVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.MarkerVisualData.prototype.$type))},true);$.ig.util.defType("MarkerVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_index:null,index:function(a){if(arguments.length===1){this._index=a;return a}else{return this._index}},_markerAppearance:null,markerAppearance:function(a){if(arguments.length===1){this._markerAppearance=a;return a}else{return this._markerAppearance}},_markerType:null,markerType:function(a){if(arguments.length===1){this._markerType=a;return a}else{return this._markerType}},_contentTemplate:null,contentTemplate:function(a){if(arguments.length===1){this._contentTemplate=a;return a}else{return this._contentTemplate}},_visibility:null,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},serialize:function(){return"{ x: "+this.x()+", y: "+this.y()+", index: "+this.index()+", markerAppearance: "+(this.markerAppearance()!=null?this.markerAppearance().serialize():"null")+", markerType: "+this.markerType()+", visibility: "+(this.visibility()==$.ig.Visibility.prototype.visible?"true":"false")+"}"},h:function(a){this.x((this.x()-a.left())/a.width());this.y((this.y()-a.top())/a.height())},$type:new $.ig.Type("MarkerVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.AxisVisualData.prototype.$type)},$type:new $.ig.Type("AxisVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.AxisVisualData.prototype.$type))},true);$.ig.util.defType("AxisVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.labels(new $.ig.AxisLabelVisualDataList)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},_labels:null,labels:function(a){if(arguments.length===1){this._labels=a;return a}else{return this._labels}},_axisLine:null,axisLine:function(a){if(arguments.length===1){this._axisLine=a;return a}else{return this._axisLine}},_majorLines:null,majorLines:function(a){if(arguments.length===1){this._majorLines=a;return a}else{return this._majorLines}},_minorLines:null,minorLines:function(a){if(arguments.length===1){this._minorLines=a;return a}else{return this._minorLines}},h:function(){var a=true;if(this.type()=="NumericYAxis"||this.type()=="CategoryYAxis"){a=false}var c=this.labels().getEnumerator();while(c.moveNext()){var b=c.current();b.d(this.viewport(),a)}this.axisLine().scaleByViewport(this.viewport())},serialize:function(){var a=new $.ig.StringBuilder;a.g("{");a.g('name: "'+this.name()+'",');a.g('type: "'+this.type()+'", ');a.g("viewport: { left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height()+"}, ");a.g("labels: [");for(var b=0;b<this.labels().count();b++){if(b!=0){a.d(", ")}a.d(this.labels().__inner[b].serialize())}a.g("],");a.g("axisLine: "+(this.axisLine()!=null?this.axisLine().serialize():"null")+", ");a.g("majorLines: "+(this.majorLines()!=null?this.axisLine().serialize():"null")+", ");a.g("minorLines: "+(this.minorLines()!=null?this.axisLine().serialize():"null"));a.g("}");return a.toString()},$type:new $.ig.Type("AxisVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PieSliceVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.PieSliceVisualData.prototype.$type)},$type:new $.ig.Type("PieSliceVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.PieSliceVisualData.prototype.$type))},true);$.ig.util.defType("PieSliceVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_startAngle:null,startAngle:function(a){if(arguments.length===1){this._startAngle=a;return a}else{return this._startAngle}},_endAngle:null,endAngle:function(a){if(arguments.length===1){this._endAngle=a;return a}else{return this._endAngle}},_origin:null,origin:function(a){if(arguments.length===1){this._origin=a;return a}else{return this._origin}},_explodedOrigin:null,explodedOrigin:function(a){if(arguments.length===1){this._explodedOrigin=a;return a}else{return this._explodedOrigin}},_radius:null,radius:function(a){if(arguments.length===1){this._radius=a;return a}else{return this._radius}},_explodedRadius:null,explodedRadius:function(a){if(arguments.length===1){this._explodedRadius=a;return a}else{return this._explodedRadius}},_innerExtentStart:null,innerExtentStart:function(a){if(arguments.length===1){this._innerExtentStart=a;return a}else{return this._innerExtentStart}},_innerExtentEnd:null,innerExtentEnd:function(a){if(arguments.length===1){this._innerExtentEnd=a;return a}else{return this._innerExtentEnd}},_isSelected:null,isSelected:function(a){if(arguments.length===1){this._isSelected=a;return a}else{return this._isSelected}},_isExploded:null,isExploded:function(a){if(arguments.length===1){this._isExploded=a;return a}else{return this._isExploded}},_isOthersSlice:null,isOthersSlice:function(a){if(arguments.length===1){this._isOthersSlice=a;return a}else{return this._isOthersSlice}},_index:null,index:function(a){if(arguments.length===1){this._index=a;return a}else{return this._index}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},_labelBounds:null,labelBounds:function(a){if(arguments.length===1){this._labelBounds=a;return a}else{return this._labelBounds}},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},_labelAppearance:null,labelAppearance:function(a){if(arguments.length===1){this._labelAppearance=a;return a}else{return this._labelAppearance}},_leaderLineAppearance:null,leaderLineAppearance:function(a){if(arguments.length===1){this._leaderLineAppearance=a;return a}else{return this._leaderLineAppearance}},_slicePath:null,slicePath:function(a){if(arguments.length===1){this._slicePath=a;return a}else{return this._slicePath}},$type:new $.ig.Type("PieSliceVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisLabelVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.AxisLabelVisualData.prototype.$type)},$type:new $.ig.Type("AxisLabelVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.AxisLabelVisualData.prototype.$type))},true);$.ig.util.defType("AxisLabelVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_labelValue:null,labelValue:function(a){if(arguments.length===1){this._labelValue=a;return a}else{return this._labelValue}},_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}},serialize:function(){return"{ labelPosition: "+this.labelPosition()+", appearance: "+(this.appearance()!=null?this.appearance().serialize():"null")+"}"},d:function(a,b){if(b){this.labelPosition((this.labelPosition()-a.left())/a.width())}else{this.labelPosition((this.labelPosition()-a.top())/a.height())}},$type:new $.ig.Type("AxisLabelVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StackedSeriesVisualData","SeriesVisualData",{init:function(){$.ig.SeriesVisualData.prototype.init.call(this);this.fragmentSeries(new $.ig.SeriesVisualDataList)},_fragmentSeries:null,fragmentSeries:function(a){if(arguments.length===1){this._fragmentSeries=a;return a}else{return this._fragmentSeries}},$type:new $.ig.Type("StackedSeriesVisualData",$.ig.SeriesVisualData.prototype.$type)},true);$.ig.util.defType("IDetectsCollisions","Object",{$type:new $.ig.Type("IDetectsCollisions",null)},true);$.ig.util.defType("CollisionAvoider","Object",{init:function(){this.a=new $.ig.List$1($.ig.Rect.prototype.$type,0);$.ig.Object.prototype.init.call(this)},tryAdd:function(a){var $self=this;for(var b=this.a.count()-1;b>=0;--b){if(a.left()>this.a.__inner[b].right()){break
}if(this.a.__inner[b].intersectsWith(a)){return false}}if(this.a.count()==0||a.right()>=this.a.__inner[this.a.count()-1].right()){this.a.add(a)}else{this.a.add(a);this.a.t(function(c,d){return Math.sign(c.right()-d.right())})}return true},clear:function(){this.a.clear()},a:null,$type:new $.ig.Type("CollisionAvoider",$.ig.Object.prototype.$type,[$.ig.IDetectsCollisions.prototype.$type])},true);$.ig.util.defType("DoubleColumn","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},e:function(a){this.b(a)},$type:new $.ig.Type("DoubleColumn",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StringColumn","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},e:function(a){this.b(a)},$type:new $.ig.Type("StringColumn",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ObjectColumn","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},e:function(a){this.b(a)},$type:new $.ig.Type("ObjectColumn",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IntColumn","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.b(new $.ig.List$1($.ig.Number.prototype.$type,0))},c:function(a){for(var b=0;b<a;b++){this.b().add(b)}},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},f:function(a){var $self=this;this.b().t(function(b,c){return a(b,c)})},getEnumerator:function(){return this.b().getEnumerator()},$type:new $.ig.Type("IntColumn",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("ColumnUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("ColumnUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PointList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.Point.prototype.$type)},$type:new $.ig.Type("PointList",$.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type))},true);$.ig.util.defType("IPool$1","Object",{$type:new $.ig.Type("IPool$1",null)},true);$.ig.util.defType("IIndexedPool$1","Object",{$type:new $.ig.Type("IIndexedPool$1",null,[$.ig.IPool$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("Pool$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.h(new $.ig.List$1(this.$t,0));this.i(new $.ig.List$1(this.$t,0))},_create:null,create:function(a){if(arguments.length===1){this._create=a;return a}else{return this._create}},_disactivate:null,disactivate:function(a){if(arguments.length===1){this._disactivate=a;return a}else{return this._disactivate}},_activate:null,activate:function(a){if(arguments.length===1){this._activate=a;return a}else{return this._activate}},_destroy:null,destroy:function(a){if(arguments.length===1){this._destroy=a;return a}else{return this._destroy}},item:function(b){if(b>=this.g()){this.g(b+1)}return this.h().__inner[b]},clear:function(){this.g(0)},g:function(a){if(arguments.length===1){var b=this.h().count();while(a>this.h().count()&&this.i().count()>0){var c=this.i().__inner[this.i().count()-1];this.h().add(c);this.i().removeAt(this.i().count()-1);if(this.activate()!=null){this.activate()(c)}}while(a>this.h().count()&&this.i().count()==0){var d=this.create()();this.h().add(d);if(this.activate()!=null){this.activate()(d)}}var e=2;while(b!=0){b>>=1;e<<=1}while(a<this.h().count()){var f=this.h().__inner[this.h().count()-1];this.h().removeAt(this.h().count()-1);if(this.disactivate()!=null){this.disactivate()(f)}if(this.i().count()<e){this.i().add(f)}else{if(this.destroy()!=null){this.destroy()(f)}}}if(e<this.i().count()){for(var g=e;g<this.i().count();++g){this.destroy()(this.i().__inner[g])}this.i().q(e,this.i().count()-e)}return a}else{return this.h().count()}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},p:function(a){var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();a(b)}var e=this.h().getEnumerator();while(e.moveNext()){var d=e.current();a(d)}},$type:new $.ig.Type("Pool$1",$.ig.Object.prototype.$type,[$.ig.IIndexedPool$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IHashPool$2","Object",{$type:new $.ig.Type("IHashPool$2",null,[$.ig.IPool$1.prototype.$type.specialize(1)])},true);$.ig.util.defType("HashPool$2","Object",{$tKey:null,$tValue:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},init:function($tKey,$tValue){this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.g(new $.ig.List$1(this.$tValue,0));this.h(new $.ig.Dictionary$2(this.$tKey,this.$tValue,0))},_create:null,create:function(a){if(arguments.length===1){this._create=a;return a}else{return this._create}},_disactivate:null,disactivate:function(a){if(arguments.length===1){this._disactivate=a;return a}else{return this._disactivate}},_activate:null,activate:function(a){if(arguments.length===1){this._activate=a;return a}else{return this._activate}},_destroy:null,destroy:function(a){if(arguments.length===1){this._destroy=a;return a}else{return this._destroy}},item:function(b){var $self=this;var c;if(!function(){var $ret=$self.h().tryGetValue(b,c);c=$ret.value;return $ret.ret}()){if(this.g().count()>0){c=this.g().__inner[this.g().count()-1];this.g().removeAt(this.g().count()-1)}else{c=this.create()()}if(this.activate()!=null){this.activate()(c)}this.h().item(b,c)}return c},i:function(){return this.h().keys()},t:function(a){return this.h().containsKey(a)},u:function(a){var $self=this;var b;if(function(){var $ret=$self.h().tryGetValue(a,b);b=$ret.value;return $ret.ret}()){this.h().remove(a);if(this.disactivate()!=null){this.disactivate()(b)}this.g().add(b);var c=this.h().count();var d=2;while(c!=0){c>>=1;d<<=1}if(d<this.g().count()){for(var e=d;e<this.g().count();++e){this.destroy()(this.g().item(e))}this.g().q(d,this.g().count()-d)}}},clear:function(){var a=new $.ig.List$1(this.$tKey,0);var c=this.h().keys().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b)}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();this.u(d)}},j:function(){return this.h().count()},w:function(a){var c=this.g().getEnumerator();while(c.moveNext()){var b=c.current();a(b)}var e=this.h().values().getEnumerator();while(e.moveNext()){var d=e.current();a(d)}},$type:new $.ig.Type("HashPool$2",$.ig.Object.prototype.$type,[$.ig.IHashPool$2.prototype.$type.specialize(0,1)])},true);$.ig.util.defType("SafeEnumerable","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},b:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},c:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.a==null){this.$state=2}else{this.$state=4}break;case 2:this.$state=-2;return false;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$b=this.$this.a.getEnumerator();this.$state=8;break;case 6:this.$a=this.$b.current();this.$current=this.$this.b(this.$a);this.$state=7;return true;case 7:this.$state=8;break;case 8:if(this.$b.moveNext()){this.$state=6}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},getEnumerator:function(){return this.c().getEnumerator()},$type:new $.ig.Type("SafeEnumerable",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("SafeReadOnlyDoubleCollection","Object",{a:null,b:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},init:function(a){$.ig.Object.prototype.init.call(this);this.a=new $.ig.ReadOnlyCollection$1(Number,1,a)},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).insert(a,b)},removeAt:function(a){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).removeAt(a)},item:function(b,a){if(arguments.length===2){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).item(b,a);return a}else{return this.b(this.a.item(b))}},add:function(a){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).add(a)},clear:function(){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).clear()},contains:function(a){return this.a.contains(a)},c:function(a,b){for(var c=b;c<a.length;c++){a[c]=this.item(c)}},count:function(){return this.a.count()},isReadOnly:function(){return $.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).isReadOnly()},remove:function(a){return $.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).remove(a)},getEnumerator:function(){return new $.ig.SafeEnumerable(this.a).getEnumerator()},$type:new $.ig.Type("SafeReadOnlyDoubleCollection",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("SafeSortedReadOnlyDoubleCollection","Object",{a:null,b:null,c:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=new $.ig.SafeReadOnlyDoubleCollection(a);this.b=b},indexOf:function(a){var b=this.a.indexOf(a);return this.b.indexOf(b)},insert:function(a,b){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).insert(a,b)},removeAt:function(a){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).removeAt(a)},item:function(b,a){if(arguments.length===2){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).item(b,a);return a}else{var c=this.b.item(b);return this.c(this.a.item(c))}},add:function(a){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).add(a)},clear:function(){$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).clear()},contains:function(a){return this.a.contains(a)},d:function(a,b){for(var c=b;c<a.length;c++){a[c]=this.item(c)}},count:function(){return this.a.count()},isReadOnly:function(){return $.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).isReadOnly()},remove:function(a){return $.ig.util.cast($.ig.IList$1.prototype.$type.specialize(Number),this.a).remove(a)},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.a.count()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(Number,$iter())},$type:new $.ig.Type("SafeSortedReadOnlyDoubleCollection",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("SortedListView$1","Object",{$t:null,a:null,b:null,init:function($t,a,b){this.a=null;this.b=null;this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=b;this.b=a},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},contains:function(a){return this.b.contains(a)},indexOf:function(a){return this.a.indexOf(this.b.indexOf(a))},insert:function(a,b){throw new $.ig.NotImplementedException},c:function(){return true},isReadOnly:function(){return true},remove:function(a){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.b.item(this.a.item(b))}},count:function(){return this.b.count()},d:function(){throw new $.ig.NotImplementedException},e:function(){throw new $.ig.NotImplementedException},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.count()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.AbstractEnumerator($iter())},copyTo:function(a,b){throw new $.ig.NotImplementedException},$type:new $.ig.Type("SortedListView$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0)])},true);$.ig.ItemsSourceAction.prototype.remove=0;$.ig.ItemsSourceAction.prototype.insert=1;$.ig.ItemsSourceAction.prototype.replace=2;$.ig.ItemsSourceAction.prototype.change=3;$.ig.ItemsSourceAction.prototype.reset=4;$.ig.EnableErrorBars.prototype.none=0;$.ig.EnableErrorBars.prototype.both=1;$.ig.EnableErrorBars.prototype.positive=2;$.ig.EnableErrorBars.prototype.negative=3;$.ig.WindowResponse.prototype.deferred=0;$.ig.WindowResponse.prototype.immediate=1;$.ig.WindowMode.prototype.none=0;$.ig.WindowMode.prototype.synched=1;$.ig.WindowMode.prototype.zoomable=2;$.ig.SplineType.prototype.natural=0;$.ig.SplineType.prototype.clamped=1;$.ig.PriceDisplayType.prototype.candlestick=0;$.ig.PriceDisplayType.prototype.oHLC=1;$.ig.OthersCategoryType.prototype.number=0;$.ig.OthersCategoryType.prototype.percent=1;$.ig.MarkerType.prototype.unset=0;$.ig.MarkerType.prototype.none=1;$.ig.MarkerType.prototype.automatic=2;$.ig.MarkerType.prototype.circle=3;$.ig.MarkerType.prototype.triangle=4;$.ig.MarkerType.prototype.pyramid=5;$.ig.MarkerType.prototype.square=6;$.ig.MarkerType.prototype.diamond=7;$.ig.MarkerType.prototype.pentagon=8;$.ig.MarkerType.prototype.hexagon=9;$.ig.MarkerType.prototype.tetragram=10;$.ig.MarkerType.prototype.pentagram=11;$.ig.MarkerType.prototype.hexagram=12;$.ig.LabelsPosition.prototype.none=0;$.ig.LabelsPosition.prototype.center=1;$.ig.LabelsPosition.prototype.insideEnd=2;$.ig.LabelsPosition.prototype.outsideEnd=3;$.ig.LabelsPosition.prototype.bestFit=4;$.ig.GridMode.prototype.none=0;$.ig.GridMode.prototype.beforeSeries=1;$.ig.GridMode.prototype.behindSeries=2;$.ig.AxisOrientation.prototype.horizontal=0;$.ig.AxisOrientation.prototype.vertical=1;$.ig.AxisOrientation.prototype.angular=2;$.ig.AxisOrientation.prototype.radial=3;$.ig.CategoryMode.prototype.mode0=0;$.ig.CategoryMode.prototype.mode1=1;$.ig.CategoryMode.prototype.mode2=2;$.ig.AxisLabelsLocation.prototype.outsideTop=0;$.ig.AxisLabelsLocation.prototype.outsideBottom=1;$.ig.AxisLabelsLocation.prototype.outsideLeft=2;$.ig.AxisLabelsLocation.prototype.outsideRight=3;$.ig.AxisLabelsLocation.prototype.insideTop=4;$.ig.AxisLabelsLocation.prototype.insideBottom=5;$.ig.AxisLabelsLocation.prototype.insideLeft=6;$.ig.AxisLabelsLocation.prototype.insideRight=7;$.ig.CollisionAvoidanceType.prototype.none=0;$.ig.CollisionAvoidanceType.prototype.omit=1;$.ig.CollisionAvoidanceType.prototype.fade=2;$.ig.CollisionAvoidanceType.prototype.omitAndShift=3;$.ig.CollisionAvoidanceType.prototype.fadeAndShift=4;$.ig.ChartContentType.prototype.series=0;$.ig.ChartContentType.prototype.axis=1;$.ig.ChartContentType.prototype.background=2;$.ig.MouseButtonAction.prototype.up=0;$.ig.MouseButtonAction.prototype.down=1;$.ig.MouseButtonType.prototype.left=0;$.ig.MouseButtonType.prototype.right=1;$.ig.OuterLabelAlignment.prototype.left=0;$.ig.OuterLabelAlignment.prototype.right=1;$.ig.FunnelSliceDisplay.prototype.uniform=0;$.ig.FunnelSliceDisplay.prototype.weighted=1;$.ig.TimeAxisDisplayType.prototype.continuous=0;$.ig.TimeAxisDisplayType.prototype.discrete=1;$.ig.IndicatorDisplayType.prototype.line=0;$.ig.IndicatorDisplayType.prototype.area=1;$.ig.IndicatorDisplayType.prototype.column=2;$.ig.BrushSelectionMode.prototype.select=0;$.ig.BrushSelectionMode.prototype.interpolate=1;$.ig.NumericScaleMode.prototype.linear=0;$.ig.NumericScaleMode.prototype.logarithmic=1;$.ig.Series.prototype.bd="MouseOver";$.ig.Series.prototype.be="Normal";$.ig.Series.prototype.ck=0;$.ig.Series.prototype.bf="VisibilityProxy";$.ig.Series.prototype.bg="RootCanvas";$.ig.Series.prototype.bh=1e-7;$.ig.Series.prototype.bi="SyncLink";$.ig.Series.prototype.bj="SeriesViewer";$.ig.Series.prototype.bk="ItemsSource";$.ig.Series.prototype.bl="FastItemsSource";$.ig.Series.prototype.bm="LegendItem";$.ig.Series.prototype.bn="ActualLegend";$.ig.Series.prototype.bo="LegendItemVisibility";$.ig.Series.prototype.bp="LegendItemBadgeTemplate";$.ig.Series.prototype.bq="LegendItemTemplate";$.ig.Series.prototype.br="DiscreteLegendItemTemplate";$.ig.Series.prototype.bs="Index";$.ig.Series.prototype.bt="TransitionEasingFunction";$.ig.Series.prototype.bu="TransitionDuration";$.ig.Series.prototype.bv="TransitionProgress";$.ig.Series.prototype.bw=10;$.ig.Series.prototype.bx=false;$.ig.Series.prototype.by="Resolution";$.ig.Series.prototype.bz="Title";$.ig.Series.prototype.b0="Brush";$.ig.Series.prototype.b1="ActualBrush";$.ig.Series.prototype.b2="Outline";$.ig.Series.prototype.b3="ActualOutline";$.ig.Series.prototype.b4="LineJoin";$.ig.Series.prototype.b5="MiterLimit";$.ig.Series.prototype.b6="Thickness";$.ig.Series.prototype.b7="DashCap";$.ig.Series.prototype.b8="DashArray";$.ig.Series.prototype.b9="ToolTip";$.ig.Series.prototype.ca="StartCap";$.ig.Series.prototype.cb="EndCap";$.ig.Series.prototype.cc="TrendLineDashArray";$.ig.Series.prototype.cd="TrendLineType";$.ig.Series.prototype.ce="TrendLinePeriod";$.ig.Series.prototype.cf="TrendLineBrush";$.ig.Series.prototype.cg="ActualTrendLineBrush";$.ig.Series.prototype.ch="TrendLineThickness";$.ig.Series.prototype.ci="TrendLineDashCap";$.ig.Series.prototype.cj="TrendLineZIndex";$.ig.Series.prototype.cl=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bf,$.ig.Visibility.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){a.e6($.ig.Series.prototype.bf,b.f(),b.e())}));$.ig.Series.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bk,$.ig.IEnumerable.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);if(c.syncLink()!=null){$.ig.util.cast($.ig.IFastItemsSourceProvider.prototype.$type,c.syncLink()).releaseFastItemsSource(b.f())}$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bk,b.f(),b.e())}));$.ig.Series.prototype.cv=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bl,$.ig.FastItemsSource.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bl,b.f(),b.e())}));$.ig.Series.prototype.legendProperty=$.ig.DependencyProperty.prototype.l("Legend",$.ig.LegendBase.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);c.e6($.ig.XamDataChart.prototype.be,b.f(),b.e())}));$.ig.Series.prototype.legendItemVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bo,$.ig.Visibility.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bo,b.f(),b.e())}));$.ig.Series.prototype.legendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bp,$.ig.DataTemplate.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);c.e6($.ig.Series.prototype.bp,b.f(),b.e());c.legendItem(c.f2())}));$.ig.Series.prototype.legendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bq,$.ig.DataTemplate.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);c.e6($.ig.Series.prototype.bq,b.f(),b.e());c.legendItem(c.f2())}));$.ig.Series.prototype.discreteLegendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.br,$.ig.DataTemplate.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);c.e6($.ig.Series.prototype.br,b.f(),b.e())}));$.ig.Series.prototype.indexProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bs,$.ig.Number.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,-1,function(a,b){var c=$.ig.util.cast($.ig.Series.prototype.$type,a);c.e6($.ig.Series.prototype.bs,b.f(),b.e());c.legendItem(c.f2())}));$.ig.Series.prototype.transitionDurationProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bu,$.ig.Number.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bu,b.f(),b.e())}));$.ig.Series.prototype.cz=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bv,Number,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bv,b.f(),b.e())}));$.ig.Series.prototype.resolutionProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.by,Number,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.by,b.f(),b.e())}));$.ig.Series.prototype.titleProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.bz,$.ig.Object.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,"Series Title",function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.bz,b.f(),b.e())}));$.ig.Series.prototype.brushProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b0,$.ig.Brush.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b0,b.f(),b.e())}));$.ig.Series.prototype.actualBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b1,$.ig.Brush.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b1,b.f(),b.e())}));$.ig.Series.prototype.outlineProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b2,$.ig.Brush.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b2,b.f(),b.e())}));$.ig.Series.prototype.actualOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b3,$.ig.Brush.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b3,b.f(),b.e())}));$.ig.Series.prototype.miterLimitProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b5,Number,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b5,b.f(),b.e())}));$.ig.Series.prototype.thicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b6,Number,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b6,b.f(),b.e())}));$.ig.Series.prototype.dashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b7,$.ig.PenLineCap.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b7,b.f(),b.e())}));$.ig.Series.prototype.dashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b8,$.ig.DoubleCollection.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b8,b.f(),b.e())}));$.ig.Series.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.b9,$.ig.Object.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.b9,b.f(),b.e())}));$.ig.Series.prototype.startCapProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.ca,$.ig.PenLineCap.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.ca,b.f(),b.e())}));$.ig.Series.prototype.endCapProperty=$.ig.DependencyProperty.prototype.l($.ig.Series.prototype.cb,$.ig.PenLineCap.prototype.$type,$.ig.Series.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.Series.prototype.$type,a).e6($.ig.Series.prototype.cb,b.f(),b.e())}));$.ig.AnnotationLayer.prototype.ii="UseIndex";$.ig.AnnotationLayer.prototype.ij="UseLegend";$.ig.AnnotationLayer.prototype.ik="CursorPosition";$.ig.AnnotationLayer.prototype.il="IsDefaultCrosshairDisabled";$.ig.AnnotationLayer.prototype.useIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.AnnotationLayer.prototype.ii,$.ig.Boolean.prototype.$type,$.ig.AnnotationLayer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.e6($.ig.AnnotationLayer.prototype.ii,b.f(),b.e())}));$.ig.AnnotationLayer.prototype.useLegendProperty=$.ig.DependencyProperty.prototype.l($.ig.AnnotationLayer.prototype.ij,$.ig.Boolean.prototype.$type,$.ig.AnnotationLayer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.e6($.ig.AnnotationLayer.prototype.ij,b.f(),b.e())}));$.ig.AnnotationLayer.prototype.cursorPositionProperty=$.ig.DependencyProperty.prototype.l($.ig.AnnotationLayer.prototype.ik,$.ig.Point.prototype.$type,$.ig.AnnotationLayer.prototype.$type,new $.ig.PropertyMetadata(1,{__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},function(a,b){a.e6($.ig.AnnotationLayer.prototype.ik,b.f(),b.e())}));$.ig.AnnotationLayer.prototype.isDefaultCrosshairDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.AnnotationLayer.prototype.il,$.ig.Boolean.prototype.$type,$.ig.AnnotationLayer.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){a.e6($.ig.AnnotationLayer.prototype.il,b.f(),b.e())}));$.ig.SeriesView.prototype.a=1e3;$.ig.SeriesView.prototype.b=3;$.ig.CrosshairLayer.prototype.j0="TargetSeries";$.ig.CrosshairLayer.prototype.j1="UseInterpolation";$.ig.CrosshairLayer.prototype.j2="VerticalLineVisiblity";$.ig.CrosshairLayer.prototype.j3="HorizontalLineVisiblity";$.ig.CrosshairLayer.prototype.j4="SkipUnknownValues";$.ig.CrosshairLayer.prototype.targetSeriesProperty=$.ig.DependencyProperty.prototype.l($.ig.CrosshairLayer.prototype.j0,$.ig.Series.prototype.$type,$.ig.CrosshairLayer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.CrosshairLayer.prototype.j0,b.f(),b.e())}));$.ig.CrosshairLayer.prototype.useInterpolationProperty=$.ig.DependencyProperty.prototype.l($.ig.CrosshairLayer.prototype.j1,$.ig.Boolean.prototype.$type,$.ig.CrosshairLayer.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){a.e6($.ig.CrosshairLayer.prototype.j1,b.f(),b.e())}));$.ig.CrosshairLayer.prototype.verticalLineVisiblityProperty=$.ig.DependencyProperty.prototype.l($.ig.CrosshairLayer.prototype.j2,$.ig.Visibility.prototype.$type,$.ig.CrosshairLayer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){a.e6($.ig.CrosshairLayer.prototype.j2,b.f(),b.e())}));$.ig.CrosshairLayer.prototype.horizontalLineVisiblityProperty=$.ig.DependencyProperty.prototype.l($.ig.CrosshairLayer.prototype.j3,$.ig.Visibility.prototype.$type,$.ig.CrosshairLayer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){a.e6($.ig.CrosshairLayer.prototype.j3,b.f(),b.e())}));$.ig.CrosshairLayer.prototype.skipUnknownValuesProperty=$.ig.DependencyProperty.prototype.l($.ig.CrosshairLayer.prototype.j4,$.ig.Boolean.prototype.$type,$.ig.CrosshairLayer.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){a.e6($.ig.CrosshairLayer.prototype.j4,b.f(),b.e())}));$.ig.AxisLabelPanelBaseView.prototype.a=4;$.ig.AxisLabelPanelBase.prototype.a4="Extent";$.ig.AxisLabelPanelBase.prototype.a6=$.ig.DependencyProperty.prototype.l($.ig.AxisLabelPanelBase.prototype.a4,Number,$.ig.AxisLabelPanelBase.prototype.$type,new $.ig.PropertyMetadata(1,50,function(a,b){}));$.ig.Axis.prototype.bd="FormatLabel";$.ig.Axis.prototype.be="RootCanvas";$.ig.Axis.prototype.bf="FastItemsSourceProvider";$.ig.Axis.prototype.bg="SeriesViewer";$.ig.Axis.prototype.bh="Stroke";$.ig.Axis.prototype.bi="StrokeThickness";$.ig.Axis.prototype.bj="StrokeDashArray";$.ig.Axis.prototype.bk="Strip";$.ig.Axis.prototype.bl="MajorStroke";$.ig.Axis.prototype.bm="MajorStrokeThickness";$.ig.Axis.prototype.bn="MajorStrokeDashArray";$.ig.Axis.prototype.bo="MinorStroke";$.ig.Axis.prototype.bp="MinorStrokeThickness";$.ig.Axis.prototype.bq="MinorStrokeDashArray";$.ig.Axis.prototype.br="IsDisabled";$.ig.Axis.prototype.bs="IsInverted";$.ig.Axis.prototype.bt="LabelSettings";$.ig.Axis.prototype.bu="LabelPanelStyle";$.ig.Axis.prototype.bv="CrossingAxis";$.ig.Axis.prototype.bw="CrossingValue";$.ig.Axis.prototype.bx="Label";$.ig.Axis.prototype.formatLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bd,$.ig.Func$2.prototype.$type.specialize($.ig.Object.prototype.$type,String),$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bd,b.f(),b.e())}));$.ig.Axis.prototype.strokeProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bh,$.ig.Brush.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bh,b.f(),b.e())}));$.ig.Axis.prototype.strokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bi,Number,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bi,b.f(),b.e())}));$.ig.Axis.prototype.strokeDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bj,$.ig.DoubleCollection.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bj,b.f(),b.e())}));$.ig.Axis.prototype.stripProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bk,$.ig.Brush.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bk,b.f(),b.e())}));$.ig.Axis.prototype.majorStrokeProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bl,$.ig.Brush.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bl,b.f(),b.e())
}));$.ig.Axis.prototype.majorStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bm,Number,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bm,b.f(),b.e())}));$.ig.Axis.prototype.majorStrokeDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bn,$.ig.DoubleCollection.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bn,b.f(),b.e())}));$.ig.Axis.prototype.minorStrokeProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bo,$.ig.Brush.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bo,b.f(),b.e())}));$.ig.Axis.prototype.minorStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bp,Number,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bp,b.f(),b.e())}));$.ig.Axis.prototype.minorStrokeDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bq,$.ig.DoubleCollection.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bq,b.f(),b.e())}));$.ig.Axis.prototype.isDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.br,$.ig.Boolean.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.br,b.f(),b.e())}));$.ig.Axis.prototype.isInvertedProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bs,$.ig.Boolean.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bs,b.f(),b.e())}));$.ig.Axis.prototype.labelSettingsProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bt,$.ig.AxisLabelSettings.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bt,b.f(),b.e())}));$.ig.Axis.prototype.labelPanelStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bu,$.ig.Style.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bu,b.f(),b.e())}));$.ig.Axis.prototype.crossingAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bv,$.ig.Axis.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bv,b.f(),b.e())}));$.ig.Axis.prototype.crossingValueProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bw,$.ig.Object.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bw,b.f(),b.e())}));$.ig.Axis.prototype.labelProperty=$.ig.DependencyProperty.prototype.l($.ig.Axis.prototype.bx,$.ig.Object.prototype.$type,$.ig.Axis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.Axis.prototype.$type,a).e8($.ig.Axis.prototype.bx,b.f(),b.e())}));$.ig.AxisLabelSettings.prototype.a="TextStyle";$.ig.AxisLabelSettings.prototype.b="TextColor";$.ig.AxisLabelSettings.prototype.c="Location";$.ig.AxisLabelSettings.prototype.d="Visibility";$.ig.AxisLabelSettings.prototype.e="Angle";$.ig.AxisLabelSettings.prototype.f="Extent";$.ig.AxisLabelSettings.prototype.extentPropertyDefault=50;$.ig.Snapper.prototype.a=7;$.ig.CategoryAxisBase.prototype.gf="FastItemsSource";$.ig.CategoryAxisBase.prototype.gg="ItemsSource";$.ig.CategoryAxisBase.prototype.gh="ItemsCount";$.ig.CategoryAxisBase.prototype.gi="CategoryMode";$.ig.CategoryAxisBase.prototype.gj="Gap";$.ig.CategoryAxisBase.prototype.gk="Overlap";$.ig.CategoryAxisBase.prototype.gl="UseClusteringMode";$.ig.CategoryAxisBase.prototype.gm="GroupCount";$.ig.CategoryAxisBase.prototype.fastItemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAxisBase.prototype.gf,$.ig.FastItemsSource.prototype.$type,$.ig.CategoryAxisBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a).e8($.ig.CategoryAxisBase.prototype.gf,b.f(),b.e())}));$.ig.CategoryAxisBase.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAxisBase.prototype.gg,$.ig.IEnumerable.prototype.$type,$.ig.CategoryAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a);if(c.c7()!=null){c.c7().releaseFastItemsSource(b.f())}$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a).e8($.ig.CategoryAxisBase.prototype.gg,b.f(),b.e())}));$.ig.CategoryAxisBase.prototype.gapProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAxisBase.prototype.gj,Number,$.ig.CategoryAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,.2,function(a,b){$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a).e8($.ig.CategoryAxisBase.prototype.gj,b.f(),b.e())}));$.ig.CategoryAxisBase.prototype.overlapProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAxisBase.prototype.gk,Number,$.ig.CategoryAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a).e8($.ig.CategoryAxisBase.prototype.gk,b.f(),b.e())}));$.ig.CategoryAxisBase.prototype.useClusteringModeProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAxisBase.prototype.gl,$.ig.Boolean.prototype.$type,$.ig.CategoryAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.CategoryAxisBase.prototype.$type,a).e8($.ig.CategoryAxisBase.prototype.gl,b.f(),b.e())}));$.ig.CategoryAngleAxis.prototype.hu="StartAngleOffset";$.ig.CategoryAngleAxis.prototype.hv="Interval";$.ig.CategoryAngleAxis.prototype.startAngleOffsetProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAngleAxis.prototype.hu,Number,$.ig.CategoryAngleAxis.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,a).e8($.ig.CategoryAngleAxis.prototype.hu,b.f(),b.e())}));$.ig.CategoryAngleAxis.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryAngleAxis.prototype.hv,Number,$.ig.CategoryAngleAxis.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,a).e8($.ig.CategoryAngleAxis.prototype.hv,b.f(),b.e());$.ig.util.cast($.ig.CategoryAngleAxis.prototype.$type,a).e1(false)}));$.ig.CategoryDateTimeXAxis.prototype.hu="DisplayType";$.ig.CategoryDateTimeXAxis.prototype.hv="MinimumValue";$.ig.CategoryDateTimeXAxis.prototype.hw="MaximumValue";$.ig.CategoryDateTimeXAxis.prototype.hx="Interval";$.ig.CategoryDateTimeXAxis.prototype.hy="ActualMinimumValue";$.ig.CategoryDateTimeXAxis.prototype.hz="ActualMaximumValue";$.ig.CategoryDateTimeXAxis.prototype.h0="DateTimeMemberPath";$.ig.CategoryDateTimeXAxis.prototype.h1="DateTimeColumn";$.ig.CategoryDateTimeXAxis.prototype.displayTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryDateTimeXAxis.prototype.hu,$.ig.TimeAxisDisplayType.prototype.$type,$.ig.CategoryDateTimeXAxis.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TimeAxisDisplayType.prototype.continuous,function(a,b){$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,a).e8($.ig.CategoryDateTimeXAxis.prototype.hu,b.f(),b.e())}));$.ig.CategoryDateTimeXAxis.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryDateTimeXAxis.prototype.hv,$.ig.Date.prototype.$type,$.ig.CategoryDateTimeXAxis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,a).e8($.ig.CategoryDateTimeXAxis.prototype.hv,b.f(),b.e())}));$.ig.CategoryDateTimeXAxis.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryDateTimeXAxis.prototype.hw,$.ig.Date.prototype.$type,$.ig.CategoryDateTimeXAxis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,a).e8($.ig.CategoryDateTimeXAxis.prototype.hw,b.f(),b.e())}));$.ig.CategoryDateTimeXAxis.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryDateTimeXAxis.prototype.hx,$.ig.Number.prototype.$type,$.ig.CategoryDateTimeXAxis.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,a).e8($.ig.CategoryDateTimeXAxis.prototype.hx,b.f(),b.e())}));$.ig.CategoryDateTimeXAxis.prototype.dateTimeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryDateTimeXAxis.prototype.h0,String,$.ig.CategoryDateTimeXAxis.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryDateTimeXAxis.prototype.$type,a).e8($.ig.CategoryDateTimeXAxis.prototype.h0,b.f(),b.e())}));$.ig.CategoryXAxis.prototype.hu="Interval";$.ig.CategoryXAxis.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryXAxis.prototype.hu,Number,$.ig.CategoryXAxis.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.CategoryXAxis.prototype.$type,a).e8($.ig.CategoryXAxis.prototype.hu,b.f(),b.e());$.ig.util.cast($.ig.CategoryXAxis.prototype.$type,a).e1(false)}));$.ig.CategoryYAxis.prototype.hu="Interval";$.ig.CategoryYAxis.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.CategoryYAxis.prototype.hu,Number,$.ig.CategoryYAxis.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.CategoryYAxis.prototype.$type,a).e8($.ig.CategoryYAxis.prototype.hu,b.f(),b.e());$.ig.util.cast($.ig.CategoryYAxis.prototype.$type,a).e1(false)}));$.ig.NumericAxisBase.prototype.gf="MinimumValue";$.ig.NumericAxisBase.prototype.gg="ActualMinimumValue";$.ig.NumericAxisBase.prototype.gh="MaximumValue";$.ig.NumericAxisBase.prototype.gi="ActualMaximumValue";$.ig.NumericAxisBase.prototype.gj="Interval";$.ig.NumericAxisBase.prototype.gk="ReferenceValue";$.ig.NumericAxisBase.prototype.gl="IsLogarithmic";$.ig.NumericAxisBase.prototype.gm="ActualIsLogarithmic";$.ig.NumericAxisBase.prototype.gn="LogarithmBase";$.ig.NumericAxisBase.prototype.go="TickmarkValues";$.ig.NumericAxisBase.prototype.gp="ActualTickmarkValues";$.ig.NumericAxisBase.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gf,Number,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gf,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gh,Number,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gh,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gj,Number,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gj,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.referenceValueProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gk,Number,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gk,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.isLogarithmicProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gl,$.ig.Boolean.prototype.$type,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gl,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.logarithmBaseProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.gn,$.ig.Number.prototype.$type,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.gn,b.f(),b.e())}));$.ig.NumericAxisBase.prototype.tickmarkValuesProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAxisBase.prototype.go,$.ig.TickmarkValues.prototype.$type,$.ig.NumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.NumericAxisBase.prototype.$type,a).e8($.ig.NumericAxisBase.prototype.go,b.f(),b.e())}));$.ig.NumericAngleAxis.prototype.ig="StartAngleOffset";$.ig.NumericAngleAxis.prototype.startAngleOffsetProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericAngleAxis.prototype.ig,Number,$.ig.NumericAngleAxis.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.NumericAngleAxis.prototype.$type,a).e8($.ig.NumericAngleAxis.prototype.ig,b.f(),b.e())}));$.ig.StraightNumericAxisBase.prototype.ig="ScaleMode";$.ig.StraightNumericAxisBase.prototype.ih="Scaler";$.ig.StraightNumericAxisBase.prototype.ii="ActualScaler";$.ig.StraightNumericAxisBase.prototype.scaleModeProperty=$.ig.DependencyProperty.prototype.l($.ig.StraightNumericAxisBase.prototype.ig,$.ig.NumericScaleMode.prototype.$type,$.ig.StraightNumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.NumericScaleMode.prototype.linear,function(a,b){$.ig.util.cast($.ig.StraightNumericAxisBase.prototype.$type,a).e8($.ig.StraightNumericAxisBase.prototype.ig,b.f(),b.e())}));$.ig.StraightNumericAxisBase.prototype.scalerProperty=$.ig.DependencyProperty.prototype.l($.ig.StraightNumericAxisBase.prototype.ih,$.ig.NumericScaler.prototype.$type,$.ig.StraightNumericAxisBase.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.StraightNumericAxisBase.prototype.it));$.ig.NumericRadiusAxis.prototype.ig="RadiusExtentScale";$.ig.NumericRadiusAxis.prototype.ih="InnerRadiusExtentScale";$.ig.NumericRadiusAxis.prototype.radiusExtentScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericRadiusAxis.prototype.ig,Number,$.ig.NumericRadiusAxis.prototype.$type,new $.ig.PropertyMetadata(1,.75,function(a,b){$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,a).e8($.ig.NumericRadiusAxis.prototype.ig,b.f(),b.e())}));$.ig.NumericRadiusAxis.prototype.innerRadiusExtentScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.NumericRadiusAxis.prototype.ih,Number,$.ig.NumericRadiusAxis.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.NumericRadiusAxis.prototype.$type,a).e8($.ig.NumericRadiusAxis.prototype.ih,b.f(),b.e())}));$.ig.NumericScaler.prototype.e="ActualMinimumValue";$.ig.NumericScaler.prototype.f="ActualMaximumValue";$.ig.NumericScaler.prototype.g=$.ig.DependencyProperty.prototype.l($.ig.NumericScaler.prototype.e,Number,$.ig.NumericScaler.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.NumericScaler.prototype.$type,a).x($.ig.NumericScaler.prototype.e,b.f(),b.e())}));$.ig.NumericScaler.prototype.h=$.ig.DependencyProperty.prototype.l($.ig.NumericScaler.prototype.f,Number,$.ig.NumericScaler.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.NumericScaler.prototype.$type,a).x($.ig.NumericScaler.prototype.f,b.f(),b.e())}));$.ig.LogarithmicTickmarkValues.prototype.ab=5e-324;$.ig.LogarithmicTickmarkValues.prototype.ac="LogarithmBase";$.ig.LogarithmicTickmarkValues.prototype.ad=$.ig.DependencyProperty.prototype.l($.ig.LogarithmicTickmarkValues.prototype.ac,$.ig.Number.prototype.$type,$.ig.LogarithmicTickmarkValues.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){}));$.ig.TrendLineManagerBase$1.prototype.a="TrendLineDashArray";$.ig.TrendLineManagerBase$1.prototype.b="TrendLineType";$.ig.TrendLineManagerBase$1.prototype.c="TrendLinePeriod";$.ig.TrendLineManagerBase$1.prototype.d="TrendLineBrush";$.ig.TrendLineManagerBase$1.prototype.e="ActualTrendLineBrush";$.ig.TrendLineManagerBase$1.prototype.f="TrendLineThickness";$.ig.TrendLineManagerBase$1.prototype.g="TrendLineDashCap";$.ig.TrendLineManagerBase$1.prototype.h="TrendLineZIndex";$.ig.MarkerSeries.prototype.ii="MarkerType";$.ig.MarkerSeries.prototype.ij="MarkerTemplate";$.ig.MarkerSeries.prototype.ik="ActualMarkerTemplate";$.ig.MarkerSeries.prototype.il="MarkerBrush";$.ig.MarkerSeries.prototype.im="ActualMarkerBrush";$.ig.MarkerSeries.prototype.io="MarkerOutline";$.ig.MarkerSeries.prototype.ip="ActualMarkerOutline";$.ig.MarkerSeries.prototype.iq="MarkerStyle";$.ig.MarkerSeries.prototype.ir="UseLightweightMarkers";$.ig.MarkerSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.ii,$.ig.MarkerType.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.none,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.ii,b.f(),b.e())}));$.ig.MarkerSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.ij,$.ig.DataTemplate.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.ij,b.f(),b.e())}));$.ig.MarkerSeries.prototype.actualMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.ik,$.ig.DataTemplate.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.ik,b.f(),b.e())}));$.ig.MarkerSeries.prototype.nullMarkerTemplate=new $.ig.DataTemplate;$.ig.MarkerSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.il,$.ig.Brush.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){var c=$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a);c.e6($.ig.MarkerSeries.prototype.il,b.f(),b.e())}));$.ig.MarkerSeries.prototype.actualMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.im,$.ig.Brush.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.im,b.f(),b.e())}));$.ig.MarkerSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.io,$.ig.Brush.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.io,b.f(),b.e())}));$.ig.MarkerSeries.prototype.actualMarkerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.ip,$.ig.Brush.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.ip,b.f(),b.e())}));$.ig.MarkerSeries.prototype.markerStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.iq,$.ig.Style.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.iq,b.f(),b.e())}));$.ig.MarkerSeries.prototype.useLightweightMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.MarkerSeries.prototype.ir,$.ig.Boolean.prototype.$type,$.ig.MarkerSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.MarkerSeries.prototype.$type,a).e6($.ig.MarkerSeries.prototype.ir,b.f(),b.e())}));$.ig.ScatterBase.prototype.ji="XAxis";$.ig.ScatterBase.prototype.jj="YAxis";$.ig.ScatterBase.prototype.jk="XMemberPath";$.ig.ScatterBase.prototype.jl="XColumn";$.ig.ScatterBase.prototype.jm="YMemberPath";$.ig.ScatterBase.prototype.jn="YColumn";$.ig.ScatterBase.prototype.jo="MarkerCollisionAvoidance";$.ig.ScatterBase.prototype.jp="MaximumMarkers";$.ig.ScatterBase.prototype.jq="ErrorBarSettings";$.ig.ScatterBase.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.ji,$.ig.NumericXAxis.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.ji,b.f(),b.e())}));$.ig.ScatterBase.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jj,$.ig.NumericYAxis.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.jj,b.f(),b.e())}));$.ig.ScatterBase.prototype.xMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jk,String,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.jk,b.f(),b.e())}));$.ig.ScatterBase.prototype.yMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jm,String,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.jm,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.cd,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.cf,$.ig.Brush.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.cf,b.f(),b.e())}));$.ig.ScatterBase.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.cg,$.ig.Brush.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.cg,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.ch,Number,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.ch,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.ci,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.cc,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.ce,$.ig.Number.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.ce,b.f(),b.e())}));$.ig.ScatterBase.prototype.markerCollisionAvoidanceProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jo,$.ig.CollisionAvoidanceType.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.CollisionAvoidanceType.prototype.none,function(a,b){$.ig.util.cast($.ig.ScatterBase.prototype.$type,a).e6($.ig.ScatterBase.prototype.jo,b.f(),b.e())}));$.ig.ScatterBase.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.cj,$.ig.Number.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,1001,function(c,d){$.ig.util.cast($.ig.ScatterBase.prototype.$type,c).e6($.ig.ScatterBase.prototype.cj,d.f(),d.e())}));$.ig.ScatterBase.prototype.maximumMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jp,$.ig.Number.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,400,function(g,h){$.ig.util.cast($.ig.ScatterBase.prototype.$type,g).e6($.ig.ScatterBase.prototype.jp,h.f(),h.e())}));$.ig.ScatterBase.prototype.errorBarSettingsProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterBase.prototype.jq,$.ig.ScatterErrorBarSettings.prototype.$type,$.ig.ScatterBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(j,k){$.ig.util.cast($.ig.ScatterBase.prototype.$type,j).e6($.ig.ScatterBase.prototype.jq,k.f(),k.e())}));$.ig.BubbleSeries.prototype.lm="RadiusMemberPath";$.ig.BubbleSeries.prototype.ln="RadiusColumn";$.ig.BubbleSeries.prototype.lo="RadiusScale";$.ig.BubbleSeries.prototype.lp="LabelMemberPath";$.ig.BubbleSeries.prototype.lq="LabelColumn";$.ig.BubbleSeries.prototype.lr="FillMemberPath";$.ig.BubbleSeries.prototype.ls="FillScale";$.ig.BubbleSeries.prototype.lt="FillColumn";$.ig.BubbleSeries.prototype.radiusMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.BubbleSeries.prototype.lm,String,$.ig.BubbleSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a).e6($.ig.BubbleSeries.prototype.lm,b.f(),b.e())}));$.ig.BubbleSeries.prototype.radiusScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.BubbleSeries.prototype.lo,$.ig.SizeScale.prototype.$type,$.ig.BubbleSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a).e6($.ig.BubbleSeries.prototype.lo,b.f(),b.e())}));$.ig.BubbleSeries.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.BubbleSeries.prototype.lp,String,$.ig.BubbleSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a).e6($.ig.BubbleSeries.prototype.lp,b.f(),b.e())}));$.ig.BubbleSeries.prototype.fillMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.BubbleSeries.prototype.lr,String,$.ig.BubbleSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a).e6($.ig.BubbleSeries.prototype.lr,b.f(),b.e())}));$.ig.BubbleSeries.prototype.fillScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.BubbleSeries.prototype.ls,$.ig.BrushScale.prototype.$type,$.ig.BubbleSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.BubbleSeries.prototype.$type,a).e6($.ig.BubbleSeries.prototype.ls,b.f(),b.e())}));$.ig.CustomPaletteBrushScale.prototype.q="BrushSelectionMode";$.ig.CustomPaletteBrushScale.prototype.brushSelectionModeProperty=$.ig.DependencyProperty.prototype.l($.ig.CustomPaletteBrushScale.prototype.q,$.ig.BrushSelectionMode.prototype.$type,$.ig.CustomPaletteBrushScale.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.BrushSelectionMode.prototype.select,function(a,b){$.ig.util.cast($.ig.CustomPaletteBrushScale.prototype.$type,a).n($.ig.CustomPaletteBrushScale.prototype.q,b.f(),b.e())}));$.ig.SizeScale.prototype.e="MinimumValue";$.ig.SizeScale.prototype.f="MaximumValue";$.ig.SizeScale.prototype.g="IsLogarithmic";$.ig.SizeScale.prototype.h="LogarithmBase";$.ig.SizeScale.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.SizeScale.prototype.e,Number,$.ig.SizeScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SizeScale.prototype.$type,a).s($.ig.SizeScale.prototype.e,b.f(),b.e())}));$.ig.SizeScale.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.SizeScale.prototype.f,Number,$.ig.SizeScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SizeScale.prototype.$type,a).s($.ig.SizeScale.prototype.f,b.f(),b.e())}));$.ig.SizeScale.prototype.isLogarithmicProperty=$.ig.DependencyProperty.prototype.l($.ig.SizeScale.prototype.g,$.ig.Boolean.prototype.$type,$.ig.SizeScale.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.SizeScale.prototype.$type,a).s($.ig.SizeScale.prototype.g,b.f(),b.e())}));$.ig.SizeScale.prototype.logarithmBaseProperty=$.ig.DependencyProperty.prototype.l($.ig.SizeScale.prototype.h,$.ig.Number.prototype.$type,$.ig.SizeScale.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){$.ig.util.cast($.ig.SizeScale.prototype.$type,a).s($.ig.SizeScale.prototype.h,b.f(),b.e())}));$.ig.ValueBrushScale.prototype.q="MinimumValue";$.ig.ValueBrushScale.prototype.r="MaximumValue";$.ig.ValueBrushScale.prototype.s="IsLogarithmic";$.ig.ValueBrushScale.prototype.t="LogarithmBase";$.ig.ValueBrushScale.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.ValueBrushScale.prototype.q,Number,$.ig.ValueBrushScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,a).n($.ig.ValueBrushScale.prototype.q,b.f(),b.e())}));$.ig.ValueBrushScale.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.ValueBrushScale.prototype.r,Number,$.ig.ValueBrushScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,a).n($.ig.ValueBrushScale.prototype.r,b.f(),b.e())}));$.ig.ValueBrushScale.prototype.isLogarithmicProperty=$.ig.DependencyProperty.prototype.l($.ig.ValueBrushScale.prototype.s,$.ig.Boolean.prototype.$type,$.ig.ValueBrushScale.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,a).n($.ig.ValueBrushScale.prototype.s,b.f(),b.e())}));$.ig.ValueBrushScale.prototype.logarithmBaseProperty=$.ig.DependencyProperty.prototype.l($.ig.ValueBrushScale.prototype.t,$.ig.Number.prototype.$type,$.ig.ValueBrushScale.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){$.ig.util.cast($.ig.ValueBrushScale.prototype.$type,a).n($.ig.ValueBrushScale.prototype.t,b.f(),b.e())}));$.ig.CategorySeries.prototype.ji="ErrorBarSettings";$.ig.CategorySeries.prototype.jj="UseHighMarkerFidelity";$.ig.CategorySeries.prototype.useHighMarkerFidelityProperty=$.ig.DependencyProperty.prototype.l($.ig.CategorySeries.prototype.jj,$.ig.Boolean.prototype.$type,$.ig.CategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.CategorySeries.prototype.$type,a).e6($.ig.CategorySeries.prototype.jj,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.kb="ValueMemberPath";$.ig.AnchoredCategorySeries.prototype.kc="ValueColumn";$.ig.AnchoredCategorySeries.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.kb,String,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.kb,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.cd,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.cf,$.ig.Brush.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.cf,b.f(),b.e())
}));$.ig.AnchoredCategorySeries.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.cg,$.ig.Brush.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.cg,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.ch,Number,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.ch,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.ci,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.cc,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.ce,$.ig.Number.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.ce,b.f(),b.e())}));$.ig.AnchoredCategorySeries.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredCategorySeries.prototype.cj,$.ig.Number.prototype.$type,$.ig.AnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,1001,function(a,b){$.ig.util.cast($.ig.AnchoredCategorySeries.prototype.$type,a).e6($.ig.AnchoredCategorySeries.prototype.cj,b.f(),b.e())}));$.ig.VerticalAnchoredCategorySeries.prototype.lc="XAxis";$.ig.VerticalAnchoredCategorySeries.prototype.ld="YAxis";$.ig.VerticalAnchoredCategorySeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.VerticalAnchoredCategorySeries.prototype.lc,$.ig.NumericXAxis.prototype.$type,$.ig.VerticalAnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.VerticalAnchoredCategorySeries.prototype.$type,a).e6($.ig.VerticalAnchoredCategorySeries.prototype.lc,b.f(),b.e())}));$.ig.VerticalAnchoredCategorySeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.VerticalAnchoredCategorySeries.prototype.ld,$.ig.CategoryYAxis.prototype.$type,$.ig.VerticalAnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.VerticalAnchoredCategorySeries.prototype.$type,a).e6($.ig.VerticalAnchoredCategorySeries.prototype.ld,b.f(),b.e())}));$.ig.BarSeries.prototype.lg="RadiusX";$.ig.BarSeries.prototype.lh="RadiusY";$.ig.BarSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.BarSeries.prototype.lg,Number,$.ig.BarSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.BarSeries.prototype.$type,a).e6($.ig.BarSeries.prototype.lg,b.f(),b.e())}));$.ig.BarSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.BarSeries.prototype.lh,Number,$.ig.BarSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.BarSeries.prototype.$type,a).e6($.ig.BarSeries.prototype.lh,b.f(),b.e())}));$.ig.HorizontalAnchoredCategorySeries.prototype.lc="XAxis";$.ig.HorizontalAnchoredCategorySeries.prototype.ld="YAxis";$.ig.HorizontalAnchoredCategorySeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalAnchoredCategorySeries.prototype.lc,$.ig.CategoryAxisBase.prototype.$type,$.ig.HorizontalAnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalAnchoredCategorySeries.prototype.$type,a).e6($.ig.HorizontalAnchoredCategorySeries.prototype.lc,b.f(),b.e())}));$.ig.HorizontalAnchoredCategorySeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalAnchoredCategorySeries.prototype.ld,$.ig.NumericYAxis.prototype.$type,$.ig.HorizontalAnchoredCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalAnchoredCategorySeries.prototype.$type,a).e6($.ig.HorizontalAnchoredCategorySeries.prototype.ld,b.f(),b.e())}));$.ig.RangeCategorySeries.prototype.kb="LowMemberPath";$.ig.RangeCategorySeries.prototype.kc="LowColumn";$.ig.RangeCategorySeries.prototype.kd="HighMemberPath";$.ig.RangeCategorySeries.prototype.ke="HighColumn";$.ig.RangeCategorySeries.prototype.lowMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.RangeCategorySeries.prototype.kb,String,$.ig.RangeCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RangeCategorySeries.prototype.$type,a).e6($.ig.RangeCategorySeries.prototype.kb,b.f(),b.e())}));$.ig.RangeCategorySeries.prototype.highMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.RangeCategorySeries.prototype.kd,String,$.ig.RangeCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RangeCategorySeries.prototype.$type,a).e6($.ig.RangeCategorySeries.prototype.kd,b.f(),b.e())}));$.ig.HorizontalRangeCategorySeries.prototype.kt="XAxis";$.ig.HorizontalRangeCategorySeries.prototype.ku="YAxis";$.ig.HorizontalRangeCategorySeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalRangeCategorySeries.prototype.kt,$.ig.CategoryAxisBase.prototype.$type,$.ig.HorizontalRangeCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalRangeCategorySeries.prototype.$type,a).e6($.ig.HorizontalRangeCategorySeries.prototype.kt,b.f(),b.e())}));$.ig.HorizontalRangeCategorySeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalRangeCategorySeries.prototype.ku,$.ig.NumericYAxis.prototype.$type,$.ig.HorizontalRangeCategorySeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalRangeCategorySeries.prototype.$type,a).e6($.ig.HorizontalRangeCategorySeries.prototype.ku,b.f(),b.e())}));$.ig.RangeColumnSeries.prototype.k1="RadiusX";$.ig.RangeColumnSeries.prototype.k2="RadiusY";$.ig.RangeColumnSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.RangeColumnSeries.prototype.k1,Number,$.ig.RangeColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RangeColumnSeries.prototype.$type,a).e6($.ig.RangeColumnSeries.prototype.k1,b.f(),b.e())}));$.ig.RangeColumnSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.RangeColumnSeries.prototype.k2,Number,$.ig.RangeColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RangeColumnSeries.prototype.$type,a).e6($.ig.RangeColumnSeries.prototype.k2,b.f(),b.e())}));$.ig.AreaSeries.prototype.lr="UnknownValuePlotting";$.ig.AreaSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.AreaSeries.prototype.lr,$.ig.UnknownValuePlotting.prototype.$type,$.ig.AreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.AreaSeries.prototype.$type,a).e6($.ig.AreaSeries.prototype.lr,b.f(),b.e())}));$.ig.ColumnSeries.prototype.lr="RadiusX";$.ig.ColumnSeries.prototype.ls="RadiusY";$.ig.ColumnSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.ColumnSeries.prototype.lr,Number,$.ig.ColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.ColumnSeries.prototype.$type,a).e6($.ig.ColumnSeries.prototype.lr,b.f(),b.e())}));$.ig.ColumnSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.ColumnSeries.prototype.ls,Number,$.ig.ColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.ColumnSeries.prototype.$type,a).e6($.ig.ColumnSeries.prototype.ls,b.f(),b.e())}));$.ig.LineSeries.prototype.lr="UnknownValuePlotting";$.ig.LineSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.LineSeries.prototype.lr,$.ig.UnknownValuePlotting.prototype.$type,$.ig.LineSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.LineSeries.prototype.$type,a).e6($.ig.LineSeries.prototype.lr,b.f(),b.e())}));$.ig.SplineSeriesBase.prototype.lr="SplineType";$.ig.SplineSeriesBase.prototype.splineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.SplineSeriesBase.prototype.lr,$.ig.SplineType.prototype.$type,$.ig.SplineSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.SplineType.prototype.natural,function(a,b){$.ig.util.cast($.ig.SplineSeriesBase.prototype.$type,a).e6($.ig.SplineSeriesBase.prototype.lr,b.f(),b.e())}));$.ig.WaterfallSeries.prototype.lr="NegativeBrush";$.ig.WaterfallSeries.prototype.ls="RadiusX";$.ig.WaterfallSeries.prototype.lt="RadiusY";$.ig.WaterfallSeries.prototype.negativeBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.WaterfallSeries.prototype.lr,$.ig.Brush.prototype.$type,$.ig.WaterfallSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.WaterfallSeries.prototype.$type,a).e6($.ig.WaterfallSeries.prototype.lr,b.f(),b.e())}));$.ig.WaterfallSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.WaterfallSeries.prototype.ls,Number,$.ig.WaterfallSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.WaterfallSeries.prototype.$type,a).e6($.ig.WaterfallSeries.prototype.ls,b.f(),b.e())}));$.ig.WaterfallSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.WaterfallSeries.prototype.lt,Number,$.ig.WaterfallSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.WaterfallSeries.prototype.$type,a).e6($.ig.WaterfallSeries.prototype.lt,b.f(),b.e())}));$.ig.PieChartBase.prototype.bd="ContentPresenter";$.ig.PieChartBase.prototype.be="FastItemsSource";$.ig.PieChartBase.prototype.bf="ValueColumn";$.ig.PieChartBase.prototype.bg="ItemsSource";$.ig.PieChartBase.prototype.bh="InnerExtent";$.ig.PieChartBase.prototype.bi="ValueMemberPath";$.ig.PieChartBase.prototype.bj="LabelMemberPath";$.ig.PieChartBase.prototype.bk="LabelColumn";$.ig.PieChartBase.prototype.bl="LabelsPosition";$.ig.PieChartBase.prototype.bm="LeaderLineVisibility";$.ig.PieChartBase.prototype.bn="LeaderLineStyle";$.ig.PieChartBase.prototype.bo="ToolTip";$.ig.PieChartBase.prototype.bp="OthersCategoryThreshold";$.ig.PieChartBase.prototype.bq="OthersCategoryType";$.ig.PieChartBase.prototype.br="OthersCategoryText";$.ig.PieChartBase.prototype.bs="ExplodedRadius";$.ig.PieChartBase.prototype.bt="RadiusFactor";$.ig.PieChartBase.prototype.bu="AllowSliceSelection";$.ig.PieChartBase.prototype.bv="AllowSliceExplosion";$.ig.PieChartBase.prototype.bw="Legend";$.ig.PieChartBase.prototype.bx="LabelExtent";$.ig.PieChartBase.prototype.by="StartAngle";$.ig.PieChartBase.prototype.bz="SweepDirection";$.ig.PieChartBase.prototype.b0="OthersCategoryStyle";$.ig.PieChartBase.prototype.b1="SelectedStyle";$.ig.PieChartBase.prototype.b2="ToolTipStyle";$.ig.PieChartBase.prototype.b3="Brushes";$.ig.PieChartBase.prototype.b4="Outlines";$.ig.PieChartBase.prototype.b5="LegendItemTemplate";$.ig.PieChartBase.prototype.b6="LegendItemBadgeTemplate";$.ig.PieChartBase.prototype.b7="LabelTemplate";$.ig.PieChartBase.prototype.b8="IsSurfaceInteractionDisabled";$.ig.PieChartBase.prototype.b9="FormatLabel";$.ig.PieChartBase.prototype.ca="TextStyle";$.ig.PieChartBase.prototype.cl=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.be,$.ig.FastItemsSource.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.be,b.f(),b.e())}));$.ig.PieChartBase.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bg,$.ig.IEnumerable.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bg,b.f(),b.e())}));$.ig.PieChartBase.prototype.innerExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bh,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){a.f0($.ig.PieChartBase.prototype.bh,b.f(),b.e())}));$.ig.PieChartBase.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bi,String,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bi,b.f(),b.e())}));$.ig.PieChartBase.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bj,String,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bj,b.f(),b.e())}));$.ig.PieChartBase.prototype.labelsPositionProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bl,$.ig.LabelsPosition.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.LabelsPosition.prototype.center,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bl,b.f(),b.e())}));$.ig.PieChartBase.prototype.leaderLineVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bm,$.ig.Visibility.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bm,b.f(),b.e())}));$.ig.PieChartBase.prototype.leaderLineStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bn,$.ig.Style.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bn,b.f(),b.e())}));$.ig.PieChartBase.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bo,$.ig.Object.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bo,b.f(),b.e())}));$.ig.PieChartBase.prototype.othersCategoryThresholdProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bp,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,3,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bp,b.f(),b.e())}));$.ig.PieChartBase.prototype.othersCategoryTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bq,$.ig.OthersCategoryType.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.OthersCategoryType.prototype.percent,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bq,b.f(),b.e())}));$.ig.PieChartBase.prototype.othersCategoryTextProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.br,String,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,"Others",function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.br,b.f(),b.e())}));$.ig.PieChartBase.prototype.explodedRadiusProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bs,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,.2,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bs,b.f(),b.e())}));$.ig.PieChartBase.prototype.radiusFactorProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bt,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,.9,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bt,b.f(),b.e())}));$.ig.PieChartBase.prototype.allowSliceSelectionProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bu,$.ig.Boolean.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bu,b.f(),b.e())}));$.ig.PieChartBase.prototype.allowSliceExplosionProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bv,$.ig.Boolean.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bv,b.f(),b.e())}));$.ig.PieChartBase.prototype.legendProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bw,$.ig.LegendBase.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bw,b.f(),b.e())}));$.ig.PieChartBase.prototype.labelExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bx,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bx,b.f(),b.e())}));$.ig.PieChartBase.prototype.startAngleProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.by,Number,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.by,b.f(),b.e())}));$.ig.PieChartBase.prototype.sweepDirectionProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.bz,$.ig.SweepDirection.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.SweepDirection.prototype.clockwise,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.bz,b.f(),b.e())}));$.ig.PieChartBase.prototype.othersCategoryStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b0,$.ig.Style.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b0,b.f(),b.e())}));$.ig.PieChartBase.prototype.selectedStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b1,$.ig.Style.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b1,b.f(),b.e())}));$.ig.PieChartBase.prototype.toolTipStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b2,$.ig.Style.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b2,b.f(),b.e())}));$.ig.PieChartBase.prototype.brushesProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b3,$.ig.BrushCollection.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b3,b.f(),b.e())}));$.ig.PieChartBase.prototype.outlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b4,$.ig.BrushCollection.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b4,b.f(),b.e())}));$.ig.PieChartBase.prototype.legendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b5,$.ig.DataTemplate.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b5,b.f(),b.e())}));$.ig.PieChartBase.prototype.legendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b6,$.ig.DataTemplate.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b6,b.f(),b.e())}));$.ig.PieChartBase.prototype.labelTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b7,$.ig.DataTemplate.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b7,b.f(),b.e())}));$.ig.PieChartBase.prototype.isSurfaceInteractionDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b8,$.ig.Boolean.prototype.$type,$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.f0($.ig.PieChartBase.prototype.b8,b.f(),b.e())}));$.ig.PieChartBase.prototype.formatLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.PieChartBase.prototype.b9,$.ig.Func$2.prototype.$type.specialize($.ig.Object.prototype.$type,String),$.ig.PieChartBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PieChartBase.prototype.$type,a).f0($.ig.PieChartBase.prototype.b9,b.f(),b.e())}));$.ig.Arc.prototype.g6="EndAngle";$.ig.Arc.prototype.endAngleProperty=$.ig.DependencyProperty.prototype.l($.ig.Arc.prototype.g6,Number,$.ig.Arc.prototype.$type,new $.ig.PropertyMetadata(1,360,function(a,b){$.ig.util.cast($.ig.Arc.prototype.$type,a).f0($.ig.Arc.prototype.g6,b.f(),b.e())}));$.ig.PieChartBaseView.prototype.a=0;$.ig.RingSeriesBase.prototype.bd="ItemsSource";$.ig.RingSeriesBase.prototype.be="ValueMemberPath";$.ig.RingSeriesBase.prototype.bf="LabelMemberPath";$.ig.RingSeriesBase.prototype.bg="LabelsPosition";$.ig.RingSeriesBase.prototype.bh="LeaderLineVisibility";$.ig.RingSeriesBase.prototype.bi="LeaderLineStyle";$.ig.RingSeriesBase.prototype.bj="ToolTip";$.ig.RingSeriesBase.prototype.bk="OthersCategoryThreshold";$.ig.RingSeriesBase.prototype.bl="OthersCategoryType";$.ig.RingSeriesBase.prototype.bm="OthersCategoryText";$.ig.RingSeriesBase.prototype.bn="Legend";$.ig.RingSeriesBase.prototype.bo="FormatLabel";$.ig.RingSeriesBase.prototype.bp="LabelExtent";$.ig.RingSeriesBase.prototype.bq="StartAngle";$.ig.RingSeriesBase.prototype.br="OthersCategoryStyle";$.ig.RingSeriesBase.prototype.bs="SelectedStyle";$.ig.RingSeriesBase.prototype.bt="SelectedStyleResolved";$.ig.RingSeriesBase.prototype.bu="ToolTipStyle";$.ig.RingSeriesBase.prototype.bv="Brushes";$.ig.RingSeriesBase.prototype.bw="Outlines";$.ig.RingSeriesBase.prototype.bx="LegendItemTemplate";$.ig.RingSeriesBase.prototype.by="LegendItemBadgeTemplate";$.ig.RingSeriesBase.prototype.bz="LabelTemplate";$.ig.RingSeriesBase.prototype.b0="IsSurfaceInteractionDisabled";$.ig.RingSeriesBase.prototype.b1="RadiusFactor";$.ig.RingSeriesBase.prototype.b2="RootCanvas";$.ig.RingSeriesBase.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bd,$.ig.IEnumerable.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bd,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.be,String,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.be,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bf,String,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bf,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.labelsPositionProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bg,$.ig.LabelsPosition.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.LabelsPosition.prototype.center,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bg,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.leaderLineVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bh,$.ig.Visibility.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bh,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.leaderLineStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bi,$.ig.Style.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bi,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bj,$.ig.Object.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bj,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.othersCategoryThresholdProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bk,Number,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,3,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bk,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.othersCategoryTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bl,$.ig.OthersCategoryType.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.OthersCategoryType.prototype.percent,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bl,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.othersCategoryTextProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bm,String,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,"Others",function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bm,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.legendProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bn,$.ig.LegendBase.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bn,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.formatLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bo,$.ig.Func$2.prototype.$type.specialize($.ig.Object.prototype.$type,String),$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bo,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.labelExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bp,Number,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bp,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.startAngleProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bq,Number,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bq,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.othersCategoryStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.br,$.ig.Style.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.br,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.selectedStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bs,$.ig.Style.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bs,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.toolTipStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bu,$.ig.Style.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bu,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.brushesProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bv,$.ig.BrushCollection.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bv,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.outlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bw,$.ig.BrushCollection.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bw,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.legendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bx,$.ig.DataTemplate.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bx,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.legendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.by,$.ig.DataTemplate.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.by,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.labelTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.bz,$.ig.DataTemplate.prototype.$type,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.bz,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.isSurfaceInteractionDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.b0,$.ig.Nullable$1.prototype.$type.specialize($.ig.Boolean.prototype.$type),$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.c1($.ig.RingSeriesBase.prototype.b0,b.f(),b.e())}));$.ig.RingSeriesBase.prototype.radiusFactorProperty=$.ig.DependencyProperty.prototype.l($.ig.RingSeriesBase.prototype.b1,Number,$.ig.RingSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,.9,function(a,b){$.ig.util.cast($.ig.RingSeriesBase.prototype.$type,a).c1($.ig.RingSeriesBase.prototype.b1,b.f(),b.e())}));$.ig.HierarchicalRingSeries.prototype.d6="ChildrenMemberPath";$.ig.HierarchicalRingSeries.prototype.childrenMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.HierarchicalRingSeries.prototype.d6,String,$.ig.HierarchicalRingSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.HierarchicalRingSeries.prototype.$type,a).c1($.ig.HierarchicalRingSeries.prototype.d6,b.f(),b.e())
}));$.ig.RingControl.prototype.bd="RootCanvas";$.ig.XamDoughnutChart.prototype.bd="AllowSliceSelection";$.ig.XamDoughnutChart.prototype.be="IsSurfaceInteractionDisabled";$.ig.XamDoughnutChart.prototype.bf="AllowSliceExplosion";$.ig.XamDoughnutChart.prototype.bg="ContentPresenter";$.ig.XamDoughnutChart.prototype.bh="InnerExtent";$.ig.XamDoughnutChart.prototype.bi="SelectedStyle";$.ig.XamDoughnutChart.prototype.bj="CenterData";$.ig.XamDoughnutChart.prototype.bk="CenterDataTemplate";$.ig.XamDoughnutChart.prototype.allowSliceSelectionProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bd,$.ig.Boolean.prototype.$type,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.bd,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.isSurfaceInteractionDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.be,$.ig.Nullable$1.prototype.$type.specialize($.ig.Boolean.prototype.$type),$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.be,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.allowSliceExplosionProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bf,$.ig.Boolean.prototype.$type,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.bf,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.innerExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bh,Number,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,40,function(a,b){var c=b.e();if(c<0||c>100){var d=b.f();if(d==null){d=$.ig.XamDoughnutChart.prototype.innerExtentProperty.f().c()}a.innerExtent(d);return}a.cb();a.cj($.ig.XamDoughnutChart.prototype.bh,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.selectedStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bi,$.ig.Style.prototype.$type,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.bi,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.centerDataProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bj,$.ig.Object.prototype.$type,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.bj,b.f(),b.e())}));$.ig.XamDoughnutChart.prototype.centerDataTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDoughnutChart.prototype.bk,$.ig.DataTemplate.prototype.$type,$.ig.XamDoughnutChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDoughnutChart.prototype.$type,a).cj($.ig.XamDoughnutChart.prototype.bk,b.f(),b.e())}));$.ig.FinancialSeries.prototype.ii="NegativeBrush";$.ig.FinancialSeries.prototype.ij="XAxis";$.ig.FinancialSeries.prototype.ik="YAxis";$.ig.FinancialSeries.prototype.il="OpenMemberPath";$.ig.FinancialSeries.prototype.im="OpenColumn";$.ig.FinancialSeries.prototype.io="HighMemberPath";$.ig.FinancialSeries.prototype.ip="HighColumn";$.ig.FinancialSeries.prototype.iq="LowMemberPath";$.ig.FinancialSeries.prototype.ir="LowColumn";$.ig.FinancialSeries.prototype.is="CloseMemberPath";$.ig.FinancialSeries.prototype.it="CloseColumn";$.ig.FinancialSeries.prototype.iu="VolumeMemberPath";$.ig.FinancialSeries.prototype.iv="VolumeColumn";$.ig.FinancialSeries.prototype.negativeBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.ii,$.ig.Brush.prototype.$type,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.ii,b.f(),b.e())}));$.ig.FinancialSeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.ij,$.ig.CategoryAxisBase.prototype.$type,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.ij,b.f(),b.e())}));$.ig.FinancialSeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.ik,$.ig.NumericYAxis.prototype.$type,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.ik,b.f(),b.e())}));$.ig.FinancialSeries.prototype.openMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.il,String,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.il,b.f(),b.e())}));$.ig.FinancialSeries.prototype.highMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.io,String,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.io,b.f(),b.e())}));$.ig.FinancialSeries.prototype.lowMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.iq,String,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.iq,b.f(),b.e())}));$.ig.FinancialSeries.prototype.closeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.is,String,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.is,b.f(),b.e())}));$.ig.FinancialSeries.prototype.volumeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialSeries.prototype.iu,String,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialSeries.prototype.$type,a).e6($.ig.FinancialSeries.prototype.iu,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.lg="DisplayType";$.ig.FinancialIndicator.prototype.lh="IgnoreFirst";$.ig.FinancialIndicator.prototype.displayTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.lg,$.ig.IndicatorDisplayType.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.IndicatorDisplayType.prototype.line,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.lg,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.ignoreFirstProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.lh,$.ig.Number.prototype.$type,$.ig.FinancialSeries.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.lh,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.cd,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.cf,$.ig.Brush.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.cf,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.cg,$.ig.Brush.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.cg,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.ch,Number,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.ch,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.ci,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.cc,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.ce,$.ig.Number.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.ce,b.f(),b.e())}));$.ig.FinancialIndicator.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialIndicator.prototype.cj,$.ig.Number.prototype.$type,$.ig.FinancialIndicator.prototype.$type,new $.ig.PropertyMetadata(1,1001,function(a,b){$.ig.util.cast($.ig.FinancialIndicator.prototype.$type,a).e6($.ig.FinancialIndicator.prototype.cj,b.f(),b.e())}));$.ig.StrategyBasedIndicator.prototype.mo="Period";$.ig.StrategyBasedIndicator.prototype.mp="LongPeriod";$.ig.StrategyBasedIndicator.prototype.mq="ShortPeriod";$.ig.StrategyBasedIndicator.prototype.mr="Multiplier";$.ig.StrategyBasedIndicator.prototype.ms=new $.ig.List$1(String,0);$.ig.AbsoluteVolumeOscillatorIndicator.prototype.shortPeriodProperty=$.ig.AbsoluteVolumeOscillatorIndicator.prototype.m8(10,$.ig.AbsoluteVolumeOscillatorIndicator.prototype.$type);$.ig.AbsoluteVolumeOscillatorIndicator.prototype.longPeriodProperty=$.ig.AbsoluteVolumeOscillatorIndicator.prototype.m7(30,$.ig.AbsoluteVolumeOscillatorIndicator.prototype.$type);$.ig.AverageDirectionalIndexIndicator.prototype.periodProperty=$.ig.AverageDirectionalIndexIndicator.prototype.m6(14,$.ig.AverageDirectionalIndexIndicator.prototype.$type);$.ig.AverageTrueRangeIndicator.prototype.periodProperty=$.ig.AverageTrueRangeIndicator.prototype.m6(14,$.ig.AverageTrueRangeIndicator.prototype.$type);$.ig.FinancialOverlay.prototype.lg="IgnoreFirst";$.ig.FinancialOverlay.prototype.ignoreFirstProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialOverlay.prototype.lg,$.ig.Number.prototype.$type,$.ig.FinancialOverlay.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.FinancialOverlay.prototype.$type,a).e6($.ig.FinancialOverlay.prototype.lg,b.f(),b.e())}));$.ig.BollingerBandsOverlay.prototype.lo="Period";$.ig.BollingerBandsOverlay.prototype.lp="Multiplier";$.ig.BollingerBandsOverlay.prototype.periodProperty=$.ig.DependencyProperty.prototype.l($.ig.BollingerBandsOverlay.prototype.lo,$.ig.Number.prototype.$type,$.ig.BollingerBandsOverlay.prototype.$type,new $.ig.PropertyMetadata(1,14,function(a,b){$.ig.util.cast($.ig.BollingerBandsOverlay.prototype.$type,a).e6($.ig.BollingerBandsOverlay.prototype.lo,b.f(),b.e())}));$.ig.BollingerBandsOverlay.prototype.multiplierProperty=$.ig.DependencyProperty.prototype.l($.ig.BollingerBandsOverlay.prototype.lp,Number,$.ig.BollingerBandsOverlay.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.BollingerBandsOverlay.prototype.$type,a).e6($.ig.BollingerBandsOverlay.prototype.lp,b.f(),b.e())}));$.ig.BollingerBandWidthIndicator.prototype.nf="Multiplier";$.ig.BollingerBandWidthIndicator.prototype.periodProperty=$.ig.BollingerBandWidthIndicator.prototype.m6(20,$.ig.BollingerBandWidthIndicator.prototype.$type);$.ig.BollingerBandWidthIndicator.prototype.multiplierProperty=$.ig.BollingerBandWidthIndicator.prototype.nd(2,$.ig.BollingerBandWidthIndicator.prototype.$type);$.ig.ChaikinOscillatorIndicator.prototype.shortPeriodProperty=$.ig.ChaikinOscillatorIndicator.prototype.m8(3,$.ig.ChaikinOscillatorIndicator.prototype.$type);$.ig.ChaikinOscillatorIndicator.prototype.longPeriodProperty=$.ig.ChaikinOscillatorIndicator.prototype.m7(10,$.ig.ChaikinOscillatorIndicator.prototype.$type);$.ig.ChaikinVolatilityIndicator.prototype.periodProperty=$.ig.ChaikinVolatilityIndicator.prototype.m6(10,$.ig.ChaikinVolatilityIndicator.prototype.$type);$.ig.CommodityChannelIndexIndicator.prototype.periodProperty=$.ig.CommodityChannelIndexIndicator.prototype.m6(20,$.ig.CommodityChannelIndexIndicator.prototype.$type);$.ig.DetrendedPriceOscillatorIndicator.prototype.periodProperty=$.ig.DetrendedPriceOscillatorIndicator.prototype.m6(20,$.ig.DetrendedPriceOscillatorIndicator.prototype.$type);$.ig.FastStochasticOscillatorIndicator.prototype.periodProperty=$.ig.FastStochasticOscillatorIndicator.prototype.m6(14,$.ig.FastStochasticOscillatorIndicator.prototype.$type);$.ig.ForceIndexIndicator.prototype.periodProperty=$.ig.ForceIndexIndicator.prototype.m6(0,$.ig.ForceIndexIndicator.prototype.$type);$.ig.FullStochasticOscillatorIndicator.prototype.nf="SmoothingPeriod";$.ig.FullStochasticOscillatorIndicator.prototype.ng="TriggerPeriod";$.ig.FullStochasticOscillatorIndicator.prototype.periodProperty=$.ig.FullStochasticOscillatorIndicator.prototype.m6(14,$.ig.FullStochasticOscillatorIndicator.prototype.$type);$.ig.FullStochasticOscillatorIndicator.prototype.smoothingPeriodProperty=$.ig.FullStochasticOscillatorIndicator.prototype.m5(3,$.ig.FullStochasticOscillatorIndicator.prototype.$type,"SmoothingPeriod");$.ig.FullStochasticOscillatorIndicator.prototype.triggerPeriodProperty=$.ig.FullStochasticOscillatorIndicator.prototype.m5(3,$.ig.FullStochasticOscillatorIndicator.prototype.$type,"TriggerPeriod");$.ig.MoneyFlowIndexIndicator.prototype.periodProperty=$.ig.MoneyFlowIndexIndicator.prototype.m6(14,$.ig.MoneyFlowIndexIndicator.prototype.$type);$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.nf="SignalPeriod";$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.shortPeriodProperty=$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.m8(10,$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.$type);$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.longPeriodProperty=$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.m7(30,$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.$type);$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.signalPeriodProperty=$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.m5(9,$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.$type,$.ig.MovingAverageConvergenceDivergenceIndicator.prototype.nf);$.ig.PercentagePriceOscillatorIndicator.prototype.shortPeriodProperty=$.ig.PercentagePriceOscillatorIndicator.prototype.m8(10,$.ig.PercentagePriceOscillatorIndicator.prototype.$type);$.ig.PercentagePriceOscillatorIndicator.prototype.longPeriodProperty=$.ig.PercentagePriceOscillatorIndicator.prototype.m7(30,$.ig.PercentagePriceOscillatorIndicator.prototype.$type);$.ig.PercentageVolumeOscillatorIndicator.prototype.shortPeriodProperty=$.ig.PercentageVolumeOscillatorIndicator.prototype.m8(10,$.ig.PercentageVolumeOscillatorIndicator.prototype.$type);$.ig.PercentageVolumeOscillatorIndicator.prototype.longPeriodProperty=$.ig.PercentageVolumeOscillatorIndicator.prototype.m7(30,$.ig.PercentageVolumeOscillatorIndicator.prototype.$type);$.ig.PriceChannelOverlay.prototype.lo="Period";$.ig.PriceChannelOverlay.prototype.periodProperty=$.ig.DependencyProperty.prototype.l($.ig.PriceChannelOverlay.prototype.lo,$.ig.Number.prototype.$type,$.ig.PriceChannelOverlay.prototype.$type,new $.ig.PropertyMetadata(1,14,function(a,b){$.ig.util.cast($.ig.PriceChannelOverlay.prototype.$type,a).e6($.ig.PriceChannelOverlay.prototype.lo,b.f(),b.e())}));$.ig.RateOfChangeAndMomentumIndicator.prototype.periodProperty=$.ig.RateOfChangeAndMomentumIndicator.prototype.m6(14,$.ig.RateOfChangeAndMomentumIndicator.prototype.$type);$.ig.RelativeStrengthIndexIndicator.prototype.periodProperty=$.ig.RelativeStrengthIndexIndicator.prototype.m6(14,$.ig.RelativeStrengthIndexIndicator.prototype.$type);$.ig.SlowStochasticOscillatorIndicator.prototype.periodProperty=$.ig.SlowStochasticOscillatorIndicator.prototype.m6(14,$.ig.SlowStochasticOscillatorIndicator.prototype.$type);$.ig.StandardDeviationIndicator.prototype.periodProperty=$.ig.StandardDeviationIndicator.prototype.m6(20,$.ig.StandardDeviationIndicator.prototype.$type);$.ig.StochRSIIndicator.prototype.periodProperty=$.ig.StochRSIIndicator.prototype.m6(14,$.ig.StochRSIIndicator.prototype.$type);$.ig.TRIXIndicator.prototype.periodProperty=$.ig.TRIXIndicator.prototype.m6(15,$.ig.TRIXIndicator.prototype.$type);$.ig.WilliamsPercentRIndicator.prototype.periodProperty=$.ig.WilliamsPercentRIndicator.prototype.m6(14,$.ig.WilliamsPercentRIndicator.prototype.$type);$.ig.XamFunnelChart.prototype.bd="ItemsSource";$.ig.XamFunnelChart.prototype.be="FastItemsSource";$.ig.XamFunnelChart.prototype.bf="ValueMemberPath";$.ig.XamFunnelChart.prototype.bg="ValueColumn";$.ig.XamFunnelChart.prototype.bh="Brushes";$.ig.XamFunnelChart.prototype.bi="Outlines";$.ig.XamFunnelChart.prototype.bj="BottomEdgeWidth";$.ig.XamFunnelChart.prototype.bk=.35;$.ig.XamFunnelChart.prototype.bl="InnerLabelMemberPath";$.ig.XamFunnelChart.prototype.bm="InnerLabelColumn";$.ig.XamFunnelChart.prototype.bn="OuterLabelMemberPath";$.ig.XamFunnelChart.prototype.bo="OuterLabelColumn";$.ig.XamFunnelChart.prototype.bp="InnerLabelVisibility";$.ig.XamFunnelChart.prototype.bq="OuterLabelVisibility";$.ig.XamFunnelChart.prototype.br="OuterLabelAlignment";$.ig.XamFunnelChart.prototype.bs="FunnelSliceDisplay";$.ig.XamFunnelChart.prototype.bt="FormatInnerLabel";$.ig.XamFunnelChart.prototype.bu="FormatOuterLabel";$.ig.XamFunnelChart.prototype.bv="TransitionDuration";$.ig.XamFunnelChart.prototype.bw="IsInverted";$.ig.XamFunnelChart.prototype.bx="UpperBezierControlPoint";$.ig.XamFunnelChart.prototype.by="LowerBezierControlPoint";$.ig.XamFunnelChart.prototype.bz="UseBezierCurve";$.ig.XamFunnelChart.prototype.b0="AllowSliceSelection";$.ig.XamFunnelChart.prototype.b1="UseUnselectedStyle";$.ig.XamFunnelChart.prototype.b2="SelectedSliceStyle";$.ig.XamFunnelChart.prototype.b3="UnselectedSliceStyle";$.ig.XamFunnelChart.prototype.b4="ToolTip";$.ig.XamFunnelChart.prototype.b5="Legend";$.ig.XamFunnelChart.prototype.b6="LegendItemTemplate";$.ig.XamFunnelChart.prototype.b7="LegendItemBadgeTemplate";$.ig.XamFunnelChart.prototype.b8="UseOuterLabelsForLegend";$.ig.XamFunnelChart.prototype.b9="OutlineThickness";$.ig.XamFunnelChart.prototype.ca=-1;$.ig.XamFunnelChart.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bd,$.ig.IEnumerable.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bd,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.ce=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.be,$.ig.FastItemsSource.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.be,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bf,String,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bf,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.brushesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bh,$.ig.BrushCollection.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bh,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.outlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bi,$.ig.BrushCollection.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bi,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.bottomEdgeWidthProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bj,Number,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamFunnelChart.prototype.bk,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bj,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.innerLabelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bl,String,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bl,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.outerLabelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bn,String,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bn,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.innerLabelVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bp,$.ig.Visibility.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bp,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.outerLabelVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bq,$.ig.Visibility.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bq,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.outerLabelAlignmentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.br,$.ig.OuterLabelAlignment.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.OuterLabelAlignment.prototype.left,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.br,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.funnelSliceDisplayProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bs,$.ig.FunnelSliceDisplay.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.FunnelSliceDisplay.prototype.uniform,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bs,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.formatInnerLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bt,$.ig.Func$4.prototype.$type.specialize($.ig.Object.prototype.$type,$.ig.Number.prototype.$type,$.ig.Object.prototype.$type,String),$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bt,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.formatOuterLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bu,$.ig.Object.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bu,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.transitionDurationProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bv,$.ig.Number.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bv,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.isInvertedProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bw,$.ig.Boolean.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bw,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.upperBezierControlPointProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bx,$.ig.Point.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,{__x:.5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bx,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.lowerBezierControlPointProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.by,$.ig.Point.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,{__x:.5,__y:1,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.by,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.useBezierCurveProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.bz,$.ig.Boolean.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.bz,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.allowSliceSelectionProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b0,$.ig.Boolean.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b0,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.useUnselectedStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b1,$.ig.Boolean.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b1,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.selectedSliceStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b2,$.ig.Style.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b2,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.unselectedSliceStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b3,$.ig.Style.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b3,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b4,$.ig.Object.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b4,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.legendProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b5,$.ig.ItemLegend.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b5,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.legendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b6,$.ig.DataTemplate.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b6,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.legendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b7,$.ig.DataTemplate.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b7,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.useOuterLabelsForLegendProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b8,$.ig.Boolean.prototype.$type,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b8,b.f(),b.e())}));$.ig.XamFunnelChart.prototype.outlineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelChart.prototype.b9,Number,$.ig.XamFunnelChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamFunnelChart.prototype.ca,function(a,b){return $.ig.util.cast($.ig.XamFunnelChart.prototype.$type,a).ec($.ig.XamFunnelChart.prototype.b9,b.f(),b.e())}));$.ig.XamFunnelSlice.prototype.bk="StrokeThickness";$.ig.XamFunnelSlice.prototype.bl="Fill";$.ig.XamFunnelSlice.prototype.bm="Outline";$.ig.XamFunnelSlice.prototype.bn="ActualFill";$.ig.XamFunnelSlice.prototype.bo="ActualOutline";$.ig.XamFunnelSlice.prototype.bp="LabelVisibility";$.ig.XamFunnelSlice.prototype.bq=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bk,Number,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){}));$.ig.XamFunnelSlice.prototype.br=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bl,$.ig.Brush.prototype.$type,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamFunnelSlice.prototype.$type,a).cq($.ig.XamFunnelSlice.prototype.bl,b.f(),b.e())}));$.ig.XamFunnelSlice.prototype.bs=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bm,$.ig.Brush.prototype.$type,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamFunnelSlice.prototype.$type,a).cq($.ig.XamFunnelSlice.prototype.bm,b.f(),b.e())}));$.ig.XamFunnelSlice.prototype.bt=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bn,$.ig.Brush.prototype.$type,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(0,null));$.ig.XamFunnelSlice.prototype.bu=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bo,$.ig.Brush.prototype.$type,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(0,null));$.ig.XamFunnelSlice.prototype.bv=$.ig.DependencyProperty.prototype.l($.ig.XamFunnelSlice.prototype.bp,$.ig.Visibility.prototype.$type,$.ig.XamFunnelSlice.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){}));$.ig.XamFunnelView.prototype.y=["#7000ff","#70ff00","#00f0f0","#ff0070","#ff00ff"];$.ig.XamFunnelView.prototype.z=["#7000dd","#70dd00","#00d0d0","#dd0070","#dd00dd"];$.ig.ScaleLegend.prototype.ch="ParentVisibility";$.ig.ScaleLegend.prototype.ci="SeriesMarkerBrush";$.ig.ScaleLegend.prototype.cj=$.ig.DependencyProperty.prototype.l($.ig.ScaleLegend.prototype.ch,$.ig.Visibility.prototype.$type,$.ig.ScaleLegend.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){if(b.e()!=$.ig.Visibility.prototype.visible){$.ig.util.cast($.ig.ScaleLegend.prototype.$type,a).dq()
}else{$.ig.util.cast($.ig.ScaleLegend.prototype.$type,a).du()}}));$.ig.ScaleLegend.prototype.ck=$.ig.DependencyProperty.prototype.l($.ig.ScaleLegend.prototype.ci,$.ig.Brush.prototype.$type,$.ig.ScaleLegend.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.ScaleLegend.prototype.$type,a).du()}));$.ig.ScaleLegendView.prototype.ap="LegendScale";$.ig.ScaleLegendView.prototype.aq=0;$.ig.RadialBase.prototype.ji="AngleAxis";$.ig.RadialBase.prototype.jj="ValueAxis";$.ig.RadialBase.prototype.jk="ClipSeriesToBounds";$.ig.RadialBase.prototype.angleAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialBase.prototype.ji,$.ig.CategoryAngleAxis.prototype.$type,$.ig.RadialBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RadialBase.prototype.$type,a).e6($.ig.RadialBase.prototype.ji,b.f(),b.e())}));$.ig.RadialBase.prototype.valueAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialBase.prototype.jj,$.ig.NumericRadiusAxis.prototype.$type,$.ig.RadialBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.RadialBase.prototype.$type,a).e6($.ig.RadialBase.prototype.jj,b.f(),b.e())}));$.ig.RadialBase.prototype.clipSeriesToBoundsProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialBase.prototype.jk,$.ig.Boolean.prototype.$type,$.ig.RadialBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.RadialBase.prototype.$type,a).e6($.ig.RadialBase.prototype.jk,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.j6="ValueMemberPath";$.ig.AnchoredRadialSeries.prototype.j7="ValueColumn";$.ig.AnchoredRadialSeries.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.j6,String,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.j6,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.cd,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.cf,$.ig.Brush.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.cf,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.cg,$.ig.Brush.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.cg,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.ch,Number,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.ch,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.ci,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.cc,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.ce,$.ig.Number.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.ce,b.f(),b.e())}));$.ig.AnchoredRadialSeries.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.AnchoredRadialSeries.prototype.cj,$.ig.Number.prototype.$type,$.ig.AnchoredRadialSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.AnchoredRadialSeries.prototype.$type,a).e6($.ig.AnchoredRadialSeries.prototype.cj,b.f(),b.e())}));$.ig.RadialAreaSeries.prototype.k8="UnknownValuePlotting";$.ig.RadialAreaSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialAreaSeries.prototype.k8,$.ig.UnknownValuePlotting.prototype.$type,$.ig.RadialAreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.RadialAreaSeries.prototype.$type,a).e6($.ig.RadialAreaSeries.prototype.k8,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.ii="XAxis";$.ig.HighDensityScatterSeries.prototype.ij="YAxis";$.ig.HighDensityScatterSeries.prototype.ik="XMemberPath";$.ig.HighDensityScatterSeries.prototype.il="XColumn";$.ig.HighDensityScatterSeries.prototype.im="YMemberPath";$.ig.HighDensityScatterSeries.prototype.io="YColumn";$.ig.HighDensityScatterSeries.prototype.ip="UseBruteForce";$.ig.HighDensityScatterSeries.prototype.iq="ProgressiveLoad";$.ig.HighDensityScatterSeries.prototype.ir="MouseOverEnabled";$.ig.HighDensityScatterSeries.prototype.is="HeatMinimum";$.ig.HighDensityScatterSeries.prototype.it="HeatMaximum";$.ig.HighDensityScatterSeries.prototype.iu="HeatMinimumColor";$.ig.HighDensityScatterSeries.prototype.iv="HeatMaximumColor";$.ig.HighDensityScatterSeries.prototype.iw="PointExtent";$.ig.HighDensityScatterSeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.ii,$.ig.NumericXAxis.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.ii,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.ij,$.ig.NumericYAxis.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.ij,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.xMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.ik,String,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.ik,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.yMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.im,String,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.im,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.useBruteForceProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.ip,$.ig.Boolean.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.ip,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.progressiveLoadProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.iq,$.ig.Boolean.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.iq,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.mouseOverEnabledProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.ir,$.ig.Boolean.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.ir,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.heatMinimumProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.is,Number,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.is,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.heatMaximumProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.it,Number,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,50,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.it,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.heatMinimumColorProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.iu,$.ig.Color.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.iu,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.heatMaximumColorProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.iv,$.ig.Color.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.iv,b.f(),b.e())}));$.ig.HighDensityScatterSeries.prototype.pointExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.HighDensityScatterSeries.prototype.iw,$.ig.Number.prototype.$type,$.ig.HighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.HighDensityScatterSeries.prototype.$type,a).e6($.ig.HighDensityScatterSeries.prototype.iw,b.f(),b.e())}));$.ig.ScatterLineSeries.prototype.lm=512;$.ig.ScatterLineSeries.prototype.ln="UnknownValuePlotting";$.ig.ScatterLineSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterLineSeries.prototype.ln,$.ig.UnknownValuePlotting.prototype.$type,$.ig.ScatterLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.ScatterLineSeries.prototype.$type,a).e6($.ig.ScatterLineSeries.prototype.ln,b.f(),b.e())}));$.ig.ScatterSplineSeries.prototype.lm="Stiffness";$.ig.ScatterSplineSeries.prototype.stiffnessProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterSplineSeries.prototype.lm,Number,$.ig.ScatterSplineSeries.prototype.$type,new $.ig.PropertyMetadata(1,.5,function(a,b){$.ig.util.cast($.ig.ScatterSplineSeries.prototype.$type,a).e6($.ig.ScatterSplineSeries.prototype.lm,b.f(),b.e())}));$.ig.SeriesViewer.prototype.bd="CrosshairPoint";$.ig.SeriesViewer.prototype.be="Legend";$.ig.SeriesViewer.prototype.bf="AnimateSeriesWhenAxisRangeChanges";$.ig.SeriesViewer.prototype.bg="WindowRect";$.ig.SeriesViewer.prototype.bh="HorizontalZoomable";$.ig.SeriesViewer.prototype.bi="HorizontalZoombarVisibility";$.ig.SeriesViewer.prototype.bj="VerticalZoomable";$.ig.SeriesViewer.prototype.bk="VerticalZoombarVisibility";$.ig.SeriesViewer.prototype.bl="IsSurfaceInteractionDisabled";$.ig.SeriesViewer.prototype.bm=10;$.ig.SeriesViewer.prototype.bn=2;$.ig.SeriesViewer.prototype.bo="WindowResponse";$.ig.SeriesViewer.prototype.bp="WindowRectMinWidth";$.ig.SeriesViewer.prototype.bq="ActualSyncLink";$.ig.SeriesViewer.prototype.br="OverviewPlusDetailPaneVisibility";$.ig.SeriesViewer.prototype.bs="CrosshairVisibility";$.ig.SeriesViewer.prototype.bt="IsDragCrosshairEnabled";$.ig.SeriesViewer.prototype.bu="PlotAreaBorderBrush";$.ig.SeriesViewer.prototype.bv="PlotAreaBorderThickness";$.ig.SeriesViewer.prototype.bw="PlotAreaBackground";$.ig.SeriesViewer.prototype.bx="PlotAreaMinWidth";$.ig.SeriesViewer.prototype.by="PlotAreaMinHeight";$.ig.SeriesViewer.prototype.bz="DefaultInteraction";$.ig.SeriesViewer.prototype.b0="DragModifier";$.ig.SeriesViewer.prototype.b1="PanModifier";$.ig.SeriesViewer.prototype.b2="WindowPositionHorizontal";$.ig.SeriesViewer.prototype.b3="WindowPositionVertical";$.ig.SeriesViewer.prototype.b4="WindowScaleHorizontal";$.ig.SeriesViewer.prototype.b5="WindowScaleVertical";$.ig.SeriesViewer.prototype.b6="ContentPresenter";$.ig.SeriesViewer.prototype.b7="CrosshairLineStyle";$.ig.SeriesViewer.prototype.b8="Idle";$.ig.SeriesViewer.prototype.b9="Dragging";$.ig.SeriesViewer.prototype.ca="Panning";$.ig.SeriesViewer.prototype.cb="Inking";$.ig.SeriesViewer.prototype.cc="Erasing";$.ig.SeriesViewer.prototype.cd="PreviewPathStyle";$.ig.SeriesViewer.prototype.ce="ZoombarStyle";$.ig.SeriesViewer.prototype.cf="CircleMarkerTemplate";$.ig.SeriesViewer.prototype.cg="TriangleMarkerTemplate";$.ig.SeriesViewer.prototype.ch="PyramidMarkerTemplate";$.ig.SeriesViewer.prototype.ci="SquareMarkerTemplate";$.ig.SeriesViewer.prototype.cj="DiamondMarkerTemplate";$.ig.SeriesViewer.prototype.ck="PentagonMarkerTemplate";$.ig.SeriesViewer.prototype.cl="HexagonMarkerTemplate";$.ig.SeriesViewer.prototype.cm="TetragramMarkerTemplate";$.ig.SeriesViewer.prototype.cn="PentagramMarkerTemplate";$.ig.SeriesViewer.prototype.co="HexagramMarkerTemplate";$.ig.SeriesViewer.prototype.cp="ActualWindowRect";$.ig.SeriesViewer.prototype.cq="ActualWindowPositionHorizontal";$.ig.SeriesViewer.prototype.cr="ActualWindowPositionVertical";$.ig.SeriesViewer.prototype.cs="ActualWindowScaleHorizontal";$.ig.SeriesViewer.prototype.ct="ActualWindowScaleVertical";$.ig.SeriesViewer.prototype.legendProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.be,$.ig.LegendBase.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){var c=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a);c.gj($.ig.SeriesViewer.prototype.be,b.f(),b.e())}));$.ig.SeriesViewer.prototype.animateSeriesWhenAxisRangeChangesProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bf,$.ig.Boolean.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){var c=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a);c.gj($.ig.SeriesViewer.prototype.bf,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowRectProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bg,$.ig.Rect.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,new $.ig.Rect(0,0,0,1,1),function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bg,b.f(),b.e())}));$.ig.SeriesViewer.prototype.horizontalZoomableProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bh,$.ig.Boolean.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bh,b.f(),b.e())}));$.ig.SeriesViewer.prototype.horizontalZoombarVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bi,$.ig.Visibility.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bi,b.f(),b.e())}));$.ig.SeriesViewer.prototype.verticalZoomableProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bj,$.ig.Boolean.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bj,b.f(),b.e())}));$.ig.SeriesViewer.prototype.verticalZoombarVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bk,$.ig.Visibility.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bk,b.f(),b.e())}));$.ig.SeriesViewer.prototype.isSurfaceInteractionDisabledProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bl,$.ig.Boolean.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.gj($.ig.SeriesViewer.prototype.bl,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowResponseProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bo,$.ig.WindowResponse.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.WindowResponse.prototype.deferred,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bo,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowRectMinWidthProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bp,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,1e-4,function(a,b){return $.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bp,b.f(),b.e())}));$.ig.SeriesViewer.prototype.overviewPlusDetailPaneVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.br,$.ig.Visibility.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.br,b.f(),b.e())}));$.ig.SeriesViewer.prototype.crosshairVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bs,$.ig.Visibility.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bs,b.f(),b.e())}));$.ig.SeriesViewer.prototype.isDragCrosshairEnabledProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bt,$.ig.Boolean.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bt,b.f(),b.e())}));$.ig.SeriesViewer.prototype.plotAreaBorderBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bu,$.ig.Brush.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bu,b.f(),b.e())}));$.ig.SeriesViewer.prototype.plotAreaBackgroundProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bw,$.ig.Brush.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bw,b.f(),b.e())}));$.ig.SeriesViewer.prototype.plotAreaMinWidthProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bx,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,50,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bx,b.f(),b.e())}));$.ig.SeriesViewer.prototype.plotAreaMinHeightProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.by,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,50,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.by,b.f(),b.e())}));$.ig.SeriesViewer.prototype.defaultInteractionProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.bz,$.ig.InteractionState.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.InteractionState.prototype.auto,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.bz,b.f(),b.e())}));$.ig.SeriesViewer.prototype.dragModifierProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b0,$.ig.ModifierKeys.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.ModifierKeys.prototype.none,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b0,b.f(),b.e())}));$.ig.SeriesViewer.prototype.panModifierProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b1,$.ig.ModifierKeys.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.ModifierKeys.prototype.shift,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b1,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowPositionHorizontalProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b2,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b2,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowPositionVerticalProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b3,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b3,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowScaleHorizontalProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b4,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b4,b.f(),b.e())}));$.ig.SeriesViewer.prototype.windowScaleVerticalProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b5,Number,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b5,b.f(),b.e())}));$.ig.SeriesViewer.prototype.crosshairLineStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.b7,$.ig.Style.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.b7,b.f(),b.e())}));$.ig.SeriesViewer.prototype.previewPathStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cd,$.ig.Style.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cd,b.f(),b.e())}));$.ig.SeriesViewer.prototype.dm=$.ig.Rect.prototype.empty();$.ig.SeriesViewer.prototype.zoombarStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.ce,$.ig.Style.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.ce,b.f(),b.e())}));$.ig.SeriesViewer.prototype.circleMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cf,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cf,b.f(),b.e())}));$.ig.SeriesViewer.prototype.triangleMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cg,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cg,b.f(),b.e())}));$.ig.SeriesViewer.prototype.pyramidMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.ch,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.ch,b.f(),b.e())}));$.ig.SeriesViewer.prototype.squareMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.ci,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.ci,b.f(),b.e())}));$.ig.SeriesViewer.prototype.diamondMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cj,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cj,b.f(),b.e())}));$.ig.SeriesViewer.prototype.pentagonMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.ck,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.ck,b.f(),b.e())}));$.ig.SeriesViewer.prototype.hexagonMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cl,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cl,b.f(),b.e())}));$.ig.SeriesViewer.prototype.tetragramMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cm,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cm,b.f(),b.e())}));$.ig.SeriesViewer.prototype.pentagramMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.cn,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.cn,b.f(),b.e())}));$.ig.SeriesViewer.prototype.hexagramMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.SeriesViewer.prototype.co,$.ig.DataTemplate.prototype.$type,$.ig.SeriesViewer.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SeriesViewer.prototype.$type,a).gj($.ig.SeriesViewer.prototype.co,b.f(),b.e())}));$.ig.XamDataChart.prototype.la="IsSquare";$.ig.XamDataChart.prototype.lb="GridMode";$.ig.XamDataChart.prototype.lc="Brushes";$.ig.XamDataChart.prototype.ld="MarkerBrushes";$.ig.XamDataChart.prototype.le="Outlines";$.ig.XamDataChart.prototype.lf="MarkerOutlines";$.ig.XamDataChart.prototype.lg="PlotAreaBackgroundContent";$.ig.XamDataChart.prototype.isSquareProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.la,$.ig.Boolean.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.la,b.f(),b.e())}));$.ig.XamDataChart.prototype.gridModeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.lb,$.ig.GridMode.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.GridMode.prototype.behindSeries,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.lb,b.f(),b.e())}));$.ig.XamDataChart.prototype.brushesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.lc,$.ig.BrushCollection.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.lc,b.f(),b.e())}));$.ig.XamDataChart.prototype.markerBrushesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.ld,$.ig.BrushCollection.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.ld,b.f(),b.e())}));$.ig.XamDataChart.prototype.outlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.le,$.ig.BrushCollection.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.le,b.f(),b.e())}));$.ig.XamDataChart.prototype.markerOutlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.lf,$.ig.BrushCollection.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.lf,b.f(),b.e())}));$.ig.XamDataChart.prototype.plotAreaBackgroundContentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamDataChart.prototype.lg,$.ig.FrameworkElement.prototype.$type,$.ig.XamDataChart.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XamDataChart.prototype.$type,a).gj($.ig.XamDataChart.prototype.lg,b.f(),b.e())}));$.ig.DefaultFlattener.prototype.a=512;$.ig.SyncSettings.prototype.a0="SyncChannel";$.ig.SyncSettings.prototype.a1="SynchronizeVertically";$.ig.SyncSettings.prototype.a2="SynchronizeHorizontally";$.ig.SyncSettings.prototype.syncChannelProperty=$.ig.DependencyProperty.prototype.l($.ig.SyncSettings.prototype.a0,String,$.ig.SyncSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.SyncSettings.prototype.$type,a).a8($.ig.SyncSettings.prototype.a0,b.f(),b.e())}));$.ig.SyncSettings.prototype.synchronizeVerticallyProperty=$.ig.DependencyProperty.prototype.l($.ig.SyncSettings.prototype.a1,$.ig.Boolean.prototype.$type,$.ig.SyncSettings.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.SyncSettings.prototype.$type,a).a8($.ig.SyncSettings.prototype.a1,b.f(),b.e())}));$.ig.SyncSettings.prototype.synchronizeHorizontallyProperty=$.ig.DependencyProperty.prototype.l($.ig.SyncSettings.prototype.a2,$.ig.Boolean.prototype.$type,$.ig.SyncSettings.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.SyncSettings.prototype.$type,a).a8($.ig.SyncSettings.prototype.a2,b.f(),b.e())}));$.ig.ErrorBarSettingsBase.prototype.e="DefaultErrorBarStyle";$.ig.ErrorBarSettingsBase.prototype.f=$.ig.DependencyProperty.prototype.l($.ig.ErrorBarSettingsBase.prototype.e,$.ig.Style.prototype.$type,$.ig.ErrorBarSettingsBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ErrorBarSettingsBase.prototype.$type,a).o($.ig.ErrorBarSettingsBase.prototype.e,b.f(),b.e())}));$.ig.CategoryErrorBarSettings.prototype.q="EnableErrorBars";$.ig.CategoryErrorBarSettings.prototype.r="ErrorBarCapLength";$.ig.CategoryErrorBarSettings.prototype.s="Calculator";$.ig.CategoryErrorBarSettings.prototype.t="Stroke";$.ig.CategoryErrorBarSettings.prototype.u="StrokeThickness";$.ig.CategoryErrorBarSettings.prototype.v="ErrorBarStyle";$.ig.CategoryErrorBarSettings.prototype.w=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.q,$.ig.EnableErrorBars.prototype.$type,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.EnableErrorBars.prototype.none,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.q,b.f(),b.e())
}));$.ig.CategoryErrorBarSettings.prototype.x=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.r,$.ig.Number.prototype.$type,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,6,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.r,b.f(),b.e())}));$.ig.CategoryErrorBarSettings.prototype.y=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.s,$.ig.IErrorBarCalculator.prototype.$type,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.s,b.f(),b.e())}));$.ig.CategoryErrorBarSettings.prototype.z=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.t,$.ig.Brush.prototype.$type,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.t,b.f(),b.e())}));$.ig.CategoryErrorBarSettings.prototype.aa=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.u,Number,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.u,b.f(),b.e())}));$.ig.CategoryErrorBarSettings.prototype.ab=$.ig.DependencyProperty.prototype.l($.ig.CategoryErrorBarSettings.prototype.v,$.ig.Style.prototype.$type,$.ig.CategoryErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.CategoryErrorBarSettings.prototype.$type,a).o($.ig.CategoryErrorBarSettings.prototype.v,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.q="EnableErrorBarsHorizontal";$.ig.ScatterErrorBarSettings.prototype.r="HorizontalCalculatorReference";$.ig.ScatterErrorBarSettings.prototype.s="HorizontalCalculator";$.ig.ScatterErrorBarSettings.prototype.t="HorizontalErrorBarCapLength";$.ig.ScatterErrorBarSettings.prototype.u="HorizontalStroke";$.ig.ScatterErrorBarSettings.prototype.v="HorizontalStrokeThickness";$.ig.ScatterErrorBarSettings.prototype.w="HorizontalErrorBarStyle";$.ig.ScatterErrorBarSettings.prototype.x="EnableErrorBarsVertical";$.ig.ScatterErrorBarSettings.prototype.y="VerticalCalculatorReference";$.ig.ScatterErrorBarSettings.prototype.z="VerticalCalculator";$.ig.ScatterErrorBarSettings.prototype.aa="VerticalErrorBarCapLength";$.ig.ScatterErrorBarSettings.prototype.ab="VerticalStroke";$.ig.ScatterErrorBarSettings.prototype.ac="VerticalStrokeThickness";$.ig.ScatterErrorBarSettings.prototype.ad="VerticalErrorBarStyle";$.ig.ScatterErrorBarSettings.prototype.ae=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.q,$.ig.EnableErrorBars.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.EnableErrorBars.prototype.none,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.q,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.af=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.r,$.ig.ErrorBarCalculatorReference.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.ErrorBarCalculatorReference.prototype.x,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.r,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ag=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.s,$.ig.IErrorBarCalculator.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.s,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ah=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.t,$.ig.Number.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,6,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.t,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ai=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.u,$.ig.Brush.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.u,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.aj=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.v,Number,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.v,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ak=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.w,$.ig.Style.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.w,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.al=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.x,$.ig.EnableErrorBars.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.EnableErrorBars.prototype.none,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.x,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.am=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.y,$.ig.ErrorBarCalculatorReference.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.ErrorBarCalculatorReference.prototype.y,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.y,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.an=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.z,$.ig.IErrorBarCalculator.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.z,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ao=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.aa,$.ig.Number.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,6,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.aa,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ap=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.ab,$.ig.Brush.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.ab,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.aq=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.ac,Number,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.ac,b.f(),b.e())}));$.ig.ScatterErrorBarSettings.prototype.ar=$.ig.DependencyProperty.prototype.l($.ig.ScatterErrorBarSettings.prototype.ad,$.ig.Style.prototype.$type,$.ig.ScatterErrorBarSettings.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ScatterErrorBarSettings.prototype.$type,a).o($.ig.ScatterErrorBarSettings.prototype.ad,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.lg="DisplayType";$.ig.FinancialPriceSeries.prototype.lh=3;$.ig.FinancialPriceSeries.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.cd,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.cf,$.ig.Brush.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.cf,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.cg,$.ig.Brush.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.cg,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.ch,Number,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.ch,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.ci,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.cc,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.ce,$.ig.Number.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.ce,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.cj,$.ig.Number.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,1001,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.cj,b.f(),b.e())}));$.ig.FinancialPriceSeries.prototype.displayTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.FinancialPriceSeries.prototype.lg,$.ig.PriceDisplayType.prototype.$type,$.ig.FinancialPriceSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PriceDisplayType.prototype.candlestick,function(a,b){$.ig.util.cast($.ig.FinancialPriceSeries.prototype.$type,a).e6($.ig.FinancialPriceSeries.prototype.lg,b.f(),b.e())}));$.ig.Legend.prototype.ch="Orientation";$.ig.Slice.prototype.bk="StartAngle";$.ig.Slice.prototype.bl="EndAngle";$.ig.Slice.prototype.bm="InnerExtentStart";$.ig.Slice.prototype.bn="InnerExtentEnd";$.ig.Slice.prototype.bo="IsSelected";$.ig.Slice.prototype.bp="IsExploded";$.ig.Slice.prototype.bq="IsOtherSlice";$.ig.Slice.prototype.br="Origin";$.ig.Slice.prototype.bs="ExplodedOrigin";$.ig.Slice.prototype.bt="Radius";$.ig.Slice.prototype.bu="ExplodedRadius";$.ig.Slice.prototype.bv="Index";$.ig.Slice.prototype.bw="StrokeThickness";$.ig.Slice.prototype.bx=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bk,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.by=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bl,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.bz=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bm,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b0=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bn,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b1=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bo,$.ig.Boolean.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){var c=$.ig.util.cast($.ig.Slice.prototype.$type,a);var d=b.e();c.da().e8(c,d)}));$.ig.Slice.prototype.b2=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bp,$.ig.Boolean.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){var c=$.ig.util.cast($.ig.Slice.prototype.$type,a);var d=b.e();c.da().e7(c,d)}));$.ig.Slice.prototype.b3=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bq,$.ig.Boolean.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b4=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.br,$.ig.Point.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,new $.ig.Point(0),function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b5=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bs,$.ig.Point.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,new $.ig.Point(0),function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b6=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bt,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b7=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bu,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b8=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bv,$.ig.Number.prototype.$type,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,-1,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.Slice.prototype.b9=$.ig.DependencyProperty.prototype.l($.ig.Slice.prototype.bw,Number,$.ig.Slice.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){return $.ig.util.cast($.ig.Slice.prototype.$type,a).et()}));$.ig.PolarBase.prototype.ji="AngleMemberPath";$.ig.PolarBase.prototype.jj="RadiusMemberPath";$.ig.PolarBase.prototype.jk="AngleColumn";$.ig.PolarBase.prototype.jl="RadiusColumn";$.ig.PolarBase.prototype.jm="AngleAxis";$.ig.PolarBase.prototype.jn="RadiusAxis";$.ig.PolarBase.prototype.jo="UseCartesianInterpolation";$.ig.PolarBase.prototype.jp="MaximumMarkers";$.ig.PolarBase.prototype.jq="ClipSeriesToBounds";$.ig.PolarBase.prototype.angleMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.ji,String,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.ji,b.f(),b.e())}));$.ig.PolarBase.prototype.radiusMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jj,String,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jj,b.f(),b.e())}));$.ig.PolarBase.prototype.angleAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jm,$.ig.NumericAngleAxis.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jm,b.f(),b.e())}));$.ig.PolarBase.prototype.radiusAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jn,$.ig.NumericRadiusAxis.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jn,b.f(),b.e())}));$.ig.PolarBase.prototype.useCartesianInterpolationProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jo,$.ig.Boolean.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jo,b.f(),b.e())}));$.ig.PolarBase.prototype.maximumMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jp,$.ig.Number.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,400,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jp,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.cd,$.ig.TrendLineType.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.cd,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.cf,$.ig.Brush.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.cf,b.f(),b.e())}));$.ig.PolarBase.prototype.actualTrendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.cg,$.ig.Brush.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.cg,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.ch,Number,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.ch,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.ci,$.ig.PenLineCap.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.ci,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.cc,$.ig.DoubleCollection.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.cc,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.ce,$.ig.Number.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.ce,b.f(),b.e())}));$.ig.PolarBase.prototype.trendLineZIndexProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.cj,$.ig.Number.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.cj,b.f(),b.e())}));$.ig.PolarBase.prototype.clipSeriesToBoundsProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarBase.prototype.jq,$.ig.Boolean.prototype.$type,$.ig.PolarBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.PolarBase.prototype.$type,a).e6($.ig.PolarBase.prototype.jq,b.f(),b.e())}));$.ig.PolarAreaSeries.prototype.mf="UnknownValuePlotting";$.ig.PolarAreaSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarAreaSeries.prototype.mf,$.ig.UnknownValuePlotting.prototype.$type,$.ig.PolarAreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.PolarAreaSeries.prototype.$type,a).e6($.ig.PolarAreaSeries.prototype.mf,b.f(),b.e())}));$.ig.PolarLineSeries.prototype.mf="UnknownValuePlotting";$.ig.PolarLineSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarLineSeries.prototype.mf,$.ig.UnknownValuePlotting.prototype.$type,$.ig.PolarLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.PolarLineSeries.prototype.$type,a).e6($.ig.PolarLineSeries.prototype.mf,b.f(),b.e())}));$.ig.PolarSplineAreaSeries.prototype.mf="Stiffness";$.ig.PolarSplineAreaSeries.prototype.stiffnessProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarSplineAreaSeries.prototype.mf,Number,$.ig.PolarSplineAreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,.5,function(a,b){$.ig.util.cast($.ig.PolarSplineAreaSeries.prototype.$type,a).e6($.ig.PolarSplineAreaSeries.prototype.mf,b.f(),b.e())}));$.ig.PolarSplineSeries.prototype.mf="Stiffness";$.ig.PolarSplineSeries.prototype.stiffnessProperty=$.ig.DependencyProperty.prototype.l($.ig.PolarSplineSeries.prototype.mf,Number,$.ig.PolarSplineSeries.prototype.$type,new $.ig.PropertyMetadata(1,.5,function(a,b){$.ig.util.cast($.ig.PolarSplineSeries.prototype.$type,a).e6($.ig.PolarSplineSeries.prototype.mf,b.f(),b.e())}));$.ig.RadialColumnSeries.prototype.k8="RadiusX";$.ig.RadialColumnSeries.prototype.k9="RadiusY";$.ig.RadialColumnSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialColumnSeries.prototype.k8,Number,$.ig.RadialColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RadialColumnSeries.prototype.$type,a).e6($.ig.RadialColumnSeries.prototype.k8,b.f(),b.e())}));$.ig.RadialColumnSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialColumnSeries.prototype.k9,Number,$.ig.RadialColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RadialColumnSeries.prototype.$type,a).e6($.ig.RadialColumnSeries.prototype.k9,b.f(),b.e())}));$.ig.RadialLineSeries.prototype.k8="UnknownValuePlotting";$.ig.RadialLineSeries.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialLineSeries.prototype.k8,$.ig.UnknownValuePlotting.prototype.$type,$.ig.RadialLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){$.ig.util.cast($.ig.RadialLineSeries.prototype.$type,a).e6($.ig.RadialLineSeries.prototype.k8,b.f(),b.e())}));$.ig.RadialPieSeries.prototype.k8="RadiusX";$.ig.RadialPieSeries.prototype.k9="RadiusY";$.ig.RadialPieSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialPieSeries.prototype.k8,Number,$.ig.RadialPieSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RadialPieSeries.prototype.$type,a).e6($.ig.RadialPieSeries.prototype.k8,b.f(),b.e())}));$.ig.RadialPieSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.RadialPieSeries.prototype.k9,Number,$.ig.RadialPieSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.RadialPieSeries.prototype.$type,a).e6($.ig.RadialPieSeries.prototype.k9,b.f(),b.e())}));$.ig.SeriesViewerSurfaceViewer.prototype.e="ZoomLevel";$.ig.SeriesViewerSurfaceViewer.prototype.f="ZoomLevelDisplayText";$.ig.SeriesViewerSurfaceViewer.prototype.i=$.ig.DependencyProperty.prototype.l("ZoomLevel",Number,$.ig.SeriesViewerSurfaceViewer.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.SeriesViewerSurfaceViewer.prototype.$type,a).aj($.ig.SeriesViewerSurfaceViewer.prototype.e,b.f(),b.e())}));$.ig.ColumnFragment.prototype.l1="RadiusX";$.ig.ColumnFragment.prototype.l2="RadiusY";$.ig.ColumnFragment.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.ColumnFragment.prototype.l1,Number,$.ig.ColumnFragment.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.ColumnFragment.prototype.$type,a).e6($.ig.ColumnFragment.prototype.l1,b.f(),b.e())}));$.ig.ColumnFragment.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.ColumnFragment.prototype.l2,Number,$.ig.ColumnFragment.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.ColumnFragment.prototype.$type,a).e6($.ig.ColumnFragment.prototype.l2,b.f(),b.e())}));$.ig.StackedSeriesBase.prototype.kb="AutoGenerateSeries";$.ig.StackedSeriesBase.prototype.kc="ReverseLegendOrder";$.ig.StackedSeriesBase.prototype.kd="SeriesVisibility";$.ig.StackedSeriesBase.prototype.autoGenerateSeriesProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedSeriesBase.prototype.kb,$.ig.Boolean.prototype.$type,$.ig.StackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,a).e6($.ig.StackedSeriesBase.prototype.kb,b.f(),b.e())}));$.ig.StackedSeriesBase.prototype.reverseLegendOrderProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedSeriesBase.prototype.kc,$.ig.Boolean.prototype.$type,$.ig.StackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,a).e6($.ig.StackedSeriesBase.prototype.kc,b.f(),b.e())}));$.ig.StackedSeriesBase.prototype.kf=$.ig.DependencyProperty.prototype.l($.ig.StackedSeriesBase.prototype.kd,$.ig.Visibility.prototype.$type,$.ig.StackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.StackedSeriesBase.prototype.$type,a).e6($.ig.StackedSeriesBase.prototype.kd,b.f(),b.e())}));$.ig.HorizontalStackedSeriesBase.prototype.l1="XAxis";$.ig.HorizontalStackedSeriesBase.prototype.l2="YAxis";$.ig.HorizontalStackedSeriesBase.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalStackedSeriesBase.prototype.l1,$.ig.CategoryAxisBase.prototype.$type,$.ig.HorizontalStackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalStackedSeriesBase.prototype.$type,a).e6($.ig.HorizontalStackedSeriesBase.prototype.l1,b.f(),b.e())}));$.ig.HorizontalStackedSeriesBase.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.HorizontalStackedSeriesBase.prototype.l2,$.ig.NumericYAxis.prototype.$type,$.ig.HorizontalStackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.HorizontalStackedSeriesBase.prototype.$type,a).e6($.ig.HorizontalStackedSeriesBase.prototype.l2,b.f(),b.e())}));$.ig.VerticalStackedSeriesBase.prototype.l1="XAxis";$.ig.VerticalStackedSeriesBase.prototype.l2="YAxis";$.ig.VerticalStackedSeriesBase.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.VerticalStackedSeriesBase.prototype.l1,$.ig.NumericXAxis.prototype.$type,$.ig.VerticalStackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.VerticalStackedSeriesBase.prototype.$type,a).e6($.ig.VerticalStackedSeriesBase.prototype.l1,b.f(),b.e())}));$.ig.VerticalStackedSeriesBase.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.VerticalStackedSeriesBase.prototype.l2,$.ig.CategoryYAxis.prototype.$type,$.ig.VerticalStackedSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.VerticalStackedSeriesBase.prototype.$type,a).e6($.ig.VerticalStackedSeriesBase.prototype.l2,b.f(),b.e())}));$.ig.StackedBarSeries.prototype.l5="RadiusX";$.ig.StackedBarSeries.prototype.l6="RadiusY";$.ig.StackedBarSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedBarSeries.prototype.l5,Number,$.ig.StackedBarSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,a).e6($.ig.StackedBarSeries.prototype.l5,b.f(),b.e())}));$.ig.StackedBarSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedBarSeries.prototype.l6,Number,$.ig.StackedBarSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedBarSeries.prototype.$type,a).e6($.ig.StackedBarSeries.prototype.l6,b.f(),b.e())}));$.ig.StackedColumnSeries.prototype.l5="RadiusX";$.ig.StackedColumnSeries.prototype.l6="RadiusY";$.ig.StackedColumnSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedColumnSeries.prototype.l5,Number,$.ig.StackedColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,a).e6($.ig.StackedColumnSeries.prototype.l5,b.f(),b.e())}));$.ig.StackedColumnSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedColumnSeries.prototype.l6,Number,$.ig.StackedColumnSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedColumnSeries.prototype.$type,a).e6($.ig.StackedColumnSeries.prototype.l6,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.e="Brush";$.ig.StackedFragmentSeries.prototype.f="ActualBrush";$.ig.StackedFragmentSeries.prototype.g="DashArray";$.ig.StackedFragmentSeries.prototype.h="ActualDashArray";$.ig.StackedFragmentSeries.prototype.i="DashCap";$.ig.StackedFragmentSeries.prototype.j="ActualDashCap";$.ig.StackedFragmentSeries.prototype.k="EndCap";$.ig.StackedFragmentSeries.prototype.l="ActualEndCap";$.ig.StackedFragmentSeries.prototype.m="IsHitTestVisible";$.ig.StackedFragmentSeries.prototype.n="ActualIsHitTestVisible";$.ig.StackedFragmentSeries.prototype.o="LegendItemBadgeTemplate";$.ig.StackedFragmentSeries.prototype.p="ActualLegendItemBadgeTemplate";$.ig.StackedFragmentSeries.prototype.q="LegendItemTemplate";$.ig.StackedFragmentSeries.prototype.r="ActualLegendItemTemplate";$.ig.StackedFragmentSeries.prototype.s="LegendItemVisibility";$.ig.StackedFragmentSeries.prototype.t="ActualLegendItemVisibility";$.ig.StackedFragmentSeries.prototype.u="MarkerBrush";$.ig.StackedFragmentSeries.prototype.v="ActualMarkerBrush";$.ig.StackedFragmentSeries.prototype.w="MarkerOutline";$.ig.StackedFragmentSeries.prototype.x="ActualMarkerOutline";$.ig.StackedFragmentSeries.prototype.y="MarkerStyle";$.ig.StackedFragmentSeries.prototype.z="ActualMarkerStyle";$.ig.StackedFragmentSeries.prototype.aa="MarkerTemplate";$.ig.StackedFragmentSeries.prototype.ab="ActualMarkerTemplate";$.ig.StackedFragmentSeries.prototype.ac="MarkerType";$.ig.StackedFragmentSeries.prototype.ad="ActualMarkerType";$.ig.StackedFragmentSeries.prototype.ae="Name";$.ig.StackedFragmentSeries.prototype.af="Opacity";$.ig.StackedFragmentSeries.prototype.ag="ActualOpacity";$.ig.StackedFragmentSeries.prototype.ah="OpacityMask";$.ig.StackedFragmentSeries.prototype.ai="ActualOpacityMask";$.ig.StackedFragmentSeries.prototype.aj="Outline";$.ig.StackedFragmentSeries.prototype.ak="ActualOutline";$.ig.StackedFragmentSeries.prototype.al="RadiusX";$.ig.StackedFragmentSeries.prototype.am="ActualRadiusX";$.ig.StackedFragmentSeries.prototype.an="RadiusY";$.ig.StackedFragmentSeries.prototype.ao="ActualRadiusY";$.ig.StackedFragmentSeries.prototype.ap="StartCap";$.ig.StackedFragmentSeries.prototype.aq="ActualStartCap";$.ig.StackedFragmentSeries.prototype.ar="Thickness";$.ig.StackedFragmentSeries.prototype.as="ActualThickness";$.ig.StackedFragmentSeries.prototype.at="Title";$.ig.StackedFragmentSeries.prototype.au="ToolTip";
$.ig.StackedFragmentSeries.prototype.av="ActualToolTip";$.ig.StackedFragmentSeries.prototype.aw="UseLightweightMarkers";$.ig.StackedFragmentSeries.prototype.ax="ActualUseLightweightMarkers";$.ig.StackedFragmentSeries.prototype.ay="ValueMemberPath";$.ig.StackedFragmentSeries.prototype.az="Visibility";$.ig.StackedFragmentSeries.prototype.a0="ActualVisibility";$.ig.StackedFragmentSeries.prototype.brushProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.e,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.e,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.f,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.f,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.dashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.g,$.ig.DoubleCollection.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.g,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualDashArrayProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.h,$.ig.DoubleCollection.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.h,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.dashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.i,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.i,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualDashCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.j,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.flat,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.j,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.endCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.k,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.k,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualEndCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.l,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.l,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.isHitTestVisibleProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.m,$.ig.Boolean.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.m,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualIsHitTestVisibleProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.n,$.ig.Boolean.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.n,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.legendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.o,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.o,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualLegendItemBadgeTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.p,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.p,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.legendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.q,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.q,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualLegendItemTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.r,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.r,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.legendItemVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.s,$.ig.Visibility.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.s,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualLegendItemVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.t,$.ig.Visibility.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.t,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.u,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.u,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.v,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.v,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.w,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.w,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualMarkerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.x,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.x,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.markerStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.y,$.ig.Style.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.y,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualMarkerStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.z,$.ig.Style.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.z,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.aa,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.aa,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ab,$.ig.DataTemplate.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ab,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ac,$.ig.MarkerType.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.unset,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ac,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualMarkerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ad,$.ig.MarkerType.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.none,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ad,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.nameProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ae,String,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ae,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.opacityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.af,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.af,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualOpacityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ag,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ag,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.opacityMaskProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ah,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ah,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualOpacityMaskProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ai,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ai,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.outlineProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.aj,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.aj,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ak,$.ig.Brush.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ak,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.radiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.al,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.al,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualRadiusXProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.am,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.am,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.radiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.an,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.an,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualRadiusYProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ao,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ao,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.startCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ap,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ap,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualStartCapProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.aq,$.ig.PenLineCap.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.PenLineCap.prototype.round,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.aq,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.thicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ar,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,1.5,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ar,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.as,Number,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.as,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.titleProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.at,$.ig.Object.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,"Series Title",function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.at,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.au,$.ig.Object.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.au,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualToolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.av,$.ig.Object.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.av,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.useLightweightMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.aw,$.ig.Boolean.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.aw,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualUseLightweightMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ax,$.ig.Boolean.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ax,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.ay,String,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.ay,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.visibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.az,$.ig.Visibility.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.az,b.f(),b.e())}));$.ig.StackedFragmentSeries.prototype.actualVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.StackedFragmentSeries.prototype.a0,$.ig.Visibility.prototype.$type,$.ig.StackedFragmentSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.visible,function(a,b){$.ig.util.cast($.ig.StackedFragmentSeries.prototype.$type,a).ep($.ig.StackedFragmentSeries.prototype.a0,b.f(),b.e())}));$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["shuffle$1","insertionIndex$1","insertionIndex$11111","binarySearch$1"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["flattenTo","getBounds2","clipTo"]],[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["getBounds","getBounds11","getCentroid","toPointCollection","toPointList"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.IntColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.IntColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["asQueryable"]]]);if($.ig.SeriesViewer.prototype.staticInit&&!$.ig.SeriesViewer.prototype.staticInitCalled){$.ig.SeriesViewer.prototype.staticInit();$.ig.SeriesViewer.prototype.staticInitCalled=true}if($.ig.XamDataChart.prototype.staticInit&&!$.ig.XamDataChart.prototype.staticInitCalled){$.ig.XamDataChart.prototype.staticInit();$.ig.XamDataChart.prototype.staticInitCalled=true}/*!@license
* Infragistics.Web.ClientUI infragistics.geographicmap.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["SphericalMercatorHorizontalScaler","SphericalMercatorVerticalScaler","ColorScale","ColorScaleInterpolationMode","CustomPaletteColorScale","BingMapsImageryStyle","BingResponse","BingResourceSet","ImageryMetadata","GeographicMapImagery","BingMapsMapImagery","GeographicMapImageryView","BingMapsMapImageryView","CloudMadeMapImagery","CloudMadeMapImageryView","OpenStreetMapImagery","HostSeriesView$1","GeographicShapeSeriesBaseView","GeographicPolylineSeriesView","GeographicProportionalSymbolSeriesView","GeographicMapSeriesHost$1","GeographicXYTriangulatingSeries","GeographicContourLineSeries","GeographicXYTriangulatingSeriesView","GeographicContourLineSeriesView","GeographicHighDensityScatterSeries","GeographicHighDensityScatterSeriesView","GeographicShapeSeriesBase","GeographicPolylineSeries","GeographicProportionalSymbolSeries","GeographicScatterAreaSeries","GeographicScatterAreaSeriesView","GeographicShapeSeries","GeographicShapeSeriesView","GeographicSymbolSeries","GeographicSymbolSeriesView","GeographicTileSeries","XYTriangulatingSeries","ContourLineSeries","PolylineBuilder","ContourBuilder","ContourLineSeriesView","ContourValueResolver","LinearContourValueResolver","ShapeSeriesBase","PolylineSeries","ShapeSeriesViewBase","PolylineSeriesView","ScatterAreaSeries","TriangleRasterizer","ScatterAreaSeriesView","ShapeSeries","ShapeAxisInfoCache","FlattenedShape","ShapeSeriesView","ShapeHitRegion","TileSeries","TileSeriesView","ShapefileConverter","ShapefileRecord","ShapeFileUtil","Header","XBaseDataType","XBaseField","ShapeType","StyleSelector","ItfConverter","Triangle","TriangulationSource","TriangulatorContext","Triangulator","TriangulationStatusEventHandler","TriangulationStatusEventArgs","HalfEdge","HalfEdgeSet","EdgeComparer","PointTester","TriangulationSourcePointRecord","XamGeographicMap","XamGeographicMapView","TestEnum","IProvidesViewport","Series","AnnotationLayer","SeriesView","AnnotationLayerView","CrosshairLayer","Frame","CrosshairLayerFrame","CrosshairLayerView","AxisLabelPanelBaseView","AngleAxisLabelPanelView","AxisLabelPanelBase","AngleAxisLabelPanel","AutoRangeCalculator","Axis","AxisCollection","AxisComponentsForView","AxisComponentsFromView","AxisLabelInfo","AxisLabelManager","LabelPosition","AxisLabelSettings","AxisRange","Snapper","LinearNumericSnapper","LogarithmicNumericSnapper","LinearCategorySnapper","AxisView","IScaler","ICategoryScaler","CategoryAxisBase","IAngleScaler","CategoryAngleAxis","CategoryAxisBaseView","CategoryAngleAxisView","ISortingAxis","CategoryDateTimeXAxis","CategoryDateTimeXAxisView","AxisRenderingParametersBase","CategoryAxisRenderingParameters","AxisRendererBase","CategoryAxisRenderer","CategoryXAxis","CategoryXAxisView","CategoryYAxis","CategoryYAxisView","HorizontalAxisLabelPanelBase","HorizontalAxisLabelPanel","HorizontalAxisLabelPanelBaseView","NumericAxisBase","NumericAngleAxis","NumericAxisBaseView","NumericAngleAxisView","StraightNumericAxisBase","NumericRadiusAxis","NumericRadiusAxisView","NumericXAxis","StraightNumericAxisBaseView","NumericXAxisView","NumericYAxis","NumericYAxisView","PolarAxes","PolarAxisRenderingManager","IPolarRadialRenderingParameters","NumericAxisRenderingParameters","PolarAxisRenderingParameters","RadialAxisRenderingParameters","RadialAxes","RadialAxisLabelPanel","RadialAxisLabelPanelView","GetSnapperInfoStrategy","NumericAxisRenderer","RangeInfo","NumericScaler","LinearScaler","HorizontalLinearScaler","LogarithmicScaler","HorizontalLogarithmicScaler","NumericScaleMode","ScalerParams","VerticalLinearScaler","VerticalLogarithmicScaler","TickmarkValues","CategoryTickmarkValues","LinearTickmarkValues","LogarithmicTickmarkValues","TickmarkValuesInitializationParameters","ViewportUtils","FramePreparer","CategoryFramePreparerBase","CategoryFramePreparer","BarFramePreparer","BarTrendFitCalculator","TrendLineManagerBase$1","IPreparesCategoryTrendline","CategoryTrendLineManagerBase","CategoryTrendLineManager","BarTrendLineManager","BrushScale","MarkerManagerBase","BubbleMarkerManager","MarkerSeries","ISupportsErrorBars","ScatterBase","BubbleSeries","MarkerSeriesView","ScatterBaseView","BubbleSeriesView","CustomPaletteBrushScale","SizeScale","ValueBrushScale","IHasCategoryAxis","IHasCategoryModePreference","CategorySeries","IIsCategoryBased","IHasSingleValueCategory","IHasTrendline","IHasCategoryTrendline","AnchoredCategorySeries","VerticalAnchoredCategorySeries","IBarSeries","BarSeries","ISupportsMarkers","CategorySeriesView","AnchoredCategorySeriesView","BarSeriesView","IBucketizer","CategoryBucketCalculator","AnchoredCategoryBucketCalculator","BarBucketCalculator","RangeCategoryBucketCalculator","HorizontalAnchoredCategorySeries","PointSeries","PointSeriesView","IHasHighLowValueCategory","RangeCategorySeries","HorizontalRangeCategorySeries","RangeAreaSeries","RangeCategorySeriesView","RangeAreaSeriesView","RangeCategoryFramePreparer","ValuesHolder","HighLowValuesHolder","DefaultHighLowValueProvider","RangeValueList","RangeColumnSeries","RangeColumnSeriesView","SplineSeriesBaseView","SplineAreaSeriesView","VerticalAxisLabelPanel","VerticalAxisLabelPanelView","AreaSeries","AreaSeriesView","CategoryFrame","SingleValuesHolder","DefaultSingleValueProvider","PreparationParams","CategoryLineRasterizer","ColumnSeries","ColumnSeriesView","DefaultSupportsMarkers","DefaultProvidesViewport","DefaultSupportsErrorBars","LineSeries","LineSeriesView","SplineSeriesBase","SplineAreaSeries","SplineSeries","SplineSeriesView","StepAreaSeries","StepAreaSeriesView","StepLineSeries","StepLineSeriesView","WaterfallSeries","WaterfallSeriesView","MarkerTemplates","DataSourceManager","PieChartBase","Arc","ArcItem","PieChartBaseView","ArcView","RingSeriesBase","HierarchicalRingSeries","HoleDimensionsChangedEventHandler","HoleDimensionsChangedEventArgs","Ring","RingCollection","RingControl","RingControlView","RingSeries","RingSeriesBaseView","RingSeriesCollection","SliceItem","SliceCollection","XamDoughnutChart","XamDoughnutChartView","BrushSelectionMode","IndicatorDisplayType","TimeAxisDisplayType","ChartAxisRangeChangedEventArgs","DataChartAxisRangeChangedEventHandler","StackedSeriesCreatedEventArgs","StackedSeriesCreatedEventHandler","FinancialSeries","FinancialIndicator","StrategyBasedIndicator","AbsoluteVolumeOscillatorIndicator","IndicatorCalculationStrategy","AbsoluteVolumeOscillatorIndicatorStrategy","AccumulationDistributionIndicator","StreamingIndicatorCalculationStrategy","AccumulationDistributionIndicatorStrategy","AverageDirectionalIndexIndicator","AverageDirectionalIndexIndicatorStrategy","AverageTrueRangeIndicator","AverageTrueRangeIndicatorStrategy","FinancialOverlay","BollingerBandsOverlay","FinancialBucketCalculator","BollingerBandsBucketCalculator","FinancialSeriesView","BollingerBandsOverlayView","BollingerBandWidthIndicator","BollingerBandWidthIndicatorStrategy","ChaikinOscillatorIndicator","ChaikinOscillatorIndicatorStrategy","ChaikinVolatilityIndicator","ChaikinVolatilityIndicatorStrategy","CommodityChannelIndexIndicator","CommodityChannelIndexIndicatorStrategy","CustomIndicator","CustomIndicatorStrategy","PriceChannelOverlayView","DetrendedPriceOscillatorIndicator","DetrendedPriceOscillatorIndicatorStrategy","EaseOfMovementIndicator","EaseOfMovementIndicatorStrategy","FastStochasticOscillatorIndicator","FastStochasticOscillatorIndicatorStrategy","FinancialIndicatorBucketCalculator","FinancialIndicatorView","ForceIndexIndicator","ForceIndexIndicatorStrategy","FullStochasticOscillatorIndicator","FullStochasticOscillatorIndicatorStrategy","PercentKCalculationStrategy","IndicatorRenderer","ItemwiseIndicatorCalculationStrategy","ItemwiseStrategyBasedIndicator","ItemwiseStrategyCalculationStrategy","MarketFacilitationIndexIndicator","MarketFacilitationIndexIndicatorStrategy","MassIndexIndicator","MassIndexIndicatorStrategy","MedianPriceIndicator","MedianPriceIndicatorStrategy","MoneyFlowIndexIndicator","MoneyFlowIndexIndicatorStrategy","MovingAverageConvergenceDivergenceIndicator","MovingAverageConvergenceDivergenceIndicatorStrategy","NegativeVolumeIndexIndicator","NegativeVolumeIndexIndicatorStrategy","OnBalanceVolumeIndicator","OnBalanceVolumeIndicatorStrategy","PercentagePriceOscillatorIndicator","PercentagePriceOscillatorIndicatorStrategy","PercentageVolumeOscillatorIndicator","PercentageVolumeOscillatorIndicatorStrategy","PositiveVolumeIndexIndicator","PositiveVolumeIndexIndicatorStrategy","PriceChannelOverlay","PriceChannelBucketCalculator","PriceVolumeTrendIndicator","PriceVolumeTrendIndicatorStrategy","RateOfChangeAndMomentumIndicator","RateOfChangeAndMomentumIndicatorStrategy","RelativeStrengthIndexIndicator","RelativeStrengthIndexIndicatorStrategy","SlowStochasticOscillatorIndicator","SlowStochasticOscillatorIndicatorStrategy","StandardDeviationIndicator","StandardDeviationIndicatorStrategy","StochRSIIndicator","StochRSIIndicatorStrategy","TRIXIndicator","TRIXIndicatorStrategy","TypicalPriceIndicator","TypicalPriceIndicatorStrategy","UltimateOscillatorIndicator","UltimateOscillatorIndicatorCalculationStrategy","WeightedCloseIndicator","WeightedCloseIndicatorStrategy","WilliamsPercentRIndicator","WilliamsPercentRIndicatorStrategy","FunnelDataContext","FunnelFrame","FunnelSliceDisplay","IItemProvider","IFunnelLabelSizeDecider","IOuterLabelWidthDecider","OuterLabelAlignment","SliceInfo","SliceAppearance","SliceInfoList","SliceInfoComparison","SliceInfoUnaryComparison","SliceSelectionManager","XamFunnelController","Message","InteractionMessage","LabelSizeChangedMessage","RenderingMessage","RenderOuterLabelMessage","RenderSliceMessage","ModelUpdateMessage","SelectedItemsChangedMessage","SliceClickedMessage","ConfigurationMessage","UserSelectedItemsChangedMessage","FunnelSliceClickedEventArgs","FunnelSliceClickedEventHandler","XamFunnelChart","XamFunnelConnector","XamFunnelSlice","XamFunnelView","LegendBaseViewManager","LegendBase","ScaleLegend","LegendBaseView","ScaleLegendView","GradientData","GradientStopData","ClearMessage","ClearTooltipMessage","DataUpdatedMessage","FrameRenderCompleteMessage","MessageChannel","MessageEventHandler","MessageHandler","MessageHandlerEventHandler","MouseButtonMessage","MouseButtonType","MouseButtonAction","MouseLeaveMessage","MouseMoveMessage","PropertyChangedMessage","ServiceProvider","SetAreaSizeMessage","TemplateChangedMessage","TooltipUpdateMessage","TooltipValueChangedMessage","ViewportChangedMessage","ContainerSizeChangedMessage","ViewPropertyChangedMessage","PieChartViewManager","RadialBase","AnchoredRadialSeries","RadialAreaSeries","RadialBaseView","AnchoredRadialSeriesView","RadialAreaSeriesView","HighDensityScatterSeries","MouseMoveThunk","ScatterMouseOverEventArgs","ProgressiveLoadStatusEventArgs","HighDensityScatterSeriesView","KDTree2D","KNearestResults","KNearestResult","KDTreeThunk","SearchArgs","KDTreeNode2D","SearchData","PointData","ScatterLineSeries","ScatterLineSeriesView","ScatterSplineSeries","ScatterSplineSeriesView","SeriesViewerComponentsForView","SeriesViewerComponentsFromView","SeriesViewer","XamDataChart","SeriesViewerView","XamDataChartView","ChartCollection","ChartContentManager","ContentInfo","ChartContentType","DataContext","PieSliceDataContext","FunnelSliceDataContext","LabelPanelArranger","LabelPanelsArrangeState","LegendTemplates","Marker","CollisionAvoidanceType","NumericMarkerManager","CategoryMarkerManager","MarkerManagerBucket","PathRenderer","NaNSegmenter","IFlattener","DefaultFlattener","RenderSurface","RenderRequestedEventArgs","SeriesCollection","SeriesComponentsForView","SeriesComponentsFromView","SeriesRenderingArguments","SeriesRenderer$2","IFastItemsSourceProvider","SyncLink","FastItemsSourceReference","SyncSettings","SyncSettingsConverter","SyncLinkManager","SyncManager","DefaultCategoryTrendlineHost","DefaultCategoryTrendlinePreparer","TrendResolutionParams","TrendFitCalculator","TrendAverageCalculator","PolarTrendLineManager","RadialTrendLineManager","ScatterTrendLineManager","SortingTrendLineManager","AxisLabelsLocation","CategoryMode","AxisOrientation","GridMode","LabelsPosition","MarkerType","OthersCategoryType","PriceDisplayType","SplineType","WindowMode","WindowResponse","ErrorBarSettingsBase","CategoryErrorBarSettings","EnableErrorBars","ErrorBarsHelper","ScatterErrorBarSettings","AxisRangeChangedEventArgs","AxisRangeChangedEventHandler","DataChartMouseButtonEventArgs","DataChartMouseButtonEventHandler","DataChartLegendMouseButtonEventArgs","DataChartLegendMouseButtonEventHandler","ChartMouseEventArgs","DataChartMouseEventHandler","ChartLegendMouseEventArgs","DataChartLegendMouseEventHandler","ChartCursorEventArgs","DataChartCursorEventHandler","FinancialEventArgs","FinancialEventHandler","PropertyUpdatedEventArgs","PropertyUpdatedEventHandler","SliceClickEventArgs","SliceClickEventHandler","FinancialPriceSeries","FinancialPriceBucketCalculator","FinancialPriceSeriesView","FinancialValueList","FinancialCalculationDataSource","FinancialCalculationSupportingCalculations","SupportingCalculation$1","SupportingCalculationStrategy","ColumnSupportingCalculation","ProvideColumnValuesStrategy","DataSourceSupportingCalculation","CalculatedColumn","ItemLegend","ItemLegendView","Legend","LegendItemInfo","LegendView","PieLabel","IndexCollection","IndexCollectionTypeConverter","Slice","SliceView","XamPieChart","XamPieChartView","PolarBase","PolarLineSeriesBase","PolarAreaSeries","PolarBaseView","PolarLineSeriesBaseView","PolarAreaSeriesView","PolarAxisInfoCache","ScatterFrameBase$1","PolarFrame","AngleRadiusPair","PolarLinePlanner","PolarLineSeries","PolarLineSeriesView","PolarScatterSeries","PolarScatterSeriesView","PolarSplineAreaSeries","PolarSplineAreaSeriesView","PolarSplineSeries","PolarSplineSeriesView","RadialBucketCalculator","AnchoredRadialBucketCalculator","RadialFrame","RadialColumnSeries","RadialColumnSeriesView","RadialLineSeries","RadialLineSeriesView","RadialPieSeries","SliceCoords","RadialPieSeriesView","ScatterAxisInfoCache","DictInterpolator$3","OwnedPoint","ScatterFrame","ScatterSeries","ScatterSeriesView","CoercionInfo","SeriesViewerSurfaceViewer","OverviewPlusDetailViewportHost","SeriesViewerViewManager","FragmentBase","AreaFragment","AreaFragmentView","ColumnFragment","BarFragment","AreaFragmentBucketCalculator","LineFragmentBucketCalculator","SplineFragmentBucketCalculator","StackedBucketCalculator","StackedBarBucketCalculator","Stacked100BarBucketCalculator","StackedColumnBucketCalculator","Stacked100ColumnBucketCalculator","ColumnFragmentView","LineFragment","LineFragmentView","SplineFragmentBase","SplineAreaFragment","SplineAreaFragmentView","SplineFragment","SplineFragmentView","StackedSeriesBase","HorizontalStackedSeriesBase","StackedAreaSeries","IStacked100Series","Stacked100AreaSeries","VerticalStackedSeriesBase","StackedBarSeries","Stacked100BarSeries","StackedSeriesView","StackedBarSeriesView","Stacked100BarSeriesView","StackedColumnSeries","Stacked100ColumnSeries","StackedColumnSeriesView","Stacked100ColumnSeriesView","StackedLineSeries","Stacked100LineSeries","StackedSplineAreaSeries","Stacked100SplineAreaSeries","StackedSplineSeries","Stacked100SplineSeries","StackedFragmentSeries","StackedSeriesCollection","StackedSeriesFramePreparer","StackedSeriesManager","Bezier","BezierPointComparison","BezierOp","BezierPoint","ChartVisualData","PieChartVisualData","SeriesVisualDataList","SeriesVisualData","MarkerVisualDataList","MarkerVisualData","AxisVisualDataList","AxisVisualData","PieSliceVisualDataList","PieSliceVisualData","AxisLabelVisualDataList","AxisLabelVisualData","StackedSeriesVisualData","IDetectsCollisions","CollisionAvoider","DoubleColumn","StringColumn","ObjectColumn","IntColumn","IntColumnComparison","ColumnUtil","ItemsSourceAction","PointList","IPool$1","IIndexedPool$1","Pool$1","IHashPool$2","HashPool$2","SafeEnumerable","SafeReadOnlyDoubleCollection","SafeSortedReadOnlyDoubleCollection","SortedListView$1","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise","BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView"]);$.ig.util.defType("ShapeType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ShapeType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XBaseDataType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("XBaseDataType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BingMapsImageryStyle","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("BingMapsImageryStyle",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ColorScaleInterpolationMode","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ColorScaleInterpolationMode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SphericalMercatorHorizontalScaler","HorizontalLinearScaler",{ak:null,init:function(){$.ig.HorizontalLinearScaler.prototype.init.call(this);this.ak=new $.ig.Rect(0,0,0,1,1)},ab:function(a,b){if(!b.c.isEmpty()){var c=a*b.a.width()+b.a.left()*b.b.width();var d=this.ai(c,this.ak,b.c,b.d);return d}else{return this.ai(a,b.a,b.b,b.d)}},ac:function(a,b){if(!b.c.isEmpty()){var c=this.aj(a,this.ak,b.c,b.d);var d=(c-b.a.left()*b.b.width())/b.a.width();return d}else{return this.aj(a,b.a,b.b,b.d)}},ah:function(values_){var a=$.isArray(values_)?values_:null;return a;return null},ae:function(a,b,c,d){var e;var f=d.a;var g=d.b;var h=d.c;var i=d.d;var j=!h.isEmpty();var k=this.p();var l=this.i;var m=h.left();var n=h.width();var o=f.left();var p=f.width();var q=g.left();var r=g.width();var s=this.ak.left();var t=this.ak.width();var u=this.ah(a);var v=false;if(u!=null){v=true}for(var w=b;w<c;w++){if(v){e=u[w]}else{e=a.item(w)}if(j){var x=(e-l)/k;if(i){x=1-x}x=m+n*(x-s)/t;var y=(x-o*r)/p;if(v){u[w]=y}else{a.item(w,y)}}else{var z=(e-l)/k;if(i){z=1-z}z=q+r*(z-o)/p;if(v){u[w]=z}else{a.item(w,z)}}}},q:function(a,b,c,d,e){d=a.minimumValue();e=a.maximumValue();return{actualMinimumValue:d,actualMaximumValue:e}},ai:function(a,b,c,d){var e=b.left()+b.width()*(a-c.left())/c.width();if(d){e=1-e}return this.i+e*this.p()},aj:function(a,b,c,d){var e=(a-this.i)/this.p();if(d){e=1-e}return c.left()+c.width()*(e-b.left())/b.width()},al:function(a,b,c,d,e){var f=(a-this.i)/this.p();if(e){f=1-f}return c.left()+c.width()*(f-b.left())/b.width()},$type:new $.ig.Type("SphericalMercatorHorizontalScaler",$.ig.HorizontalLinearScaler.prototype.$type)},true);$.ig.util.defType("SphericalMercatorVerticalScaler","VerticalLinearScaler",{al:null,ab:function(a,b){if(!b.c.isEmpty()){var c=a*b.a.height()+b.a.top()*b.b.height();var d=this.aj(c,this.al,b.c,b.d);return d}else{return this.aj(a,b.a,b.b,b.d)}},ac:function(a,b){if(!b.c.isEmpty()){var c=this.ai(a,this.al,b.c,b.d);c=(c-b.a.top()*b.b.height())/b.a.height();return c}else{return this.ai(a,b.a,b.b,b.d)}},ah:function(values_){var a=$.isArray(values_)?values_:null;return a;return null},ae:function(a,b,c,d){var e;var f=d.a;var g=d.b;var h=d.c;var i=d.d;var j=!h.isEmpty();var k=this.p();var l=this.i;var m=h.top();var n=h.height();var o=f.top();var p=f.height();var q=g.top();var r=g.height();var s=this.al.top();var t=this.al.height();var u=this.ah(a);var v=$.ig.SphericalMercatorVerticalScaler.prototype.ak;var w;var x;var y;var z;var aa;var ab=false;if(u!=null){ab=true}for(var ac=b;ac<c;ac++){if(ab){e=u[ac]}else{e=a.item(ac)}if(j){if(e<$.ig.SphericalMercatorVerticalScaler.prototype.an){e=$.ig.SphericalMercatorVerticalScaler.prototype.an}if(e>$.ig.SphericalMercatorVerticalScaler.prototype.am){e=$.ig.SphericalMercatorVerticalScaler.prototype.am}w=e*v;x=Math.sin(w);y=.5*Math.log((1+x)/(1-x));z=(this.ao-y)*n/this.ap;z=m+z;aa=(z-s*n)/t;z=(aa-o*r)/p;if(ab){u[ac]=z}else{a.item(ac,z)}}else{if(e<$.ig.SphericalMercatorVerticalScaler.prototype.an){e=$.ig.SphericalMercatorVerticalScaler.prototype.an}if(e>$.ig.SphericalMercatorVerticalScaler.prototype.am){e=$.ig.SphericalMercatorVerticalScaler.prototype.am}w=e*v;x=Math.sin(w);y=.5*Math.log((1+x)/(1-x));z=(this.ao-y)*r/this.ap;z=q+z;z=(z-o*r)/p;if(ab){u[ac]=z}else{a.item(ac,z)}}}},q:function(a,b,c,d,e){d=this.ay(a.minimumValue());e=this.ay(a.maximumValue());return{actualMinimumValue:d,actualMaximumValue:e}},x:function(a,b,c){$.ig.NumericScaler.prototype.x.call(this,a,b,c);switch(a){case $.ig.SphericalMercatorVerticalScaler.prototype.e:case $.ig.SphericalMercatorVerticalScaler.prototype.f:this.ao=$.ig.SphericalMercatorVerticalScaler.prototype.aw(this.j);this.ap=$.ig.SphericalMercatorVerticalScaler.prototype.aw(this.j)-$.ig.SphericalMercatorVerticalScaler.prototype.aw(this.i);break}},ao:null,ap:null,aq:function(){return $.ig.SphericalMercatorVerticalScaler.prototype.am},ar:function(){return $.ig.SphericalMercatorVerticalScaler.prototype.an},init:function(){$.ig.VerticalLinearScaler.prototype.init.call(this);this.al=new $.ig.Rect(0,0,0,1,1)},aj:function(a,b,c,d){var e=(a-c.top())*b.width()+b.top()*c.height();e=$.ig.SphericalMercatorVerticalScaler.prototype.aw(this.j)-e/(c.height()/this.ap);return $.ig.SphericalMercatorVerticalScaler.prototype.ax(e)},ai:function(a,b,c,d){var e=c.top()+this.av(a,c.height());return(e-b.top()*c.height())/b.width()},au:function(a,b,c,d,e){var f=this.av(a,d.height());return(f-b.top()*c.height())/b.width()},av:function(a,b){a=a>$.ig.SphericalMercatorVerticalScaler.prototype.an?a<$.ig.SphericalMercatorVerticalScaler.prototype.am?a:$.ig.SphericalMercatorVerticalScaler.prototype.am:$.ig.SphericalMercatorVerticalScaler.prototype.an;var c=$.ig.SphericalMercatorVerticalScaler.prototype.aw(a);var d=(this.ao-c)*b/this.ap;return d},aw:function(a){var b=a*$.ig.SphericalMercatorVerticalScaler.prototype.ak;var c=Math.sin(b);var d=.5*Math.log((1+c)/(1-c));return d},ax:function(a){a=Math.exp(2*a);return Math.asin((a-1)/(a+1))/$.ig.SphericalMercatorVerticalScaler.prototype.ak},ay:function(a){if(a<$.ig.SphericalMercatorVerticalScaler.prototype.an){return $.ig.SphericalMercatorVerticalScaler.prototype.an}if(a>$.ig.SphericalMercatorVerticalScaler.prototype.am){return $.ig.SphericalMercatorVerticalScaler.prototype.am}return a},$type:new $.ig.Type("SphericalMercatorVerticalScaler",$.ig.VerticalLinearScaler.prototype.$type)},true);$.ig.util.defType("ColorScale","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},getColor:function(a,b,c,d){},f:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},propertyChanged:null,$type:new $.ig.Type("ColorScale",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("CustomPaletteColorScale","ColorScale",{init:function(){this.k=null;this.m=NaN;this.n=NaN;this.o=true;this.p=true;this.q=$.ig.ColorScaleInterpolationMode.prototype.select;$.ig.ColorScale.prototype.init.call(this);this.l=$.ig.Color.prototype.s(0,0,0,0);this.k=new $.ig.ObservableCollection$1($.ig.Color.prototype.$type,0);this.k.collectionChanged=$.ig.Delegate.prototype.combine(this.k.collectionChanged,this.u.runOn(this))},minimumValue:function(a){if(arguments.length===1){this.c($.ig.CustomPaletteColorScale.prototype.minimumValueProperty,a);
return a}else{return this.b($.ig.CustomPaletteColorScale.prototype.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.CustomPaletteColorScale.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.CustomPaletteColorScale.prototype.maximumValueProperty)}},k:null,palette:function(a){if(arguments.length===1){if(this.k!=null){this.k.collectionChanged=$.ig.Delegate.prototype.remove(this.k.collectionChanged,this.u.runOn(this))}this.k=a;if(this.k!=null){this.k.collectionChanged=$.ig.Delegate.prototype.combine(this.k.collectionChanged,this.u.runOn(this))}this.f($.ig.CustomPaletteColorScale.prototype.i,this.palette(),this.palette());return a}else{return this.k}},u:function(a,b){this.f($.ig.CustomPaletteColorScale.prototype.i,this.palette(),this.palette())},l:null,f:function(a,b,c){$.ig.ColorScale.prototype.f.call(this,a,b,c);switch(a){case $.ig.CustomPaletteColorScale.prototype.g:this.m=this.minimumValue();this.o=isNaN(this.m);break;case $.ig.CustomPaletteColorScale.prototype.h:this.n=this.maximumValue();this.p=isNaN(this.n);break;case $.ig.CustomPaletteColorScale.prototype.j:this.q=this.interpolationMode();break}},m:null,n:null,o:null,p:null,q:null,getColor:function(a,b,c,d){if(this.k==null||this.k.count()==0||d==null){return this.l}var e=this.o?b:this.m;var f=this.p?c:this.n;var g=(a-e)/(f-e);if(isNaN(g)||g<0||g>1){return this.l}var h=g*(this.k.count()-1);if(this.q==$.ig.ColorScaleInterpolationMode.prototype.interpolateHSV||this.q==$.ig.ColorScaleInterpolationMode.prototype.interpolateRGB){var i=Math.floor(h);var j=Math.ceil(h);var k=this.k.__inner[i];var l=this.k.__inner[j];var m=h-i;var n=this.q==$.ig.ColorScaleInterpolationMode.prototype.interpolateHSV?$.ig.InterpolationMode.prototype.hSV:$.ig.InterpolationMode.prototype.rGB;return k.getInterpolation(m,l,n)}else{var o=Math.round(h);return this.k.__inner[o]}},interpolationMode:function(a){if(arguments.length===1){this.c($.ig.CustomPaletteColorScale.prototype.interpolationModeProperty,a);return a}else{return this.b($.ig.CustomPaletteColorScale.prototype.interpolationModeProperty)}},providePalette:function(a){var $self=this;var b=new $.ig.ObservableCollection$1($.ig.Color.prototype.$type,0);for(var d=0;d<a.length;d++){var c=a[d];var e=function(){var $ret=new $.ig.Color;$ret.f(c);return $ret}();b.add(e)}this.palette(b)},$type:new $.ig.Type("CustomPaletteColorScale",$.ig.ColorScale.prototype.$type)},true);$.ig.util.defType("BingResponse","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.b(new $.ig.List$1($.ig.BingResourceSet.prototype.$type,0))},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("BingResponse",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BingResourceSet","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.b(new $.ig.List$1($.ig.ImageryMetadata.prototype.$type,0))},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("BingResourceSet",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ImageryMetadata","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.d(new $.ig.List$1(String,0))},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("ImageryMetadata",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GeographicMapImagery","Control",{init:function(a){this.bi=null;$.ig.Control.prototype.init.call(this);this.a3($.ig.GeographicMapImagery.prototype.$type);this.bq(a);this.bo(this.bs());this.br(this.bo())},br:function(a){},bs:function(){return new $.ig.GeographicMapImageryView(this)},_bo:null,bo:function(a){if(arguments.length===1){this._bo=a;return a}else{return this._bo}},bg:null,deferralHandler:function(a){if(arguments.length===1){this.bg=a;if(this.bp()!=null){this.bp().cd(a)}return a}else{return this.bg}},bv:function(a,b){if(this.imageTilesReady!=null){this.imageTilesReady(this,new $.ig.EventArgs)}},bw:function(){this.bp().imageTilesReady=$.ig.Delegate.prototype.combine(this.bp().imageTilesReady,this.bv.runOn(this));this.bp().cd(this.deferralHandler());this.bp().imagesChanged=$.ig.Delegate.prototype.combine(this.bp().imagesChanged,this.b8.runOn(this))},bx:function(){if(this.bp()!=null){this.bo().g()}},by:function(a,b,c){switch(a){case $.ig.GeographicMapImagery.prototype.be:this.bx();break;case $.ig.GeographicMapImagery.prototype.bf:this.bo().g();break}if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},windowRect:function(a){if(arguments.length===1){this.c($.ig.GeographicMapImagery.prototype.windowRectProperty,a);return a}else{return this.b($.ig.GeographicMapImagery.prototype.windowRectProperty)}},geographicMap:function(a){if(arguments.length===1){this.c($.ig.GeographicMapImagery.prototype.geographicMapProperty,a);return a}else{return this.b($.ig.GeographicMapImagery.prototype.geographicMapProperty)}},bz:function(a,b){a.b0(b.f(),b.e())},b0:function(a,b){this.by($.ig.GeographicMapImagery.prototype.bf,a,b)},clearTileCache:function(){if(this.bp()!=null){this.bp().dd(0,0,0,0)}},imageTilesReady:null,bi:null,bp:function(a){if(arguments.length===1){this.bi=a;if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs("MultiScaleImage"))}return a}else{return this.bi}},_bq:null,bq:function(a){if(arguments.length===1){this._bq=a;return a}else{return this._bq}},propertyChanged:null,b5:function(a){if(this.geographicMap()==null||a.c()<1||a.d()<1){return a}var b=new $.ig.Rect(0,0,0,a.c(),a.d());var c=this.geographicMap().l4(b);var d=$.ig.XamGeographicMap.prototype.lf;var e=this.geographicMap().actualWorldRect();var f=Math.min(this.windowRect().height(),this.windowRect().width());var g=e.width()/d.width();this.bp().ch(b.width()/c.width()*f*g);var h=this.geographicMap().xAxis();var i=this.geographicMap().yAxis();var j=new $.ig.ScalerParams(this.windowRect(),b,h.isInverted());j.c=c;var k=new $.ig.ScalerParams(this.windowRect(),b,i.isInverted());k.c=c;var l=h.getScaledValue(d.left(),j);var m=i.getScaledValue(d.bottom(),k);var n=-l/b.width()*this.bp().ch();var o=-m/b.height()*this.bp().ch()*(b.height()/b.width());this.bp().cf({__x:n,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return a},b6:function(a){this.bo().j(a)},b7:function(a){this.bo().k(a)},imagesChanged:null,b8:function(a,b){if(this.imagesChanged!=null){this.imagesChanged(this,b)}},b9:function(){this.bo().g()},$type:new $.ig.Type("GeographicMapImagery",$.ig.Control.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("BingMapsMapImagery","GeographicMapImagery",{init:function(){$.ig.GeographicMapImagery.prototype.init.call(this,new $.ig.BingMapsTileSource(0));this.cv().p();this.actualBingImageryRestUri($.ig.BingMapsMapImagery.prototype.cb)},bs:function(){return new $.ig.BingMapsMapImageryView(this)},br:function(a){$.ig.GeographicMapImagery.prototype.br.call(this,a);this.cv(a)},_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},_isInitialized:null,isInitialized:function(a){if(arguments.length===1){this._isInitialized=a;return a}else{return this._isInitialized}},isDeferredLoad:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.isDeferredLoadProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.isDeferredLoadProperty)}},cz:function(a,b){this.da()},tilePath:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.tilePathProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.tilePathProperty)}},c0:function(a,b){a.dg($.ig.BingMapsMapImagery.prototype.cd,b.f(),b.e())},subDomains:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.subDomainsProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.subDomainsProperty)}},c1:function(a,b){a.dg($.ig.BingMapsMapImagery.prototype.ce,b.f(),b.e())},cm:null,actualTilePath:function(a){if(arguments.length===1){var b=this.cm;this.cm=a;this.dg($.ig.BingMapsMapImagery.prototype.cf,b,this.cm);return a}else{return this.cm}},cn:null,actualSubDomains:function(a){if(arguments.length===1){var b=this.cn;this.cn=a;this.dg($.ig.BingMapsMapImagery.prototype.cg,b,this.cn);return a}else{return this.cn}},co:null,bingImageryRestUri:function(a){if(arguments.length===1){var b=this.co;this.co=a;this.dg($.ig.BingMapsMapImagery.prototype.ch,b,this.co);return a}else{return this.co}},cp:null,actualBingImageryRestUri:function(a){if(arguments.length===1){var b=this.cp;this.cp=a;this.by($.ig.BingMapsMapImagery.prototype.ci,b,this.cp);return a}else{return this.cp}},cultureName:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.cultureNameProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.cultureNameProperty)}},c5:function(a,b){a.dg($.ig.BingMapsMapImagery.prototype.cj,b.f(),b.e())},apiKey:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.apiKeyProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.apiKeyProperty)}},c6:function(a,b){this.da()},imageryStyle:function(a){if(arguments.length===1){this.c($.ig.BingMapsMapImagery.prototype.imageryStyleProperty,a);return a}else{return this.b($.ig.BingMapsMapImagery.prototype.imageryStyleProperty)}},c7:function(a,b){this.da()},requestMapSettings:function(){this.c8(true)},c8:function(a){},c9:function(){if(this.tilePath()==null&&this.subDomains()==null){return true}return false},da:function(){this.isInitialized(false);$.ig.Debug.prototype.b("Validating");if(!this.db()){this.dd("",null);return}if(!this.isDeferredLoad()){this.c8(false)}},db:function(){if(String.isNullOrEmpty(this.apiKey())||this.apiKey().length<20){return false}return true},dc:function(){},dd:function(a,b){},de:function(a){},df:function(a,b){this.bo().g();this.da();this.dg($.ig.BingMapsMapImagery.prototype.ce,this.actualSubDomains(),this.actualSubDomains())},dg:function(a,b,c){var $self=this;switch(a){case $.ig.BingMapsMapImagery.prototype.cd:this.dc();this.actualTilePath(c);this.cv().q();this.bo().g();break;case $.ig.BingMapsMapImagery.prototype.cj:this.cv().r();this.bo().g();break;case $.ig.BingMapsMapImagery.prototype.cl:this.da();break;case $.ig.BingMapsMapImagery.prototype.ce:this.dc();var d=b;var e=c;if(this.actualSubDomains()!=null){this.actualSubDomains().collectionChanged=$.ig.Delegate.prototype.remove(this.actualSubDomains().collectionChanged,this.df.runOn(this))}this.actualSubDomains(e);if(this.actualSubDomains()!=null){e.collectionChanged=$.ig.Delegate.prototype.combine(e.collectionChanged,this.df.runOn(this))}this.cv().s();this.bo().g();break;case $.ig.BingMapsMapImagery.prototype.cf:var f=c;if(String.isNullOrEmpty(f)){this.da()}break;case $.ig.BingMapsMapImagery.prototype.ch:this.actualBingImageryRestUri(c);this.dc();this.da();break;case $.ig.BingMapsMapImagery.prototype.ci:this.dc();this.da();break}$.ig.GeographicMapImagery.prototype.by.call(this,a,b,c)},$type:new $.ig.Type("BingMapsMapImagery",$.ig.GeographicMapImagery.prototype.$type)},true);$.ig.util.defType("GeographicMapImageryView","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.d($.ig.Rect.prototype.empty());this.c(a);this.c().bp(new $.ig.XamMultiScaleImage);this.c().bp().ce(this.c().bq());this.c().bw()},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},g:function(){if(this.d().isEmpty()){return}this.c().b5(new $.ig.Size(this.d().width(),this.d().height()))},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},j:function(a){this.c().bp().dz(a)},k:function(a){this.d(a);this.c().bp().d0(a);this.c().b9()},$type:new $.ig.Type("GeographicMapImageryView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BingMapsMapImageryView","GeographicMapImageryView",{init:function(a){$.ig.GeographicMapImageryView.prototype.init.call(this,a);this.m(a)},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},p:function(){this.m().subDomains(new $.ig.ObservableCollection$1(String,0));this.m().bq().tilePath(this.m().actualTilePath());this.m().bq().subDomains(this.m().actualSubDomains());this.m().bq().cultureName(this.m().cultureName())},q:function(){this.m().bq().tilePath(this.m().actualTilePath())},r:function(){this.m().bq().cultureName(this.m().cultureName())},s:function(){this.m().bq().subDomains(this.m().actualSubDomains())},$type:new $.ig.Type("BingMapsMapImageryView",$.ig.GeographicMapImageryView.prototype.$type)},true);$.ig.util.defType("CloudMadeMapImagery","GeographicMapImagery",{init:function(){$.ig.GeographicMapImagery.prototype.init.call(this,new $.ig.CloudMadeTileSource);this.ce().r()},bs:function(){return new $.ig.CloudMadeMapImageryView(this)},br:function(a){$.ig.GeographicMapImagery.prototype.br.call(this,a);this.ce(a)},_ce:null,ce:function(a){if(arguments.length===1){this._ce=a;return a}else{return this._ce}},key:function(a){if(arguments.length===1){this.c($.ig.CloudMadeMapImagery.prototype.keyProperty,a);return a}else{return this.b($.ig.CloudMadeMapImagery.prototype.keyProperty)}},ch:function(a,b){a.cj($.ig.CloudMadeMapImagery.prototype.cb,b.f(),b.e())},parameter:function(a){if(arguments.length===1){this.c($.ig.CloudMadeMapImagery.prototype.parameterProperty,a);return a}else{return this.b($.ig.CloudMadeMapImagery.prototype.parameterProperty)}},ci:function(a,b){a.cj($.ig.CloudMadeMapImagery.prototype.cc,b.f(),b.e())},cj:function(a,b,c){switch(a){case $.ig.CloudMadeMapImagery.prototype.cb:this.ce().p();this.bo().g();break;case $.ig.CloudMadeMapImagery.prototype.cc:this.ce().q();this.bo().g();break}$.ig.GeographicMapImagery.prototype.by.call(this,a,b,c)},$type:new $.ig.Type("CloudMadeMapImagery",$.ig.GeographicMapImagery.prototype.$type)},true);$.ig.util.defType("CloudMadeMapImageryView","GeographicMapImageryView",{init:function(a){$.ig.GeographicMapImageryView.prototype.init.call(this,a);this.m(a)},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},p:function(){this.m().bq().key(this.m().key())},q:function(){this.m().bq().parameter(this.m().parameter())},r:function(){this.m().bq().key(this.m().key());this.m().bq().parameter(this.m().parameter())},$type:new $.ig.Type("CloudMadeMapImageryView",$.ig.GeographicMapImageryView.prototype.$type)},true);$.ig.util.defType("OpenStreetMapImagery","GeographicMapImagery",{init:function(){$.ig.GeographicMapImagery.prototype.init.call(this,new $.ig.OpenStreetMapTileSource)},$type:new $.ig.Type("OpenStreetMapImagery",$.ig.GeographicMapImagery.prototype.$type)},true);$.ig.util.defType("HostSeriesView$1","SeriesView",{$t:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.SeriesView.prototype.init.call(this,a);this.cp(a)},_cp:null,cp:function(a){if(arguments.length===1){this._cp=a;return a}else{return this._cp}},bz:function(a,b){$.ig.SeriesView.prototype.bz.call(this,a,b)},cs:function(){this.cp().im().itemsSource(this.cp().itemsSource());this.cp().im().index(this.cp().index());this.cp().im().brush(this.cp().brush());this.cp().im().outline(this.cp().outline());this.cp().im().resolution(this.cp().resolution());this.cp().im().transitionDuration(this.cp().transitionDuration())},ct:function(){this.cp().im().itemsSource(this.cp().itemsSource())},cu:function(){this.cp().im().resolution(this.cp().resolution())},cv:function(){this.cp().im().transitionDuration(this.cp().transitionDuration())},$type:new $.ig.Type("HostSeriesView$1",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("GeographicShapeSeriesBaseView","HostSeriesView$1",{init:function(a){$.ig.HostSeriesView$1.prototype.init.call(this,$.ig.ShapeSeriesBase.prototype.$type,a);this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},cs:function(){$.ig.HostSeriesView$1.prototype.cs.call(this);this.cx().im().shapeMemberPath(this.cx().shapeMemberPath());this.cx().im().brush(this.cx().actualBrush());this.cx().im().outline(this.cx().actualOutline())},c0:function(){if(this.cx().seriesViewer()==null){this.cx().im().xAxis(null);this.cx().im().yAxis(null);return}this.cx().im().xAxis(this.cx().seriesViewer().xAxis());this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c1:function(){this.cx().im().brush(this.cx().actualBrush())},c2:function(){this.cx().im().outline(this.cx().actualOutline())},c3:function(){this.cx().im().shapeMemberPath(this.cx().shapeMemberPath())},c4:function(){this.cx().im().thickness(this.cx().thickness())},c5:function(){this.cx().im().shapeFilterResolution(this.cx().shapeFilterResolution())},$type:new $.ig.Type("GeographicShapeSeriesBaseView",$.ig.HostSeriesView$1.prototype.$type.specialize($.ig.ShapeSeriesBase.prototype.$type))},true);$.ig.util.defType("GeographicPolylineSeriesView","GeographicShapeSeriesBaseView",{init:function(a){$.ig.GeographicShapeSeriesBaseView.prototype.init.call(this,a);this.c7(a)},_c7:null,c7:function(a){if(arguments.length===1){this._c7=a;return a}else{return this._c7}},cs:function(){$.ig.GeographicShapeSeriesBaseView.prototype.cs.call(this);this.c7().im().shapeStyleSelector(this.c7().shapeStyleSelector());this.c7().im().shapeStyle(this.c7().shapeStyle())},da:function(){this.c7().im().shapeStyleSelector(this.c7().shapeStyleSelector())},db:function(){this.c7().im().shapeStyle(this.c7().shapeStyle())},$type:new $.ig.Type("GeographicPolylineSeriesView",$.ig.GeographicShapeSeriesBaseView.prototype.$type)},true);$.ig.util.defType("GeographicProportionalSymbolSeriesView","HostSeriesView$1",{init:function(a){$.ig.HostSeriesView$1.prototype.init.call(this,$.ig.BubbleSeries.prototype.$type,a);this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},cs:function(){$.ig.HostSeriesView$1.prototype.cs.call(this);this.cx().im().xMemberPath(this.cx().longitudeMemberPath());this.cx().im().yMemberPath(this.cx().latitudeMemberPath());this.cx().im().markerType(this.cx().markerType());this.cx().im().markerTemplate(this.cx().markerTemplate());this.cx().im().radiusMemberPath(this.cx().radiusMemberPath());this.cx().im().radiusScale(this.cx().radiusScale());this.cx().im().labelMemberPath(this.cx().labelMemberPath());this.cx().im().fillMemberPath(this.cx().fillMemberPath());this.cx().im().fillScale(this.cx().fillScale())},c0:function(){this.cx().im().xMemberPath(this.cx().longitudeMemberPath())},c1:function(){this.cx().im().yMemberPath(this.cx().latitudeMemberPath())},c2:function(){this.cx().im().markerType(this.cx().markerType())},c3:function(){this.cx().im().markerTemplate(this.cx().markerTemplate())},c4:function(){this.cx().im().maximumMarkers(this.cx().maximumMarkers())},c5:function(){this.cx().im().xAxis(this.cx().seriesViewer().xAxis())},c6:function(){this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c7:function(){if(this.cx().seriesViewer()==null){this.cx().im().xAxis(null);this.cx().im().yAxis(null);return}this.cx().im().xAxis(this.cx().seriesViewer().xAxis());this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c8:function(){this.cx().im().markerBrush(this.cx().markerBrush())},c9:function(){this.cx().im().markerOutline(this.cx().markerOutline())},da:function(){this.cx().im().radiusMemberPath(this.cx().radiusMemberPath())},db:function(){this.cx().im().radiusScale(this.cx().radiusScale())},dc:function(){this.cx().im().labelMemberPath(this.cx().labelMemberPath())},dd:function(){this.cx().im().fillScale(this.cx().fillScale())},de:function(){this.cx().im().fillMemberPath(this.cx().fillMemberPath())},$type:new $.ig.Type("GeographicProportionalSymbolSeriesView",$.ig.HostSeriesView$1.prototype.$type.specialize($.ig.BubbleSeries.prototype.$type))},true);$.ig.util.defType("GeographicMapSeriesHost$1","Series",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Series.prototype.init.call(this);this.im(this.is())},ij:null,im:function(a){if(arguments.length===1){var b=this.im()!=a;if(b){this.ij=a;this.ir()}return a}else{return this.ij}},ir:function(){this.fw(this.im());this.io().cs()},getItem:function(a){return this.ew(this.im(),a)},is:function(){},et:function(){return new $.ig.HostSeriesView$1(this.$t,this)},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.io(a)},_io:null,io:function(a){if(arguments.length===1){this._io=a;return a}else{return this._io}},visibleFromScale:function(a){if(arguments.length===1){this.c($.ig.GeographicMapSeriesHost$1.prototype.visibleFromScaleProperty,a);return a}else{return this.b($.ig.GeographicMapSeriesHost$1.prototype.visibleFromScaleProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.im().seriesViewer(this.seriesViewer());if(c!=null){c.removeSeries(this.im())}if(d!=null){this.seriesViewer().attachSeries(this.im())}this.im().provideViewport(this.em());this.im().index(this.index());this.fq(this.im());this._uniqueIndex=this.im()._uniqueIndex;var e=$.ig.util.cast($.ig.SeriesViewer.prototype.$type,c);if(e!=null){e.actualWindowRectChanged=$.ig.Delegate.prototype.remove(e.actualWindowRectChanged,this.iw.runOn(this))}if(this.seriesViewer()!=null){this.seriesViewer().actualWindowRectChanged=$.ig.Delegate.prototype.combine(this.seriesViewer().actualWindowRectChanged,this.iw.runOn(this))}this.iv();break;case $.ig.Series.prototype.bi:this.im().syncLink(this.syncLink());break;case $.ig.GeographicMapSeriesHost$1.prototype.ii:this.iv();break;case $.ig.GeographicMapSeriesHost$1.prototype.bs:this.im().index(this.index());break;case $.ig.GeographicMapSeriesHost$1.prototype.bk:this.io().ct();break;case $.ig.GeographicMapSeriesHost$1.prototype.by:this.io().cu();break;case $.ig.GeographicMapSeriesHost$1.prototype.bu:this.io().cv();break}},iv:function(){if(this.seriesViewer()==null||this.im()==null){return}if(this.seriesViewer().actualWindowRect().width()>this.visibleFromScale()){this.im().__visibility=$.ig.Visibility.prototype.collapsed}else{this.im().__visibility=$.ig.Visibility.prototype.visible}},iw:function(a,b){this.iv()},renderSeries:function(a){$.ig.Series.prototype.renderSeries.call(this,a);if(this.im()!=null){this.im().renderSeries(a)}},getHitDataContext:function(a){return this.im().getHitDataContext(a)},styleUpdated:function(){$.ig.Series.prototype.styleUpdated.call(this);this.im().styleUpdated()},coercionMethods:function(a){if(arguments.length===1){this.__coercionMethods=a;this.im().coercionMethods(a);return a}else{return this.__coercionMethods}},ho:function(a){$.ig.Series.prototype.ho.call(this,a);if(this.im()!=null){var b=this.im().exportVisualData();var d=b.shapes().getEnumerator();while(d.moveNext()){var c=d.current();a.shapes().add(c)}var f=b.markerShapes().getEnumerator();while(f.moveNext()){var e=f.current();a.markerShapes().add(e)}a.pixels(b.pixels());a.pixelWidth(b.pixelWidth())}},$type:new $.ig.Type("GeographicMapSeriesHost$1",$.ig.Series.prototype.$type)},true);$.ig.util.defType("GeographicXYTriangulatingSeries","GeographicMapSeriesHost$1",{init:function(){$.ig.GeographicMapSeriesHost$1.prototype.init.call(this,$.ig.XYTriangulatingSeries.prototype.$type)},et:function(){return new $.ig.GeographicXYTriangulatingSeriesView(this)},eq:function(a){$.ig.GeographicMapSeriesHost$1.prototype.eq.call(this,a);this.jb(a)},_jb:null,jb:function(a){if(arguments.length===1){this._jb=a;return a}else{return this._jb}},longitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.longitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.longitudeMemberPathProperty)}},latitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.latitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.latitudeMemberPathProperty)}},trianglesSource:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.trianglesSourceProperty,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.trianglesSourceProperty)}},triangleVertexMemberPath1:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath1Property,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath1Property)}},triangleVertexMemberPath2:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath2Property,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath2Property)}},triangleVertexMemberPath3:function(a){if(arguments.length===1){this.c($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath3Property,a);return a}else{return this.b($.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath3Property)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicMapSeriesHost$1.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.jb().c0();break;case $.ig.GeographicXYTriangulatingSeries.prototype.iy:this.jb().c1();break;case $.ig.GeographicXYTriangulatingSeries.prototype.iz:this.jb().c2();break;case $.ig.GeographicXYTriangulatingSeries.prototype.i0:this.jb().c3();break;case $.ig.GeographicXYTriangulatingSeries.prototype.i1:this.jb().c4();break;case $.ig.GeographicXYTriangulatingSeries.prototype.i2:this.jb().c5();break;case $.ig.GeographicXYTriangulatingSeries.prototype.i3:this.jb().c6();break}},$type:new $.ig.Type("GeographicXYTriangulatingSeries",$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($.ig.XYTriangulatingSeries.prototype.$type))},true);$.ig.util.defType("GeographicContourLineSeries","GeographicXYTriangulatingSeries",{init:function(){$.ig.GeographicXYTriangulatingSeries.prototype.init.call(this);this.a3($.ig.GeographicContourLineSeries.prototype.$type)},ir:function(){var $self=this;$.ig.GeographicMapSeriesHost$1.prototype.ir.call(this);this.im().d($.ig.ContourLineSeries.prototype.valueMemberPathProperty,function(){var $ret=new $.ig.Binding(1,$.ig.GeographicContourLineSeries.prototype.jk);$ret.d($self);return $ret}());this.im().d($.ig.ContourLineSeries.prototype.fillScaleProperty,function(){var $ret=new $.ig.Binding(1,$.ig.GeographicContourLineSeries.prototype.jl);$ret.d($self);return $ret}())},_jt:null,jt:function(a){if(arguments.length===1){this._jt=a;return a}else{return this._jt}},is:function(){this.jt(new $.ig.ContourLineSeries);this.jt().triangulationStatusChanged=$.ig.Delegate.prototype.combine(this.jt().triangulationStatusChanged,this.jx.runOn(this));return this.jt()},jx:function(a,b){if(this.triangulationStatusChanged!=null){this.triangulationStatusChanged(this,b)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicContourLineSeries.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.GeographicContourLineSeries.prototype.valueMemberPathProperty)}},fillScale:function(a){if(arguments.length===1){this.c($.ig.GeographicContourLineSeries.prototype.fillScaleProperty,a);return a}else{return this.b($.ig.GeographicContourLineSeries.prototype.fillScaleProperty)}},et:function(){return new $.ig.GeographicContourLineSeriesView(this)},eq:function(a){$.ig.GeographicXYTriangulatingSeries.prototype.eq.call(this,a);this.ju(a)},_ju:null,ju:function(a){if(arguments.length===1){this._ju=a;return a}else{return this._ju}},valueResolver:function(a){if(arguments.length===1){this.c($.ig.GeographicContourLineSeries.prototype.valueResolverProperty,a);return a}else{return this.b($.ig.GeographicContourLineSeries.prototype.valueResolverProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicXYTriangulatingSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.GeographicContourLineSeries.prototype.jl:this.ju().db();break;case $.ig.GeographicContourLineSeries.prototype.jk:this.ju().dc();break;case $.ig.GeographicContourLineSeries.prototype.jm:this.jt().valueResolver(this.valueResolver());break;case $.ig.Series.prototype.b6:this.jt().thickness(this.thickness());break;case $.ig.Series.prototype.b8:this.jt().dashArray(this.dashArray());break;case $.ig.Series.prototype.b7:this.jt().dashCap(this.dashCap());break;case $.ig.Series.prototype.b5:this.jt().miterLimit(this.miterLimit());break}},triangulationStatusChanged:null,$type:new $.ig.Type("GeographicContourLineSeries",$.ig.GeographicXYTriangulatingSeries.prototype.$type)},true);$.ig.util.defType("GeographicXYTriangulatingSeriesView","HostSeriesView$1",{init:function(a){$.ig.HostSeriesView$1.prototype.init.call(this,$.ig.XYTriangulatingSeries.prototype.$type,a);this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},cs:function(){$.ig.HostSeriesView$1.prototype.cs.call(this);this.cx().im().xMemberPath(this.cx().longitudeMemberPath());this.cx().im().yMemberPath(this.cx().latitudeMemberPath());this.cx().im().trianglesSource(this.cx().trianglesSource());this.cx().im().triangleVertexMemberPath1(this.cx().triangleVertexMemberPath1());this.cx().im().triangleVertexMemberPath2(this.cx().triangleVertexMemberPath2());this.cx().im().triangleVertexMemberPath3(this.cx().triangleVertexMemberPath3())},c0:function(){if(this.cx().seriesViewer()==null){this.cx().im().xAxis(null);this.cx().im().yAxis(null);return}this.cx().im().xAxis(this.cx().seriesViewer().xAxis());this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c1:function(){this.cx().im().xMemberPath(this.cx().longitudeMemberPath())},c2:function(){this.cx().im().yMemberPath(this.cx().latitudeMemberPath())},c3:function(){this.cx().im().trianglesSource(this.cx().trianglesSource())},c4:function(){this.cx().im().triangleVertexMemberPath1(this.cx().triangleVertexMemberPath1())},c5:function(){this.cx().im().triangleVertexMemberPath2(this.cx().triangleVertexMemberPath2())},c6:function(){this.cx().im().triangleVertexMemberPath3(this.cx().triangleVertexMemberPath3())},$type:new $.ig.Type("GeographicXYTriangulatingSeriesView",$.ig.HostSeriesView$1.prototype.$type.specialize($.ig.XYTriangulatingSeries.prototype.$type))},true);$.ig.util.defType("GeographicContourLineSeriesView","GeographicXYTriangulatingSeriesView",{init:function(a){$.ig.GeographicXYTriangulatingSeriesView.prototype.init.call(this,a);this.c8(a)},_c8:null,c8:function(a){if(arguments.length===1){this._c8=a;return a}else{return this._c8}},cs:function(){$.ig.GeographicXYTriangulatingSeriesView.prototype.cs.call(this);if(this.c8().im()!=null){this.c8().jt().fillScale(this.c8().fillScale());this.c8().jt().valueMemberPath(this.c8().valueMemberPath())}},db:function(){if(this.c8().jt()!=null){this.c8().jt().fillScale(this.c8().fillScale())}},dc:function(){if(this.c8().jt()!=null){this.c8().jt().valueMemberPath(this.c8().valueMemberPath())}},$type:new $.ig.Type("GeographicContourLineSeriesView",$.ig.GeographicXYTriangulatingSeriesView.prototype.$type)},true);$.ig.util.defType("GeographicHighDensityScatterSeries","GeographicMapSeriesHost$1",{init:function(){$.ig.GeographicMapSeriesHost$1.prototype.init.call(this,$.ig.HighDensityScatterSeries.prototype.$type);this.a3($.ig.GeographicHighDensityScatterSeries.prototype.$type)},et:function(){return new $.ig.GeographicHighDensityScatterSeriesView(this)},eq:function(a){$.ig.GeographicMapSeriesHost$1.prototype.eq.call(this,a);this.jk(a)},_jk:null,jk:function(a){if(arguments.length===1){this._jk=a;return a}else{return this._jk}},is:function(){return new $.ig.HighDensityScatterSeries},_jl:null,jl:function(a){if(arguments.length===1){this._jl=a;return a}else{return this._jl}},latitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.latitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.latitudeMemberPathProperty)
}},longitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.longitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.longitudeMemberPathProperty)}},useBruteForce:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.useBruteForceProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.useBruteForceProperty)}},progressiveLoad:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.progressiveLoadProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.progressiveLoadProperty)}},mouseOverEnabled:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.mouseOverEnabledProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.mouseOverEnabledProperty)}},heatMinimum:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumProperty)}},heatMaximum:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumProperty)}},heatMinimumColor:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumColorProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumColorProperty)}},heatMaximumColor:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumColorProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumColorProperty)}},pointExtent:function(a){if(arguments.length===1){this.c($.ig.GeographicHighDensityScatterSeries.prototype.pointExtentProperty,a);return a}else{return this.b($.ig.GeographicHighDensityScatterSeries.prototype.pointExtentProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicMapSeriesHost$1.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.jk().c7();break;case $.ig.GeographicHighDensityScatterSeries.prototype.iz:this.jk().c0();break;case $.ig.GeographicHighDensityScatterSeries.prototype.iy:this.jk().c1();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i0:this.jk().c2();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i1:this.jk().c3();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i2:this.jk().c4();break;case $.ig.XamGeographicMap.prototype.ld:this.jk().c8();break;case $.ig.XamGeographicMap.prototype.le:this.jk().c9();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i3:this.jk().c5();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i4:this.jk().c6();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i5:this.jk().da();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i6:this.jk().db();break;case $.ig.GeographicHighDensityScatterSeries.prototype.i7:this.jk().dc();break}},ei:function(){return true},$type:new $.ig.Type("GeographicHighDensityScatterSeries",$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($.ig.HighDensityScatterSeries.prototype.$type))},true);$.ig.util.defType("GeographicHighDensityScatterSeriesView","HostSeriesView$1",{init:function(a){$.ig.HostSeriesView$1.prototype.init.call(this,$.ig.HighDensityScatterSeries.prototype.$type,a);this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},cs:function(){$.ig.HostSeriesView$1.prototype.cs.call(this);this.cx().im().xMemberPath(this.cx().longitudeMemberPath());this.cx().im().yMemberPath(this.cx().latitudeMemberPath());this.cx().im().useBruteForce(this.cx().useBruteForce());this.cx().im().progressiveLoad(this.cx().progressiveLoad());this.cx().im().mouseOverEnabled(this.cx().mouseOverEnabled());this.cx().im().heatMinimum(this.cx().heatMinimum());this.cx().im().heatMaximum(this.cx().heatMaximum())},c0:function(){this.cx().im().xMemberPath(this.cx().longitudeMemberPath())},c1:function(){this.cx().im().yMemberPath(this.cx().latitudeMemberPath())},c2:function(){this.cx().im().useBruteForce(this.cx().useBruteForce())},c3:function(){this.cx().im().progressiveLoad(this.cx().progressiveLoad())},c4:function(){this.cx().im().mouseOverEnabled(this.cx().mouseOverEnabled())},c5:function(){this.cx().im().heatMinimum(this.cx().heatMinimum())},c6:function(){this.cx().im().heatMaximum(this.cx().heatMaximum())},c7:function(){if(this.cx().seriesViewer()==null){this.cx().im().xAxis(null);this.cx().im().yAxis(null);return}this.cx().im().xAxis(this.cx().seriesViewer().xAxis());this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c8:function(){this.cx().im().xAxis(this.cx().seriesViewer().xAxis())},c9:function(){this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},da:function(){this.cx().im().heatMinimumColor(this.cx().heatMinimumColor())},db:function(){this.cx().im().heatMaximumColor(this.cx().heatMaximumColor())},dc:function(){this.cx().im().pointExtent(this.cx().pointExtent())},$type:new $.ig.Type("GeographicHighDensityScatterSeriesView",$.ig.HostSeriesView$1.prototype.$type.specialize($.ig.HighDensityScatterSeries.prototype.$type))},true);$.ig.util.defType("GeographicShapeSeriesBase","GeographicMapSeriesHost$1",{init:function(){$.ig.GeographicMapSeriesHost$1.prototype.init.call(this,$.ig.ShapeSeriesBase.prototype.$type)},et:function(){return new $.ig.GeographicShapeSeriesBaseView(this)},_i3:null,i3:function(a){if(arguments.length===1){this._i3=a;return a}else{return this._i3}},eq:function(a){$.ig.GeographicMapSeriesHost$1.prototype.eq.call(this,a);this.i3(a)},shapeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeriesBase.prototype.shapeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicShapeSeriesBase.prototype.shapeMemberPathProperty)}},ft:function(a,b,c,d){$.ig.GeographicMapSeriesHost$1.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.i3().c0();break;case"ActualBrush":this.i3().c1();break;case"ActualOutline":this.i3().c2();break;case $.ig.ShapeSeries.prototype.ii:this.i3().c3();break;case $.ig.GeographicShapeSeriesBase.prototype.b6:this.i3().c4();break;case $.ig.GeographicShapeSeriesBase.prototype.iz:this.i3().c5();break}},shapeFilterResolution:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeriesBase.prototype.shapeFilterResolutionProperty,a);return a}else{return this.b($.ig.GeographicShapeSeriesBase.prototype.shapeFilterResolutionProperty)}},ei:function(){return true},$type:new $.ig.Type("GeographicShapeSeriesBase",$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($.ig.ShapeSeriesBase.prototype.$type))},true);$.ig.util.defType("GeographicPolylineSeries","GeographicShapeSeriesBase",{init:function(){$.ig.GeographicShapeSeriesBase.prototype.init.call(this);this.a3($.ig.GeographicPolylineSeries.prototype.$type)},et:function(){return new $.ig.GeographicPolylineSeriesView(this)},eq:function(a){$.ig.GeographicShapeSeriesBase.prototype.eq.call(this,a);this.jc(a)},_jc:null,jc:function(a){if(arguments.length===1){this._jc=a;return a}else{return this._jc}},shapeStyleSelector:function(a){if(arguments.length===1){this.c($.ig.GeographicPolylineSeries.prototype.shapeStyleSelectorProperty,a);return a}else{return this.b($.ig.GeographicPolylineSeries.prototype.shapeStyleSelectorProperty)}},shapeStyle:function(a){if(arguments.length===1){this.c($.ig.GeographicPolylineSeries.prototype.shapeStyleProperty,a);return a}else{return this.b($.ig.GeographicPolylineSeries.prototype.shapeStyleProperty)}},is:function(){return new $.ig.PolylineSeries},ft:function(a,b,c,d){$.ig.GeographicShapeSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.GeographicPolylineSeries.prototype.i7:this.jc().da();break;case $.ig.GeographicPolylineSeries.prototype.i8:this.jc().db();break}},$type:new $.ig.Type("GeographicPolylineSeries",$.ig.GeographicShapeSeriesBase.prototype.$type)},true);$.ig.util.defType("GeographicProportionalSymbolSeries","GeographicMapSeriesHost$1",{init:function(){$.ig.GeographicMapSeriesHost$1.prototype.init.call(this,$.ig.BubbleSeries.prototype.$type);this.a3($.ig.GeographicProportionalSymbolSeries.prototype.$type)},et:function(){return new $.ig.GeographicProportionalSymbolSeriesView(this)},eq:function(a){$.ig.GeographicMapSeriesHost$1.prototype.eq.call(this,a);this.jo(a)},_jo:null,jo:function(a){if(arguments.length===1){this._jo=a;return a}else{return this._jo}},is:function(){return new $.ig.BubbleSeries},_jp:null,jp:function(a){if(arguments.length===1){this._jp=a;return a}else{return this._jp}},latitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.latitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.latitudeMemberPathProperty)}},longitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.longitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.longitudeMemberPathProperty)}},markerType:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.markerTypeProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.markerTemplateProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.markerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.markerOutlineProperty)}},maximumMarkers:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.maximumMarkersProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.maximumMarkersProperty)}},radiusMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.radiusMemberPathProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.radiusMemberPathProperty)}},radiusScale:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.radiusScaleProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.radiusScaleProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.labelMemberPathProperty)}},fillMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.fillMemberPathProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.fillMemberPathProperty)}},fillScale:function(a){if(arguments.length===1){this.c($.ig.GeographicProportionalSymbolSeries.prototype.fillScaleProperty,a);return a}else{return this.b($.ig.GeographicProportionalSymbolSeries.prototype.fillScaleProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicMapSeriesHost$1.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.jo().c7();break;case $.ig.GeographicProportionalSymbolSeries.prototype.iz:this.jo().c0();break;case $.ig.GeographicProportionalSymbolSeries.prototype.iy:this.jo().c1();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i0:this.jo().c2();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i1:this.jo().c3();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i4:this.jo().c4();break;case $.ig.XamGeographicMap.prototype.ld:this.jo().c5();break;case $.ig.XamGeographicMap.prototype.le:this.jo().c6();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i2:this.jo().c8();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i3:this.jo().c9();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i5:this.jo().da();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i6:this.jo().db();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i7:this.jo().dc();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i8:this.jo().de();break;case $.ig.GeographicProportionalSymbolSeries.prototype.i9:this.jo().dd();break}},$type:new $.ig.Type("GeographicProportionalSymbolSeries",$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($.ig.BubbleSeries.prototype.$type))},true);$.ig.util.defType("GeographicScatterAreaSeries","GeographicXYTriangulatingSeries",{init:function(){$.ig.GeographicXYTriangulatingSeries.prototype.init.call(this);this.a3($.ig.GeographicScatterAreaSeries.prototype.$type)},colorMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicScatterAreaSeries.prototype.colorMemberPathProperty,a);return a}else{return this.b($.ig.GeographicScatterAreaSeries.prototype.colorMemberPathProperty)}},jm:null,colorScale:function(a){if(arguments.length===1){var b=this.jm!=a;if(b){var c=this.jm;this.jm=a;this.e6($.ig.GeographicScatterAreaSeries.prototype.jl,c,this.jm);if(this.jr()!=null){this.jr().colorScale(a)}}return a}else{return this.jm}},_jr:null,jr:function(a){if(arguments.length===1){this._jr=a;return a}else{return this._jr}},is:function(){this.jr(new $.ig.ScatterAreaSeries);this.jr().triangulationStatusChanged=$.ig.Delegate.prototype.combine(this.jr().triangulationStatusChanged,this.jv.runOn(this));return this.jr()},jv:function(a,b){if(this.triangulationStatusChanged!=null){this.triangulationStatusChanged(this,b)}},et:function(){return new $.ig.GeographicScatterAreaSeriesView(this)},eq:function(a){$.ig.GeographicXYTriangulatingSeries.prototype.eq.call(this,a);this.js(a)},_js:null,js:function(a){if(arguments.length===1){this._js=a;return a}else{return this._js}},ft:function(a,b,c,d){$.ig.GeographicXYTriangulatingSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.GeographicScatterAreaSeries.prototype.jk:this.js().db();break;case $.ig.GeographicScatterAreaSeries.prototype.jl:this.js().dc();break}},triangulationStatusChanged:null,ei:function(){return true},$type:new $.ig.Type("GeographicScatterAreaSeries",$.ig.GeographicXYTriangulatingSeries.prototype.$type)},true);$.ig.util.defType("GeographicScatterAreaSeriesView","GeographicXYTriangulatingSeriesView",{init:function(a){$.ig.GeographicXYTriangulatingSeriesView.prototype.init.call(this,a);this.c8(a)},_c8:null,c8:function(a){if(arguments.length===1){this._c8=a;return a}else{return this._c8}},cs:function(){$.ig.GeographicXYTriangulatingSeriesView.prototype.cs.call(this);if(this.c8().jr()!=null){this.c8().jr().colorMemberPath(this.c8().colorMemberPath());this.c8().jr().colorScale(this.c8().colorScale())}},db:function(){if(this.c8().jr()!=null){this.c8().jr().colorMemberPath(this.c8().colorMemberPath())}},dc:function(){if(this.c8().jr()!=null){this.c8().jr().colorScale(this.c8().colorScale())}},$type:new $.ig.Type("GeographicScatterAreaSeriesView",$.ig.GeographicXYTriangulatingSeriesView.prototype.$type)},true);$.ig.util.defType("GeographicShapeSeries","GeographicShapeSeriesBase",{init:function(){$.ig.GeographicShapeSeriesBase.prototype.init.call(this);this.a3($.ig.GeographicShapeSeries.prototype.$type)},et:function(){return new $.ig.GeographicShapeSeriesView(this)},_jo:null,jo:function(a){if(arguments.length===1){this._jo=a;return a}else{return this._jo}},eq:function(a){$.ig.GeographicShapeSeriesBase.prototype.eq.call(this,a);this.jo(a)},is:function(){return new $.ig.ShapeSeries},shapeStyleSelector:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.shapeStyleSelectorProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.shapeStyleSelectorProperty)}},shapeStyle:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.shapeStyleProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.shapeStyleProperty)}},markerType:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerTypeProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerTemplateProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerOutlineProperty)}},markerStyle:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerStyleProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerStyleProperty)}},markerCollisionAvoidance:function(a){if(arguments.length===1){this.c($.ig.GeographicShapeSeries.prototype.markerCollisionAvoidanceProperty,a);return a}else{return this.b($.ig.GeographicShapeSeries.prototype.markerCollisionAvoidanceProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicShapeSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.GeographicShapeSeries.prototype.ja:this.jo().da();break;case $.ig.GeographicShapeSeries.prototype.je:this.jo().db();break;case $.ig.GeographicShapeSeries.prototype.i9:this.jo().dc();break;case $.ig.GeographicShapeSeries.prototype.jb:this.jo().dd();break;case $.ig.GeographicShapeSeries.prototype.jc:this.jo().de();break;case $.ig.GeographicShapeSeries.prototype.jd:this.jo().df();break;case $.ig.GeographicShapeSeries.prototype.i7:this.jo().dg();break;case $.ig.GeographicShapeSeries.prototype.i8:this.jo().dh();break}},$type:new $.ig.Type("GeographicShapeSeries",$.ig.GeographicShapeSeriesBase.prototype.$type)},true);$.ig.util.defType("GeographicShapeSeriesView","GeographicShapeSeriesBaseView",{init:function(a){$.ig.GeographicShapeSeriesBaseView.prototype.init.call(this,a);this.c7(a);if(!this.af()){this.c7().shapeMemberPath("points")}},_c7:null,c7:function(a){if(arguments.length===1){this._c7=a;return a}else{return this._c7}},cs:function(){$.ig.GeographicShapeSeriesBaseView.prototype.cs.call(this);this.c7().im().shapeStyle(this.c7().shapeStyle());this.c7().im().shapeStyleSelector(this.c7().shapeStyleSelector());this.c7().im().markerTemplate(this.c7().markerTemplate());this.c7().im().markerCollisionAvoidance(this.c7().markerCollisionAvoidance())},da:function(){this.c7().im().markerTemplate(this.c7().markerTemplate())},db:function(){this.c7().im().markerCollisionAvoidance(this.c7().markerCollisionAvoidance())},dc:function(){this.c7().im().markerType(this.c7().markerType())},dd:function(){this.c7().im().markerBrush(this.c7().markerBrush())},de:function(){this.c7().im().markerOutline(this.c7().markerOutline())},df:function(){this.c7().im().markerStyle(this.c7().markerStyle())},dg:function(){this.c7().im().shapeStyleSelector(this.c7().shapeStyleSelector())},dh:function(){this.c7().im().shapeStyle(this.c7().shapeStyle())},$type:new $.ig.Type("GeographicShapeSeriesView",$.ig.GeographicShapeSeriesBaseView.prototype.$type)},true);$.ig.util.defType("GeographicSymbolSeries","GeographicMapSeriesHost$1",{init:function(){$.ig.GeographicMapSeriesHost$1.prototype.init.call(this,$.ig.ScatterSeries.prototype.$type);this.a3($.ig.GeographicSymbolSeries.prototype.$type)},et:function(){return new $.ig.GeographicSymbolSeriesView(this)},eq:function(a){$.ig.GeographicMapSeriesHost$1.prototype.eq.call(this,a);this.jg(a)},_jg:null,jg:function(a){if(arguments.length===1){this._jg=a;return a}else{return this._jg}},is:function(){return new $.ig.ScatterSeries},_jh:null,jh:function(a){if(arguments.length===1){this._jh=a;return a}else{return this._jh}},latitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.latitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.latitudeMemberPathProperty)}},longitudeMemberPath:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.longitudeMemberPathProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.longitudeMemberPathProperty)}},markerType:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.markerTypeProperty)}},markerCollisionAvoidance:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.markerCollisionAvoidanceProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.markerCollisionAvoidanceProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.markerTemplateProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.markerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.markerOutlineProperty)}},maximumMarkers:function(a){if(arguments.length===1){this.c($.ig.GeographicSymbolSeries.prototype.maximumMarkersProperty,a);return a}else{return this.b($.ig.GeographicSymbolSeries.prototype.maximumMarkersProperty)}},ft:function(a,b,c,d){var $self=this;$.ig.GeographicMapSeriesHost$1.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.Series.prototype.bj:this.jg().c7();break;case $.ig.GeographicSymbolSeries.prototype.iz:this.jg().c0();break;case $.ig.GeographicSymbolSeries.prototype.iy:this.jg().c1();break;case $.ig.GeographicSymbolSeries.prototype.i2:this.jg().c8();break;case $.ig.GeographicSymbolSeries.prototype.i0:this.jg().c2();break;case $.ig.GeographicSymbolSeries.prototype.i1:this.jg().c3();break;case $.ig.GeographicSymbolSeries.prototype.i5:this.jg().c4();break;case $.ig.XamGeographicMap.prototype.ld:this.jg().c5();break;case $.ig.XamGeographicMap.prototype.le:this.jg().c6();break;case $.ig.GeographicSymbolSeries.prototype.i3:this.jg().c9();break;case $.ig.GeographicSymbolSeries.prototype.i4:this.jg().da();break}},$type:new $.ig.Type("GeographicSymbolSeries",$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($.ig.ScatterSeries.prototype.$type))},true);$.ig.util.defType("GeographicSymbolSeriesView","HostSeriesView$1",{init:function(a){$.ig.HostSeriesView$1.prototype.init.call(this,$.ig.ScatterSeries.prototype.$type,a);this.cx(a)},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},cs:function(){$.ig.HostSeriesView$1.prototype.cs.call(this);this.cx().im().xMemberPath(this.cx().longitudeMemberPath());this.cx().im().yMemberPath(this.cx().latitudeMemberPath());this.cx().im().markerType(this.cx().markerType());this.cx().im().markerTemplate(this.cx().markerTemplate())},c0:function(){this.cx().im().xMemberPath(this.cx().longitudeMemberPath())},c1:function(){this.cx().im().yMemberPath(this.cx().latitudeMemberPath())},c2:function(){this.cx().im().markerType(this.cx().markerType())},c3:function(){this.cx().im().markerTemplate(this.cx().markerTemplate())},c4:function(){this.cx().im().maximumMarkers(this.cx().maximumMarkers())},c5:function(){this.cx().im().xAxis(this.cx().seriesViewer().xAxis())},c6:function(){this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c7:function(){if(this.cx().seriesViewer()==null){this.cx().im().xAxis(null);this.cx().im().yAxis(null);return}this.cx().im().xAxis(this.cx().seriesViewer().xAxis());this.cx().im().yAxis(this.cx().seriesViewer().yAxis())},c8:function(){this.cx().im().markerCollisionAvoidance(this.cx().markerCollisionAvoidance())},c9:function(){this.cx().im().markerBrush(this.cx().markerBrush())},da:function(){this.cx().im().markerOutline(this.cx().markerOutline())},$type:new $.ig.Type("GeographicSymbolSeriesView",$.ig.HostSeriesView$1.prototype.$type.specialize($.ig.ScatterSeries.prototype.$type))},true);$.ig.util.defType("GeographicTileSeries","GeographicShapeSeriesBase",{init:function(){this.i9=null;$.ig.GeographicShapeSeriesBase.prototype.init.call(this);this.a3($.ig.GeographicTileSeries.prototype.$type)},tileImagery:function(a){if(arguments.length===1){var b=a!=this.tileImagery();if(b){var c=this.tileImagery();this.i8=a;this.e6($.ig.GeographicTileSeries.prototype.i7,c,a)}return a}else{return this.i8}},i8:null,clearTileCache:function(){if(this.tileImagery()!=null){this.tileImagery().clearTileCache()}},ft:function(a,b,c,d){$.ig.GeographicShapeSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.GeographicTileSeries.prototype.i7:if(this.im()!=null){this.im().tileImagery(this.tileImagery())}break}},i9:null,ir:function(){$.ig.GeographicMapSeriesHost$1.prototype.ir.call(this);this.im().tileImagery(this.tileImagery());if(this.i9!=null){this.i9.imageTilesReady=$.ig.Delegate.prototype.remove(this.i9.imageTilesReady,this.jb.runOn(this))}this.i9=this.im();if(this.i9!=null){this.i9.imageTilesReady=$.ig.Delegate.prototype.combine(this.i9.imageTilesReady,this.jb.runOn(this))}},is:function(){return new $.ig.TileSeries},imageTilesReady:null,jb:function(a,b){if(this.imageTilesReady!=null){this.imageTilesReady(this,new $.ig.EventArgs)}},$type:new $.ig.Type("GeographicTileSeries",$.ig.GeographicShapeSeriesBase.prototype.$type)},true);$.ig.util.defType("XYTriangulatingSeries","Series",{init:function(){$.ig.Series.prototype.init.call(this)},xMemberPath:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.xMemberPathProperty,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.xMemberPathProperty)}},yMemberPath:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.yMemberPathProperty,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.yMemberPathProperty)}},ix:null,jg:function(a){if(arguments.length===1){var b=this.jg()!=a;if(b){var c=this.jg();this.ix=a;this.e6($.ig.XYTriangulatingSeries.prototype.ik,c,this.jg())}return a}else{return this.ix}},iy:null,jh:function(a){if(arguments.length===1){var b=this.jh()!=a;if(b){var c=this.jh();this.iy=a;this.e6($.ig.XYTriangulatingSeries.prototype.il,c,this.jh())}return a}else{return this.iy}},xAxis:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.xAxisProperty,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.yAxisProperty,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.yAxisProperty)}},_ji:null,ji:function(a){if(arguments.length===1){this._ji=a;return a}else{return this._ji}},fb:function(a){var b=this.eb()!=null&&this.jk()==null&&this.jj()==null&&this.jg()!=null&&this.jh()!=null&&this.jg().count()>=3&&this.jh().count()>=3&&!this.ji();if(b){this.ju();this.ji(true)}},ju:function(){this.iz=new $.ig.Triangulator(this.eb().g(),this.jg(),this.jh());this.iz.triangulationStatusChanged=$.ig.Delegate.prototype.combine(this.iz.triangulationStatusChanged,this.jw.runOn(this));this.iz.m()},jv:function(){if(this.iz==null){return}this.iz.v();this.iz.triangulationStatusChanged=$.ig.Delegate.prototype.remove(this.iz.triangulationStatusChanged,this.jw.runOn(this));this.iz=null},iz:null,triangulationStatusChanged:null,jw:function(a,b){var $self=this;if(this.triangulationStatusChanged!=null){this.triangulationStatusChanged(this,new $.ig.TriangulationStatusEventArgs(b.currentStatus()))}if(b.currentStatus()>=100){if(this.iz==null){return}this.iz.triangulationStatusChanged=$.ig.Delegate.prototype.remove(this.iz.triangulationStatusChanged,this.jw.runOn(this));this.jj(this.iz.r());this.iz=null;var c=function(){var $ret=new $.ig.FastItemsSource;$ret.f($self.jj());return $ret}();this.jl(this.jx(c,"v1"));this.jm(this.jx(c,"v2"));this.jn(this.jx(c,"v3"));this.renderSeries(false)}},jx:function(a,b){if(b==null){return a.aa(null,null)}var c=null;var d=$.ig.SeriesViewer.prototype.getCoercionMethod(b,this.coercionMethods());b=d.c();c=d.d();return a.aa(b,c)},ft:function(a,b,c,d){var $self=this;$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.XYTriangulatingSeries.prototype.bl:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(e!=null){e.ac(this.jg());e.ac(this.jh());this.jg(null);this.jh(null)}this.jy();var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(f!=null){this.jg(this.hk(this.xMemberPath()));this.jh(this.hk(this.yMemberPath()))}this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.ii:if(this.eb()!=null){this.eb().ac(this.jg());this.jg(this.hk(this.xMemberPath()))}this.jy();this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.ij:if(this.eb()!=null){this.eb().ac(this.jh());this.jh(this.hk(this.yMemberPath()))}this.jy();this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.im:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.xAxis()!=null&&!this.xAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case $.ig.XYTriangulatingSeries.prototype.io:if(c!=null){$.ig.util.cast($.ig.Axis.prototype.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($.ig.Axis.prototype.$type,d).registerSeries(this)}if(this.yAxis()!=null&&!this.yAxis().updateRange()||d==null&&c!=null){this.renderSeries(false)}break;case $.ig.XYTriangulatingSeries.prototype.ip:if(this.trianglesSource()!=null){this.jv();this.jk(function(){var $ret=new $.ig.FastItemsSource;$ret.f($self.trianglesSource());return $ret}())}else{this.jk(null)}break;case $.ig.XYTriangulatingSeries.prototype.iq:var g=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(g!=null){g.ac(this.jl());g.ac(this.jm());g.ac(this.jn());this.jl(null);this.jm(null);this.jn(null)}var h=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(h!=null){this.jl(this.jx(h,this.triangleVertexMemberPath1()));this.jm(this.jx(h,this.triangleVertexMemberPath2()));this.jn(this.jx(h,this.triangleVertexMemberPath3()))}this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.ir:if(this.jk()!=null){this.jk().ac(this.jl());this.jl(this.jx(this.jk(),this.triangleVertexMemberPath1()))}this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.is:if(this.jk()!=null){this.jk().ac(this.jm());this.jm(this.jx(this.jk(),this.triangleVertexMemberPath2()))}this.renderSeries(false);break;case $.ig.XYTriangulatingSeries.prototype.it:if(this.jk()!=null){this.jk().ac(this.jn());this.jn(this.jx(this.jk(),this.triangleVertexMemberPath3()))}this.renderSeries(false);break}},ff:function(a,b,c){return $.ig.Series.prototype.ff.call(this,a,b,c)&&this.eb()!=null&&this.xAxis()!=null&&this.yAxis()!=null&&a.width()>0&&a.height()>0&&this.jl()!=null&&this.jl().count()>0&&this.jm()!=null&&this.jm().count()>0&&this.jn()!=null&&this.jn().count()>0&&this.jg()!=null&&this.jg().count()>0&&this.jh()!=null&&this.jh().count()>0},jy:function(){if(this.trianglesSource()==null){this.jj(null);this.jl(null);
this.jm(null);this.jn(null);this.ji(false)}},_jj:null,jj:function(a){if(arguments.length===1){this._jj=a;return a}else{return this._jj}},gi:function(){$.ig.Series.prototype.gi.call(this);if(this.xAxis()!=null){this.xAxis().renderAxis()}if(this.yAxis()!=null){this.yAxis().renderAxis()}},fz:function(a,b,c,d){$.ig.Series.prototype.fz.call(this,a,b,c,d);this.jy();this.renderSeries(false)},e9:function(a){if(a!=null&&a==this.xAxis()&&this.jg()!=null){return new $.ig.AxisRange(this.jg().minimum(),this.jg().maximum())}if(a!=null&&a==this.yAxis()&&this.jh()!=null){return new $.ig.AxisRange(this.jh().minimum(),this.jh().maximum())}return null},fk:function(a,b){this.renderSeries(false)},fl:function(a,b){this.renderSeries(false)},trianglesSource:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.trianglesSourceProperty,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.trianglesSourceProperty)}},jk:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.i1,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.i1)}},triangleVertexMemberPath1:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath1Property,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath1Property)}},triangleVertexMemberPath2:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath2Property,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath2Property)}},triangleVertexMemberPath3:function(a){if(arguments.length===1){this.c($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath3Property,a);return a}else{return this.b($.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath3Property)}},i2:null,jl:function(a){if(arguments.length===1){var b=this.jl()!=a;if(b){var c=this.jl();this.i2=a;this.e6($.ig.XYTriangulatingSeries.prototype.iu,c,this.jl())}return a}else{return this.i2}},i3:null,jm:function(a){if(arguments.length===1){var b=this.jm()!=a;if(b){var c=this.jm();this.i3=a;this.e6($.ig.XYTriangulatingSeries.prototype.iv,c,this.jm())}return a}else{return this.i3}},i4:null,jn:function(a){if(arguments.length===1){var b=this.jn()!=a;if(b){var c=this.jn();this.i4=a;this.e6($.ig.XYTriangulatingSeries.prototype.iw,c,this.jn())}return a}else{return this.i4}},$type:new $.ig.Type("XYTriangulatingSeries",$.ig.Series.prototype.$type)},true);$.ig.util.defType("ContourLineSeries","XYTriangulatingSeries",{init:function(){$.ig.XYTriangulatingSeries.prototype.init.call(this);this.a3($.ig.ContourLineSeries.prototype.$type);this.valueResolver(new $.ig.LinearContourValueResolver)},_kr:null,kr:function(a){if(arguments.length===1){this._kr=a;return a}else{return this._kr}},et:function(){this.kr(new $.ig.ContourLineSeriesView(this));return this.kr()},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.ContourLineSeries.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.ContourLineSeries.prototype.valueMemberPathProperty)}},km:null,ks:function(a){if(arguments.length===1){var b=this.ks()!=a;if(b){var c=this.ks();this.km=a;this.e6($.ig.ContourLineSeries.prototype.kj,c,this.ks())}return a}else{return this.km}},ft:function(a,b,c,d){$.ig.XYTriangulatingSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ContourLineSeries.prototype.bl:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(e!=null){e.ac(this.ks());this.ks(null)}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(f!=null){this.ks(this.hk(this.valueMemberPath()))}this.renderSeries(false);break;case $.ig.ContourLineSeries.prototype.ki:if(this.eb()!=null){this.eb().ac(this.ks());this.ks(this.hk(this.valueMemberPath()))}this.renderSeries(false);break;case $.ig.ContourLineSeries.prototype.kl:this.renderSeries(false);break;case $.ig.ContourLineSeries.prototype.kk:var g=c;var h=d;if(g!=null){g.unregisterSeries(this)}if(h!=null){h.registerSeries(this)}this.renderSeries(false);break;case $.ig.ContourLineSeries.prototype.b1:this.renderSeries(false);break}},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);if(a){b.c9(a)}},fb:function(a){var $self=this;$.ig.XYTriangulatingSeries.prototype.fb.call(this,a);if(this.fi(this.view())){return}var b;var c;(function(){var $ret=$self.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();var d=new $.ig.ScalerParams(b,c,this.xAxis().isInverted());d.c=this.seriesViewer().effectiveViewport();var e=new $.ig.ScalerParams(b,c,this.yAxis().isInverted());e.c=this.seriesViewer().effectiveViewport();var f=this.xAxis();var g=this.yAxis();var h=this.jl().count();var i;var xArr_=this.jg().asArray();i=xArr_.slice(0);var j;var yArr_=this.jh().asArray();j=yArr_.slice(0);var k=this.ks().asArray();var l=this.jl().asArray();var m=this.jm().asArray();var n=this.jn().asArray();var o=this.valueResolver().f(this.ks());var p=new $.ig.List$1(Number,1,o).x();f.getScaledValueList(i,0,i.length,d);g.getScaledValueList(j,0,j.length,e);var q=p.length;var r=new Array(q);for(var s=0;s<q;++s){r[s]=new $.ig.ContourBuilder}var t=this.em().top();var u=this.em().left();var v=this.em().right();var w=this.em().bottom();var x;var y;var z;var aa;var ab=i.length;for(var ac=0;ac<h;ac++){var ad=l[ac];var ae=m[ac];var af=n[ac];if(ad>=ab||ae>=ab||af>=ab||ad<0||ae<0||af<0){continue}var ag=i[ad];var ah=j[ad];var ai={__x:ag,__y:ah,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var aj=i[ae];var ak=j[ae];var al={__x:aj,__y:ak,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var am=i[af];var an=j[af];var ao={__x:am,__y:an,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};x=al.__y<ao.__y?al.__y:ao.__y;x=ai.__y<x?ai.__y:x;y=al.__y>ao.__y?al.__y:ao.__y;y=ai.__y>y?ai.__y:y;z=al.__x<ao.__x?al.__x:ao.__x;z=ai.__x<z?ai.__x:z;aa=al.__x>ao.__x?al.__x:ao.__x;aa=ai.__x>aa?ai.__x:aa;if(x<w&&y>t&&z<v&&aa>u){var ap=k[ad];var aq=k[ae];var ar=k[af];if(isNaN(ap)||isNaN(aq)||isNaN(ar)){continue}for(var as=0;as<q;as++){var at=p[as];var au=r[as];switch((ap<at?1:0)|(aq<at?2:0)|(ar<at?4:0)){case 0:break;case 1:au.e(au.n(ad,ai.__x,ai.__y,ap,ae,al.__x,al.__y,aq,at),au.n(af,ao.__x,ao.__y,ar,ad,ai.__x,ai.__y,ap,at));break;case 2:au.e(au.n(ae,al.__x,al.__y,aq,af,ao.__x,ao.__y,ar,at),au.n(ad,ai.__x,ai.__y,ap,ae,al.__x,al.__y,aq,at));break;case 3:au.e(au.n(ae,al.__x,al.__y,aq,af,ao.__x,ao.__y,ar,at),au.n(af,ao.__x,ao.__y,ar,ad,ai.__x,ai.__y,ap,at));break;case 4:au.e(au.n(af,ao.__x,ao.__y,ar,ad,ai.__x,ai.__y,ap,at),au.n(ae,al.__x,al.__y,aq,af,ao.__x,ao.__y,ar,at));break;case 5:au.e(au.n(ad,ai.__x,ai.__y,ap,ae,al.__x,al.__y,aq,at),au.n(ae,al.__x,al.__y,aq,af,ao.__x,ao.__y,ar,at));break;case 6:au.e(au.n(af,ao.__x,ao.__y,ar,ad,ai.__x,ai.__y,ap,at),au.n(ad,ai.__x,ai.__y,ap,ae,al.__x,al.__y,aq,at));break;case 7:break}}}}var av=new $.ig.Clipper(0,c.inflate11(2),false);var aw=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type)),0);for(var ax=0;ax<q;++ax){var ay=r[ax];var az=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);var a0=ay.d();for(var a1=0;a1<a0.count();a1++){var a2=a0.__inner[a1];var a3=new $.ig.List$1($.ig.Point.prototype.$type,0);av.h(a3);var a5=a2.getEnumerator();while(a5.moveNext()){var a4=a5.current();av.l({__x:ay.j().item(a4),__y:ay.k().item(a4),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}av.h(null);az.add(a3)}aw.add(az)}this.kr().c8(aw,p)},fillScale:function(a){if(arguments.length===1){this.c($.ig.ContourLineSeries.prototype.fillScaleProperty,a);return a}else{return this.b($.ig.ContourLineSeries.prototype.fillScaleProperty)}},kn:null,valueResolver:function(a){if(arguments.length===1){var b=a!=this.valueResolver();if(b){if(this.kn!=null){this.kn.updated=$.ig.Delegate.prototype.remove(this.kn.updated,this.kx.runOn(this))}var c=this.kn;this.kn=a;if(this.kn!=null){this.kn.updated=$.ig.Delegate.prototype.combine(this.kn.updated,this.kx.runOn(this))}this.e6($.ig.ContourLineSeries.prototype.kl,c,a);this.renderSeries(false)}return a}else{return this.kn}},kx:function(a,b){this.renderSeries(false)},ff:function(a,b,c){return $.ig.XYTriangulatingSeries.prototype.ff.call(this,a,b,c)&&this.valueResolver()!=null&&this.jg()!=null&&this.jh()!=null&&this.jl()!=null&&this.jm()!=null&&this.jn()!=null&&this.jg().count()>0&&this.jh().count()>0&&this.jl().count()>0&&this.jm().count()>0&&this.jn().count()>0},$type:new $.ig.Type("ContourLineSeries",$.ig.XYTriangulatingSeries.prototype.$type)},true);$.ig.util.defType("PolylineBuilder","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.List$1.prototype.$type.specialize($.ig.Number.prototype.$type),0);this.b=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.List$1.prototype.$type.specialize($.ig.Number.prototype.$type),0)},c:function(){this.a.clear();this.b.clear()},d:function(){var a=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Number.prototype.$type),0);var c=this.a.values().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b)}return a},e:function(a,b){var $self=this;var c=null;var d=null;(function(){var $ret=$self.b.tryGetValue(a,c);c=$ret.value;return $ret.ret})();(function(){var $ret=$self.a.tryGetValue(b,d);d=$ret.value;return $ret.ret})();if(c==null&&d==null){var e=new $.ig.List$1($.ig.Number.prototype.$type,0);e.add(a);e.add(b);this.a.add(a,e);this.b.add(b,e)}if(c==null&&d!=null){this.a.remove(b);d.insert(0,a);this.a.add(a,d)}if(c!=null&&d==null){this.b.remove(a);c.add(b);this.b.add(b,c)}if(c!=null&&d!=null){if(c==d){c.add(b);this.b.remove(a)}else{this.a.remove(d.__inner[0]);this.b.remove(d.__inner[d.count()-1]);this.b.remove(c.__inner[c.count()-1]);c.w(d);this.b.add(c.__inner[c.count()-1],c)}}},a:null,b:null,$type:new $.ig.Type("PolylineBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ContourBuilder","PolylineBuilder",{init:function(){$.ig.PolylineBuilder.prototype.init.call(this);this.g=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);this.h=new $.ig.List$1($.ig.Single.prototype.$type,0);this.i=new $.ig.List$1($.ig.Single.prototype.$type,0)},c:function(){$.ig.PolylineBuilder.prototype.c.call(this);this.g.c();this.h.c();this.i.c()},j:function(){return this.h},k:function(){return this.i},n:function(a,b,c,d,e,f,g,h,i){var $self=this;var j=Math.min(a,e)+$.ig.ContourBuilder.prototype.f*Math.max(a,e);var k=-1;if(!function(){var $ret=$self.g.tryGetValue(j,k);k=$ret.value;return $ret.ret}()){k=this.h.count();var l=(i-d)/(h-d);this.g.add(j,k);this.h.add(b+l*(f-b));this.i.add(c+l*(g-c))}return k},g:null,h:null,i:null,$type:new $.ig.Type("ContourBuilder",$.ig.PolylineBuilder.prototype.$type)},true);$.ig.util.defType("ContourLineSeriesView","SeriesView",{_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},_cw:null,cw:function(a){if(arguments.length===1){this._cw=a;return a}else{return this._cw}},init:function(a){var $self=this;this.cp=new $.ig.List$1($.ig.Brush.prototype.$type,0);this.cq=null;$.ig.SeriesView.prototype.init.call(this,a);this.cx(new $.ig.List$1($.ig.Path.prototype.$type,0));this.cw(a);this.cv(function(){var $ret=new $.ig.Pool$1($.ig.Path.prototype.$type);$ret.create($self.c4.runOn($self));$ret.destroy($self.c7.runOn($self));$ret.activate($self.c5.runOn($self));$ret.disactivate($self.c6.runOn($self));return $ret}())},_cx:null,cx:function(a){if(arguments.length===1){this._cx=a;return a}else{return this._cx}},c4:function(){var $self=this;var a=new $.ig.Path;a.dataContext(function(){var $ret=new $.ig.DataContext;$ret.series($self.w());return $ret}());this.cx().add(a);return a},c5:function(a){a.__visibility=$.ig.Visibility.prototype.visible},c6:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},c7:function(a){this.cx().remove(a)},cp:null,cq:null,c8:function(a,b){var $self=this;var c=0;this.cq=b;this.cp.clear();for(var d=0;d<b.length;d++){var e=b[d];var f=a.__inner[c];var g=new $.ig.PathGeometry;for(var h=0;h<f.count();h++){var i=f.__inner[h];if(i.count()==0){continue}var j=i.toPointCollection();var k=function(){var $ret=new $.ig.PathFigure;$ret.__isClosed=false;$ret.__isFilled=false;$ret.__startPoint=j.__inner[0];return $ret}();k.__segments.add(function(){var $ret=new $.ig.PolyLineSegment;$ret.__points=j;return $ret}());g.d().add(k)}this.cv().item(c).bn(g);if(this.cv().item(c).dataContext()!=null){this.cv().item(c).dataContext().item(e)}if(this.cw().fillScale()!=null){var l=this.cw().fillScale().getBrushByValue(e,this.cw().ks());if(l==null){l=this.w().actualBrush()}this.cp.add(l)}else{this.cp.add(this.w().actualBrush())}c++}this.cv().g(c);this.ar()},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__stroke=this.cp.__inner[b];c.a5(this.w().thickness());if(c.z()!=null){this.ab().ab(c,c.z())}},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__stroke=d;c.a5(this.w().thickness()+$.ig.ShapeSeriesViewBase.prototype.co)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);for(var c=0;c<this.cx().count();c++){var d=this.cx().__inner[c];if(d.__visibility!=$.ig.Visibility.prototype.collapsed){this.at(d,c,b);a.g(d)}}},c9:function(a){this.cv().g(0)},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.List$1($.ig.Tuple$2.prototype.$type.specialize(Number,$.ig.Path.prototype.$type),0);if(this.cq!=null){for(var c=0;c<this.cv().g();c++){b.add(new $.ig.Tuple$2(Number,$.ig.Path.prototype.$type,this.cq[c],this.cv().item(c)))}}b.t(function(d,e){if(d.c()<e.c()){return-1}else if(d.c()>e.c()){return 1}return 0});for(var f=0;f<b.count();f++){if(b.__inner[f].d().__visibility!=$.ig.Visibility.prototype.collapsed){var g=new $.ig.PathVisualData(1,"contour"+f,b.__inner[f].d());g.tags().add("Main");a.shapes().add(g)}}},$type:new $.ig.Type("ContourLineSeriesView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("ContourValueResolver","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},f:function(a){},g:function(a,b,c){if(this.updated!=null){this.updated(this,$.ig.EventArgs.prototype.empty)}},updated:null,$type:new $.ig.Type("ContourValueResolver",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("LinearContourValueResolver","ContourValueResolver",{init:function(){$.ig.ContourValueResolver.prototype.init.call(this)},m:function(a){if(arguments.length===1){this.c($.ig.LinearContourValueResolver.prototype.k,a);return a}else{return this.b($.ig.LinearContourValueResolver.prototype.k)}},f:function(a){var $self=this;var $iter=function(){return function(a){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=0;this.$state=5;break;case 2:this.$current=a.minimum()+(a.maximum()-a.minimum())*(this.$b+1)/(this.$this.m()+1);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$b++;this.$state=5;break;case 5:if(this.$b<this.$this.m()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("LinearContourValueResolver",$.ig.ContourValueResolver.prototype.$type)},true);$.ig.util.defType("ShapeSeriesBase","Series",{init:function(){this.is=null;this.it=null;this.iv=null;this.iw=null;this.ix=null;this.iy=null;$.ig.Series.prototype.init.call(this);this.ji(this.shapeFilterResolution());this.je(new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.FlattenedShape.prototype.$type,0));this.i0=$.ig.Rect.prototype.empty()},shapeMemberPath:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.shapeMemberPathProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.shapeMemberPathProperty)}},ir:null,jb:function(a){if(arguments.length===1){var b=this.jb()!=a;if(b){var c=this.jb();this.ir=a;this.e6($.ig.ShapeSeriesBase.prototype.ij,c,this.jb())}return a}else{return this.ir}},xAxis:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.xAxisProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.yAxisProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.yAxisProperty)}},jl:function(array_){var a=$.isArray(array_);return a},convertToListList:function(a){var b=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);var c;var curr_;var d;var e;for(var f=0;f<a.length;f++){c=a[f];var g=new $.ig.List$1($.ig.Point.prototype.$type,0);for(var h=0;h<c.length;h++){curr_=c[h];d=curr_.x;e=curr_.y;g.add({__x:d,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}b.add(g)}return b},hm:function(a){if(this.eb()!=null&&this.jl(this.itemsSource())&&a!=null&&a.split("!").length!=2){if(this.coercionMethods()==null){this.coercionMethods({})}var methods_=this.coercionMethods();methods_.convertToListList=this.convertToListList;a+="!convertToListList"}return $.ig.Series.prototype.hm.call(this,a)},ft:function(a,b,c,d){var $self=this;$.ig.Series.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ShapeSeriesBase.prototype.bl:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(e!=null){e.ac(this.jb());e.ac(this.jf());this.jb(null);this.jf(null)}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(f!=null){this.jb(this.hm(this.shapeMemberPath()));this.jf(this.hk(this.fillMemberPath()))}this.renderSeries(false);break;case $.ig.ShapeSeriesBase.prototype.ii:if(this.eb()!=null){this.eb().ac(this.jb());this.jb(this.hm(this.shapeMemberPath()))}break;case $.ig.ShapeSeriesBase.prototype.ij:this.jo();break;case $.ig.ShapeSeriesBase.prototype.io:if(this.eb()!=null){this.eb().ac(this.jf());this.jf(this.hk(this.fillMemberPath()))}break;case $.ig.ShapeSeriesBase.prototype.ik:case $.ig.ShapeSeriesBase.prototype.il:this.is=this.xAxis();this.it=this.yAxis();var g=c;var h=d;this.j4(g);this.j3(h);if(h!=null&&!h.updateRange()||h==null&&g!=null){this.renderSeries(false)}break;case $.ig.ShapeSeries.prototype.ko:this.renderSeries(false);break;case $.ig.ShapeSeriesBase.prototype.by:this.iu=this.resolution();break;case $.ig.Series.prototype.b1:this.renderSeries(false);break;case $.ig.ShapeSeriesBase.prototype.iq:this.ji(this.shapeFilterResolution());this.renderSeries(false);break}},is:null,it:null,iu:null,_jc:null,jc:function(a){if(arguments.length===1){this._jc=a;return a}else{return this._jc}},jo:function(){this.jc(null);if(this.jb()==null){return}this.jc(new $.ig.List$1($.ig.Rect.prototype.$type,2,this.jb().count()));for(var a=0;a<this.jb().count();a++){if($.ig.util.cast($.ig.IEnumerable$1.prototype.$type.specialize($.ig.IEnumerable$1.prototype.$type.specialize($.ig.Point.prototype.$type)),this.jb().item(a))!==null){this.jc().add(this.jb().item(a).getBounds11())}else if($.ig.util.cast($.ig.IEnumerable$1.prototype.$type.specialize($.ig.Point.prototype.$type),this.jb().item(a))!==null){var b=this.jb().item(a);this.jc().add(b.getBounds())}}},jp:function(a,b,c,d){var e=b;return this.jz(a,e,c,d)},iv:null,iw:null,ix:null,iy:null,jd:function(){return true},_je:null,je:function(a){if(arguments.length===1){this._je=a;return a}else{return this._je}},jt:function(){return false},fb:function(a){var $self=this;if(this.fi(this.view())){return}var b;var c;(function(){var $ret=$self.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();if(c.width()<1||c.height()<1||this.jb()==null){return}var d=this.xAxis();var e=this.yAxis();var f=this.seriesViewer().effectiveViewport();var g=new $.ig.ScalerParams(b,c,d.isInverted());g.c=f;var h=new $.ig.ScalerParams(b,c,e.isInverted());h.c=f;this.jh().dn(c.width(),c.height());this.jh().dj();var i=new $.ig.Rect(0,0,0,0,0);var j;var k;var l;var m;var n=this.jb().count();if(this.iw==null||this.iw.length!=n){this.iw=new Array(n);this.iv=new Array(n);this.ix=new Array(n);this.iy=new Array(n)}var o=this.iw;var p=this.iv;var q=this.ix;var r=this.iy;var s;for(var t=0;t<n;t++){s=this.jc().__inner[t];o[t]=s.top();p[t]=s.left();q[t]=s.right();r[t]=s.bottom()}this.is.getScaledValueList(p,0,p.length,g);this.is.getScaledValueList(q,0,q.length,g);this.it.getScaledValueList(o,0,o.length,h);this.it.getScaledValueList(r,0,r.length,h);this.jh().d2(p,o,q,r);var u=this.jb();var v=this.eb();this.j2();var w=c.left();var x=c.right();var y=c.top();var z=c.bottom();var aa=null;if(this.i0.isEmpty()){aa=null}else{aa=new $.ig.Clipper(1,this.i0.left(),this.i0.bottom(),this.i0.right(),this.i0.top(),this.jd())}var ab=this.jt();if(ab){this.je().clear()}var ac;for(var ad=0;ad<n;ad++){l=p[ad];j=o[ad];k=r[ad];m=q[ad];i.x(Math.min(l,m));i.y(Math.min(j,k));i.width(Math.max(l,m)-i.x());i.height(Math.max(j,k)-i.y());if(i.intersectsWith(c)){if(i.x()<w||i.y()<y||i.x()>x||i.y()>z){ac=aa}else{ac=null}var ae=this.jp(ac,u.item(ad),g,h);if(ab){var af=0;var ag=null;for(var ah=0;ah<ae.count();ah++){var ai=ae.__inner[ah];var aj=ai.e().width()*ai.e().height();if(aj>af){af=aj;ag=ai}}this.je().add(ad,ag)}this.jh().da(ad,v.item(ad),i,ae)}}this.jh().dk()},gi:function(){$.ig.Series.prototype.gi.call(this);if(this.xAxis()!=null){this.xAxis().renderAxis()}if(this.yAxis()!=null){this.yAxis().renderAxis()}},fk:function(a,b){this.renderSeries(false)},fl:function(a,b){this.renderSeries(false)},fillScale:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.fillScaleProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.fillScaleProperty)}},fillMemberPath:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.fillMemberPathProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.fillMemberPathProperty)}},iz:null,jf:function(a){if(arguments.length===1){var b=this.jf()!=a;if(b){var c=this.jf();this.iz=a;this.e6($.ig.ShapeSeriesBase.prototype.ip,c,this.jf())}return a}else{return this.iz}},fz:function(a,b,c,d){$.ig.Series.prototype.fz.call(this,a,b,c,d);switch(a){case $.ig.FastItemsSourceEventAction.prototype.change:if(d==this.shapeMemberPath()){this.jc().__inner[b]=this.jb().item(b).getBounds3()}break;case $.ig.FastItemsSourceEventAction.prototype.insert:for(var e=b;e<b+c;e++){this.jc().insert(e,this.jb().item(e).getBounds3())}break;case $.ig.FastItemsSourceEventAction.prototype.remove:this.jc().q(b,c);break;case $.ig.FastItemsSourceEventAction.prototype.replace:for(var f=b;f<b+c;f++){this.jc().__inner[f]=this.jb().item(f).getBounds3()}break;case $.ig.FastItemsSourceEventAction.prototype.reset:this.jo();break}this.renderSeries(false)},ff:function(a,b,c){return $.ig.Series.prototype.ff.call(this,a,b,c)&&(this.jb()!=null||!this.jg())&&this.xAxis()!=null&&this.yAxis()!=null&&this.jc()!=null&&this.jc().count()==this.jb().count()&&a.width()>0&&a.height()>0},jg:function(){return true},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.jh($.ig.util.cast($.ig.ShapeSeriesViewBase.prototype.$type,a))},_jh:null,jh:function(a){if(arguments.length===1){this._jh=a;return a}else{return this._jh}},jz:function(a,b,c,d){var e=new $.ig.List$1($.ig.FlattenedShape.prototype.$type,0);var f;var g=b.count();for(var h=0;h<g;h++){f=b.__inner[h];var i=this.j0(a,f,c,d);if(i==null){continue}e.add(i)}return e},j0:function(a,b,c,d){var e=this.j1(b,c,d);var f=e.c();var g=e.d();var h=f.length;var i=Number.MAX_VALUE;var j=Number.MAX_VALUE;var k=-Number.MAX_VALUE;var l=-Number.MAX_VALUE;var m;var n;for(var o=0;o<h;o++){m=f[o];n=g[o];i=m<i?m:i;j=n<j?n:j;k=m>k?m:k;l=n>l?n:l}var p=!(i>this.i0.right()||k<this.i0.left()||j>this.i0.bottom()||l<this.i0.top());if(!p){return null}var q=a!=null&&(i<this.i0.left()||j<this.i0.top()||k>this.i0.right()||l>this.i0.bottom());var r=new $.ig.Rect(0,i,j,k-i,l-j);if(!this.jh().c6(r)){return null}i=i<this.i0.left()?this.i0.left():i;k=k>this.i0.right()?this.i0.right():k;j=j<this.i0.top()?this.i0.top():j;l=l>this.i0.bottom()?this.i0.bottom():l;var s=$.ig.PolySimplification.prototype.a(e,this.resolution());var t=(new $.ig.DefaultFlattener).d(e.c(),e.d(),s,this.iu);var u=t.count();if(q){var v=new $.ig.List$1($.ig.Point.prototype.$type,0);a.h(v);for(var w=0;w<u;w++){a.l(t.__inner[w])}a.h(null);t=v}var x=new $.ig.FlattenedShape;x.d(t);x.e(new $.ig.Rect(0,i,j,k-i,l-j));x.f(r);return x},j1:function(a,b,c){var d=this.is;var e=this.it;var f=a.count();var g=new Array(f);var h=new Array(f);for(var i=0;i<f;i++){g[i]=a.__inner[i].__x;h[i]=a.__inner[i].__y}d.getScaledValueList(g,0,g.length,b);e.getScaledValueList(h,0,h.length,c);return new $.ig.Tuple$2($.ig.Array.prototype.$type,$.ig.Array.prototype.$type,g,h)},i0:null,j2:function(){this.jh().d3()},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;c.dp()},j3:function(a){if(a!=null){a.registerSeries(this)}},j4:function(a){if(a!=null){a.deregisterSeries(this)}},getHitDataContext:function(a){var b=this.jh().d1(a);var c=null;if(b!=null){c=b.dataContext()}if(c!=null){return c}return $.ig.Series.prototype.getHitDataContext.call(this,a)},j5:function(a){return this.eb().item(a)},ei:function(){return true},shapeFilterResolution:function(a){if(arguments.length===1){this.c($.ig.ShapeSeriesBase.prototype.shapeFilterResolutionProperty,a);return a}else{return this.b($.ig.ShapeSeriesBase.prototype.shapeFilterResolutionProperty)}},_ji:null,ji:function(a){if(arguments.length===1){this._ji=a;return a}else{return this._ji}},$type:new $.ig.Type("ShapeSeriesBase",$.ig.Series.prototype.$type)},true);$.ig.util.defType("PolylineSeries","ShapeSeriesBase",{init:function(){$.ig.ShapeSeriesBase.prototype.init.call(this);this.a3($.ig.PolylineSeries.prototype.$type)},et:function(){return new $.ig.PolylineSeriesView(this)},eq:function(a){$.ig.ShapeSeriesBase.prototype.eq.call(this,a);this.kj(a)},_kj:null,kj:function(a){if(arguments.length===1){this._kj=a;return a}else{return this._kj}},jd:function(){return false},shapeStyleSelector:function(a){if(arguments.length===1){this.c($.ig.PolylineSeries.prototype.shapeStyleSelectorProperty,a);return a}else{return this.b($.ig.PolylineSeries.prototype.shapeStyleSelectorProperty)}},shapeStyle:function(a){if(arguments.length===1){this.c($.ig.PolylineSeries.prototype.shapeStyleProperty,a);return a}else{return this.b($.ig.PolylineSeries.prototype.shapeStyleProperty)}},ft:function(a,b,c,d){$.ig.ShapeSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.PolylineSeries.prototype.kf:this.kj().d0(this.shapeStyle());this.renderSeries(false);break;case $.ig.PolylineSeries.prototype.ke:this.kj().dz(this.shapeStyleSelector());this.renderSeries(false);break}},$type:new $.ig.Type("PolylineSeries",$.ig.ShapeSeriesBase.prototype.$type)},true);$.ig.util.defType("ShapeSeriesViewBase","SeriesView",{init:function(a){this.cp=new $.ig.List$1($.ig.ShapeHitRegion.prototype.$type,0);this.cq=null;this.cr=null;$.ig.SeriesView.prototype.init.call(this,a);this.c1(a);this.c4(this.c5());this.c3(new $.ig.List$1($.ig.Path.prototype.$type,0))},c5:function(){var $self=this;return function(){var $ret=new $.ig.Pool$1($.ig.FrameworkElement.prototype.$type);$ret.create($self.ds.runOn($self));$ret.activate($self.dt.runOn($self));$ret.disactivate($self.du.runOn($self));$ret.destroy($self.dv.runOn($self));return $ret}()},c6:function(a){return a.width()>=this.c1().ji()&&a.height()>=this.c1().ji()},c7:function(a){var b=new $.ig.List$1($.ig.PointCollection.prototype.$type,0);var c;var d=a.count();for(var e=0;e<d;e++){c=a.__inner[e];var f=new $.ig.PointCollection(1,c.d());b.add(f)}return b},_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},cp:null,da:function(a,b,c,d){if(d!=null&&d.count()>0){var e=$.ig.ShapeSeriesViewBase.prototype.c7(d);c.intersect(this.ad());if(!this.c6(c)){}else{var f=this.di(a,e);if(f!=null){var g=this.db(this.c2(),b);for(var h=0;h<d.count();h++){var i=new $.ig.ShapeHitRegion;i.a=d.__inner[h].e();i.b=d.__inner[h].d();i.c=a;i.d=g;this.cp.add(i)}this.df(g);this.dc(g,f);this.de(g,b);this.c2(this.c2()+1)}}}},db:function(a,b){var c=this.c4().item(this.c2());if(c.dataContext()!=null){c.dataContext().item(b)}return c},dc:function(a,b){},dd:function(a,b,c){if(b.__fill==null){b.__fill=a.w().actualBrush()}if(b.__stroke==null){b.__stroke=a.w().actualOutline()}},de:function(a,b){if(a==null){return}if(this.cq!=null){a.z(this.cq.selectStyle(b,a))}if(a.z()==null){a.z(this.cr)}},df:function(a){},dg:function(a,b){var c=Math.floor(a.left());var d=Math.ceil(a.right());var e=Math.floor(a.top());var f=Math.ceil(a.bottom());for(var g=c;g<d;g++){for(var h=e;h<f;h++){this.dh(g,h,b)}}},dh:function(a,b,c){},di:function(a,b){},dj:function(){this.c2(0)},dk:function(){this.c4().g(this.c2());this.ar()},_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},dn:function(a,b){},dp:function(){this.c4().g(0)},_c3:null,c3:function(a){if(arguments.length===1){this._c3=a;return a}else{return this._c3}},ds:function(){var $self=this;var a=this.c1();var b=function(){var $ret=new $.ig.Path;$ret.dataContext(function(){var $ret=new $.ig.DataContext;$ret.series(a);return $ret}());return $ret}();this.c3().add(b);return b},dt:function(a){a.__visibility=$.ig.Visibility.prototype.visible},du:function(a){a.dataContext().item(null);a.__visibility=$.ig.Visibility.prototype.collapsed},dv:function(a){this.c3().remove1(a)},_c4:null,c4:function(a){if(arguments.length===1){this._c4=a;return a}else{return this._c4}},dy:function(a,b,c){if(b==null){return null}var d=new $.ig.PathGeometry;var e;var f=b.count();for(var g=0;g<f;g++){e=b.__inner[g];if(e.count()<1){continue}var h=new $.ig.PolyLineSegment;h.__points=e;var i=new $.ig.PathFigure;i.__isFilled=c;i.__isClosed=c;i.__startPoint=e.__inner[0];i.__segments.add(h);d.d().add(i)}return d},av:function(a,b){$.ig.SeriesView.prototype.av.call(this,a,b);var c=a;c.__fill=this.w().actualBrush();c.__stroke=this.w().actualOutline();c.a5(this.w().thickness());if(c.z()!=null){this.ab().ab(c,c.z())}},ax:function(a,b){$.ig.SeriesView.prototype.ax.call(this,a,b);var c=a;var d=this.a2(b);c.__fill=d;c.__stroke=d;c.a5(this.w().thickness()+$.ig.ShapeSeriesViewBase.prototype.co)},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);for(var c=0;c<this.c3().count();c++){var d=this.c3().__inner[c];if(d.__visibility!=$.ig.Visibility.prototype.collapsed){this.at(d,c,b);a.g(d)}}},cq:null,cr:null,dz:function(a){this.cq=a},d0:function(a){this.cr=a},d1:function(a){if(this.cp.count()==0){return null}var b=a.__x;var c=a.__y;var d=this.cp.count();var e=this.cp;var f=null;for(var g=0;g<d;g++){f=e.__inner[g];if(b>=f.a.left()&&b<=f.a.right()&&c>=f.a.top()&&c<=f.a.bottom()){if($.ig.PolygonUtil.prototype.a(f.b,a)){return f.d}}}return null},cs:null,ct:null,cu:null,cv:null,d2:function(a,b,c,d){this.cs=a;this.ct=b;this.cu=c;this.cv=d;this.cp.clear()},d3:function(){var $self=this;var a=this.ad();var b=function(){var $ret=new $.ig.Path;$ret.z($self.cr);return $ret}();if(this.ab()!=null){this.ab().ab(b,b.z())}this.c1().i0=a.inflate11(b.a5())},ca:function(a){var $self=this;$.ig.SeriesView.prototype.ca.call(this,a);var b=new $.ig.List$1($.ig.Tuple$2.prototype.$type.specialize($.ig.Point.prototype.$type,$.ig.Path.prototype.$type),0);for(var c=0;c<this.cp.count();c++){var d=this.cp.__inner[c];b.add(new $.ig.Tuple$2($.ig.Point.prototype.$type,$.ig.Path.prototype.$type,{__x:d.a.left(),__y:d.a.top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},d.d))
}b.t(function(e,f){if(e.c().__x<f.c().__x){return-1}if(e.c().__x>f.c().__x){return 1}if(e.c().__y<f.c().__y){return-1}if(e.c().__y>f.c().__y){return 1}return 0});for(var g=0;g<b.count();g++){if(b.__inner[g].d().__visibility!=$.ig.Visibility.prototype.collapsed){var h=new $.ig.PathVisualData(1,"shape"+g,b.__inner[g].d());h.tags().add("Main");a.shapes().add(h)}}},$type:new $.ig.Type("ShapeSeriesViewBase",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("PolylineSeriesView","ShapeSeriesViewBase",{init:function(a){$.ig.ShapeSeriesViewBase.prototype.init.call(this,a)},di:function(a,b){return this.dy(a,b,false)},de:function(a,b){$.ig.ShapeSeriesViewBase.prototype.de.call(this,a,b);$.ig.ShapeSeriesViewBase.prototype.dd(this,a,b)},dc:function(a,b){var c=$.ig.util.cast($.ig.Path.prototype.$type,a);if(c==null){return}c.bn(b)},df:function(a){$.ig.ShapeSeriesViewBase.prototype.df.call(this,a)},av:function(a,b){$.ig.ShapeSeriesViewBase.prototype.av.call(this,a,b);var c=a;c.__fill=null},ax:function(a,b){$.ig.ShapeSeriesViewBase.prototype.ax.call(this,a,b);var c=a;c.__fill=null},c6:function(a){return a.width()>=this.c1().ji()||a.height()>=this.c1().ji()},$type:new $.ig.Type("PolylineSeriesView",$.ig.ShapeSeriesViewBase.prototype.$type)},true);$.ig.util.defType("ScatterAreaSeries","XYTriangulatingSeries",{kl:null,init:function(){$.ig.XYTriangulatingSeries.prototype.init.call(this);this.a3($.ig.ScatterAreaSeries.prototype.$type)},km:null,colorScale:function(a){if(arguments.length===1){var b=this.km!=a;if(b){var c=this.km;if(this.km!=null){this.km.propertyChanged=$.ig.Delegate.prototype.remove(this.km.propertyChanged,this.kw.runOn(this))}this.km=a;if(this.km!=null){this.km.propertyChanged=$.ig.Delegate.prototype.combine(this.km.propertyChanged,this.kw.runOn(this))}this.e6($.ig.ScatterAreaSeries.prototype.ki,c,this.km)}return a}else{return this.km}},kw:function(a,b){this.renderSeries(false)},colorMemberPath:function(a){if(arguments.length===1){this.c($.ig.ScatterAreaSeries.prototype.colorMemberPathProperty,a);return a}else{return this.b($.ig.ScatterAreaSeries.prototype.colorMemberPathProperty)}},kn:null,ks:function(a){if(arguments.length===1){var b=this.ks()!=a;if(b){var c=this.ks();this.kn=a;this.e6($.ig.ScatterAreaSeries.prototype.kk,c,this.ks())}return a}else{return this.kn}},ei:function(){return true},ft:function(a,b,c,d){$.ig.XYTriangulatingSeries.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ScatterAreaSeries.prototype.bl:var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,c);if(e!=null){e.ac(this.ks());this.ks(null)}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,d);if(f!=null){this.ks(this.hk(this.colorMemberPath()))}this.renderSeries(false);break;case $.ig.ScatterAreaSeries.prototype.kj:if(this.eb()!=null){this.eb().ac(this.ks());this.ks(this.hk(this.colorMemberPath()))}this.renderSeries(false);break;case $.ig.ScatterAreaSeries.prototype.ki:this.renderSeries(false);break}},fb:function(a){var $self=this;$.ig.XYTriangulatingSeries.prototype.fb.call(this,a);if(this.fi(this.view())){return}var b;var c;(function(){var $ret=$self.getViewInfo(c,b);c=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();var d=null;var e=null;var f=this.xAxis();var g=this.yAxis();var h=this.seriesViewer().effectiveViewport();var i=new $.ig.ScalerParams(b,c,f.isInverted());i.c=h;var j=new $.ig.ScalerParams(b,c,g.isInverted());j.c=h;e=this.k4(i,j);if(e!=null){this.kv().c7(e)}else{this.kv().c9(d)}},kz:function(){var a=Math.round(this.em().width())*Math.round(this.em().height());if(this.kl==null||this.kl.length!=a){this.kl=new Array(a);for(var b=0;b<a;b++){this.kl[b]=0}}else{for(var c=0;c<a;c++){this.kl[c]=0}}},getItem:function(a){var b=Math.round(this.em().width());var c=Math.round(this.em().height());if(this.kl==null||this.kl.length!=b*c||this.jl()==null||this.jl().count()<1||this.jm()==null||this.jm().count()<1||this.jn()==null||this.jn().count()<1){return null}var d=this.seriesViewer().windowRect();var e=(a.__x-d.left())/d.width();var f=(a.__y-d.top())/d.height();var g=Math.round(b*e);var h=Math.round(c*f);var i=b*h+g;if(i<0||i>this.kl.length-1){return null}var j=this.kl[i]-1;if(j<0||j>this.jl().count()){return null}var k=this.kt().length;var l=this.jl().item(j);var m=this.jm().item(j);var n=this.jn().item(j);if(l>=k||m>=k||n>=k){return null}var o=(this.kt()[l]-this.em().left())/this.em().width();var p=(this.ku()[l]-this.em().top())/this.em().height();var q=(this.kt()[m]-this.em().left())/this.em().width();var r=(this.ku()[m]-this.em().top())/this.em().height();var s=(this.kt()[n]-this.em().left())/this.em().width();var t=(this.ku()[n]-this.em().top())/this.em().height();var u=Math.pow(o-e,2)+Math.pow(p-f,2);var v=Math.pow(q-e,2)+Math.pow(r-f,2);var w=Math.pow(s-e,2)+Math.pow(t-f,2);if(u<v&&u<w){return this.eb().item(l)}if(v<u&&v<w){return this.eb().item(m)}if(w<u&&w<v){return this.eb().item(n)}return this.eb().item(l)},_kt:null,kt:function(a){if(arguments.length===1){this._kt=a;return a}else{return this._kt}},_ku:null,ku:function(a){if(arguments.length===1){this._ku=a;return a}else{return this._ku}},k4:function(a,b){var $self=this;var c=this.xAxis();var d=this.yAxis();var e=this.jl().count();var f;var xArr_=this.jg().asArray();f=xArr_.slice(0);var g;var yArr_=this.jh().asArray();g=yArr_.slice(0);var h=this.ks().asArray();var i=this.jl().asArray();var j=this.jm().asArray();var k=this.jn().asArray();this.kt(f);this.ku(g);c.getScaledValueList(f,0,f.length,a);d.getScaledValueList(g,0,g.length,b);var l=this.colorScale();if(l==null){l=function(){var $ret=new $.ig.CustomPaletteColorScale;$ret.palette(new $.ig.ObservableCollection$1($.ig.Color.prototype.$type,1,function(){var $ret=new Array;$ret.add($.ig.Color.prototype.s(0,0,0,0));$ret.add($.ig.Color.prototype.s(1,0,0,0));return $ret}()));$ret.interpolationMode($.ig.ColorScaleInterpolationMode.prototype.interpolateHSV);return $ret}()}var m=this.kv().c6(a.b,l,this.ks());var n=this.em().top();var o=this.em().left();var p=this.em().right();var q=this.em().bottom();var r;var s;var t;var u;this.kz();var v=f.length;for(var w=0;w<e;w++){var x=i[w];var y=j[w];var z=k[w];if(x>=v||y>=v||z>=v||x<0||y<0||z<0){continue}var aa=f[x];var ab=g[x];var ac={__x:aa,__y:ab,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ad=f[y];var ae=g[y];var af={__x:ad,__y:ae,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ag=f[z];var ah=g[z];var ai={__x:ag,__y:ah,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};r=af.__y<ai.__y?af.__y:ai.__y;r=ac.__y<r?ac.__y:r;s=af.__y>ai.__y?af.__y:ai.__y;s=ac.__y>s?ac.__y:s;t=af.__x<ai.__x?af.__x:ai.__x;t=ac.__x<t?ac.__x:t;u=af.__x>ai.__x?af.__x:ai.__x;u=ac.__x>u?ac.__x:u;if(r<q&&s>n&&t<p&&u>o){var aj=h[x];var ak=h[y];var al=h[z];m.z(w,this.kl,ac,af,ai,aj,ak,al)}}return m},fg:function(a,b){$.ig.Series.prototype.fg.call(this,a,b);var c=b;c.c8()},et:function(){return new $.ig.ScatterAreaSeriesView(this)},eq:function(a){$.ig.Series.prototype.eq.call(this,a);this.kv($.ig.util.cast($.ig.ScatterAreaSeriesView.prototype.$type,a))},_kv:null,kv:function(a){if(arguments.length===1){this._kv=a;return a}else{return this._kv}},$type:new $.ig.Type("ScatterAreaSeries",$.ig.XYTriangulatingSeries.prototype.$type)},true);$.ig.util.defType("TriangleRasterizer","Object",{init:function(a,b,c,d,e,f,g){this.b=0;this.c=0;this.f=null;this.g=null;$.ig.Object.prototype.init.call(this);if(a==null||b==null||e==null){throw new $.ig.Error(0)}this.a=a;this.l(b);this.m(e);this.h(f);this.i(g);this.d=c;this.e=d},a:null,b:null,h:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,i:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,j:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,k:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,l:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,m:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},z:function(a,b,c,d,e,f,g,h){var i=this.b;var j=this.c;var k;var l;if(d.__y>e.__y){k=d;d=e;e=k;l=g;g=h;h=l}if(c.__y>e.__y){k=c;c=e;e=k;l=f;f=h;h=l}if(c.__y>d.__y){k=c;c=d;d=k;l=f;f=g;g=l}var m=Math.round(c.__y);var n=Math.round(d.__y);var o=Math.round(e.__y);if(o==m){return}if(isNaN(f)||isNaN(g)||isNaN(h)){return}var p=(d.__x-c.__x)*(e.__y-c.__y)-(e.__x-c.__x)*(d.__y-c.__y)>=0;var q=Math.max(0,m);var r=Math.min(j-1,n);for(var s=q;s<r;++s){var t=(s-m)/(n-m);var u=c.__x+t*(d.__x-c.__x);var v=f+t*(g-f);var w=(s-m)/(o-m);var x=c.__x+w*(e.__x-c.__x);var y=f+w*(h-f);if(p){this.aa(a,b,s,Math.floor(x),Math.ceil(u),y,v)}else{this.aa(a,b,s,Math.floor(u),Math.ceil(x),v,y)}}var z=Math.min(j-1,Math.max(0,n));var aa=Math.min(j-1,o);var ab=0;var ac=d.__x+ab*(e.__x-d.__x);var ad=g+ab*(h-g);var ae=z;var af=o-m;var ag=(ae-m)/af;var ah=c.__x+ag*(e.__x-c.__x);var ai=f+ag*(h-f);do{if(p){this.aa(a,b,ae,Math.floor(ah),Math.ceil(ac),ai,ad)}else{this.aa(a,b,ae,Math.floor(ac),Math.ceil(ah),ad,ai)}++ae;ab=(ae-n)/(o-n);ac=d.__x+ab*(e.__x-d.__x);ad=g+ab*(h-g);ag=(ae-m)/af;ah=c.__x+ag*(e.__x-c.__x);ai=f+ag*(h-f)}while(ae<aa)},aa:function(a,b,c,d,e,f,g){var h=this.b;var i=d>0?d:0;var j=e<h-1?e:h-1;var k=c*h*4+i*4;var l=g-f;var m=1/(e-d);var n=this.g;var o=this.d;var p=this.e;var q=c*h;for(var r=i;r<=j;r++){var s=f+l*(r-d)*m;var color_=this.f.getColor(s,o,p,n);this.a[k]=color_.__r;this.a[k+1]=color_.__g;this.a[k+2]=color_.__b;this.a[k+3]=color_.__a;b[q+r]=a+1;k+=4}},ab:function(){},$type:new $.ig.Type("TriangleRasterizer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScatterAreaSeriesView","SeriesView",{_cs:null,cs:function(a){if(arguments.length===1){this._cs=a;return a}else{return this._cs}},init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this.cs(a)},cy:function(a,b){},_ct:null,ct:function(a){if(arguments.length===1){this._ct=a;return a}else{return this._ct}},_cu:null,cu:function(a){if(arguments.length===1){this._cu=a;return a}else{return this._cu}},_cv:null,cv:function(a){if(arguments.length===1){this._cv=a;return a}else{return this._cv}},c5:function(){if(this.cu()==null){this.cu($("<canvas></canvas>"));var a=this.cu()[0].getContext("2d");this.cv(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,a))}var b=Math.round(this.ad().left());var c=Math.round(this.ad().left());var d=Math.round(this.ad().width());var e=Math.round(this.ad().height());this.cu().attr("width",d.toString());this.cu().attr("height",e.toString());this.ct(this.cv().c().getImageData(0,0,d,e));return this.ct().data},c6:function(a,b,c){var d=Math.round(this.ad().left());var e=Math.round(this.ad().left());var f=Math.round(this.ad().width());var g=Math.round(this.ad().height());return new $.ig.TriangleRasterizer(this.c5(),b,c.minimum(),c.maximum(),c,f,g)},c7:function(a){this.c9(null)},c8:function(){if(this.cv()!=null){this.cv().u(this.ad().left(),this.ad().top(),this.ad().width(),this.ad().height())}},a4:function(a,b){$.ig.SeriesView.prototype.a4.call(this,a,b);if(this.cu()==null){return}if(b){var c=new $.ig.Rectangle;c.w(this.ad().left());c.v(this.ad().top());c.width(this.ad().width());c.height(this.ad().height());c.__fill=this.a3();a.f(c)}else{var d=Math.round(this.ad().left());var e=Math.round(this.ad().left());var f=Math.round(this.ad().width());var g=Math.round(this.ad().height());a.w(this.cu()[0],1,d,e,f,g)}},c9:function(a){var b=Math.round(this.ad().left());var c=Math.round(this.ad().left());var d=Math.round(this.ad().width());var e=Math.round(this.ad().height());this.cv().c().putImageData(this.ct(),0,0);this.ar()},$type:new $.ig.Type("ScatterAreaSeriesView",$.ig.SeriesView.prototype.$type)},true);$.ig.util.defType("ShapeSeries","ShapeSeriesBase",{init:function(){var $self=this;this.kt=new $.ig.ScalerParams($.ig.ShapeSeries.prototype.ks,$.ig.ShapeSeries.prototype.ks,false);this.ku=new $.ig.ScalerParams($.ig.ShapeSeries.prototype.ks,$.ig.ShapeSeries.prototype.ks,false);$.ig.ShapeSeriesBase.prototype.init.call(this);this.a3($.ig.ShapeSeries.prototype.$type);this.kp=new $.ig.NumericMarkerManager(1,function(a){return $self.k8().eb().item(a)},function(b){return $self.k9().k().item(b)},function(c){var d=new $.ig.List$1($.ig.Object.prototype.$type,0);var f=$self.k8().eb().i().getEnumerator();while(f.moveNext()){var e=f.current();if(!c.containsKey(e)){d.add1(e)}}var h=d.getEnumerator();while(h.moveNext()){var g=h.current();$self.k8().eb().u(g)}},function(){if($self.kq==null||$self.kq.length!=$self.k9().k().g()){$self.kq=new Array($self.k9().k().g());for(var i=0;i<$self.k9().k().g();i++){$self.kq[i]=new $.ig.Point(0)}}var j=$self.k9().g().getUnscaledValue($self.kt.b.left(),$self.kt);var k=$self.k9().g().getUnscaledValue($self.kt.b.right(),$self.kt);var l=$self.k9().h().getUnscaledValue($self.ku.b.bottom(),$self.ku);var m=$self.k9().h().getUnscaledValue($self.ku.b.top(),$self.ku);if($self.k9().i()){var n=j;j=k;k=n}if($self.k9().j()){var o=l;l=m;m=o}var p=$self.k9();var q=p.g();var r=p.h();var s;var t;var u=$self.kt.b.left();var v=$self.kt.b.right();var w=$self.ku.b.top();var x=$self.ku.b.bottom();for(var y=0;y<$self.k9().k().g();y++){s=0;t=0;var z=null;(function(){var $ret=$self.je().tryGetValue(y,z);z=$ret.value;return $ret.ret})();if(z==null){$self.kq[y].__x=NaN;$self.kq[y].__y=NaN}else{var aa=z.f();var ab=aa.getCenter();s=ab.__x;t=ab.__y;if(s>=u&&s<=v&&t>=w&&t<=x){$self.kq[y].__x=s;$self.kq[y].__y=t}else{$self.kq[y].__x=NaN;$self.kq[y].__y=NaN}}}return $self.kq},function(){if($self.kr==null||$self.kr.length!=$self.k8().eb().j()){$self.kr=new Array($self.k8().eb().j())}var ac=0;var ad=$self.eb();var af=$self.k8().eb().i().getEnumerator();while(af.moveNext()){var ae=af.current();$self.kr[ac]=ad.x(ae);ac++}return $self.kr},function(){return $self.markerCollisionAvoidance()});this.kp.an(this.k8().ev.runOn(this.k8()))},jt:function(){return this.la()},fb:function(a){var $self=this;$.ig.ShapeSeriesBase.prototype.fb.call(this,a);if(this.fi(this.view())){return}var b,c;(function(){var $ret=$self.getViewInfo(b,c);b=$ret.viewportRect;c=$ret.windowRect;return $ret.ret})();var d=this.seriesViewer().effectiveViewport();this.kt=new $.ig.ScalerParams(c,b,this.xAxis().isInverted());this.kt.c=d;this.ku=new $.ig.ScalerParams(c,b,this.yAxis().isInverted());this.ku.c=d;if(b.width()<1||b.height()<1){return}this.k9(function(){var $ret=new $.ig.ShapeAxisInfoCache;$ret.g($self.xAxis());$ret.h($self.yAxis());$ret.i($self.xAxis().isInverted());$ret.j($self.yAxis().isInverted());$ret.k($self.eb());$ret.l($self.jb());return $ret}());if(this.la()){var e=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.OwnedPoint.prototype.$type,0);this.kp.y(e,400,c,b,this.resolution());this.kp.z(e,false)}},la:function(){return this.actualMarkerTemplate()!=null&&(this.markerType()!=$.ig.MarkerType.prototype.none&&this.markerType()!=$.ig.MarkerType.prototype.unset||this.markerTemplate()!=null)},et:function(){return new $.ig.ShapeSeriesView(this)},eq:function(a){$.ig.ShapeSeriesBase.prototype.eq.call(this,a);this.k8(a)},_k8:null,k8:function(a){if(arguments.length===1){this._k8=a;return a}else{return this._k8}},_k9:null,k9:function(a){if(arguments.length===1){this._k9=a;return a}else{return this._k9}},kp:null,kq:null,kr:null,kt:null,ku:null,d6:function(){return true},shapeStyleSelector:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.shapeStyleSelectorProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.shapeStyleSelectorProperty)}},shapeStyle:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.shapeStyleProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.shapeStyleProperty)}},markerType:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerTypeProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerTypeProperty)}},markerTemplate:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerTemplateProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerTemplateProperty)}},actualMarkerTemplate:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.actualMarkerTemplateProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.actualMarkerTemplateProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerBrushProperty)}},actualMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.actualMarkerBrushProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.actualMarkerBrushProperty)}},markerOutline:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerOutlineProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerOutlineProperty)}},actualMarkerOutline:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.actualMarkerOutlineProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.actualMarkerOutlineProperty)}},markerStyle:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerStyleProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerStyleProperty)}},markerCollisionAvoidance:function(a){if(arguments.length===1){this.c($.ig.ShapeSeries.prototype.markerCollisionAvoidanceProperty,a);return a}else{return this.b($.ig.ShapeSeries.prototype.markerCollisionAvoidanceProperty)}},f6:function(){$.ig.Series.prototype.f6.call(this);if(this.markerTemplate()!=null){this.k8().eq()}else{var a=$.ig.MarkerSeries.prototype.resolveMarkerType(this,this.markerType());var b=$.ig.MarkerSeries.prototype.getMarkerTemplatePropertyName(a);if(b==null){this.actualMarkerTemplate($.ig.MarkerSeries.prototype.nullMarkerTemplate)}else{this.k8().et(b)}}if(this.markerBrush()!=null){this.k8().er()}else{this.actualMarkerBrush(this.seriesViewer()==null?null:this.seriesViewer().getMarkerBrushByIndex(this.index()))}if(this.markerOutline()!=null){this.k8().es()}else{this.actualMarkerOutline(this.seriesViewer()==null?null:this.seriesViewer().getMarkerOutlineByIndex(this.index()))}},ft:function(a,b,c,d){var $self=this;$.ig.ShapeSeriesBase.prototype.ft.call(this,a,b,c,d);switch(b){case $.ig.ShapeSeries.prototype.kj:case $.ig.ShapeSeries.prototype.kg:case $.ig.ShapeSeries.prototype.kl:case $.ig.ShapeSeries.prototype.kh:this.f6();this.renderSeries(false);break;case $.ig.ShapeSeries.prototype.ki:if(c==$.ig.MarkerSeries.prototype.nullMarkerTemplate||d==$.ig.MarkerSeries.prototype.nullMarkerTemplate||c==null||d!=null){this.k8().eu();this.renderSeries(false)}this.renderSeries(false);break;case $.ig.ShapeSeries.prototype.kf:this.k8().d0(this.shapeStyle());this.renderSeries(false);break;case $.ig.ShapeSeries.prototype.ke:this.k8().dz(this.shapeStyleSelector());this.renderSeries(false);break}},getHitDataContext:function(a){var b=this.k8().ew(a);var c=null;if(b!=null){c=b.content()}if(c!=null){return c}return $.ig.ShapeSeriesBase.prototype.getHitDataContext.call(this,a)},$type:new $.ig.Type("ShapeSeries",$.ig.ShapeSeriesBase.prototype.$type)},true);$.ig.util.defType("ShapeAxisInfoCache","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},$type:new $.ig.Type("ShapeAxisInfoCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FlattenedShape","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("FlattenedShape",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ShapeSeriesView","ShapeSeriesViewBase",{init:function(a){this.d5=false;this.d6=null;$.ig.ShapeSeriesViewBase.prototype.init.call(this,a);this.ea(a);this.eb(new $.ig.HashPool$2($.ig.Object.prototype.$type,$.ig.Marker.prototype.$type));this.ec(new $.ig.List$1($.ig.Marker.prototype.$type,0));this.ei(this.eb())},_ea:null,ea:function(a){if(arguments.length===1){this._ea=a;return a}else{return this._ea}},di:function(a,b){return this.dy(a,b,true)},de:function(a,b){$.ig.ShapeSeriesViewBase.prototype.de.call(this,a,b);$.ig.ShapeSeriesViewBase.prototype.dd(this,a,b)},dc:function(a,b){var c=a;if(c==null){return}c.bn(b)},d5:null,_eb:null,eb:function(a){if(arguments.length===1){this._eb=a;return a}else{return this._eb}},eh:function(a){this.eb().w(a)},ei:function(a){a.create(this.ej.runOn(this));a.destroy(this.em.runOn(this));a.activate(this.en.runOn(this));a.disactivate(this.eo.runOn(this))},ej:function(){var $self=this;var a=new $.ig.Marker;if(!this.d5){a.content(function(){var $ret=new $.ig.DataContext;$ret.series($self.w());return $ret}())}a.bf(this.w().actualMarkerTemplate());this.ec().add(a);return a},_ec:null,ec:function(a){if(arguments.length===1){this._ec=a;return a}else{return this._ec}},em:function(a){a.content(null);this.ec().remove(a)},en:function(a){a.__visibility=$.ig.Visibility.prototype.visible},eo:function(a){if(a.content()!=null){$.ig.util.cast($.ig.DataContext.prototype.$type,a.content()).item(null)}a.__visibility=$.ig.Visibility.prototype.collapsed},ep:function(a){this.d5=a},df:function(a){$.ig.ShapeSeriesViewBase.prototype.df.call(this,a)},aw:function(a,b){$.ig.SeriesView.prototype.aw.call(this,a,b);var c=a;var d=c.content();if(d!=null){if(this.ea().actualMarkerBrush()!=null){d.actualItemBrush(this.ea().actualMarkerBrush())}else{d.actualItemBrush(this.c1().actualBrush())}if(this.ea().actualMarkerBrush()!=null){d.outline(this.ea().actualMarkerOutline())}else{d.outline(this.c1().actualOutline())}d.thickness(.5)}},ay:function(a,b){$.ig.SeriesView.prototype.ay.call(this,a,b);var c=a;var d=this.a2(b);var e=c.content();if(e!=null){e.actualItemBrush(d);e.outline(d);e.thickness(1+$.ig.ShapeSeriesViewBase.prototype.co)}},a5:function(a,b){$.ig.SeriesView.prototype.a5.call(this,a,b);var c=new $.ig.DataTemplatePassInfo;c.isHitTestRender=b;c.context=a.c();c.viewportTop=this.ad().top();c.viewportLeft=this.ad().left();c.viewportWidth=this.ad().width();c.viewportHeight=this.ad().height();c.passID="Markers";var d=new $.ig.DataTemplateRenderInfo;d.passInfo=c;d.isHitTestRender=b;var e=new $.ig.DataTemplateMeasureInfo;e.passInfo=c;var f=false;var g=a.c();e.context=g;d.context=g;var h=0;var i=0;var j=true;if(this.ea().actualMarkerTemplate()!=null&&this.ea().actualMarkerTemplate().passStarting()!=null){this.ea().actualMarkerTemplate().passStarting()(c)}for(var k=0;k<this.ec().count();k++){var l=this.ec().__inner[k];if(l.__visibility==$.ig.Visibility.prototype.collapsed){continue}this.au(l,k,b);if(!f){e.width=l.width();e.height=l.height();e.renderOffsetX=0;e.renderOffsetY=0;var m=l.bf();if(m.measure()!=null){e.data=l.content();m.measure()(e);f=e.isConstant;if(f){h=e.width;i=e.height}}d.availableWidth=e.width;d.availableHeight=e.height;d.renderOffsetX=e.renderOffsetX;d.renderOffsetY=e.renderOffsetY}else{d.availableWidth=h;d.availableHeight=i}if(!isNaN(l.width())&&!Number.isInfinity(l.width())){d.availableWidth=l.width()}if(!isNaN(l.height())&&!Number.isInfinity(l.height())){d.availableHeight=l.height()}j=false;a.m(d,l);l.t(d.availableWidth);l.u(d.availableHeight);l.bk=d.renderOffsetX;l.bl=d.renderOffsetY}if(this.ea().actualMarkerTemplate()!=null&&this.ea().actualMarkerTemplate().passCompleted()!=null){this.ea().actualMarkerTemplate().passCompleted()(c)}},eq:function(){this.ea().actualMarkerTemplate(null);this.ea().actualMarkerTemplate(this.ea().markerTemplate())},er:function(){this.ea().actualMarkerBrush(null);this.ea().actualMarkerBrush(this.ea().markerBrush())},es:function(){this.ea().actualMarkerOutline(null);this.ea().actualMarkerOutline(this.ea().markerOutline())},et:function(a){var $self=this;switch(a){case"CircleMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().circleMarkerTemplate());break;case"TriangleMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().triangleMarkerTemplate());break;case"PyramidMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().pyramidMarkerTemplate());break;case"SquareMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().squareMarkerTemplate());break;case"DiamondMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().diamondMarkerTemplate());break;case"PentagonMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().pentagonMarkerTemplate());break;case"HexagonMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().hexagonMarkerTemplate());break;case"TetragramMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().pentagonMarkerTemplate());break;case"PentagramMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().pentagramMarkerTemplate());break;case"HexagramMarkerTemplate":this.ea().actualMarkerTemplate(this.ea().seriesViewer().hexagramMarkerTemplate());break}},eu:function(){var b=this.ec().getEnumerator();while(b.moveNext()){var a=b.current();a.bf(this.ea().actualMarkerTemplate())}this.ar()},d6:null,ev:function(a){if(this.d6==null){this.d6=new $.ig.DataTemplateMeasureInfo;this.d6.context=this.ab().c()}this.d6.width=a.width();this.d6.height=a.height();this.d6.data=a.content();var b=a.bf();if(b.measure()!=null){b.measure()(this.d6)}return new $.ig.Size(this.d6.width,this.d6.height)},ew:function(a){var b;var c;var d;var e;for(var f=this.ec().count()-1;f>=0;f--){var g=this.ec().__inner[f];if(g.__visibility==$.ig.Visibility.prototype.collapsed||g.__opacity==0){continue}b=g.t()/2+$.ig.ShapeSeriesView.prototype.co;c=g.u()/2+$.ig.ShapeSeriesView.prototype.co;d=g.bk;e=g.bl;if(g.w()+d-b<=a.__x&&g.w()+d+b>=a.__x&&g.v()+e-c<=a.__y&&g.v()+e+c>=a.__y){return g}}return null},$type:new $.ig.Type("ShapeSeriesView",$.ig.ShapeSeriesViewBase.prototype.$type)},true);$.ig.util.defType("ShapeHitRegion","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,$type:new $.ig.Type("ShapeHitRegion",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TileSeries","ShapeSeriesBase",{init:function(){$.ig.ShapeSeriesBase.prototype.init.call(this);this.ki=null;this.kj=false},et:function(){return new $.ig.TileSeriesView(this)},eq:function(a){$.ig.ShapeSeriesBase.prototype.eq.call(this,a);this.kl(a)},jg:function(){return false},_kl:null,kl:function(a){if(arguments.length===1){this._kl=a;return a}else{return this._kl}},tileImagery:function(a){if(arguments.length===1){var b=a!=this.tileImagery();if(b){var c=this.tileImagery();this.kf=a;this.e6($.ig.TileSeries.prototype.ke,c,a)}return a}else{return this.kf}},kf:null,kg:null,km:function(a){if(arguments.length===1){var b=this.kg;this.kg=a;this.e6("ActualTileImagery",b,this.kg);return a}else{return this.kg}},ft:function(a,b,c,d){$.ig.ShapeSeriesBase.prototype.ft.call(this,a,b,c,d);var e;var f;switch(b){case $.ig.TileSeries.prototype.ke:e=c;f=d;if(e!=null){e.propertyChanged=$.ig.Delegate.prototype.remove(e.propertyChanged,this.kr.runOn(this))}if(f!=null){f.propertyChanged=$.ig.Delegate.prototype.combine(f.propertyChanged,this.kr.runOn(this))}this.kl().el(e,f);this.renderSeries(false);break;case"ActualTileImagery":e=c;f=d;if(e!=null){e.imageTilesReady=$.ig.Delegate.prototype.remove(e.imageTilesReady,this.ks.runOn(this));e.deferralHandler(null)}if(f!=null){f.imageTilesReady=$.ig.Delegate.prototype.combine(f.imageTilesReady,this.ks.runOn(this));f.deferralHandler(this)}this.kl().ej(e,f);if(f!=null&&$.ig.util.cast($.ig.XamGeographicMap.prototype.$type,this.seriesViewer())!==null){f.geographicMap(this.seriesViewer());this.kt();this.kl().ee(this.seriesViewer().actualWindowRect())}break;case"ActualWindowRect":this.kl().ee(d);break;case"WorldRect":this.kl().ep(d);break}},kr:function(a,b){if(b.propertyName()=="MultiScaleImage"){this.kt()}},imageTilesReady:null,ks:function(a,b){if(this.imageTilesReady!=null){this.imageTilesReady(this,new $.ig.EventArgs)}if(!this.kj){this.kl().en()}},ki:null,register:function(a,b){this.ki=b},unRegister:function(a){this.ki=null},deferredRefresh:function(){this.renderSeries(false)},fl:function(a,b){this.kl().em();$.ig.ShapeSeriesBase.prototype.fl.call(this,a,b)},kj:null,fb:function(a){var $self=this;var b;var c;(function(){var $ret=$self.view().getViewInfo(b,c);b=$ret.viewportRect;c=$ret.windowRect;return $ret.ret})();this.kt();$.ig.ShapeSeriesBase.prototype.fb.call(this,a);if(this.ki!=null){this.kj=true;this.ki(a);this.kj=false}this.kl().en()},kt:function(){var $self=this;var a;var b;(function(){var $ret=$self.view().getViewInfo(a,b);a=$ret.viewportRect;b=$ret.windowRect;return $ret.ret})();if(this.tileImagery()!=null&&this.tileImagery().bp()!=null){if(this.tileImagery()!=this.km()){this.km(this.tileImagery())}if(this.km()!=null&&!a.isEmpty()){if(this.km().width()!=a.width()){this.km().width(a.width())}if(this.km().height()!=a.height()){this.km().height(a.height())}}}},fg:function(a,b){$.ig.ShapeSeriesBase.prototype.fg.call(this,a,b);b.eo()},$type:new $.ig.Type("TileSeries",$.ig.ShapeSeriesBase.prototype.$type,[$.ig.IMapRenderDeferralHandler.prototype.$type])},true);$.ig.util.defType("TileSeriesView","ShapeSeriesViewBase",{init:function(a){this.d5=new $.ig.GeometryGroup;$.ig.ShapeSeriesViewBase.prototype.init.call(this,a);this.d9(a)},_d9:null,d9:function(a){if(arguments.length===1){this._d9=a;return a}else{return this._d9}},dc:function(a,b){if(b.d().count()>0){this.d5.e().add(b)}},di:function(a,b){return this.dy(a,b,true)},db:function(a,b){return null},df:function(a){},de:function(a,b){},d5:null,dj:function(){$.ig.ShapeSeriesViewBase.prototype.dj.call(this);this.d5.e().clear()},dk:function(){$.ig.ShapeSeriesViewBase.prototype.dk.call(this);this.ar()},ee:function(a){if(this.d9().tileImagery()!=null){this.d9().tileImagery().windowRect(a)}},_ea:null,ea:function(a){if(arguments.length===1){this._ea=a;return a}else{return this._ea}},_eb:null,eb:function(a){if(arguments.length===1){this._eb=a;return a}else{return this._eb}},ej:function(a,b){if(this.ea()==null){this.ea($("<canvas></canvas>"));var c=this.ea()[0].getContext("2d");this.eb(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c));this.ea().attr("width",this.ad().width().toString());this.ea().attr("height",this.ad().height().toString())}if(a!=null){a.b6(null);a.imagesChanged=$.ig.Delegate.prototype.remove(a.imagesChanged,this.ek.runOn(this))}if(b!=null){b.b6(this.eb());b.b7(this.ad());b.imagesChanged=$.ig.Delegate.prototype.combine(b.imagesChanged,this.ek.runOn(this))}},ek:function(a,b){this.d9().renderSeries(false)},el:function(a,b){},em:function(){if(this.ea()!=null){this.ea().attr("width",this.ad().width().toString());this.ea().attr("height",this.ad().height().toString())}if(this.d9().tileImagery()!=null){this.d9().tileImagery().b7(this.ad())}},a4:function(a,b){$.ig.ShapeSeriesViewBase.prototype.a4.call(this,a,b);if(b){return}if(this.ea()==null){return}var c=Math.round(this.ad().left());var d=Math.round(this.ad().top());var e=Math.round(this.ad().width());var f=Math.round(this.ad().height());this.ab().v(this.ea()[0],1,c,d,e,f,c,d,e,f)},en:function(){this.ar()},eo:function(){},ep:function(a){if(this.d9().tileImagery()!=null){this.d9().tileImagery().b9()}},$type:new $.ig.Type("TileSeriesView",$.ig.ShapeSeriesViewBase.prototype.$type)},true);
$.ig.util.defType("ShapefileRecord","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},fields:null,points:null,f:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},propertyChanged:null,$type:new $.ig.Type("ShapefileRecord",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("ShapefileConverter","DependencyObjectNotifier",{init:function(){var $self=this;$.ig.DependencyObjectNotifier.prototype.init.call(this);this.records(new $.ig.ObservableCollection$1($.ig.ShapefileRecord.prototype.$type,0));this.records().collectionChanged=$.ig.Delegate.prototype.combine(this.records().collectionChanged,function(a,b){if($self.collectionChanged!=null){$self.collectionChanged($self,b)}})},worldRect:function(a){if(arguments.length===1){if(this.j!=a){var b=this.j;this.j=a;this.s($.ig.ShapefileConverter.prototype.g,b,this.j)}return a}else{return this.j}},j:null,shapefileSource:function(a){if(arguments.length===1){this.c($.ig.ShapefileConverter.prototype.shapefileSourceProperty,a);return a}else{return $.ig.util.cast($.ig.Uri.prototype.$type,this.b($.ig.ShapefileConverter.prototype.shapefileSourceProperty))}},databaseSource:function(a){if(arguments.length===1){this.c($.ig.ShapefileConverter.prototype.databaseSourceProperty,a);return a}else{return $.ig.util.cast($.ig.Uri.prototype.$type,this.b($.ig.ShapefileConverter.prototype.databaseSourceProperty))}},s:function(a,b,c){switch(a){case $.ig.ShapefileConverter.prototype.h:case $.ig.ShapefileConverter.prototype.i:if(this.shapefileSource()!=null&&this.databaseSource()!=null){this.u()}break}this.f(a)},importCompleted:null,t:function(a){if(this.importCompleted!=null){this.importCompleted(this,a)}},u:function(){var $self=this;var a=null;var b=null;var c=function(){if(a!=null&&b!=null){$self.v(a,b);$self.t(new $.ig.AsyncCompletedEventArgs(null,false,null))}};$.ig.BinaryFileDownloader.prototype.a(this.shapefileSource().value(),function(d){a=new $.ig.BinaryReader(d,false);c()},function(e){throw new $.ig.Error(1,"shape file download error: "+e)});$.ig.BinaryFileDownloader.prototype.a(this.databaseSource().value(),function(f){b=new $.ig.BinaryReader(f,false);c()},function(g){throw new $.ig.Error(1,"dbf file download error: "+g)})},v:function(a,b){var c=$.ig.ShapeFileUtil.prototype.b(a,b);this.worldRect(c.e());var d=a.currentPosition();var e=a.length();while(d<e){var f=$.ig.ShapeFileUtil.prototype.c(c,a,b);var record_=f;if(record_.fields!=null){record_.fieldValues=record_.fields.__inner.proxy}this.records().add(f);d=a.currentPosition();e=a.length()}},l:null,records:function(a){if(arguments.length===1){this.l=a;return a}else{return this.l}},collectionChanged:null,indexOf:function(a){return this.l.indexOf(a)},insert:function(a,b){this.l.insert(a,b)},removeAt:function(a){this.l.removeAt(a)},item:function(b,a){if(arguments.length===2){this.l.__inner[b]=a;return a}else{return this.l.__inner[b]}},add:function(a){this.l.add(a)},clear:function(){this.l.clear()},contains:function(a){return this.l.contains(a)},copyTo:function(a,b){this.l.copyTo(a,b)},count:function(){return this.l.count()},isReadOnly:function(){return this.l.isReadOnly()},remove:function(a){return this.l.remove(a)},getEnumerator:function(){return this.l.getEnumerator()},$type:new $.ig.Type("ShapefileConverter",$.ig.DependencyObjectNotifier.prototype.$type,[$.ig.IList$1.prototype.$type.specialize($.ig.ShapefileRecord.prototype.$type),$.ig.INotifyCollectionChanged.prototype.$type])},true);$.ig.util.defType("ShapeFileUtil","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function(a,b){if($.ig.ShapeFileUtil.prototype.a==null){$.ig.ShapeFileUtil.prototype.l()}var c=new $.ig.Header;var d=$.ig.ShapeFileUtil.prototype.d(a.readInt32());if(d!=9994){throw new $.ig.Error(1,"Corrupt Shp file - incorrect file code")}a.readInt32();a.readInt32();a.readInt32();a.readInt32();a.readInt32();$.ig.ShapeFileUtil.prototype.d(a.readInt32());a.readInt32();c.d(a.readInt32());var e=new $.ig.Point(0);var f=new $.ig.Point(0);e.__x=a.readDouble();e.__y=a.readDouble();f.__x=a.readDouble();f.__y=a.readDouble();a.readDouble();a.readDouble();a.readDouble();a.readDouble();c.e(new $.ig.Rect(0,e.__x,e.__y,f.__x-e.__x,f.__y-e.__y));if(b!=null){var g=b.readByte();if(g!=3){throw new $.ig.Error(1,"Corrupt Dbf file - wrong version number")}b.readByte();b.readByte();b.readByte();b.readUInt32();b.readUInt16();var h=b.readUInt16();b.readBytes(2);b.readBytes(1);b.readBytes(1);b.readBytes(4);b.readBytes(8);b.readBytes(1);b.readBytes(1);b.readBytes(2);var i=0;while(i<h-1){var j=new $.ig.XBaseField;j.a=$.ig.Encoding.prototype.uTF8().getString(b.readBytes(11),0,10).replace("\0","");var k=$.ig.Encoding.prototype.uTF8().getString(b.readBytes(1),0,1).charAt(0);j.b=$.ig.ShapeFileUtil.prototype.a.item(k);b.readBytes(4);j.c=b.readByte();b.readBytes(15);c.a.add(j);i+=j.c}if(b.readByte()!=13){throw new $.ig.Error(1,"Corrup Dbf file - Missing field descriptor array terminator")}}return c},c:function(a,b,c){var d=$.ig.ShapeFileUtil.prototype.d(b.readInt32());var e=$.ig.ShapeFileUtil.prototype.d(b.readInt32());var f=b.readInt32();var g=null;switch(f){case $.ig.ShapeType.prototype.none:break;case $.ig.ShapeType.prototype.point:g=$.ig.ShapeFileUtil.prototype.e(b);break;case $.ig.ShapeType.prototype.polyLine:g=$.ig.ShapeFileUtil.prototype.h(b);break;case $.ig.ShapeType.prototype.polygon:g=$.ig.ShapeFileUtil.prototype.j(b);break;case $.ig.ShapeType.prototype.polyPoint:break;case $.ig.ShapeType.prototype.pointZ:break;case $.ig.ShapeType.prototype.polyLineZ:g=$.ig.ShapeFileUtil.prototype.f(b);break;case $.ig.ShapeType.prototype.polygonZ:g=$.ig.ShapeFileUtil.prototype.i(b);break;case $.ig.ShapeType.prototype.polyPointZ:break;case $.ig.ShapeType.prototype.pointM:break;case $.ig.ShapeType.prototype.polyLineM:break;case $.ig.ShapeType.prototype.polygonM:break;case $.ig.ShapeType.prototype.polyPointM:break;case $.ig.ShapeType.prototype.polyPatch:break;default:break}if(g==null){throw new $.ig.Error(1,"Corrupt Shp file - failed to read "+f.toString())}if(c!=null){c.readBytes(1);g.fields=new $.ig.Dictionary$2(String,$.ig.Object.prototype.$type,0);var i=a.a.getEnumerator();while(i.moveNext()){var h=i.current();var j=c.readBytes(h.c);var k=$.ig.Encoding.prototype.uTF8().getString(j,0,h.c);var l;var m;var n;switch(h.b){case $.ig.XBaseDataType.prototype.number:var o=parseFloat(k);if(!isNaN(o)){g.fields.add(h.a,o)}break;case $.ig.XBaseDataType.prototype.floatingPoint:var p=parseFloat(k);if(!isNaN(p)){g.fields.add(h.a,p)}break;case $.ig.XBaseDataType.prototype.character:g.fields.add(h.a,k.trim());break;case $.ig.XBaseDataType.prototype.date:var str_=k;var q=Date.parse(str_);g.fields.add(h.a,q);break;default:throw new $.ig.Error(1,"Unrecognized field type")}}}return g},d:function(a){return(a&255)<<24|(a&65280)<<8|(a&16711680)>>8|(a&4278190080)>>24},e:function(a){var $self=this;var b=function(){var $ret=new $.ig.Point(0);$ret.__x=a.readDouble();$ret.__y=a.readDouble();return $ret}();return function(){var $ret=new $.ig.ShapefileRecord;$ret.points=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),1,function(){var $ret=new Array;$ret.add(new $.ig.List$1($.ig.Point.prototype.$type,1,function(){var $ret=new Array;$ret.add(b);return $ret}()));return $ret}());return $ret}()},f:function(a){var $self=this;var b,c;var d=function(){var $ret=$.ig.ShapeFileUtil.prototype.g(a,b,c);b=$ret.numParts;c=$ret.numPoints;return $ret.ret}();a.readDouble();a.readDouble();for(var e=0;e<c;e++){a.readDouble()}a.readDouble();a.readDouble();for(var f=0;f<c;f++){a.readDouble()}return d},g:function(a,b,c){var $self=this;var d=new $.ig.Point(0);var e=function(){var $ret=new $.ig.Point(0);$ret.__x=a.readDouble();$ret.__y=a.readDouble();return $ret}();var f=function(){var $ret=new $.ig.Point(0);$ret.__x=a.readDouble();$ret.__y=a.readDouble();return $ret}();var g=new $.ig.Rect(0,e.__x,e.__y,f.__x-e.__x,f.__y-e.__y);b=a.readInt32();c=a.readInt32();var h=new Array(b);for(var i=0;i<b;++i){h[i]=a.readInt32()}var j=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);for(var k=0;k<b;++k){var l=(k<b-1?h[k+1]:c)-h[k];var m=new $.ig.List$1($.ig.Point.prototype.$type,2,l-1);for(var n=0;n<l;++n){d=new $.ig.Point(0);d.__x=a.readDouble();d.__y=a.readDouble();m.add(d)}if(m.count()>0){j.add(m)}}return{ret:function(){var $ret=new $.ig.ShapefileRecord;$ret.points=j;return $ret}(),numParts:b,numPoints:c};return{numParts:b,numPoints:c}},h:function(a){var $self=this;var b,c;return function(){var $ret=$.ig.ShapeFileUtil.prototype.g(a,b,c);b=$ret.numParts;c=$ret.numPoints;return $ret.ret}()},i:function(a){var $self=this;var b,c;var d=function(){var $ret=$.ig.ShapeFileUtil.prototype.k(a,b,c);b=$ret.numParts;c=$ret.numPoints;return $ret.ret}();a.readDouble();a.readDouble();for(var e=0;e<c;e++){a.readDouble()}a.readDouble();a.readDouble();for(var f=0;f<c;f++){a.readDouble()}return d},j:function(a){var $self=this;var b,c;return function(){var $ret=$.ig.ShapeFileUtil.prototype.k(a,b,c);b=$ret.numParts;c=$ret.numPoints;return $ret.ret}()},k:function(a,b,c){var $self=this;var d=function(){var $ret=new $.ig.Point(0);$ret.__x=a.readDouble();$ret.__y=a.readDouble();return $ret}();var e=function(){var $ret=new $.ig.Point(0);$ret.__x=a.readDouble();$ret.__y=a.readDouble();return $ret}();var f=new $.ig.Rect(0,d.__x,d.__y,e.__x-d.__x,e.__y-d.__y);var g=new $.ig.Point(0);b=a.readInt32();c=a.readInt32();var h=new Array(b);for(var i=0;i<b;++i){h[i]=a.readInt32()}var j=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Point.prototype.$type),0);for(var k=0;k<b;++k){var l=(k<b-1?h[k+1]:c)-h[k];var m=new $.ig.List$1($.ig.Point.prototype.$type,2,l);g=new $.ig.Point(0);g.__x=a.readDouble();g.__y=a.readDouble();for(var n=1;n<l;++n){g=new $.ig.Point(0);g.__x=a.readDouble();g.__y=a.readDouble();m.add(g)}if(m.count()>1){j.add(m)}}return{ret:function(){var $ret=new $.ig.ShapefileRecord;$ret.points=j;return $ret}(),numParts:b,numPoints:c};return{numParts:b,numPoints:c}},a:null,l:function(){$.ig.ShapeFileUtil.prototype.a=new $.ig.Dictionary$2($.ig.String.prototype.$type,$.ig.XBaseDataType.prototype.$type,0);$.ig.ShapeFileUtil.prototype.a.item("C",$.ig.XBaseDataType.prototype.character);$.ig.ShapeFileUtil.prototype.a.item("N",$.ig.XBaseDataType.prototype.number);$.ig.ShapeFileUtil.prototype.a.item("L",$.ig.XBaseDataType.prototype.logical);$.ig.ShapeFileUtil.prototype.a.item("D",$.ig.XBaseDataType.prototype.date);$.ig.ShapeFileUtil.prototype.a.item("M",$.ig.XBaseDataType.prototype.memo);$.ig.ShapeFileUtil.prototype.a.item("F",$.ig.XBaseDataType.prototype.floatingPoint);$.ig.ShapeFileUtil.prototype.a.item("B",$.ig.XBaseDataType.prototype.binary);$.ig.ShapeFileUtil.prototype.a.item("G",$.ig.XBaseDataType.prototype.general);$.ig.ShapeFileUtil.prototype.a.item("P",$.ig.XBaseDataType.prototype.picture);$.ig.ShapeFileUtil.prototype.a.item("Y",$.ig.XBaseDataType.prototype.currency);$.ig.ShapeFileUtil.prototype.a.item("T",$.ig.XBaseDataType.prototype.dateTime);$.ig.ShapeFileUtil.prototype.a.item("I",$.ig.XBaseDataType.prototype.integer);$.ig.ShapeFileUtil.prototype.a.item("V",$.ig.XBaseDataType.prototype.variField);$.ig.ShapeFileUtil.prototype.a.item("X",$.ig.XBaseDataType.prototype.variant);$.ig.ShapeFileUtil.prototype.a.item("@",$.ig.XBaseDataType.prototype.timestamp);$.ig.ShapeFileUtil.prototype.a.item("O",$.ig.XBaseDataType.prototype.double1);$.ig.ShapeFileUtil.prototype.a.item("+",$.ig.XBaseDataType.prototype.autoIncrement)},staticInit:function(){$.ig.ShapeFileUtil.prototype.l()},$type:new $.ig.Type("ShapeFileUtil",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Header","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.XBaseField.prototype.$type,0)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},f:function(){return{__x:this.e().left(),__y:this.e().top(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},g:function(){return{__x:this.e().right(),__y:this.e().bottom(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},a:null,$type:new $.ig.Type("Header",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XBaseField","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,$type:new $.ig.Type("XBaseField",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StyleSelector","Object",{init:function(){$.ig.Object.prototype.init.call(this)},selectStyle:function(a,b){return null},$type:new $.ig.Type("StyleSelector",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ItfConverter","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},source:function(a){if(arguments.length===1){this.c($.ig.ItfConverter.prototype.sourceProperty,a);return a}else{return $.ig.util.cast($.ig.Uri.prototype.$type,this.b($.ig.ItfConverter.prototype.sourceProperty))}},g:null,triangulationSource:function(a){if(arguments.length===1){var b=a!=this.triangulationSource();if(b){var c=this.g;this.g=a;this.o($.ig.ItfConverter.prototype.f,c,this.triangulationSource())}return a}else{return this.g}},l:function(){var $self=this;var a=null;var b=function(){if(a!=null){$self.triangulationSource($.ig.TriangulationSource.prototype.loadItf(a))}$self.m(new $.ig.AsyncCompletedEventArgs(null,false,null))};$.ig.BinaryFileDownloader.prototype.a(this.source().value(),function(c){a=new $.ig.BinaryReader(c,false);b()},function(d){throw new $.ig.Error(1,"itf file download error: "+d)})},importCompleted:null,m:function(a){if(this.importCompleted!=null){this.importCompleted(this,a)}},n:function(a,b,c){switch(a){case $.ig.ItfConverter.prototype.e:if(this.source()!=null){this.l()}break}},o:function(a,b,c){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}this.n(a,b,c)},propertyChanged:null,$type:new $.ig.Type("ItfConverter",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("Triangle","Object",{init:function(){$.ig.Object.prototype.init.call(this)},v1:null,v2:null,v3:null,$type:new $.ig.Type("Triangle",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TriangulationSource","Object",{init:function(){$.ig.Object.prototype.init.call(this)},create:function(a,b,c){var d=new $.ig.TriangulationSource;var e=new Array(a);var f;var g;var h=new Array(a);var i=new Array(a);var j=0;var k=0;for(var l=0;l<a;l++){f=new $.ig.TriangulationSourcePointRecord;g=b(l);j=g.__x;k=g.__y;f.pointX=j;f.pointY=k;f.value=c(l);e[l]=f;h[l]=j;i[l]=k}d.points(e);var m=new $.ig.Triangulator(a,h,i);m.n();d.triangles(m.r().asArrayList());return d},loadItf:function(a){a.readBytes(5);var b=a.readInt32();var c=a.readInt32();var d=a.readInt32();var e=a.readInt32();a.readBytes(e);var f=new $.ig.TriangulationSource;var g=new Array(b);var h;for(var i=0;i<b;i++){h=new $.ig.TriangulationSourcePointRecord;h.pointX=a.readDouble();h.pointY=a.readDouble();h.value=a.readSingle();g[i]=h}f.points(g);var j=new Array(c);var k;for(var l=0;l<c;l++){k=new $.ig.Triangle;k.v1=a.readInt32();k.v2=a.readInt32();k.v3=a.readInt32();j[l]=k}f.triangles(j);return f},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},_triangles:null,triangles:function(a){if(arguments.length===1){this._triangles=a;return a}else{return this._triangles}},$type:new $.ig.Type("TriangulationSource",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TriangulatorContext","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,$type:new $.ig.Type("TriangulatorContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Triangulator","DependencyObject",{e:null,f:null,g:null,init:function(a,b,c){this.h=0;$.ig.DependencyObject.prototype.init.call(this);this.e=a;this.f=b;this.g=c},m:function(){this.o();this.k().p=true;this.w()},n:function(){this.o();this.k().p=false;this.w()},o:function(){var $self=this;var a=this.e;var b=this.f;var c=this.g;var d=new $.ig.List$1($.ig.Triangle.prototype.$type,0);if(a>=3){var e=function(){var $ret=new $.ig.List$1($.ig.Number.prototype.$type,0);$ret.h(a);return $ret}();for(var f=0;f<a;++f){e.add(f)}var i=function(g,h){if(b.item(g)<b.item(h)){return-1}else if(b.item(g)>b.item(h)){return 1}if(c.item(g)<c.item(h)){return-1}else if(c.item(g)>c.item(h)){return 1}return 0};e.t(i);var j=b.item(e.__inner[0]);var k=b.item(e.__inner[a-1]);var l=c.item(e.__inner[0]);var m=l;for(var n=1;n<a;n++){l=Math.min(l,c.item(e.__inner[n]));m=Math.max(m,b.item(e.__inner[n]))}var o=k-j;var p=m-l;var q=Math.max(o,p);var r=(k+j)/2;var s=(m+l)/2;var t={__x:r-20*q,__y:s-q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var u={__x:r,__y:s+20*q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var v={__x:r+20*q,__y:s-q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var w=new $.ig.LinkedList$1($.ig.Triangle.prototype.$type);var x=new $.ig.LinkedList$1($.ig.Triangle.prototype.$type);var y=new $.ig.HalfEdgeSet;var z=new $.ig.PointTester;w.g(function(){var $ret=new $.ig.Triangle;$ret.v1=a;$ret.v2=a+1;$ret.v3=a+2;return $ret}());var aa=new $.ig.TriangulatorContext;aa.a=a;aa.e=t;aa.f=u;aa.g=v;aa.i=x;aa.k=y;aa.j=e;aa.l=z;aa.d=d;aa.h=w;aa.b=b;aa.c=c;var ab=1;if(a>3e3){ab=20}aa.m=Math.ceil(a/ab);aa.n=0;aa.o=aa.m;this.h=0;this.p();this.k(aa)}},p:function(){this.q()},q:function(){if(this.triangulationStatusChanged!=null){this.triangulationStatusChanged(this,new $.ig.TriangulationStatusEventArgs(this.h))}},r:function(){if(this.k()==null){return null}return this.k().d},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},u:function(){var $self=this;if(this.k()==null){return}var a=this.k();var b=this.k().a;var c=this.k().b;var d=this.k().c;var e=this.k().j;var f=this.k().e;var g=this.k().f;var h=this.k().g;var i=this.k().d;var j=this.k().h;var k=this.k().i;var l=this.k().l;var m=this.k().k;var n=this.k().n;var o=this.k().o;var p;var q;var r;var s;var t;var u;var v;var w;var x;var y;var z;var aa;for(var ab=n;ab<o;++ab){m.e();if(ab<b){p=c.item(e.__inner[ab]);q=d.item(e.__inner[ab])}else if(ab==b){p=f.__x;q=f.__y}else if(ab==b+1){p=g.__x;q=g.__y}else{p=h.__x;q=h.__y}var ac=null;for(var ad=j.c();ad!=null;ad=ac){ac=ad.b;aa=ad.d();r=aa.v1;u=aa.v2;x=aa.v3;if(r<b){s=c.item(e.__inner[r]);t=d.item(e.__inner[r])}else if(r==b){s=f.__x;t=f.__y}else if(r==b+1){s=g.__x;t=g.__y}else{s=h.__x;t=h.__y}if(u<b){v=c.item(e.__inner[u]);w=d.item(e.__inner[u])}else if(u==b){v=f.__x;w=f.__y}else if(u==b+1){v=g.__x;w=g.__y}else{v=h.__x;w=h.__y}if(x<b){y=c.item(e.__inner[x]);z=d.item(e.__inner[x])}else if(x==b){y=f.__x;z=f.__y}else if(x==b+1){y=g.__x;z=g.__y}else{y=h.__x;z=h.__y}l.c(p,q,s,t,v,w,y,z);if(l.a){k.h(aa);j.i(ad)}if(l.b){var ae;ae=new $.ig.HalfEdge(r,u);if(m.g(ae)){m.d(ae)}else{m.c(ae)}ae=new $.ig.HalfEdge(u,x);if(m.g(ae)){m.d(ae)}else{m.c(ae)}ae=new $.ig.HalfEdge(x,r);if(m.g(ae)){m.d(ae)}else{m.c(ae)}j.i(ad)}}var ag=m.getEnumerator();while(ag.moveNext()){var af=ag.current();var ah=new $.ig.Triangle;ah.v1=af.c();ah.v2=af.d();ah.v3=ab;j.h(ah)}}if(o==b){for(var ai=k.c();ai!=null;ai=ai.b){aa=ai.d();if(aa.v1<b&&aa.v2<b&&aa.v3<b){i.add(function(){var $ret=new $.ig.Triangle;$ret.v1=e.__inner[aa.v1];$ret.v2=e.__inner[aa.v2];$ret.v3=e.__inner[aa.v3];return $ret}())}}for(var aj=j.c();aj!=null;aj=aj.b){aa=aj.d();if(aa.v1<b&&aa.v2<b&&aa.v3<b){i.add(function(){var $ret=new $.ig.Triangle;$ret.v1=e.__inner[aa.v1];$ret.v2=e.__inner[aa.v2];$ret.v3=e.__inner[aa.v3];return $ret}())}}this.h=100;this.p()}else{n=o;o+=a.m;if(o>b){o=b}a.n=n;a.o=o;this.h+=Math.floor(100/20);this.p();this.w()}},v:function(){this.k(null)},w:function(){if(this.k().p){window.setTimeout(this.u.runOn(this),0)}else{this.u()}},h:null,l:function(){return this.h},triangulationStatusChanged:null,$type:new $.ig.Type("Triangulator",$.ig.DependencyObject.prototype.$type)},true);$.ig.util.defType("TriangulationStatusEventArgs","EventArgs",{_currentStatus:null,currentStatus:function(a){if(arguments.length===1){this._currentStatus=a;return a}else{return this._currentStatus}},init:function(a){$.ig.EventArgs.prototype.init.call(this);this.currentStatus(a)},$type:new $.ig.Type("TriangulationStatusEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("HalfEdge","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("HalfEdge",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HalfEdgeSet","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2($.ig.HalfEdge.prototype.$type,$.ig.Object.prototype.$type,2,new $.ig.EdgeComparer)},getEnumerator:function(){return this.a.keys().getEnumerator()},c:function(a){this.a.add(a,null)},d:function(a){this.a.remove(a)},e:function(){this.a.clear()},b:function(){return this.a.count()},g:function(a){return this.a.containsKey(a)},a:null,$type:new $.ig.Type("HalfEdgeSet",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize($.ig.HalfEdge.prototype.$type)])},true);$.ig.util.defType("EdgeComparer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},equals:function(a,b){return a.c()==b.c()&&a.d()==b.d()||a.c()==b.d()&&a.d()==b.c()},getHashCode:function(a){return 65536*Math.max(a.c(),a.d())+Math.min(a.c(),a.d())},$type:new $.ig.Type("EdgeComparer",$.ig.Object.prototype.$type,[$.ig.IEqualityComparer$1.prototype.$type.specialize($.ig.HalfEdge.prototype.$type)])},true);$.ig.util.defType("PointTester","Object",{init:function(){$.ig.Object.prototype.init.call(this)},c:function(a,b,c,d,e,f,g,h){var i=Math.abs(d-f);var j=Math.abs(f-h);var k=0;var l=0;if(i==0&&j==0){return false}if(i==0&&j!=0){k=(e+c)/2;l=-(g-e)/(h-f)*(k-(e+g)/2)+(f+h)/2}if(i!=0&&j==0){k=(g+e)/2;l=-(e-c)/(f-d)*(k-(c+e)/2)+(d+f)/2}if(i!=0&&j!=0){var m=-(e-c)/(f-d);var n=-(g-e)/(h-f);var o=(c+e)/2;var p=(e+g)/2;var q=(d+f)/2;var r=(f+h)/2;k=(m*o-n*p+r-q)/(m-n);l=i>j?m*(k-o)+q:n*(k-p)+r}var s=e-k;var t=f-l;var u=s*s+t*t;s=a-k;t=b-l;var v=s*s+t*t;this.b=v<=u;this.a=k<a&&(a-k)*(a-k)>u;return true},a:null,b:null,$type:new $.ig.Type("PointTester",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TriangulationSourcePointRecord","Object",{init:function(){$.ig.Object.prototype.init.call(this)},pointX:null,pointY:null,value:null,$type:new $.ig.Type("TriangulationSourcePointRecord",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamGeographicMap","SeriesViewer",{init:function(){var $self=this;this.lm={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};this.lp=$.ig.Rect.prototype.empty();$.ig.SeriesViewer.prototype.init.call(this);this.lg=$.ig.SphericalMercatorVerticalScaler.prototype.aw($.ig.XamGeographicMap.prototype.lf.bottom())-$.ig.SphericalMercatorVerticalScaler.prototype.aw($.ig.XamGeographicMap.prototype.lf.top());this.a3($.ig.XamGeographicMap.prototype.$type);this.backgroundContent(new $.ig.OpenStreetMapImagery);var a=function(){var $ret=new $.ig.NumericXAxis;$ret.seriesViewer($self);return $ret}();a.isDisabled(true);this.xAxis(a);this.xAxis().scaler(new $.ig.SphericalMercatorHorizontalScaler);var b=function(){var $ret=new $.ig.NumericYAxis;$ret.seriesViewer($self);return $ret}();b.isDisabled(true);this.yAxis(b);this.yAxis().scaler(new $.ig.SphericalMercatorVerticalScaler);this.lx();this.l8()},lg:null,worldRect:function(a){if(arguments.length===1){this.c($.ig.XamGeographicMap.prototype.worldRectProperty,a);return a}else{return this.b($.ig.XamGeographicMap.prototype.worldRectProperty)}},lh:null,actualWorldRect:function(a){if(arguments.length===1){var b=this.lh!=a;if(b){var c=this.lh;this.lh=a;this.gj($.ig.XamGeographicMap.prototype.lb,c,a)}return a}else{return this.lh}},lx:function(){if(this.worldRect().isEmpty()){return}this.actualWorldRect(this.ly(this.worldRect()))},ly:function(a){var b=a.top();var c=a.left();var d=a.width();var e=a.height();var f=$.ig.SphericalMercatorVerticalScaler.prototype.aw(a.bottom());var g=$.ig.SphericalMercatorVerticalScaler.prototype.aw(a.top());var h=f-g;var i=a.width()/$.ig.XamGeographicMap.prototype.lf.width();var j=h/i;if(h/i>this.lg){var k=h/this.lg;var l=k-i;c=c-l/2*$.ig.XamGeographicMap.prototype.lf.width();d=k*$.ig.XamGeographicMap.prototype.lf.width()}else if(h/i<this.lg){var m=this.lg*i;var n=m-h;var o=g-n/2;var p=f+n/2;b=$.ig.SphericalMercatorVerticalScaler.prototype.ax(o);e=$.ig.SphericalMercatorVerticalScaler.prototype.ax(p)-b}var q=new $.ig.Rect(0,c,b,d,e);return q},backgroundContent:function(a){if(arguments.length===1){var b=a!=this.backgroundContent();if(b){var c=this.backgroundContent();this.li=a;this.gj($.ig.XamGeographicMap.prototype.lc,c,a)}return a}else{return this.li}},li:null,xAxis:function(a){if(arguments.length===1){var b=a!=this.xAxis();if(b){var c=this.xAxis();this.lj=a;this.gj($.ig.XamGeographicMap.prototype.ld,c,a)}return a}else{return this.lj}},lj:null,yAxis:function(a){if(arguments.length===1){var b=a!=this.yAxis();if(b){var c=this.yAxis();this.lk=a;this.gj($.ig.XamGeographicMap.prototype.le,c,a)}return a}else{return this.lk}},lk:null,_lt:null,lt:function(a){if(arguments.length===1){this._lt=a;return a}else{return this._lt}},getZoomFromGeographic:function(a){var b=this.ly(a);var c=this.xAxis();var d=this.yAxis();var e=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),c.isInverted());e.c=this.effectiveViewport();var f=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),d.isInverted());f.c=this.effectiveViewport();var g=this.xAxis().getScaledValue(b.left(),e);var h=this.xAxis().getScaledValue(b.right(),e);var i=this.yAxis().getScaledValue(b.top(),f);var j=this.yAxis().getScaledValue(b.bottom(),f);var k=g/this.viewportRect().width();var l=j/this.viewportRect().height();var m=(h-g)/this.viewportRect().width();var n=(i-j)/this.viewportRect().height();var o=new $.ig.Rect(0,k,l,m,n);o.intersect($.ig.XamGeographicMap.prototype.ll);if(o.isEmpty()){o=$.ig.XamGeographicMap.prototype.ll}return o},getZoomFromGeographic1:function(a,b){var c=a.__x;var d=b.__y;var e=b.__x-a.__x;var f=a.__y-b.__y;if(e<0||f<0){return $.ig.XamGeographicMap.prototype.ll}else{var g=new $.ig.Rect(0,c,d,e,f);return this.getZoomFromGeographic(g)}},getGeographicFromZoom:function(a){var b=this.xAxis();var c=this.yAxis();var d=new $.ig.ScalerParams(a,this.viewportRect(),b.isInverted());d.c=this.effectiveViewport();var e=new $.ig.ScalerParams(a,this.viewportRect(),c.isInverted());e.c=this.effectiveViewport();var f=b.getUnscaledValue(this.effectiveViewport().left(),d);var g=c.getUnscaledValue(this.effectiveViewport().top(),e);var h=b.getUnscaledValue(this.effectiveViewport().right(),d);var i=c.getUnscaledValue(this.effectiveViewport().bottom(),e);var j=h-f;var k=g-i;var l=new $.ig.Rect(0,f,i,j,k);l.intersect($.ig.XamGeographicMap.prototype.lf);if(l.isEmpty()){l=$.ig.XamGeographicMap.prototype.lf}return l},getGeographicPoint:function(a){var b=this.xAxis().unscaleValue(a.__x);var c=this.yAxis().unscaleValue(a.__y);return{__x:b,__y:c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},getWindowPoint:function(a){var b=this.xAxis().scaleValue(a.__x);var c=this.yAxis().scaleValue(a.__y);return{__x:b,__y:c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},clearTileCache:function(){var a=$.ig.util.cast($.ig.GeographicMapImagery.prototype.$type,this.backgroundContent());if(a!=null){a.clearTileCache()}},l1:function(a){},getMarkerBrushByIndex:function(a){return this.lu().fg(a)},getMarkerOutlineByIndex:function(a){return this.lu().fh(a)},useFixedAspectZoom:function(){return true},styleUpdated:function(){this.lu().d1();var b=this.series().getEnumerator();while(b.moveNext()){var a=b.current();a.styleUpdated()}},lm:null,l2:function(){var a=this.xAxis().unscaleValue(this.viewportRect().left());var b=this.yAxis().unscaleValue(this.viewportRect().top());this.lm={__x:a,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},l3:function(){if(isNaN(this.lm.__x)||isNaN(this.lm.__y)){this.l2()}var a=this.lm.__x;var b=this.lm.__y;if(!isNaN(a)&!isNaN(b)){var c=this.actualWindowRect().left();var d=this.actualWindowRect().top();var e=this.actualWindowRect().width();var f=this.actualWindowRect().height();if(e>this.ln.width()){}else{var g=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),this.xAxis().isInverted());g.c=this.effectiveViewport();var h=this.xAxis().getScaledValue(a,g);c=h/this.viewportRect().width();if(c+e>this.ln.right()){c=this.ln.right()-e}else if(c<this.ln.left()){c=this.ln.left()}}if(f>this.ln.height()){}else{var i=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),this.yAxis().isInverted());i.c=this.effectiveViewport();var j=this.yAxis().getScaledValue(b,i);d=j/this.viewportRect().height();if(d+f>this.ln.bottom()){d=this.ln.bottom()-f}else if(d<this.ln.top()){d=this.ln.top()}}this.actualWindowRect(new $.ig.Rect(0,c,d,e,f))}},ln:null,jp:function(){var a=$.ig.SeriesViewer.prototype.jp.call(this);if(this.xAxis()==null||this.yAxis()==null){return a}var b=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),this.xAxis().isInverted());b.c=this.effectiveViewport();var c=new $.ig.ScalerParams($.ig.XamGeographicMap.prototype.ll,this.viewportRect(),this.yAxis().isInverted());c.c=this.effectiveViewport();var d=this.xAxis().getScaledValue($.ig.XamGeographicMap.prototype.lf.left(),b);var e=this.xAxis().getScaledValue($.ig.XamGeographicMap.prototype.lf.right(),b);var f=this.yAxis().getScaledValue($.ig.XamGeographicMap.prototype.lf.top(),c);var g=this.yAxis().getScaledValue($.ig.XamGeographicMap.prototype.lf.bottom(),c);this.ln=new $.ig.Rect(0,d/this.viewportRect().width(),g/this.viewportRect().height(),(e-d)/this.viewportRect().width(),(f-g)/this.viewportRect().height());var h=a.left();var i=a.top();if(this.windowRect().width()>this.ln.width()){h=.5-this.windowRect().width()/2}else if(h+a.width()>this.ln.right()){h=this.ln.right()-this.windowRect().width()}else if(h<this.ln.left()){h=this.ln.left()}if(this.windowRect().height()>this.ln.height()){i=.5-this.windowRect().height()/2}else if(i+this.windowRect().height()>this.ln.bottom()){i=this.ln.bottom()-this.windowRect().height()}else if(i<this.ln.top()){i=this.ln.top()}return new $.ig.Rect(0,h,i,a.width(),a.height())},gz:function(a){if(a.isEmpty()){return $.ig.Rect.prototype.empty()}var b;if(a.width()>a.height()){var c=$.ig.intDivide(a.width()-a.height(),2);b=new $.ig.Rect(0,a.left()+c,a.top(),a.height(),a.height())}else{var d=$.ig.intDivide(a.height()-a.width(),2);b=new $.ig.Rect(0,a.left(),a.top()+d,a.width(),a.width())}return b},l4:function(a){return this.gz(a)
},jb:function(){return new $.ig.XamGeographicMapView(this)},ge:function(a){return this.lu().fi(a)},gf:function(a){return this.lu().fj(a)},l5:function(a){if(a!=null){a.seriesViewer(this)}},jc:function(a){$.ig.SeriesViewer.prototype.jc.call(this,a);this.lu(a)},g1:function(a,b){$.ig.SeriesViewer.prototype.g1.call(this,a,b);this.g0(this.xAxis());this.g0(this.yAxis());if(a!=b){this.l3()}this.me()},i4:function(a,b,c,d){switch(b){case $.ig.XamGeographicMap.prototype.bg:this.l2();break}$.ig.SeriesViewer.prototype.i4.call(this,a,b,c,d);switch(b){case $.ig.XamGeographicMap.prototype.lc:if(this.lt()!=null){this.lt().imageTilesReady=$.ig.Delegate.prototype.remove(this.lt().imageTilesReady,this.l6.runOn(this));this.lt().deferralHandler(null)}this.lt($.ig.util.cast($.ig.GeographicMapImagery.prototype.$type,this.backgroundContent()));if(this.lt()!=null){this.lt().imageTilesReady=$.ig.Delegate.prototype.combine(this.lt().imageTilesReady,this.l6.runOn(this));this.lt().deferralHandler(this)}this.lu().fv($.ig.util.cast($.ig.GeographicMapImagery.prototype.$type,c),$.ig.util.cast($.ig.GeographicMapImagery.prototype.$type,d));if(this.lt()!=null){this.lt().geographicMap(this);this.lu().fu(this.actualWindowRect())}break;case $.ig.XamGeographicMap.prototype.le:case $.ig.XamGeographicMap.prototype.ld:this.l7(c);this.l5(d);break;case $.ig.XamGeographicMap.prototype.la:this.windowRect($.ig.XamGeographicMap.prototype.ll);this.lx();this.l8();this.l2();this.actualWindowRect(this.jp());this.lu().fn();break;case $.ig.SeriesViewer.prototype.cp:this.lu().fu(this.actualWindowRect());break;case $.ig.XamGeographicMap.prototype.lb:var f=this.series().getEnumerator();while(f.moveNext()){var e=f.current();e.renderSeries(false)}break}},imageTilesReady:null,l6:function(a,b){if(this.imageTilesReady!=null){this.imageTilesReady(this,new $.ig.EventArgs)}},l7:function(a){if(a!=null){a.seriesViewer(null)}},l8:function(){if(this.xAxis()!=null){this.xAxis().minimumValue(this.actualWorldRect().left());this.xAxis().maximumValue(this.actualWorldRect().right())}if(this.yAxis()!=null){this.yAxis().minimumValue(this.actualWorldRect().top());this.yAxis().maximumValue(this.actualWorldRect().bottom())}this.xAxis().updateRange1(true);this.yAxis().updateRange1(true)},_lu:null,lu:function(a){if(arguments.length===1){this._lu=a;return a}else{return this._lu}},jf:function(){return this.lu().fc()},je:function(){return this.lu().fd()},jd:function(){return this.lu().fb()},jk:function(a,b){if($.ig.util.cast($.ig.ItfConverter.prototype.$type,b)!==null){var c=b;var d=a;d.itemsSource(c.triangulationSource().points());d.trianglesSource(c.triangulationSource().triangles())}else{$.ig.SeriesViewer.prototype.jk.call(this,a,b)}},register:function(a,b){this.jw(a,b)},unRegister:function(a){this.jx(a)},deferredRefresh:function(){this.jy()},exportVisualData:function(){var a=new $.ig.ChartVisualData;var b=this.xAxis().exportVisualData();var c=this.yAxis().exportVisualData();a.axes().add(b);a.axes().add(c);for(var d=0;d<this.series().count();d++){var e=this.series().__inner[d].exportVisualData();a.series().add(e)}a.name(this.name());return a},mb:function(){throw new $.ig.NotImplementedException},lp:null,lv:function(a){if(arguments.length===1){this.lp=a;return a}else{return this.lp}},zoomToGeographic:function(a){this.lv(a);this.me()},me:function(){if(this.zoomIsReady()&&!this.lv().isEmpty()){var a=this.getZoomFromGeographic(this.lv());this.lv($.ig.Rect.prototype.empty());this.ig(a)}},zoomIsReady:function(){return!this.viewportRect().isEmpty()&&!this.effectiveViewport().isEmpty()},$type:new $.ig.Type("XamGeographicMap",$.ig.SeriesViewer.prototype.$type,[$.ig.IMapRenderDeferralHandler.prototype.$type])},true);$.ig.util.defType("XamGeographicMapView","SeriesViewerView",{init:function(a){$.ig.SeriesViewerView.prototype.init.call(this,a);this.fa($.ig.Rect.prototype.empty());this.e9(a);this.e9().dragModifier($.ig.ModifierKeys.prototype.control);this.e9().windowRectMinWidth(5e-6)},ev:function(a){return $.ig.InteractionState.prototype.dragPan},eg:function(a){this.eh(a)},_e9:null,e9:function(a){if(arguments.length===1){this._e9=a;return a}else{return this._e9}},ed:function(){var $self=this;var a;var b;var c;var d;var e;(function(){var $ret=$self.aq().az(a,b,c,d,e);a=$ret.brushes;b=$ret.outlines;c=$ret.fontBrush;d=$ret.font;e=$ret.axisLineBrush;return $ret.ret})();this.fb(c);this.fd(d);this.fc(e)},fg:function(a){var $self=this;return function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(0,0,0,1)";return $ret}()},fh:function(a){var $self=this;return function(){var $ret=new $.ig.Brush;$ret.__fill="white";return $ret}()},fi:function(a){var $self=this;return function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(50,50,50,.5)";return $ret}()},fj:function(a){var $self=this;return function(){var $ret=new $.ig.Brush;$ret.__fill="white";return $ret}()},de:function(a){$.ig.SeriesViewerView.prototype.de.call(this,a);if(this.e9().backgroundContent()!=null){var b=this.e9().backgroundContent();b.b6(a)}},_fa:null,fa:function(a){if(arguments.length===1){this._fa=a;return a}else{return this._fa}},du:function(a){$.ig.SeriesViewerView.prototype.du.call(this,a);this.fa(a);if(this.e9().backgroundContent()!=null){var b=this.e9().backgroundContent();b.b7(this.fa())}},fm:function(){return new $.ig.Rect(0,0,0,this.fa().width(),this.fa().height())},fn:function(){if(this.e9().backgroundContent()!=null){var a=this.e9().backgroundContent();a.b9()}},_fb:null,fb:function(a){if(arguments.length===1){this._fb=a;return a}else{return this._fb}},_fc:null,fc:function(a){if(arguments.length===1){this._fc=a;return a}else{return this._fc}},_fd:null,fd:function(a){if(arguments.length===1){this._fd=a;return a}else{return this._fd}},fu:function(a){if(this.e9().lt()!=null){this.e9().lt().windowRect(a)}},fv:function(a,b){if(this.e9().lt()!=null){this.e9().lt().windowRect(this.e9().actualWindowRect())}if(a!=null){var c=a.bp();if(c!=null){this.e9().canvasRenderScheduler().h().remove(c.co())}a.b6(null)}if(b!=null){var d=b.bp();if(d!=null){this.e9().canvasRenderScheduler().h().add(d.co())}if(!this.fa().isEmpty()){this.du(this.fa())}if(this.ar()!=null){this.de(this.ar())}}if(b==null){this.fw(this.ar())}},fw:function(a){a.u(this.fa().left(),this.fa().top(),this.fa().width(),this.fa().height())},dx:function(){this.ap().a5(1);this.ao().a5(1);this.ap().__stroke=this.fb();this.ao().__stroke=this.fb();$.ig.SeriesViewerView.prototype.dx.call(this)},bq:function(){$.ig.SeriesViewerView.prototype.bq.call(this)},$type:new $.ig.Type("XamGeographicMapView",$.ig.SeriesViewerView.prototype.$type)},true);$.ig.util.defType("TestEnum","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<10){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},b:function(){var a=this.a();var c=a.getEnumerator();while(c.moveNext()){var b=c.current();console.log(b.toString())}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();console.log(d.toString())}},$type:new $.ig.Type("TestEnum",$.ig.Object.prototype.$type)},true);$.ig.ShapeType.prototype.none=0;$.ig.ShapeType.prototype.point=1;$.ig.ShapeType.prototype.polyLine=3;$.ig.ShapeType.prototype.polygon=5;$.ig.ShapeType.prototype.polyPoint=8;$.ig.ShapeType.prototype.pointZ=11;$.ig.ShapeType.prototype.polyLineZ=13;$.ig.ShapeType.prototype.polygonZ=15;$.ig.ShapeType.prototype.polyPointZ=18;$.ig.ShapeType.prototype.pointM=21;$.ig.ShapeType.prototype.polyLineM=23;$.ig.ShapeType.prototype.polygonM=25;$.ig.ShapeType.prototype.polyPointM=28;$.ig.ShapeType.prototype.polyPatch=31;$.ig.XBaseDataType.prototype.character=0;$.ig.XBaseDataType.prototype.number=1;$.ig.XBaseDataType.prototype.logical=2;$.ig.XBaseDataType.prototype.date=3;$.ig.XBaseDataType.prototype.memo=4;$.ig.XBaseDataType.prototype.floatingPoint=5;$.ig.XBaseDataType.prototype.binary=6;$.ig.XBaseDataType.prototype.general=7;$.ig.XBaseDataType.prototype.picture=8;$.ig.XBaseDataType.prototype.currency=9;$.ig.XBaseDataType.prototype.dateTime=10;$.ig.XBaseDataType.prototype.integer=11;$.ig.XBaseDataType.prototype.variField=12;$.ig.XBaseDataType.prototype.variant=13;$.ig.XBaseDataType.prototype.timestamp=14;$.ig.XBaseDataType.prototype.double1=15;$.ig.XBaseDataType.prototype.autoIncrement=16;$.ig.BingMapsImageryStyle.prototype.aerial=0;$.ig.BingMapsImageryStyle.prototype.aerialWithLabels=1;$.ig.BingMapsImageryStyle.prototype.road=2;$.ig.ColorScaleInterpolationMode.prototype.select=0;$.ig.ColorScaleInterpolationMode.prototype.interpolateRGB=1;$.ig.ColorScaleInterpolationMode.prototype.interpolateHSV=2;$.ig.SphericalMercatorVerticalScaler.prototype.am=85.05112878;$.ig.SphericalMercatorVerticalScaler.prototype.an=-85.05112878;$.ig.SphericalMercatorVerticalScaler.prototype.ak=Math.PI/180;$.ig.CustomPaletteColorScale.prototype.g="MinimumValue";$.ig.CustomPaletteColorScale.prototype.h="MaximumValue";$.ig.CustomPaletteColorScale.prototype.i="Palette";$.ig.CustomPaletteColorScale.prototype.j="InterpolationMode";$.ig.CustomPaletteColorScale.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.CustomPaletteColorScale.prototype.g,Number,$.ig.CustomPaletteColorScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.CustomPaletteColorScale.prototype.$type,a).f($.ig.CustomPaletteColorScale.prototype.g,b.f(),b.e())}));$.ig.CustomPaletteColorScale.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.CustomPaletteColorScale.prototype.h,Number,$.ig.CustomPaletteColorScale.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){$.ig.util.cast($.ig.CustomPaletteColorScale.prototype.$type,a).f($.ig.CustomPaletteColorScale.prototype.h,b.f(),b.e())}));$.ig.CustomPaletteColorScale.prototype.interpolationModeProperty=$.ig.DependencyProperty.prototype.l($.ig.CustomPaletteColorScale.prototype.j,$.ig.ColorScaleInterpolationMode.prototype.$type,$.ig.CustomPaletteColorScale.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.ColorScaleInterpolationMode.prototype.select,function(a,b){$.ig.util.cast($.ig.CustomPaletteColorScale.prototype.$type,a).f($.ig.CustomPaletteColorScale.prototype.j,b.f(),b.e())}));$.ig.GeographicMapImagery.prototype.bd="MultiScaleImage";$.ig.GeographicMapImagery.prototype.be="WindowRect";$.ig.GeographicMapImagery.prototype.bf="GeographicMap";$.ig.GeographicMapImagery.prototype.windowRectProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicMapImagery.prototype.be,$.ig.Rect.prototype.$type,$.ig.GeographicMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Rect.prototype.empty(),function(a,b){$.ig.util.cast($.ig.GeographicMapImagery.prototype.$type,a).by($.ig.GeographicMapImagery.prototype.be,b.f(),b.e())}));$.ig.GeographicMapImagery.prototype.geographicMapProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicMapImagery.prototype.bf,$.ig.XamGeographicMap.prototype.$type,$.ig.GeographicMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.GeographicMapImagery.prototype.bz));$.ig.BingMapsMapImagery.prototype.cb="http://dev.virtualearth.net/REST/v1/Imagery/Metadata/";$.ig.BingMapsMapImagery.prototype.cc="IsDeferredLoad";$.ig.BingMapsMapImagery.prototype.cd="TilePath";$.ig.BingMapsMapImagery.prototype.ce="SubDomains";$.ig.BingMapsMapImagery.prototype.cf="ActualTilePath";$.ig.BingMapsMapImagery.prototype.cg="ActualSubDomains";$.ig.BingMapsMapImagery.prototype.ch="BingImageryRestUri";$.ig.BingMapsMapImagery.prototype.ci="ActualBingImageryRestUri";$.ig.BingMapsMapImagery.prototype.cj="CultureName";$.ig.BingMapsMapImagery.prototype.ck="ApiKey";$.ig.BingMapsMapImagery.prototype.cl="ImageryStyle";$.ig.BingMapsMapImagery.prototype.isDeferredLoadProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.cc,$.ig.Boolean.prototype.$type,$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){return $.ig.util.cast($.ig.BingMapsMapImagery.prototype.$type,a).cz(b.f(),b.e())}));$.ig.BingMapsMapImagery.prototype.tilePathProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.cd,String,$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.BingMapsMapImagery.prototype.c0));$.ig.BingMapsMapImagery.prototype.subDomainsProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.ce,$.ig.ObservableCollection$1.prototype.$type.specialize(String),$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.BingMapsMapImagery.prototype.c1));$.ig.BingMapsMapImagery.prototype.cultureNameProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.cj,String,$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,"en-US",$.ig.BingMapsMapImagery.prototype.c5));$.ig.BingMapsMapImagery.prototype.apiKeyProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.ck,String,$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,String.empty(),function(a,b){return $.ig.util.cast($.ig.BingMapsMapImagery.prototype.$type,a).c6(b.f(),b.e())}));$.ig.BingMapsMapImagery.prototype.imageryStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.BingMapsMapImagery.prototype.cl,$.ig.BingMapsImageryStyle.prototype.$type,$.ig.BingMapsMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.BingMapsImageryStyle.prototype.aerialWithLabels,function(a,b){return $.ig.util.cast($.ig.BingMapsMapImagery.prototype.$type,a).c7(b.f(),b.e())}));$.ig.CloudMadeMapImagery.prototype.cb="Key";$.ig.CloudMadeMapImagery.prototype.cc="Parameter";$.ig.CloudMadeMapImagery.prototype.keyProperty=$.ig.DependencyProperty.prototype.l($.ig.CloudMadeMapImagery.prototype.cb,String,$.ig.CloudMadeMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.CloudMadeMapImagery.prototype.ch));$.ig.CloudMadeMapImagery.prototype.parameterProperty=$.ig.DependencyProperty.prototype.l($.ig.CloudMadeMapImagery.prototype.cc,String,$.ig.CloudMadeMapImagery.prototype.$type,new $.ig.PropertyMetadata(1,null,$.ig.CloudMadeMapImagery.prototype.ci));$.ig.GeographicMapSeriesHost$1.prototype.ii="VisibleFromScale";$.ig.GeographicMapSeriesHost$1.prototype.visibleFromScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicMapSeriesHost$1.prototype.ii,Number,$.ig.GeographicMapSeriesHost$1.prototype.$type.specialize(this.$t),new $.ig.PropertyMetadata(1,1,function(a,b){$.ig.util.cast($.ig.GeographicMapSeriesHost$1.prototype.$type.specialize($self.$t),a).e6($.ig.GeographicMapSeriesHost$1.prototype.ii,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.iy="LongitudeMemberPath";$.ig.GeographicXYTriangulatingSeries.prototype.iz="LatitudeMemberPath";$.ig.GeographicXYTriangulatingSeries.prototype.i0="TrianglesSource";$.ig.GeographicXYTriangulatingSeries.prototype.i1="TriangleVertexMemberPath1";$.ig.GeographicXYTriangulatingSeries.prototype.i2="TriangleVertexMemberPath2";$.ig.GeographicXYTriangulatingSeries.prototype.i3="TriangleVertexMemberPath3";$.ig.GeographicXYTriangulatingSeries.prototype.longitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.iy,String,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,"pointX",function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.iy,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.latitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.iz,String,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,"pointY",function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.iz,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.trianglesSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.i0,$.ig.IEnumerable.prototype.$type,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.i0,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath1Property=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.i1,String,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,"v1",function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.i1,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath2Property=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.i2,String,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,"v2",function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.i2,b.f(),b.e())}));$.ig.GeographicXYTriangulatingSeries.prototype.triangleVertexMemberPath3Property=$.ig.DependencyProperty.prototype.l($.ig.GeographicXYTriangulatingSeries.prototype.i3,String,$.ig.GeographicXYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,"v3",function(a,b){a.e6($.ig.GeographicXYTriangulatingSeries.prototype.i3,b.f(),b.e())}));$.ig.GeographicContourLineSeries.prototype.jk="ValueMemberPath";$.ig.GeographicContourLineSeries.prototype.jl="FillScale";$.ig.GeographicContourLineSeries.prototype.jm="ValueResolver";$.ig.GeographicContourLineSeries.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicContourLineSeries.prototype.jk,String,$.ig.GeographicContourLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,"value",function(a,b){a.e6($.ig.GeographicContourLineSeries.prototype.jk,b.f(),b.e())}));$.ig.GeographicContourLineSeries.prototype.fillScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicContourLineSeries.prototype.jl,$.ig.ValueBrushScale.prototype.$type,$.ig.GeographicContourLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicContourLineSeries.prototype.jl,b.f(),b.e())}));$.ig.GeographicContourLineSeries.prototype.valueResolverProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicContourLineSeries.prototype.jm,$.ig.ContourValueResolver.prototype.$type,$.ig.GeographicContourLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicContourLineSeries.prototype.jm,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.iy="LatitudeMemberPath";$.ig.GeographicHighDensityScatterSeries.prototype.iz="LongitudeMemberPath";$.ig.GeographicHighDensityScatterSeries.prototype.i0="UseBruteForce";$.ig.GeographicHighDensityScatterSeries.prototype.i1="ProgressiveLoad";$.ig.GeographicHighDensityScatterSeries.prototype.i2="MouseOverEnabled";$.ig.GeographicHighDensityScatterSeries.prototype.i3="HeatMinimum";$.ig.GeographicHighDensityScatterSeries.prototype.i4="HeatMaximum";$.ig.GeographicHighDensityScatterSeries.prototype.i5="HeatMinimumColor";$.ig.GeographicHighDensityScatterSeries.prototype.i6="HeatMaximumColor";$.ig.GeographicHighDensityScatterSeries.prototype.i7="PointExtent";$.ig.GeographicHighDensityScatterSeries.prototype.latitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.iy,String,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.iy,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.longitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.iz,String,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.iz,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.useBruteForceProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i0,$.ig.Boolean.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i0,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.progressiveLoadProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i1,$.ig.Boolean.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,true,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i1,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.mouseOverEnabledProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i2,$.ig.Boolean.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,false,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i2,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i3,Number,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i3,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i4,Number,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,50,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i4,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.heatMinimumColorProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i5,$.ig.Color.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i5,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.heatMaximumColorProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i6,$.ig.Color.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i6,b.f(),b.e())}));$.ig.GeographicHighDensityScatterSeries.prototype.pointExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicHighDensityScatterSeries.prototype.i7,$.ig.Number.prototype.$type,$.ig.GeographicHighDensityScatterSeries.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.e6($.ig.GeographicHighDensityScatterSeries.prototype.i7,b.f(),b.e())}));$.ig.GeographicShapeSeriesBase.prototype.iy="ShapeMemberPath";$.ig.GeographicShapeSeriesBase.prototype.iz="ShapeFilterResolution";$.ig.GeographicShapeSeriesBase.prototype.shapeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeriesBase.prototype.iy,String,$.ig.GeographicShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,"points",function(a,b){$.ig.util.cast($.ig.GeographicShapeSeriesBase.prototype.$type,a).e6($.ig.GeographicShapeSeriesBase.prototype.iy,b.f(),b.e())}));$.ig.GeographicShapeSeriesBase.prototype.shapeFilterResolutionProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeriesBase.prototype.iz,Number,$.ig.GeographicShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){$.ig.util.cast($.ig.GeographicShapeSeriesBase.prototype.$type,a).e6($.ig.GeographicShapeSeriesBase.prototype.iz,b.f(),b.e())}));$.ig.GeographicPolylineSeries.prototype.i7="ShapeStyleSelector";$.ig.GeographicPolylineSeries.prototype.i8="ShapeStyle";$.ig.GeographicPolylineSeries.prototype.shapeStyleSelectorProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicPolylineSeries.prototype.i7,$.ig.StyleSelector.prototype.$type,$.ig.GeographicPolylineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicPolylineSeries.prototype.i7,b.f(),b.e())}));$.ig.GeographicPolylineSeries.prototype.shapeStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicPolylineSeries.prototype.i8,$.ig.Style.prototype.$type,$.ig.GeographicPolylineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicPolylineSeries.prototype.i8,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.iy="LatitudeMemberPath";$.ig.GeographicProportionalSymbolSeries.prototype.iz="LongitudeMemberPath";$.ig.GeographicProportionalSymbolSeries.prototype.i0="MarkerType";$.ig.GeographicProportionalSymbolSeries.prototype.i1="MarkerTemplate";$.ig.GeographicProportionalSymbolSeries.prototype.i2="MarkerBrush";$.ig.GeographicProportionalSymbolSeries.prototype.i3="MarkerOutline";$.ig.GeographicProportionalSymbolSeries.prototype.i4="MaximumMarkers";$.ig.GeographicProportionalSymbolSeries.prototype.i5="RadiusMemberPath";$.ig.GeographicProportionalSymbolSeries.prototype.i6="RadiusScale";$.ig.GeographicProportionalSymbolSeries.prototype.i7="LabelMemberPath";$.ig.GeographicProportionalSymbolSeries.prototype.i8="FillMemberPath";$.ig.GeographicProportionalSymbolSeries.prototype.i9="FillScale";$.ig.GeographicProportionalSymbolSeries.prototype.latitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.iy,String,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.iy,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.longitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.iz,String,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.iz,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i0,$.ig.MarkerType.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.none,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i0,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i1,$.ig.DataTemplate.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i1,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i2,$.ig.Brush.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i2,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i3,$.ig.Brush.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i3,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.maximumMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i4,$.ig.Number.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,400,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i4,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.radiusMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i5,String,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i5,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.radiusScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i6,$.ig.SizeScale.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i6,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i7,String,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i7,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.fillMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i8,String,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i8,b.f(),b.e())}));$.ig.GeographicProportionalSymbolSeries.prototype.fillScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicProportionalSymbolSeries.prototype.i9,$.ig.BrushScale.prototype.$type,$.ig.GeographicProportionalSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicProportionalSymbolSeries.prototype.i9,b.f(),b.e())}));$.ig.GeographicScatterAreaSeries.prototype.jk="ColorMemberPath";$.ig.GeographicScatterAreaSeries.prototype.jl="ColorScale";$.ig.GeographicScatterAreaSeries.prototype.colorMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicScatterAreaSeries.prototype.jk,String,$.ig.GeographicScatterAreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,"value",function(a,b){a.e6($.ig.GeographicScatterAreaSeries.prototype.jk,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.i7="ShapeStyleSelector";$.ig.GeographicShapeSeries.prototype.i8="ShapeStyle";$.ig.GeographicShapeSeries.prototype.i9="MarkerType";$.ig.GeographicShapeSeries.prototype.ja="MarkerTemplate";$.ig.GeographicShapeSeries.prototype.jb="MarkerBrush";$.ig.GeographicShapeSeries.prototype.jc="MarkerOutline";$.ig.GeographicShapeSeries.prototype.jd="MarkerStyle";$.ig.GeographicShapeSeries.prototype.je="MarkerCollisionAvoidance";$.ig.GeographicShapeSeries.prototype.shapeStyleSelectorProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.i7,$.ig.StyleSelector.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.i7,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.shapeStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.i8,$.ig.Style.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.i8,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.i9,$.ig.MarkerType.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.none,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.i9,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.ja,$.ig.DataTemplate.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.ja,b.f(),b.e())
}));$.ig.GeographicShapeSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.jb,$.ig.Brush.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.jb,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.jc,$.ig.Brush.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.jc,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.markerStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.jd,$.ig.Style.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.jd,b.f(),b.e())}));$.ig.GeographicShapeSeries.prototype.markerCollisionAvoidanceProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicShapeSeries.prototype.je,$.ig.CollisionAvoidanceType.prototype.$type,$.ig.GeographicShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.CollisionAvoidanceType.prototype.none,function(a,b){a.e6($.ig.GeographicShapeSeries.prototype.je,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.iy="LatitudeMemberPath";$.ig.GeographicSymbolSeries.prototype.iz="LongitudeMemberPath";$.ig.GeographicSymbolSeries.prototype.i0="MarkerType";$.ig.GeographicSymbolSeries.prototype.i1="MarkerTemplate";$.ig.GeographicSymbolSeries.prototype.i2="MarkerCollisionAvoidance";$.ig.GeographicSymbolSeries.prototype.i3="MarkerBrush";$.ig.GeographicSymbolSeries.prototype.i4="MarkerOutline";$.ig.GeographicSymbolSeries.prototype.i5="MaximumMarkers";$.ig.GeographicSymbolSeries.prototype.latitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.iy,String,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.iy,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.longitudeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.iz,String,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.iz,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i0,$.ig.MarkerType.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.automatic,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i0,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i1,$.ig.DataTemplate.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i1,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.markerCollisionAvoidanceProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i2,$.ig.CollisionAvoidanceType.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.CollisionAvoidanceType.prototype.none,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i2,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i3,$.ig.Brush.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i3,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i4,$.ig.Brush.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i4,b.f(),b.e())}));$.ig.GeographicSymbolSeries.prototype.maximumMarkersProperty=$.ig.DependencyProperty.prototype.l($.ig.GeographicSymbolSeries.prototype.i5,$.ig.Number.prototype.$type,$.ig.GeographicSymbolSeries.prototype.$type,new $.ig.PropertyMetadata(1,400,function(a,b){a.e6($.ig.GeographicSymbolSeries.prototype.i5,b.f(),b.e())}));$.ig.GeographicTileSeries.prototype.i7="TileImagery";$.ig.XYTriangulatingSeries.prototype.ii="XMemberPath";$.ig.XYTriangulatingSeries.prototype.ij="YMemberPath";$.ig.XYTriangulatingSeries.prototype.ik="XColumn";$.ig.XYTriangulatingSeries.prototype.il="YColumn";$.ig.XYTriangulatingSeries.prototype.im="XAxis";$.ig.XYTriangulatingSeries.prototype.io="YAxis";$.ig.XYTriangulatingSeries.prototype.ip="TrianglesSource";$.ig.XYTriangulatingSeries.prototype.iq="FastTrianglesSource";$.ig.XYTriangulatingSeries.prototype.ir="TriangleVertexMemberPath1";$.ig.XYTriangulatingSeries.prototype.is="TriangleVertexMemberPath2";$.ig.XYTriangulatingSeries.prototype.it="TriangleVertexMemberPath3";$.ig.XYTriangulatingSeries.prototype.iu="TriangleVertexColumn1";$.ig.XYTriangulatingSeries.prototype.iv="TriangleVertexColumn2";$.ig.XYTriangulatingSeries.prototype.iw="TriangleVertexColumn3";$.ig.XYTriangulatingSeries.prototype.xMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.ii,String,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.ii,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.yMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.ij,String,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.ij,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.im,$.ig.NumericXAxis.prototype.$type,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.im,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.io,$.ig.NumericYAxis.prototype.$type,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.io,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.trianglesSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.ip,$.ig.IEnumerable.prototype.$type,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.ip,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.i1=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.iq,$.ig.FastItemsSource.prototype.$type,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.iq,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath1Property=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.ir,String,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.ir,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath2Property=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.is,String,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.XYTriangulatingSeries.prototype.$type,a).e6($.ig.XYTriangulatingSeries.prototype.is,b.f(),b.e())}));$.ig.XYTriangulatingSeries.prototype.triangleVertexMemberPath3Property=$.ig.DependencyProperty.prototype.l($.ig.XYTriangulatingSeries.prototype.it,String,$.ig.XYTriangulatingSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.XYTriangulatingSeries.prototype.it,b.f(),b.e())}));$.ig.ContourLineSeries.prototype.ki="ValueMemberPath";$.ig.ContourLineSeries.prototype.kj="ValueColumn";$.ig.ContourLineSeries.prototype.kk="FillScale";$.ig.ContourLineSeries.prototype.kl="ValueResolver";$.ig.ContourLineSeries.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ContourLineSeries.prototype.ki,String,$.ig.ContourLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ContourLineSeries.prototype.ki,b.f(),b.e())}));$.ig.ContourLineSeries.prototype.fillScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.ContourLineSeries.prototype.kk,$.ig.ValueBrushScale.prototype.$type,$.ig.ContourLineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ContourLineSeries.prototype.kk,b.f(),b.e())}));$.ig.ContourBuilder.prototype.f=4294967296;$.ig.ContourLineSeriesView.prototype.co=3;$.ig.LinearContourValueResolver.prototype.j="ValueCount";$.ig.LinearContourValueResolver.prototype.k=$.ig.DependencyProperty.prototype.l($.ig.LinearContourValueResolver.prototype.j,$.ig.Number.prototype.$type,$.ig.LinearContourValueResolver.prototype.$type,new $.ig.PropertyMetadata(1,10,function(a,b){a.g($.ig.LinearContourValueResolver.prototype.j,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.ii="ShapeMemberPath";$.ig.ShapeSeriesBase.prototype.ij="ShapeColumn";$.ig.ShapeSeriesBase.prototype.ik="XAxis";$.ig.ShapeSeriesBase.prototype.il="YAxis";$.ig.ShapeSeriesBase.prototype.im="FillScale";$.ig.ShapeSeriesBase.prototype.io="FillMemberPath";$.ig.ShapeSeriesBase.prototype.ip="FillColumn";$.ig.ShapeSeriesBase.prototype.iq="ShapeFilterResolution";$.ig.ShapeSeriesBase.prototype.shapeMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.ii,String,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapeSeriesBase.prototype.$type,a).e6($.ig.ShapeSeriesBase.prototype.ii,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.xAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.ik,$.ig.NumericXAxis.prototype.$type,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapeSeriesBase.prototype.$type,a).e6($.ig.ShapeSeriesBase.prototype.ik,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.yAxisProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.il,$.ig.NumericYAxis.prototype.$type,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapeSeriesBase.prototype.$type,a).e6($.ig.ShapeSeriesBase.prototype.il,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.fillScaleProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.im,$.ig.ValueBrushScale.prototype.$type,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ShapeSeriesBase.prototype.im,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.fillMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.io,String,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapeSeriesBase.prototype.$type,a).e6($.ig.ShapeSeriesBase.prototype.io,b.f(),b.e())}));$.ig.ShapeSeriesBase.prototype.shapeFilterResolutionProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeriesBase.prototype.iq,Number,$.ig.ShapeSeriesBase.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){a.e6($.ig.ShapeSeriesBase.prototype.iq,b.f(),b.e())}));$.ig.PolylineSeries.prototype.ke="ShapeStyleSelector";$.ig.PolylineSeries.prototype.kf="ShapeStyle";$.ig.PolylineSeries.prototype.shapeStyleSelectorProperty=$.ig.DependencyProperty.prototype.l($.ig.PolylineSeries.prototype.ke,$.ig.StyleSelector.prototype.$type,$.ig.PolylineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.PolylineSeries.prototype.ke,b.f(),b.e())}));$.ig.PolylineSeries.prototype.shapeStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.PolylineSeries.prototype.kf,$.ig.Style.prototype.$type,$.ig.PolylineSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.PolylineSeries.prototype.kf,b.f(),b.e())}));$.ig.ShapeSeriesViewBase.prototype.co=3;$.ig.ScatterAreaSeries.prototype.ki="ColorScale";$.ig.ScatterAreaSeries.prototype.kj="ColorMemberPath";$.ig.ScatterAreaSeries.prototype.kk="ColorColumn";$.ig.ScatterAreaSeries.prototype.colorMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.ScatterAreaSeries.prototype.kj,String,$.ig.ScatterAreaSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ScatterAreaSeries.prototype.kj,b.f(),b.e())}));$.ig.ShapeSeries.prototype.ke="ShapeStyleSelector";$.ig.ShapeSeries.prototype.kf="ShapeStyle";$.ig.ShapeSeries.prototype.kg="MarkerType";$.ig.ShapeSeries.prototype.kh="MarkerTemplate";$.ig.ShapeSeries.prototype.ki="ActualMarkerTemplate";$.ig.ShapeSeries.prototype.kj="MarkerBrush";$.ig.ShapeSeries.prototype.kk="ActualMarkerBrush";$.ig.ShapeSeries.prototype.kl="MarkerOutline";$.ig.ShapeSeries.prototype.km="ActualMarkerOutline";$.ig.ShapeSeries.prototype.kn="MarkerStyle";$.ig.ShapeSeries.prototype.ko="MarkerCollisionAvoidance";$.ig.ShapeSeries.prototype.ks=new $.ig.Rect(0,0,0,1,1);$.ig.ShapeSeries.prototype.shapeStyleSelectorProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.ke,$.ig.StyleSelector.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ShapeSeries.prototype.ke,b.f(),b.e())}));$.ig.ShapeSeries.prototype.shapeStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kf,$.ig.Style.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ShapeSeries.prototype.kf,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kg,$.ig.MarkerType.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.MarkerType.prototype.none,function(a,b){a.e6($.ig.ShapeSeries.prototype.kg,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kh,$.ig.DataTemplate.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ShapeSeries.prototype.kh,b.f(),b.e())}));$.ig.ShapeSeries.prototype.actualMarkerTemplateProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.ki,$.ig.DataTemplate.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.e6($.ig.ShapeSeries.prototype.ki,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kj,$.ig.Brush.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.ShapeSeries.prototype.kj,b.f(),b.e())}));$.ig.ShapeSeries.prototype.actualMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kk,$.ig.Brush.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.ShapeSeries.prototype.kk,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kl,$.ig.Brush.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.ShapeSeries.prototype.kl,b.f(),b.e())}));$.ig.ShapeSeries.prototype.actualMarkerOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.km,$.ig.Brush.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.ShapeSeries.prototype.km,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerStyleProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.kn,$.ig.Style.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){a.e6($.ig.ShapeSeries.prototype.kn,b.f(),b.e())}));$.ig.ShapeSeries.prototype.markerCollisionAvoidanceProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapeSeries.prototype.ko,$.ig.CollisionAvoidanceType.prototype.$type,$.ig.ShapeSeries.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.CollisionAvoidanceType.prototype.none,function(a,b){$.ig.util.cast($.ig.ShapeSeries.prototype.$type,a).e6($.ig.ShapeSeries.prototype.ko,b.f(),b.e())}));$.ig.TileSeries.prototype.ke="TileImagery";$.ig.ShapefileConverter.prototype.g="WorldRect";$.ig.ShapefileConverter.prototype.h="ShapefileSource";$.ig.ShapefileConverter.prototype.i="DatabaseSource";$.ig.ShapefileConverter.prototype.shapefileSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapefileConverter.prototype.h,$.ig.Uri.prototype.$type,$.ig.ShapefileConverter.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapefileConverter.prototype.$type,a).s($.ig.ShapefileConverter.prototype.h,b.f(),b.e())}));$.ig.ShapefileConverter.prototype.databaseSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.ShapefileConverter.prototype.i,$.ig.Uri.prototype.$type,$.ig.ShapefileConverter.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ShapefileConverter.prototype.$type,a).s($.ig.ShapefileConverter.prototype.i,b.f(),b.e())}));$.ig.ItfConverter.prototype.e="Source";$.ig.ItfConverter.prototype.f="TriangulationSource";$.ig.ItfConverter.prototype.sourceProperty=$.ig.DependencyProperty.prototype.l($.ig.ItfConverter.prototype.e,$.ig.Uri.prototype.$type,$.ig.ItfConverter.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){$.ig.util.cast($.ig.ItfConverter.prototype.$type,a).n($.ig.ItfConverter.prototype.e,b.f(),b.e())}));$.ig.TriangulationSource.prototype.a="LOCAL_CS[]";$.ig.XamGeographicMap.prototype.la="WorldRect";$.ig.XamGeographicMap.prototype.lb="ActualWorldRect";$.ig.XamGeographicMap.prototype.lc="BackgroundContent";$.ig.XamGeographicMap.prototype.ld="XAxis";$.ig.XamGeographicMap.prototype.le="YAxis";$.ig.XamGeographicMap.prototype.lf=new $.ig.Rect(2,{__x:-180,__y:-85.05112878,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:180,__y:85.05112878,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$.ig.XamGeographicMap.prototype.worldRectProperty=$.ig.DependencyProperty.prototype.l($.ig.XamGeographicMap.prototype.la,$.ig.Rect.prototype.$type,$.ig.XamGeographicMap.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamGeographicMap.prototype.lf,function(a,b){a.gj($.ig.XamGeographicMap.prototype.la,b.f(),b.e())}));$.ig.XamGeographicMap.prototype.ll=new $.ig.Rect(0,0,0,1,1);$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.ShapefileConverter],["shuffle$1","insertionIndex$1","insertionIndex$11111","binarySearch$1"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.ShapefileConverter],["flattenTo","getBounds2","clipTo"]],[[$.ig.ShapefileConverter,$.ig.HalfEdgeSet],["getBounds","getBounds11","getCentroid","toPointCollection","toPointList"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.ShapefileConverter,$.ig.HalfEdgeSet],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.ShapefileConverter,$.ig.HalfEdgeSet],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.ShapefileConverter,$.ig.HalfEdgeSet],["asQueryable"]]]);if($.ig.ShapeFileUtil.prototype.staticInit&&!$.ig.ShapeFileUtil.prototype.staticInitCalled){$.ig.ShapeFileUtil.prototype.staticInit();$.ig.ShapeFileUtil.prototype.staticInitCalled=true}/*!@license
* Infragistics.Web.ClientUI infragistics.radialgauge.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["GaugeVisualData","ScaleVisualData","ScaleLabelVisualDataList","ScaleLabelVisualData","ScaleTickmarkVisualDataList","ScaleTickmarkVisualData","NeedleVisualData","RangeVisualDataList","RangeVisualData","MorphSegment","RadialGaugeDuplicateLabelOmissionStrategy","RadialGaugeBackingShape","RadialGaugeScaleOversweepShape","RadialGaugeNeedleShape","RadialGaugePivotShape","RadialGaugeFrame","RadialGaugeNeedleFrame","RadialGaugeRangeFrame","BackingFrame","RadialGaugeScaleFrame","RadialGaugeNeedlePreparer","RadialGaugeNeedleParameters","XamRadialGaugeView","XamRadialGauge","RadialGaugeScaler","FormatRadialGaugeLabelHandler","FormatRadialGaugeLabelEventArgs","AlignRadialGaugeLabelHangler","AlignRadialGaugeLabelEventArgs","XamRadialGaugeRange","RadialGaugeRangeCollection","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise","BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView"]);$.ig.util.defType("RadialGaugePivotShape","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RadialGaugePivotShape",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeNeedleShape","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RadialGaugeNeedleShape",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeScaleOversweepShape","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RadialGaugeScaleOversweepShape",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeBackingShape","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RadialGaugeBackingShape",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeDuplicateLabelOmissionStrategy","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RadialGaugeDuplicateLabelOmissionStrategy",$.ig.Object.prototype.$type)},true);$.ig.util.defType("GaugeVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_scalePath:null,scalePath:function(a){if(arguments.length===1){this._scalePath=a;return a}else{return this._scalePath}},_needlePath:null,needlePath:function(a){if(arguments.length===1){this._needlePath=a;return a}else{return this._needlePath}},_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}},_needle:null,needle:function(a){if(arguments.length===1){this._needle=a;return a}else{return this._needle}},_ranges:null,ranges:function(a){if(arguments.length===1){this._ranges=a;return a}else{return this._ranges}},_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.needlePath()!=null){this.needlePath().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 $.ig.StringBuilder;var b=true;a.g("{");if(this.scalePath()!=null){if(b){b=false}else{a.d(", ")}a.d("scalePath: ");a.g(this.scalePath().serialize())}if(this.needlePath()!=null){if(b){b=false}else{a.d(", ")}a.d("needlePath: ");a.g(this.needlePath().serialize())}if(this.backingPath()!=null){if(b){b=false}else{a.d(", ")}a.d("backingPath: ");a.g(this.backingPath().serialize())}if(this.underlayPath()!=null){if(b){b=false}else{a.d(", ")}a.d("underlayPath: ");a.g(this.underlayPath().serialize())}if(this.overlayPath()!=null){if(b){b=false}else{a.d(", ")}a.d("overlayPath: ");a.g(this.overlayPath().serialize())}if(this.scaleLabels()!=null){if(b){b=false}else{a.d(", ")}var c=true;a.d("scaleLabels: [");var e=this.scaleLabels().getEnumerator();while(e.moveNext()){var d=e.current();if(c){c=false}else{a.d(", ")}a.g(d.serialize())}a.g("]")}if(this.scaleTickmarks()!=null){if(b){b=false}else{a.d(", ")}var f=true;a.d("scaleTickmarks: [");var h=this.scaleTickmarks().getEnumerator();while(h.moveNext()){var g=h.current();if(f){f=false}else{a.d(", ")}a.g(g.serialize())}a.g("]")}if(this.needle()!=null){if(b){b=false}else{a.d(", ")}a.d("needle: ");a.g(this.needle().serialize())}if(this.ranges()!=null){if(b){b=false}else{a.d(", ")}var i=true;a.d("ranges: [");var k=this.ranges().getEnumerator();while(k.moveNext()){var j=k.current();if(i){i=false}else{a.d(", ")}a.g(j.serialize())}a.g("]")}if(this.needle()!=null){if(b){b=false}else{a.d(", ")}a.d("name: '");a.d(this.name());a.g("'")}if(b){b=false}else{a.d(", ")}a.d("viewport: {");a.d("left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height());a.g("}");a.g("}");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("GaugeVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScaleVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("ScaleVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScaleLabelVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.ScaleLabelVisualData.prototype.$type)},$type:new $.ig.Type("ScaleLabelVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.ScaleLabelVisualData.prototype.$type))},true);$.ig.util.defType("ScaleLabelVisualData","Object",{init:function(){$.ig.Object.prototype.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({__x:(this.labelPosition().__x-a.left())/a.width(),__y:(this.labelPosition().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.labelSize(new $.ig.Size(this.labelSize().c()/a.width(),this.labelSize().d()/a.height()))},serialize:function(){return"{ labelValue: '"+this.labelValue()+"', labelSize: { width: "+this.labelSize().c()+", height: "+this.labelSize().d()+"}, labelPosition: { x: "+this.labelPosition().__x+", y: "+this.labelPosition().__y+"}, appearance: "+this.appearance().serialize()+"}"},$type:new $.ig.Type("ScaleLabelVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ScaleTickmarkVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.ScaleTickmarkVisualData.prototype.$type)},$type:new $.ig.Type("ScaleTickmarkVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.ScaleTickmarkVisualData.prototype.$type))},true);$.ig.util.defType("ScaleTickmarkVisualData","Object",{init:function(){$.ig.Object.prototype.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("ScaleTickmarkVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NeedleVisualData","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_angle:null,angle:function(a){if(arguments.length===1){this._angle=a;return a}else{return this._angle}},serialize:function(){return"{ angle: "+this.angle().toString()+"}"},$type:new $.ig.Type("NeedleVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RangeVisualDataList","List$1",{init:function(){$.ig.List$1.prototype.init.call(this,$.ig.RangeVisualData.prototype.$type)},$type:new $.ig.Type("RangeVisualDataList",$.ig.List$1.prototype.$type.specialize($.ig.RangeVisualData.prototype.$type))},true);$.ig.util.defType("RangeVisualData","Object",{init:function(){$.ig.Object.prototype.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:new $.ig.Type("RangeVisualData",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MorphSegment","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.Point.prototype.$type,0);this.b=new $.ig.List$1($.ig.Point.prototype.$type,0)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:function(a){this.b.clear();var b=20;if(this.c){var c;var d;var e;if(this.a.count()==0){d={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};e={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{d=this.a.__inner[0];e=this.a.__inner[1]}var f=$.ig.GeometryUtil.prototype.h(d,e,this.d,!this.h,this.g);var g=$.ig.GeometryUtil.prototype.i(f,d);var h=$.ig.GeometryUtil.prototype.i(f,e);while(this.h&&h<g){h+=Math.PI*2}while(!this.h&&h>g){h-=Math.PI*2}var i=0;for(var j=0;j<b;j++){c=j/b;if(this.h){i=g+(h-g)*c}else{i=g-(g-h)*c}this.b.add({__x:f.__x+Math.cos(i)*this.d,__y:f.__y+Math.sin(i)*this.d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}else{var k;var l;var m;if(this.a.count()==0){l={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};m={__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{l=this.a.__inner[0];m=this.a.__inner[1]}var n=l.__x;var o=l.__y;var p=m.__x;var q=m.__y;for(var r=0;r<b;r++){k=r/b;this.b.add({__x:n+(p-n)*k,__y:o+(q-o)*k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}this.f=true},j:function(a,b,c,d,e){var f=this;var g=null;var h=f.a;var i=h.count();if(i==0){return a}if(b.__segments.count()==0){var j=h.__inner[0];b.__startPoint={__x:d+c*j.__x,__y:e+c*j.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(f.c){if(i>1){var k=new $.ig.ArcSegment;g=k;var l=h.__inner[1];k.h({__x:d+c*l.__x,__y:e+c*l.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});k.i(f.g);k.j(f.h?$.ig.SweepDirection.prototype.clockwise:$.ig.SweepDirection.prototype.counterclockwise);k.k(new $.ig.Size(f.d*c,f.d*c));a=k.h()}}else{var m=new $.ig.PolyLineSegment;g=m;if(i>1){var n;var o=m.__points;for(var p=1;p<i;p++){n=h.__inner[p];o.add({__x:d+c*n.__x,__y:e+c*n.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}a=m.__points.__inner[m.__points.count()-1]}}b.__segments.add(g);return a},k:function(a,b,c){var d=this;var e=b.a;var f=false;var g=c.a;var h=false;if(e.count()==0&&g.count()==0){return}d.c=false;d.e=false;d.f=false;d.g=false;d.h=false;if(b.e){f=true}if(c.e){h=true}if(b.c!=c.c||b.e||c.e||b.g!=c.g||b.h!=c.h){f=true;h=true;d.e=true}if(f&&!b.e){if(!b.f){b.i(c.d)}e=b.b}if(h&&!c.e){if(!c.f){c.i(b.d)}g=c.b}if(b.e){e=b.b}if(c.e){g=c.b}d.b.clear();if(b.c&&c.c){d.c=true}$.ig.InterpolationUtil.prototype.a(d.a,a,e,g);if(d.e){var i;var j=d.a.count();for(var k=0;k<j;k++){i=d.a.__inner[k];d.b.add({__x:i.__x,__y:i.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}d.f=true}if(b.g==c.g){d.g=c.g}if(b.h==c.h){d.h=c.h}if(d.c){d.d=b.d+(c.d-b.d)*a}},l:function(){this.a.clear();this.b.clear();this.e=false;this.f=false;this.c=false},$type:new $.ig.Type("MorphSegment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.e(new $.ig.RadialGaugeNeedleFrame);this.f(new $.ig.RadialGaugeScaleFrame);this.g(new $.ig.BackingFrame)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},q:function(a,b,c){this.h(b.h()+(c.h()-b.h())*a);this.e().dk(a,b.e(),c.e());this.f().cf(a,b.f(),c.f());this.g().ak(a,b.g(),c.g())},$type:new $.ig.Type("RadialGaugeFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeNeedleFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.au(new $.ig.MorphSegment);this.av(new $.ig.MorphSegment);this.aw(new $.ig.MorphSegment);this.ax(new $.ig.MorphSegment);this.ay(new $.ig.MorphSegment);this.az(new $.ig.MorphSegment);this.a0(new $.ig.MorphSegment);this.a1(new $.ig.MorphSegment);this.a2(new $.ig.MorphSegment);this.a3(new $.ig.MorphSegment);this.a4(new $.ig.MorphSegment);this.a5(new $.ig.MorphSegment);this.a6(new $.ig.MorphSegment);this.a7(new $.ig.MorphSegment);this.a8(new $.ig.MorphSegment);this.a9(new $.ig.MorphSegment);this.ba(new $.ig.MorphSegment);this.bb(new $.ig.MorphSegment);this.bc(new $.ig.MorphSegment);this.bd(new $.ig.MorphSegment);this.be(new $.ig.MorphSegment);this.bf(new $.ig.MorphSegment);this.bg(new $.ig.MorphSegment);this.bh(new $.ig.MorphSegment);this.bi(new $.ig.MorphSegment);this.bj(new $.ig.MorphSegment)},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},_at:null,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},_au:null,au:function(a){if(arguments.length===1){this._au=a;return a}else{return this._au}},_av:null,av:function(a){if(arguments.length===1){this._av=a;return a}else{return this._av}},_aw:null,aw:function(a){if(arguments.length===1){this._aw=a;return a}else{return this._aw}},_ax:null,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},_ay:null,ay:function(a){if(arguments.length===1){this._ay=a;return a}else{return this._ay}},_az:null,az:function(a){if(arguments.length===1){this._az=a;return a}else{return this._az}},_a0:null,a0:function(a){if(arguments.length===1){this._a0=a;return a}else{return this._a0}},_a1:null,a1:function(a){if(arguments.length===1){this._a1=a;return a}else{return this._a1}},_a2:null,a2:function(a){if(arguments.length===1){this._a2=a;return a}else{return this._a2}},_a3:null,a3:function(a){if(arguments.length===1){this._a3=a;return a}else{return this._a3}},_a4:null,a4:function(a){if(arguments.length===1){this._a4=a;return a}else{return this._a4}},_a5:null,a5:function(a){if(arguments.length===1){this._a5=a;return a}else{return this._a5}},_a6:null,a6:function(a){if(arguments.length===1){this._a6=a;return a}else{return this._a6}},_a7:null,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},_a8:null,a8:function(a){if(arguments.length===1){this._a8=a;return a}else{return this._a8}},_a9:null,a9:function(a){if(arguments.length===1){this._a9=a;return a}else{return this._a9}},_ba:null,ba:function(a){if(arguments.length===1){this._ba=a;return a}else{return this._ba}},_bb:null,bb:function(a){if(arguments.length===1){this._bb=a;return a}else{return this._bb}},_bc:null,bc:function(a){if(arguments.length===1){this._bc=a;return a}else{return this._bc}},_bd:null,bd:function(a){if(arguments.length===1){this._bd=a;return a}else{return this._bd}},_be:null,be:function(a){if(arguments.length===1){this._be=a;return a}else{return this._be}},_bf:null,bf:function(a){if(arguments.length===1){this._bf=a;return a}else{return this._bf}},_bg:null,bg:function(a){if(arguments.length===1){this._bg=a;return a}else{return this._bg}},_bh:null,bh:function(a){if(arguments.length===1){this._bh=a;return a}else{return this._bh}},_bi:null,bi:function(a){if(arguments.length===1){this._bi=a;return a}else{return this._bi}},_bj:null,bj:function(a){if(arguments.length===1){this._bj=a;return a}else{return this._bj}},dk:function(a,b,c){this.ak(b.ak()+(c.ak()-b.ak())*a);this.al(b.al()+(c.al()-b.al())*a);this.am(b.am()+(c.am()-b.am())*a);this.an(b.an()+(c.an()-b.an())*a);this.ao($.ig.BrushUtil.prototype.a(b.ao(),a,c.ao(),$.ig.InterpolationMode.prototype.rGB));this.ap($.ig.BrushUtil.prototype.a(b.ap(),a,c.ap(),$.ig.InterpolationMode.prototype.rGB));this.ar(b.ar()+(c.ar()-b.ar())*a);this.aq(b.aq()+(c.aq()-b.aq())*a);this.at($.ig.BrushUtil.prototype.a(b.at(),a,c.at(),$.ig.InterpolationMode.prototype.rGB));this.as($.ig.BrushUtil.prototype.a(b.as(),a,c.as(),$.ig.InterpolationMode.prototype.rGB));this.au().k(a,b.au(),c.au());this.av().k(a,b.av(),c.av());this.aw().k(a,b.aw(),c.aw());this.ax().k(a,b.ax(),c.ax());this.ay().k(a,b.ay(),c.ay());this.az().k(a,b.az(),c.az());this.a0().k(a,b.a0(),c.a0());this.a1().k(a,b.a1(),c.a1());this.a2().k(a,b.a2(),c.a2());this.a3().k(a,b.a3(),c.a3());this.a4().k(a,b.a4(),c.a4());this.a5().k(a,b.a5(),c.a5());this.a6().k(a,b.a6(),c.a6());this.a7().k(a,b.a7(),c.a7());this.a8().k(a,b.a8(),c.a8());this.a9().k(a,b.a9(),c.a9());this.ba().k(a,b.ba(),c.ba());this.bb().k(a,b.bb(),c.bb());this.bc().k(a,b.bc(),c.bc());this.bd().k(a,b.bd(),c.bd());this.be().k(a,b.be(),c.be());this.bf().k(a,b.bf(),c.bf());this.bg().k(a,b.bg(),c.bg());this.bh().k(a,b.bh(),c.bh());this.bi().k(a,b.bi(),c.bi());this.bj().k(a,b.bj(),c.bj())},dl:function(a,b,c){var d=new $.ig.PathGeometry;var e=new $.ig.PathFigure;var f={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};f=this.au().j(f,e,a,b,c);f=this.av().j(f,e,a,b,c);f=this.aw().j(f,e,a,b,c);f=this.ax().j(f,e,a,b,c);f=this.ay().j(f,e,a,b,c);f=this.az().j(f,e,a,b,c);f=this.a0().j(f,e,a,b,c);f=this.a1().j(f,e,a,b,c);f=this.a2().j(f,e,a,b,c);f=this.a3().j(f,e,a,b,c);f=this.a4().j(f,e,a,b,c);f=this.a5().j(f,e,a,b,c);f=this.a6().j(f,e,a,b,c);f=this.a7().j(f,e,a,b,c);f=this.a8().j(f,e,a,b,c);f=this.a9().j(f,e,a,b,c);e.__isClosed=true;d.d().add(e);var g=new $.ig.PathFigure;if(this.ba().a.count()>0||this.bb().a.count()>0){f=this.ba().j(f,g,a,b,c);f=this.bb().j(f,g,a,b,c);g.__isClosed=true;d.d().add(g)}return d},dm:function(a,b,c){var d=new $.ig.PathGeometry;var e={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f=new $.ig.PathFigure;if(this.be().a.count()>0||this.bf().a.count()>0){e=this.be().j(e,f,a,b,c);e=this.bf().j(e,f,a,b,c);f.__isClosed=true;d.d().add(f)}var g=new $.ig.PathFigure;if(this.bi().a.count()>0||this.bj().a.count()>0){e=this.bi().j(e,g,a,b,c);e=this.bj().j(e,g,a,b,c);g.__isClosed=true;d.d().add(g)}return d},dn:function(a,b,c){var d=new $.ig.PathGeometry;var e={__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var f=new $.ig.PathFigure;if(this.bc().a.count()>0||this.bd().a.count()>0){e=this.bc().j(e,f,a,b,c);e=this.bd().j(e,f,a,b,c);f.__isClosed=true;d.d().add(f)}var g=new $.ig.PathFigure;if(this.bg().a.count()>0||this.bh().a.count()>0){e=this.bg().j(e,g,a,b,c);e=this.bh().j(e,g,a,b,c);g.__isClosed=true;d.d().add(g)}return d},$type:new $.ig.Type("RadialGaugeNeedleFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeRangeFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:function(a,b,c,d){var e=new $.ig.RadialGaugeRangeFrame;e.g=$.ig.BrushUtil.prototype.a(c.g,a,d.g,$.ig.InterpolationMode.prototype.rGB);e.h=$.ig.BrushUtil.prototype.a(c.h,a,d.h,$.ig.InterpolationMode.prototype.rGB);e.i=b*c.i+a*d.i;e.a=b*c.a+a*d.a;e.b=b*c.b+a*d.b;e.c=b*c.c+a*d.c;e.d=b*c.d+a*d.d;e.e=b*c.e+a*d.e;e.f=b*c.f+a*d.f;return e},k:function(a,b,c){var d=new $.ig.PathGeometry;var e=new $.ig.PathFigure;var f=4;var g=1/a;var h=false;if(Math.abs(this.b-this.f)<g){h=true}var i=false;if(Math.abs(this.a-this.e)<g){i=true}var j=false;if(this.d-this.c>=2*Math.PI){j=true}if(i&&h&&j){var k=this.m(0,Math.PI,this.b,a,b,c,true);e.__startPoint=k.c();var l=this.m(Math.PI,0,this.b,a,b,c,true);
var m=new $.ig.PathFigure;var n=this.m(0,Math.PI,this.a,a,b,c,false);m.__startPoint=n.c();var o=this.m(Math.PI,0,this.a,a,b,c,false);e.__segments.add(k.d());e.__segments.add(l.d());m.__segments.add(n.d());m.__segments.add(o.d());d.d().add(e);d.d().add(m);return d}var p=null;if(h){var q=this.m(this.c,this.d,this.b,a,b,c,true);e.__startPoint=q.c();p=q.d()}else{var r=this.l(this.c,this.d,this.b,this.f,a,b,c,true,f);e.__startPoint=r.c();p=r.d()}var s=null;var t=new $.ig.LineSegment(1);if(i){var u=this.m(this.c,this.d,this.a,a,b,c,false);s=u.d();t.d(u.c())}else{var v=this.l(this.c,this.d,this.a,this.e,a,b,c,false,f);s=v.d();t.d(v.c())}e.__segments.add(p);e.__segments.add(t);e.__segments.add(s);e.__isFilled=true;e.__isClosed=true;d.d().add(e);return d},l:function(a,b,c,d,e,f,g,h,i){var j=new $.ig.PolyLineSegment;var k=e*c;var l=e*d;var m=Math.max(k,l);var n=m+m;var o=Math.asin(i/n)*2;var p;var q;var r;var s=l-k;var t=Math.abs(b-a);var u=j.__points;if(h){var v;for(v=a;v<b;v+=o){r=(v-a)/t;q=k+r*s;p={__x:f+Math.cos(v)*q,__y:g+Math.sin(v)*q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};u.add(p)}v=b;r=(v-a)/t;q=k+r*s;p={__x:f+Math.cos(v)*q,__y:g+Math.sin(v)*q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};u.add(p)}else{var w;for(w=b;w>a;w-=o){r=(w-b)/t;q=k+r*s;p={__x:f+Math.cos(w)*q,__y:g+Math.sin(w)*q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};u.add(p)}w=a;r=(w-b)/t;q=k+r*s;p={__x:f+Math.cos(w)*q,__y:g+Math.sin(w)*q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};u.add(p)}return new $.ig.Tuple$2($.ig.Point.prototype.$type,$.ig.PathSegment.prototype.$type,u.__inner[0],j)},m:function(a,b,c,d,e,f,g){var h=c*d;var i=new $.ig.ArcSegment;i.j(g?$.ig.SweepDirection.prototype.clockwise:$.ig.SweepDirection.prototype.counterclockwise);i.i(b-a>Math.PI);i.k(new $.ig.Size(h,h));var j=g?b:a;var k=g?a:b;i.h({__x:e+Math.cos(j)*h,__y:f+Math.sin(j)*h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var l={__x:e+Math.cos(k)*h,__y:f+Math.sin(k)*h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return new $.ig.Tuple$2($.ig.Point.prototype.$type,$.ig.PathSegment.prototype.$type,l,i)},$type:new $.ig.Type("RadialGaugeRangeFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("BackingFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},ak:function(a,b,c){this.l(b.l()+(c.l()-b.l())*a);this.j($.ig.BrushUtil.prototype.a(b.j(),a,c.j(),$.ig.InterpolationMode.prototype.rGB));this.k($.ig.BrushUtil.prototype.a(b.k(),a,c.k(),$.ig.InterpolationMode.prototype.rGB));this.m(b.m()+(c.m()-b.m())*a);this.n(b.n()+(c.n()-b.n())*a);this.p(b.p()+(c.p()-b.p())*a);this.q(b.q()+(c.q()-b.q())*a);this.r(b.r()+(c.r()-b.r())*a);this.o(b.o()+(c.o()-b.o())*a)},al:function(a,b,c,d){var $self=this;a.__startPoint={__x:b*this.p()+c,__y:0+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var e=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:-1*b*$self.p()+c,__y:0+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(b*$self.p(),b*$self.p()));return $ret}();var f=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:b*$self.p()+c,__y:0+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(b*$self.p(),b*$self.p()));return $ret}();a.__segments.add(e);a.__segments.add(f)},am:function(a,b,c){var d=new $.ig.PathGeometry;var e=new $.ig.PathFigure;if(this.m()==this.n()){this.al(e,a,b,c)}else{var f=this.p();var g=this.q();var h=this.m();var i=this.n();var j=this.o();var k=h;var l=i;h-=j;i+=j;if(i-h>2*Math.PI){this.al(e,a,b,c)}else{this.an(e,a,b,c)}}e.__isClosed=true;d.d().add(e);return d},an:function(a,b,c,d){var $self=this;var e=this.p();var f=this.q();var g=this.m();var h=this.n();var i=this.o();var j=g;var k=h;g-=i;h+=i;var l=Math.sin(g);var m=Math.cos(g);var n=Math.sin(h);var o=Math.cos(h);var p=this.r();var q=b*e;var r=b*f;if(p*2>q-r){p=(q-r)/2}var s=p/(b-p);var t=Math.atan(s);var u=q-p;var v=r+p;var w=Math.sin(g-t);var x=Math.sin(g+t);var y=Math.cos(g-t);var z=Math.cos(g+t);var aa=Math.sin(h-t);var ab=Math.sin(h+t);var ac=Math.cos(h-t);var ad=Math.cos(h+t);var ae=Math.sin(j);var af=Math.sin(k);var ag=Math.cos(j);var ah=Math.cos(k);a.__startPoint={__x:m*u+c,__y:l*u+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ai=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:z*q+c,__y:x*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(t*2>Math.PI);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(p,p));return $ret}();var aj=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:ac*q+c,__y:aa*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(h-t-(g+t)>Math.PI);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(q,q));return $ret}();var ak=function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:o*u+c,__y:n*u+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(t*2>Math.PI);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(p,p));return $ret}();var al={__x:ah*q+c,__y:af*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var am={__x:ah*r+c,__y:af*r+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var an={__x:o*q+c,__y:n*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ao={__x:o*r+c,__y:n*r+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ap=an.__y;var aq=an.__x;if(al.__x-am.__x!=0){aq=c;var ar=(al.__y-am.__y)/(al.__x-am.__x);ap=ar*(c-an.__x)+an.__y}ao={__x:c,__y:ap,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var as=$.ig.GeometryUtil.prototype.j(ao,an,{__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},r);var at={__x:ag*q+c,__y:ae*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var au={__x:ag*r+c,__y:ae*r+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var av={__x:m*q+c,__y:l*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var aw={__x:m*r+c,__y:l*r+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ax=av.__y;var ay=av.__x;if(at.__x-au.__x!=0){ay=c;var az=(at.__y-au.__y)/(at.__x-au.__x);ax=az*(c-av.__x)+av.__y}aw={__x:ay,__y:ax,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var a0=$.ig.GeometryUtil.prototype.j(aw,av,{__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},r);if(isNaN(as.c().__x)||isNaN(as.c().__y)||isNaN(as.d().__x)||isNaN(as.d().__y)||isNaN(a0.c().__x)||isNaN(a0.c().__y)||isNaN(a0.d().__x)||isNaN(a0.d().__y)){a.__startPoint={__x:m*q+c,__y:l*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.__segments.add(aj);var a1=function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:m*q+c,__y:l*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();a.__segments.add(a1)}else{var a2;var a3;if(Math.pow(as.c().__x-an.__x,2)+Math.pow(as.c().__y-an.__y,2)<Math.pow(as.d().__x-an.__x,2)+Math.pow(as.d().__y-an.__y,2)){a2=as.c()}else{a2=as.d()}if(Math.pow(a0.c().__x-av.__x,2)+Math.pow(a0.c().__y-av.__y,2)<Math.pow(a0.d().__x-av.__x,2)+Math.pow(a0.d().__y-av.__y,2)){a3=a0.c()}else{a3=a0.d()}if(Math.pow(a3.__x-an.__x,2)+Math.pow(a3.__y-an.__y,2)<=Math.pow(a2.__x-an.__x,2)+Math.pow(a2.__y-an.__y,2)){a.__startPoint={__x:m*q+c,__y:l*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.__segments.add(aj);var a4=function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:m*q+c,__y:l*q+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();a.__segments.add(a4)}else{a.__segments.add(ai);a.__segments.add(aj);a.__segments.add(ak);var a5=function(){var $ret=new $.ig.LineSegment(1);$ret.d(a2);return $ret}();a.__segments.add(a5);var a6=$.ig.GeometryUtil.prototype.i({__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a2);var a7=$.ig.GeometryUtil.prototype.i({__x:c,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a3);while(a7<a6){a7+=2*Math.PI}var a8=function(){var $ret=new $.ig.ArcSegment;$ret.h(a3);$ret.i(a7-a6>Math.PI);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(r,r));return $ret}();a.__segments.add(a8);var a9=function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:m*u+c,__y:l*u+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();a.__segments.add(a9)}}},$type:new $.ig.Type("BackingFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeScaleFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.ay(new $.ig.List$1($.ig.RadialGaugeRangeFrame.prototype.$type,0));this.aa(new Array(0));this.ab(new Array(0));this.ac(new Array(0));this.ad(new Array(0));this.ae(new Array(0));this.af(new Array(0));this.ag(new Array(0));this.ah(new Array(0))},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},_ad:null,ad:function(a){if(arguments.length===1){this._ad=a;return a}else{return this._ad}},_ae:null,ae:function(a){if(arguments.length===1){this._ae=a;return a}else{return this._ae}},_af:null,af:function(a){if(arguments.length===1){this._af=a;return a}else{return this._af}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},_ai:null,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},_aj:null,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_ak:null,ak:function(a){if(arguments.length===1){this._ak=a;return a}else{return this._ak}},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},_at:null,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},_au:null,au:function(a){if(arguments.length===1){this._au=a;return a}else{return this._au}},_av:null,av:function(a){if(arguments.length===1){this._av=a;return a}else{return this._av}},_aw:null,aw:function(a){if(arguments.length===1){this._aw=a;return a}else{return this._aw}},_ax:null,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},_ay:null,ay:function(a){if(arguments.length===1){this._ay=a;return a}else{return this._ay}},cd: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;j<f;j++){b[j]=c[j]+(d[j]-c[j])*a}var k;var l;for(j=f;j<e;j++){if(i){k=c[j];l=h}else{k=g;l=d[j]}b[j]=k+(l-k)*a}return b},ce: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=null;if(c.length>0){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;j<f;j++){b[j]=d[j]}var k;var l;for(j=f;j<e;j++){if(i){k=c[j];l=h}else{k=g;l=d[j]}if(l!=null){b[j]=l}else{b[j]=k}}return b},cf:function(a,b,c){this.av($.ig.BrushUtil.prototype.a(b.av(),a,c.av(),$.ig.InterpolationMode.prototype.rGB));this.ar($.ig.BrushUtil.prototype.a(b.ar(),a,c.ar(),$.ig.InterpolationMode.prototype.rGB));this.au($.ig.BrushUtil.prototype.a(b.au(),a,c.au(),$.ig.InterpolationMode.prototype.rGB));if(b.aw()==null&&c.aw()==null){this.aw(null)}else{this.aw($.ig.BrushUtil.prototype.a(b.aw(),a,c.aw(),$.ig.InterpolationMode.prototype.rGB))}this.ai(b.ai()+(c.ai()-b.ai())*a);this.aj(b.aj()+(c.aj()-b.aj())*a);this.ap(b.ap()+(c.ap()-b.ap())*a);this.aq(b.aq()+(c.aq()-b.aq())*a);this.ax(b.ax()+(c.ax()-b.ax())*a);this.ak(b.ak()+(c.ak()-b.ak())*a);this.al(b.al()+(c.al()-b.al())*a);this.am(b.am()+(c.am()-b.am())*a);this.an(b.an()+(c.an()-b.an())*a);this.ao(b.ao()+(c.ao()-b.ao())*a);this.as(b.as()+(c.as()-b.as())*a);this.at(b.at()+(c.at()-b.at())*a);this.aa(this.cd(a,this.aa(),b.aa(),c.aa()));this.ab(this.cd(a,this.ab(),b.ab(),c.ab()));this.ac(this.cd(a,this.ac(),b.ac(),c.ac()));this.ae(this.cd(a,this.ae(),b.ae(),c.ae()));this.af(this.cd(a,this.af(),b.af(),c.af()));this.ag(this.cd(a,this.ag(),b.ag(),c.ag()));this.ah(this.cd(a,this.ah(),b.ah(),c.ah()));this.ad(this.ce(a,this.ad(),b.ad(),c.ad()));this.cg(a,this.ay(),b.ay(),c.ay())},cg:function(a,b,c,d){var $self=this;$.ig.InterpolationUtil.prototype.c($.ig.RadialGaugeRangeFrame.prototype.$type,b,a,c,d,function(){return new $.ig.RadialGaugeRangeFrame},$.ig.RadialGaugeRangeFrame.prototype.j)},$type:new $.ig.Type("RadialGaugeScaleFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeNeedlePreparer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},e:function(a){var b=this.b();a.ao(b.p);a.ap(b.q);a.at(b.m);a.as(b.n);a.ar(b.r);a.aq(b.o);switch(b.j){case $.ig.RadialGaugeNeedleShape.prototype.none:this.s(a);break;case $.ig.RadialGaugeNeedleShape.prototype.rectangle:this.q(a);break;case $.ig.RadialGaugeNeedleShape.prototype.triangle:this.j(a);break;case $.ig.RadialGaugeNeedleShape.prototype.trapezoid:this.i(a);break;case $.ig.RadialGaugeNeedleShape.prototype.rectangleWithBulb:this.o(a);break;case $.ig.RadialGaugeNeedleShape.prototype.needle:this.n(a);break;case $.ig.RadialGaugeNeedleShape.prototype.needleWithBulb:this.k(a);break;case $.ig.RadialGaugeNeedleShape.prototype.trapezoidWithBulb:this.h(a);break;case $.ig.RadialGaugeNeedleShape.prototype.triangleWithBulb:this.g(a);break}switch(b.k){case $.ig.RadialGaugePivotShape.prototype.circleOverlay:this.f(a,true,false);break;case $.ig.RadialGaugePivotShape.prototype.circleUnderlay:this.f(a,false,false);break;case $.ig.RadialGaugePivotShape.prototype.circleOverlayWithHole:this.f(a,true,true);break;case $.ig.RadialGaugePivotShape.prototype.circleUnderlayWithHole:this.f(a,false,true);break}},f:function(a,b,c){var d=this.p();var e=d.l;var f=d.s;var g=d.t;var h=a.be();if(b){h=a.bc()}var i=h.a;h.c=true;h.h=true;h.g=false;h.d=e;i.add({__x:0+e,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.add({__x:0-e,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});h=a.bf();if(b){h=a.bd()}i=h.a;h.c=true;h.h=true;h.g=true;h.d=e;i.add({__x:0-e,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.add({__x:0+e,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});if(c){h=a.bi();if(b){h=a.bg()}i=h.a;h.c=true;h.h=false;h.g=false;h.d=g;i.add({__x:0+g,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.add({__x:0-g,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});h=a.bj();if(b){h=a.bh()}i=h.a;h.c=true;h.h=false;h.g=true;h.d=g;i.add({__x:0-g,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.add({__x:0+g,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},g:function(a){this.m(a,false,true,false,true)},h:function(a){this.m(a,false,false,true,true)},i:function(a){this.m(a,false,false,true,false)},j:function(a){this.m(a,false,true,false,false)},k:function(a){this.m(a,false,false,false,true)},l:function(a,b,c,d,e){var f=0;if(c==a){f=0}else{f=(e-a)/(c-a)}var g=b+(d-b)*f;return g},m:function(a,b,c,d,e){this.r(a);var f=this.p();a.ak(f.a);a.al(f.b);a.am(0);if(!isNaN(f.d)){a.am(Math.max(a.am(),f.d))}if(!isNaN(f.l)){a.am(Math.max(a.am(),f.l))}if(!isNaN(f.g)){a.am(Math.max(a.am(),f.g))}if(!isNaN(f.e)){a.am(Math.max(a.am(),f.e))}if(c){f.h=f.b;f.g=0}if(d){f.h=f.b;f.g=f.d}if(b){var g=Math.max(f.c,f.d);f.c=g;f.d=g;f.h=f.b;f.g=f.d}if(isNaN(f.h)){f.h=f.b}var h=f.k==$.ig.RadialGaugePivotShape.prototype.circle||f.k==$.ig.RadialGaugePivotShape.prototype.circleWithHole;var i=f.c;var j=f.d;if(!d&&!b){j=0}var k=f.g;var l=f.l;var m=f.a;var n=f.b;var o=f.f;var p=f.h;var q=f.e;var r=true;var s=true;if(isNaN(p)){r=false;p=n}if(isNaN(o)){s=false;o=m}var t=f.t;var u=f.s;var v=0;var w=u;var x=u;var y=this.l(m,i,p,k,u);var z=y;var aa=f.k==$.ig.RadialGaugePivotShape.prototype.circleWithHole;if(h){var ab=$.ig.GeometryUtil.prototype.j({__x:m,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:p,__y:k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},l);if(isNaN(ab.c().__x)||isNaN(ab.c().__y)||isNaN(ab.d().__x)||isNaN(ab.d().__y)){h=false}else{var ac=ab.c();var ad=ab.d();w=ac.__x;x=ad.__x;y=ac.__y;z=ad.__y;if(w>x){var ae=w;w=x;x=ae;ae=y;y=z;z=ae}}}if(aa){var af=$.ig.GeometryUtil.prototype.j({__x:m,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:p,__y:k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},t);if(isNaN(af.c().__x)||isNaN(af.c().__y)||isNaN(af.d().__x)||isNaN(af.d().__y)||h){aa=true}else{aa=false}}if(m>x||n<w){h=false;w=m;x=m}var ag=false;var ah=false;if(h&&m>=w){ag=true}if(h&&n<=x){ah=true}if(isNaN(o)||o>w){o=w}if(p<x){p=x}var ai=e;var aj=l;var ak=l;if(o+q>w){ai=false}var al=o;var am=i;var an=o;var ao=i;var ap=w;var aq=x;var ar=y;var as=z;var at=w;var au=x;var av=y;var aw=z;if(ai){var ax=$.ig.GeometryUtil.prototype.j({__x:m,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:p,__y:k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:o,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},q);if(!isNaN(ax.c().__x)&&!isNaN(ax.c().__y)&&!isNaN(ax.d().__x)&&!isNaN(ax.d().__y)){ai=true;al=ax.c().__x;am=ax.c().__y;an=ax.d().__x;ao=ax.d().__y;if(al>an){var ay=al;al=an;an=ay;ay=am;am=ao;ao=ay}}else{ai=false}}if(ag){ai=false}if(ai&&m>=al){ag=true;aj=q;ap=al;ar=am;aq=an;as=ao}if(ai&&n<=an){ah=true;ak=q;ak=q;at=al;av=am;au=an;aw=ao}var az=m;var a0=a.a9();var a1=a0.a;var a2=i;if(ag){az=ap;a0.c=true;a0.g=false;a0.h=false;a0.d=aj;o=ap;m=ap;a2=ar;i=ar;h=false}if(ah){p=au;n=au;h=false}var a3=ag||ah||h;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.au();a1=a0.a;a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=al;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.av();a1=a0.a;if(ai){a0.c=true;a0.g=false;a0.h=false;a0.d=q}a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=an;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.aw();a1=a0.a;a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=w;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.ax();a1=a0.a;if(a3){a0.c=true;a0.g=false;a0.h=false;a0.d=l}a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=x;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.ay();a1=a0.a;a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=p;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.az();a1=a0.a;a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a0();a1=a0.a;a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=n;a2=this.l(p,k,n,j,az);a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a1();a1=a0.a;if(ah){az=au;a0.c=true;a0.g=false;a0.h=false;a0.d=ak}a1.add({__x:az,__y:a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a2();a1=a0.a;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=p;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a3();a1=a0.a;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a4();a1=a0.a;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=x;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a5();a1=a0.a;if(a3){a0.c=true;a0.g=false;a0.h=false;a0.d=l}a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=w;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a6();a1=a0.a;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=an;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a7();a1=a0.a;if(ai){a0.c=true;a0.g=false;a0.h=false;a0.d=q}a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=al;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.a8();a1=a0.a;a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});az=m;a2=this.l(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a0=a.ba();a1=a0.a;if(aa&&a3){a0.c=true;a0.h=true;a0.g=false;a0.d=t;a1.add({__x:0+t,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:0-t,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}a0=a.bb();a1=a0.a;if(aa&&a3){a0.c=true;a0.h=true;a0.g=true;
a0.d=t;a1.add({__x:0-t,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});a1.add({__x:0+t,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},n:function(a){this.m(a,false,false,false,false)},o:function(a){this.m(a,true,false,false,true)},p:function(){var a=this.b();var b=this.b().u();var c=0;var d=.48;var e=NaN;var f=NaN;var g=.2;var h=.1;var i=.1;var j=.1;var k=.14;var l=.06;switch(a.j){case $.ig.RadialGaugeNeedleShape.prototype.needle:f=.4;break;case $.ig.RadialGaugeNeedleShape.prototype.trapezoid:i=.06;break;case $.ig.RadialGaugeNeedleShape.prototype.needleWithBulb:f=.4;c=-.3;e=-.2;k=.14;break;case $.ig.RadialGaugeNeedleShape.prototype.rectangleWithBulb:c=-.3;e=-.2;k=.14;break;case $.ig.RadialGaugeNeedleShape.prototype.trapezoidWithBulb:i=.06;c=-.3;e=-.2;k=.14;break;case $.ig.RadialGaugeNeedleShape.prototype.triangleWithBulb:c=-.3;e=-.2;k=.14;break}var m=a.a;var n=a.b;var o=a.k==$.ig.RadialGaugePivotShape.prototype.circle||a.k==$.ig.RadialGaugePivotShape.prototype.circleWithHole;if(isNaN(m)){m=c}if(isNaN(n)){n=d}var p=Math.min(m,n);var q=Math.max(m,n);m=p;n=q;var r=a.c;if(isNaN(r)){r=h}var s=a.d;if(isNaN(s)){s=i}var t=a.l;var u=a.t;if(isNaN(t)){t=g}if(isNaN(u)){u=j}var v=Math.max(t,u);var w=Math.min(t,u);t=v;u=w;var x=a.f;if(isNaN(x)){x=e}if(!isNaN(x)){if(x<m){x=NaN}if(x>0&&m<=0){x=NaN}if(x>n){x=n}}var y=a.h;if(isNaN(y)){y=f}if(!isNaN(y)){if(y>n){y=NaN}if(y<0&&n>=0){y=NaN}if(y<m){y=m}}var z=0;if(m>0){z=m}if(n<0){z=m}if(t<=0){t=0}var aa=a.e;var ab=a.g;if(isNaN(aa)){aa=k}if(isNaN(ab)){ab=l}b.l=t/2;b.t=u/2;b.f=x;b.h=y;b.a=m;b.b=n;b.s=z;b.c=r/2;b.d=s/2;b.g=ab/2;b.e=aa/2;return b},q:function(a){this.m(a,true,false,false,false)},r:function(a){a.a9().l();a.au().l();a.av().l();a.aw().l();a.ax().l();a.ay().l();a.az().l();a.a0().l();a.a1().l();a.a2().l();a.a3().l();a.a4().l();a.a5().l();a.a6().l();a.a7().l();a.a8().l();a.ba().l();a.bb().l();a.bc().l();a.bd().l();a.be().l();a.bf().l();a.bg().l();a.bh().l();a.bi().l();a.bj().l()},s:function(a){this.r(a);var b=0;var c=0;var d=0;var e=0;var f=0;var g=0;var h=0;var i=a.a9();var j=i.a;j.add({__x:b,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:b,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.au();j=i.a;j.add({__x:b,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:d,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.av();j=i.a;j.add({__x:d,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:d,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var k=f;var l=f;i=a.aw();j=i.a;j.add({__x:d,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:k,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.ax();j=i.a;j.add({__x:k,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:l,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.ay();j=i.a;j.add({__x:l,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:e,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.az();j=i.a;j.add({__x:e,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:e,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a0();j=i.a;j.add({__x:e,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:c,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a1();j=i.a;j.add({__x:c,__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:c,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a2();j=i.a;j.add({__x:c,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:e,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a3();j=i.a;j.add({__x:e,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:e,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a4();j=i.a;j.add({__x:e,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:l,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a5();j=i.a;j.add({__x:l,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:k,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a6();j=i.a;j.add({__x:k,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:d,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a7();j=i.a;j.add({__x:d,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:d,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i=a.a8();j=i.a;j.add({__x:d,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j.add({__x:b,__y:h,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("RadialGaugeNeedlePreparer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RadialGaugeNeedleParameters","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,q:null,r:null,s:null,t:null,u:function(){var a=new $.ig.RadialGaugeNeedleParameters;a.a=this.a;a.b=this.b;a.c=this.c;a.b=this.d;a.e=this.e;a.f=this.f;a.g=this.g;a.h=this.h;a.j=this.j;a.k=this.k;a.l=this.l;a.m=this.m;a.n=this.n;a.o=this.o;a.p=this.p;a.q=this.q;a.r=this.r;a.s=this.s;a.t=this.t;return a},$type:new $.ig.Type("RadialGaugeNeedleParameters",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamRadialGaugeView","Object",{init:function(a){this.c=new $.ig.Path;this.d=new $.ig.Path;this.e=new $.ig.Path;this.f=new $.ig.Path;this.g=new $.ig.Path;this.i=["needle","needlePivot","backing","scale","tick","minorTick","label"];this.l=false;this.m=false;this.n=null;this.o=new $.ig.Brush;this.p=function(){var $ret=new $.ig.Brush;$ret.__fill="black";return $ret}();this.q=NaN;this.s=-1;this.t=-1;this.ad=null;this.ae=null;$.ig.Object.prototype.init.call(this);this.am(a);this.h=new $.ig.Dictionary$2(String,$.ig.Dictionary$2.prototype.$type.specialize(String,String),0);this.ap(new $.ig.List$1($.ig.TextBlock.prototype.$type,0));this.ao(new $.ig.List$1($.ig.Path.prototype.$type,0));this.an(new $.ig.List$1($.ig.Path.prototype.$type,0))},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},b:null,av:function(a){a.__visibility=$.ig.Visibility.prototype.visible},aw:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},ax:function(a){this.ap().remove(a)},ay:function(){var a=new $.ig.TextBlock;this.ap().add(a);return a},az:function(a){a.__visibility=$.ig.Visibility.prototype.visible},a0:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},a1:function(a){this.ao().remove(a)},a2:function(){var a=new $.ig.Path;this.ao().add(a);return a},a3:function(a){a.__visibility=$.ig.Visibility.prototype.visible},a4:function(a){a.__visibility=$.ig.Visibility.prototype.collapsed},a5:function(a){this.an().remove(a)},a6:function(){var a=new $.ig.Path;this.an().add(a);return a},_an:null,an:function(a){if(arguments.length===1){this._an=a;return a}else{return this._an}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},_ap:null,ap:function(a){if(arguments.length===1){this._ap=a;return a}else{return this._ap}},c:null,d:null,e:null,f:null,g:null,bd:function(){return true},be:function(){return this.c},bf:function(){return this.d},bg:function(a){var b=$.ig.util.cast($.ig.TextBlock.prototype.$type,a);if(b!=null&&b.a3()!=null){return this.ar().z(b.a3())+$.ig.XamRadialGaugeView.prototype.a}return 0},bh:function(a){if(isNaN(this.q)){this.q=this.b3(null)}var b=this.bg(a);var c=this.q;return new $.ig.Size(b,c)},h:null,i:null,bi:function(){var $self=this;this.l=true;var a=["#CED3D8","#CED3D8","#EBEDEF","#FFC73C","#617583","rgba(100,107,114,.74)","rgba(100,107,114,.74)"];var b=["#B2B9C0","#B2B9C0","#B2B9C0",null,null,null,null];var c=["background-color","border-color"];var d=function(){var $ret=new $.ig.List$1($.ig.Array.prototype.$type,0);$ret.add(a);$ret.add(b);return $ret}();this.h.clear();var e=this.i.length;for(var f=0;f<e;f++){var g=new $.ig.Dictionary$2(String,String,0);var h=this.i[f];var i=new Array(c.length);$.ig.Array.prototype.copy(c,0,i,0,c.length);this.bl("ui-radialgauge-"+h,i);for(var j=0;j<i.length;j++){g.item(c[j],i[j]==null?d.__inner[j][f]:i[j])}this.h.item(h,g)}this.bj();var k;var l;(function(){var $ret=$.ig.BrushUtil.prototype.c("radialgauge-range",$self.as(),k,l);k=$ret.brushes;l=$ret.outlines;return $ret.ret})();this.j=k;this.k=l;if(this.ad==null){this.am().rangeBrushes(this.j)}if(this.ae==null){this.am().rangeOutlines(this.k)}this.l=false},j:null,k:null,bj:function(){this.l=true;var a=this.i.length;for(var b=0;b<a;b++){var c=this.i[b];this.bk(c,this.h.item(c))}this.l=false},bk:function(a,b){var $self=this;var c=null;var d=null;var e=b.count();var g=b.keys().getEnumerator();while(g.moveNext()){var f=g.current();switch(f){case"background-color":c=new $.ig.Brush;if(b.item(f)!=null){c.__fill=b.item(f)}break;case"border-color":d=new $.ig.Brush;if(b.item(f)!=null){d.__fill=b.item(f)}break}}switch(a){case"needle":if(this.u==null){this.am().needleBrush(c)}if(this.v==null){this.am().needleOutline(d)}break;case"needlePivot":if(this.w==null){this.am().needlePivotBrush(c)}if(this.x==null){this.am().needlePivotOutline(d)}break;case"backing":if(this.y==null){this.am().backingBrush(c)}if(this.z==null){this.am().backingOutline(d)}break;case"scale":if(this.aa==null){this.am().scaleBrush(c)}break;case"tick":if(this.ab==null){this.am().tickBrush(c)}break;case"minorTick":if(this.ac==null){this.am().minorTickBrush(c)}break;case"label":this.p=c;break}},bl:function(a,b){var c=this.b;if(c==null){c=this.b=$("<span style='position:absolute;display:none' />");$("body").append(this.b)}var d=b.length,e=d;var f=new Array(e);while(e-->0){f[e]=b[e]=="font"?null:c.css(b[e])}c.addClass(a);while(d-->0){var g=b[d];g=g=="font"?$.ig.FontUtil.prototype.b(c):c.css(g);b[d]=g==null||g.length==0||g=="null"||g=="transparent"||g==f[d]?null:g}c.removeClass(a);return b},bm:function(a,b){var c=a==null?0:a.length;if(c<1){return b}var d=a.split(".");var e=d[0].length>0?$.ig.Number.prototype.parseInt(d[0]):0;if(d.length!=2){return e}c=d[1].length;var f=$.ig.Number.prototype.parseInt(d[1]);while(c-->0){f/=10}return f+e},l:null,bn:function(){var $self=this;this.l=true;this.am().needleBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#CED3D8";return $ret}());this.am().needleOutline(function(){var $ret=new $.ig.Brush;$ret.__fill="#B2B9C0";return $ret}());this.am().tickBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#617583";return $ret}());this.am().scaleBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#FFC73C";return $ret}());this.am().backingBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#EBEDEF";return $ret}());this.am().backingOutline(function(){var $ret=new $.ig.Brush;$ret.__fill="#B2B9C0";return $ret}());this.am().needlePivotBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="#CED3D8";return $ret}());this.am().needlePivotOutline(function(){var $ret=new $.ig.Brush;$ret.__fill="#B2B9C0";return $ret}());this.am().minorTickBrush(function(){var $ret=new $.ig.Brush;$ret.__fill="rgba(100,107,114,.74)";return $ret}());this.l=false},m:null,bo:function(){if(!this.m){this.m=true;window.setTimeout(this.bp.runOn(this),0)}},bp:function(){if(this.m){this.m=false;this.am().f7()}},flush:function(){if(this.m){this.bp()}},bq:function(a,b,c){a.w(b);a.v(c)},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},_ar:null,ar:function(a){if(arguments.length===1){this._ar=a;return a}else{return this._ar}},_as:null,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},n:null,o:null,bx:function(a){var b=$(a);this.as(b);var c=Math.round(b.width());var d=Math.round(b.height());this.as().css("position","relative");var e=$("<canvas style='position:absolute'></canvas>");this.as().append(e);this.s=c;this.t=d;e.attr("width",c.toString());e.attr("height",d.toString());if(this.b==null){this.b=$("<span style='position:absolute;display:none' />")}this.as().append(this.b);this.am().ff(new $.ig.Rect(0,0,0,c,d));this.aq(e);var f=this.aq()[0].getContext("2d");this.ar(new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,f));this.bi();this.b0();this.ar().y(this.n);this.b2()},by:function(a,b){if(b!=null){a.a4(b)}else{a.a4(this.p)}},bz:function(){this.bi();this.b0();this.bo()},b0:function(){this.n=$.ig.FontUtil.prototype.b(this.as());if(this.am().font()!=null){this.n=this.am().font()}this.q=this.b3(this.n);this.o=new $.ig.Brush;this.o.__fill=this.as().css("color");if(this.ar()!=null){this.ar().y(this.n)}},b1:function(){this.b2()},p:null,b2:function(){if(this.s!=this.am().ff().width()||this.t!=this.am().ff().height()){this.aq().attr("width",this.am().ff().width().toString());this.aq().attr("height",this.am().ff().height().toString());this.s=Math.round(this.am().ff().width());this.t=Math.round(this.am().ff().height())}this.ar().u(this.am().ff().left(),this.am().ff().top(),this.am().ff().width(),this.am().ff().height());this.ar().g(this.e);this.ar().g(this.d);if(this.r!=null){for(var a=0;a<this.r.count();a++){this.ar().g(this.r.__inner[a])}}for(var b=0;b<this.ap().count();b++){this.ar().y(this.n);this.ar().i(this.ap().__inner[b])}for(var c=0;c<this.ao().count();c++){this.ar().g(this.ao().__inner[c])}this.ar().p();this.ar().n(this.c.f());this.ar().g(this.g);this.ar().g(this.c);this.ar().g(this.f);this.ar().q()},q:null,b3:function(a){var tempSpan_=$("<span>M</span>");var b=$("body");b.append(tempSpan_);if(a!=null){tempSpan_.css("font",a)}var offset_=tempSpan_.attr("offsetHeight");if(isNaN(offset_)){offset_=tempSpan_[0].offsetHeight}tempSpan_.remove();return parseInt(offset_)},r:null,b4:function(a){this.r=a},b5:function(){return this.e},b6:function(){return this.g},b7:function(){return this.f},s:null,t:null,b8:function(){var a=Math.round(this.as().width());var b=Math.round(this.as().height());this.am().ff(new $.ig.Rect(0,0,0,a,b))},b9:function(a){a.scalePath(new $.ig.PathVisualData(1,"Scale",this.d));a.needlePath(new $.ig.PathVisualData(1,"Needle",this.c));var b=this.c.f().f().__inner[0].h();a.needle().angle(b);a.backingPath(new $.ig.PathVisualData(1,"Backing",this.e));a.overlayPath(new $.ig.PathVisualData(1,"Overlay",this.f));a.underlayPath(new $.ig.PathVisualData(1,"Underlay",this.g));var d=this.ap().getEnumerator();while(d.moveNext()){var c=d.current();if(c.__visibility==$.ig.Visibility.prototype.visible){var e=new $.ig.ScaleLabelVisualData;e.labelValue(c.a3());e.labelPosition({__x:c.w(),__y:c.v(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});e.labelSize(this.bh(c));e.appearance($.ig.AppearanceHelper.prototype.fromTextElement(c,this.n));a.scaleLabels().add(e)}}var g=this.ao().getEnumerator();while(g.moveNext()){var f=g.current();if(f.__visibility==$.ig.Visibility.prototype.visible){var h=new $.ig.ScaleTickmarkVisualData;h.tickPath(new $.ig.PathVisualData(1,"tickmarks",f));a.scaleTickmarks().add(h)}}var j=this.an().getEnumerator();while(j.moveNext()){var i=j.current();if(i.__visibility==$.ig.Visibility.prototype.visible){var k=new $.ig.RangeVisualData;var l=new $.ig.PathVisualData(1,"range",i);k.rangePath(l);a.ranges().add(k)}}},u:null,v:null,w:null,x:null,y:null,z:null,aa:null,ab:null,ac:null,ca:function(a,b,c){var $self=this;var d=b;var e=c;if(!this.l){switch(a){case $.ig.XamRadialGauge.prototype.bp:this.u=e;break;case $.ig.XamRadialGauge.prototype.bq:this.v=e;break;case $.ig.XamRadialGauge.prototype.b3:this.w=e;break;case $.ig.XamRadialGauge.prototype.b4:this.x=e;break;case $.ig.XamRadialGauge.prototype.cm:this.y=e;break;case $.ig.XamRadialGauge.prototype.cn:this.z=e;break;case $.ig.XamRadialGauge.prototype.cl:this.aa=e;break;case $.ig.XamRadialGauge.prototype.ce:this.ab=e;break;case $.ig.XamRadialGauge.prototype.cj:this.ac=e;break}if(e==null){this.bj()}}},ad:null,ae:null,cb:function(a,b){if(!this.l){this.ad=b;if(this.ad==null){this.am().rangeBrushes(this.j)}}},cc:function(a,b){if(!this.l){this.ae=b;if(this.ae==null){this.am().rangeOutlines(this.k)}}},$type:new $.ig.Type("XamRadialGaugeView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamRadialGauge","Control",{init:function(){var $self=this;this.c1=0;this.c2=100;this.c5=new $.ig.Size(NaN,NaN);this.c8=new $.ig.List$1($.ig.TextBlock.prototype.$type,0);this.c9=new $.ig.List$1($.ig.Path.prototype.$type,0);this.da=new $.ig.List$1($.ig.Path.prototype.$type,0);this.db=new $.ig.List$1($.ig.Path.prototype.$type,0);this.dc=0;$.ig.Control.prototype.init.call(this);this.view(new $.ig.XamRadialGaugeView(this));this.view().bn();this.c6=$.ig.Rect.prototype.empty();this.fh(new $.ig.RadialGaugeFrame);this.fi(new $.ig.RadialGaugeFrame);this.fj(new $.ig.RadialGaugeFrame);this.ranges(new $.ig.RadialGaugeRangeCollection);this.fd(true);this.fc(new $.ig.DoubleAnimator(0,1,this.transitionDuration()));this.fc().propertyChanged=$.ig.Delegate.prototype.combine(this.fc().propertyChanged,this.fr.runOn(this));this.a3($.ig.XamRadialGauge.prototype.$type);this.fm(function(){var $ret=new $.ig.StackPool$1($.ig.TextBlock.prototype.$type);$ret.n($self.view().av.runOn($self.view()));$ret.m($self.view().aw.runOn($self.view()));$ret.o($self.view().ax.runOn($self.view()));$ret.l($self.view().ay.runOn($self.view()));return $ret}());this.fk(function(){var $ret=new $.ig.StackPool$1($.ig.Path.prototype.$type);$ret.n($self.view().az.runOn($self.view()));$ret.m($self.view().a0.runOn($self.view()));$ret.o($self.view().a1.runOn($self.view()));$ret.l($self.view().a2.runOn($self.view()));return $ret}());this.fl(function(){var $ret=new $.ig.StackPool$1($.ig.Path.prototype.$type);$ret.n($self.view().az.runOn($self.view()));$ret.m($self.view().a0.runOn($self.view()));$ret.o($self.view().a1.runOn($self.view()));$ret.l($self.view().a2.runOn($self.view()));return $ret}());this.fn(function(){var $ret=new $.ig.StackPool$1($.ig.Path.prototype.$type);$ret.n($self.view().a3.runOn($self.view()));$ret.m($self.view().a4.runOn($self.view()));$ret.o($self.view().a5.runOn($self.view()));$ret.l($self.view().a6.runOn($self.view()));return $ret}());this.fe(new $.ig.RadialGaugeScaler(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection()))},scaleValue:function(a){return this.fe().m(a)},unscaleValue:function(a){return this.fe().n(a)},getValueForPoint:function(a){var b=this.ff();var c=Math.min(b.width()/2,b.height()/2)*this.radiusMultiplier();var d=this.gc();var e=d.__x;var f=d.__y;var g=$.ig.GeometryUtil.prototype.i({__x:e,__y:f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},a);if(this.fe()!=null&&g<this.fe().h()){g+=Math.PI*2}if(this.fe()!=null&&g>this.fe().i()){g-=Math.PI*2}var h=this.unscaleValue(g);return h},fo:function(a,b){if(b!=null&&b.count()>0){return b.item(a%b.count())}else{return null}},_view:null,view:function(a){if(arguments.length===1){this._view=a;return a}else{return this._view}},fr:function(a,b){this.transitionProgress(this.fc().l())},_fc:null,fc:function(a){if(arguments.length===1){this._fc=a;return a}else{return this._fc}},rangeBrushes:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.rangeBrushesProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.rangeBrushesProperty)}},rangeOutlines:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.rangeOutlinesProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.rangeOutlinesProperty)}},minimumValue:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minimumValueProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minimumValueProperty)}},c1:null,actualMinimumValue:function(a){if(arguments.length===1){this.c1=a;return a}else{return this.c1}},maximumValue:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.maximumValueProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.maximumValueProperty)}},c2:null,actualMaximumValue:function(a){if(arguments.length===1){this.c2=a;return a}else{return this.c2}},interval:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.intervalProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.intervalProperty)}},centerX:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.centerXProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.centerXProperty)}},centerY:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.centerYProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.centerYProperty)}},value:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.valueProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.valueProperty)}},scaleStartAngle:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleStartAngleProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleStartAngleProperty)}},scaleEndAngle:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleEndAngleProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleEndAngleProperty)}},scaleSweepDirection:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleSweepDirectionProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleSweepDirectionProperty)}},transitionDuration:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.transitionDurationProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.transitionDurationProperty)}},needleBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleBrushProperty)}},needleOutline:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleOutlineProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleOutlineProperty)}},needleStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleStartExtentProperty)}},needleEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleEndExtentProperty)}},needleShape:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleShapeProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleShapeProperty)}},needleStartWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleStartWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleStartWidthRatioProperty)}},needleEndWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleEndWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleEndWidthRatioProperty)}},needleBaseFeatureWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleBaseFeatureWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleBaseFeatureWidthRatioProperty)}},needleBaseFeatureExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleBaseFeatureExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleBaseFeatureExtentProperty)}},needlePointFeatureWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePointFeatureWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePointFeatureWidthRatioProperty)}},needlePointFeatureExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePointFeatureExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePointFeatureExtentProperty)}},needlePivotWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotWidthRatioProperty)}},needlePivotInnerWidthRatio:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotInnerWidthRatioProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotInnerWidthRatioProperty)}},needlePivotShape:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotShapeProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotShapeProperty)}},scaleStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleStartExtentProperty)}},needlePivotBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotBrushProperty)}},needlePivotOutline:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotOutlineProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotOutlineProperty)}},needleStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needleStrokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needleStrokeThicknessProperty)}},needlePivotStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.needlePivotStrokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.needlePivotStrokeThicknessProperty)}},scaleEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleEndExtentProperty)}},labelExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.labelExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.labelExtentProperty)}},labelInterval:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.labelIntervalProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.labelIntervalProperty)}},tickStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.tickStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.tickStartExtentProperty)}},tickEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.tickEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.tickEndExtentProperty)}},tickStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.tickStrokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.tickStrokeThicknessProperty)}},tickBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.tickBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.tickBrushProperty)}},fontBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.fontBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.fontBrushProperty)}},minorTickStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minorTickStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minorTickStartExtentProperty)}},minorTickEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minorTickEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minorTickEndExtentProperty)}},minorTickStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minorTickStrokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minorTickStrokeThicknessProperty)}},minorTickBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minorTickBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minorTickBrushProperty)
}},minorTickCount:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.minorTickCountProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.minorTickCountProperty)}},scaleBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleBrushProperty)}},backingBrush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingBrushProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingBrushProperty)}},backingOutline:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingOutlineProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingOutlineProperty)}},backingStrokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingStrokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingStrokeThicknessProperty)}},backingOuterExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingOuterExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingOuterExtentProperty)}},backingOversweep:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingOversweepProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingOversweepProperty)}},scaleOversweep:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleOversweepProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleOversweepProperty)}},scaleOversweepShape:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.scaleOversweepShapeProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.scaleOversweepShapeProperty)}},backingCornerRadius:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingCornerRadiusProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingCornerRadiusProperty)}},backingInnerExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingInnerExtentProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingInnerExtentProperty)}},backingShape:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.backingShapeProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.backingShapeProperty)}},ranges:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.rangesProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.rangesProperty)}},radiusMultiplier:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.radiusMultiplierProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.radiusMultiplierProperty)}},duplicateLabelOmissionStrategy:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.duplicateLabelOmissionStrategyProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.duplicateLabelOmissionStrategyProperty)}},font:function(a){if(arguments.length===1){this.c($.ig.XamRadialGauge.prototype.fontProperty,a);return a}else{return this.b($.ig.XamRadialGauge.prototype.fontProperty)}},formatLabel:null,alignLabel:null,_fd:null,fd:function(a){if(arguments.length===1){this._fd=a;return a}else{return this._fd}},_fe:null,fe:function(a){if(arguments.length===1){this._fe=a;return a}else{return this._fe}},f0:function(a,b,c){var $self=this;switch(a){case $.ig.XamRadialGauge.prototype.bp:case $.ig.XamRadialGauge.prototype.bq:case $.ig.XamRadialGauge.prototype.b3:case $.ig.XamRadialGauge.prototype.b4:case $.ig.XamRadialGauge.prototype.cm:case $.ig.XamRadialGauge.prototype.cn:case $.ig.XamRadialGauge.prototype.cl:case $.ig.XamRadialGauge.prototype.ce:case $.ig.XamRadialGauge.prototype.cj:this.view().ca(a,b,c);break;case $.ig.XamRadialGauge.prototype.bd:this.view().cb(b,c);break;case $.ig.XamRadialGauge.prototype.be:this.view().cc(b,c);break}switch(a){case $.ig.XamRadialGauge.prototype.cm:case $.ig.XamRadialGauge.prototype.cn:case $.ig.XamRadialGauge.prototype.co:case $.ig.XamRadialGauge.prototype.cv:case $.ig.XamRadialGauge.prototype.cu:case $.ig.XamRadialGauge.prototype.cp:case $.ig.XamRadialGauge.prototype.cq:case $.ig.XamRadialGauge.prototype.ct:this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.bn:case $.ig.XamRadialGauge.prototype.bl:case $.ig.XamRadialGauge.prototype.bm:case $.ig.XamRadialGauge.prototype.cr:case $.ig.XamRadialGauge.prototype.cs:this.fe(new $.ig.RadialGaugeScaler(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection()));this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.bf:case $.ig.XamRadialGauge.prototype.bg:this.actualMinimumValue(Math.min(this.minimumValue(),this.maximumValue()));this.actualMaximumValue(Math.max(this.minimumValue(),this.maximumValue()));this.fe(new $.ig.RadialGaugeScaler(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection()));this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.bh:case $.ig.XamRadialGauge.prototype.b7:case $.ig.XamRadialGauge.prototype.b8:case $.ig.XamRadialGauge.prototype.b9:case $.ig.XamRadialGauge.prototype.cb:case $.ig.XamRadialGauge.prototype.cc:case $.ig.XamRadialGauge.prototype.ce:case $.ig.XamRadialGauge.prototype.cl:case $.ig.XamRadialGauge.prototype.ca:case $.ig.XamRadialGauge.prototype.ck:case $.ig.XamRadialGauge.prototype.cd:case $.ig.XamRadialGauge.prototype.ci:case $.ig.XamRadialGauge.prototype.cj:case $.ig.XamRadialGauge.prototype.cg:case $.ig.XamRadialGauge.prototype.ch:case $.ig.XamRadialGauge.prototype.bi:case $.ig.XamRadialGauge.prototype.bj:case $.ig.XamRadialGauge.prototype.cx:case $.ig.XamRadialGauge.prototype.cy:this.fe(new $.ig.RadialGaugeScaler(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection()));this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.bk:case $.ig.XamRadialGauge.prototype.br:case $.ig.XamRadialGauge.prototype.bs:case $.ig.XamRadialGauge.prototype.bp:case $.ig.XamRadialGauge.prototype.bq:case $.ig.XamRadialGauge.prototype.bu:case $.ig.XamRadialGauge.prototype.bv:case $.ig.XamRadialGauge.prototype.b3:case $.ig.XamRadialGauge.prototype.b4:case $.ig.XamRadialGauge.prototype.b5:case $.ig.XamRadialGauge.prototype.b6:case $.ig.XamRadialGauge.prototype.bx:case $.ig.XamRadialGauge.prototype.bw:case $.ig.XamRadialGauge.prototype.bz:case $.ig.XamRadialGauge.prototype.by:case $.ig.XamRadialGauge.prototype.b0:case $.ig.XamRadialGauge.prototype.b1:case $.ig.XamRadialGauge.prototype.b2:case $.ig.XamRadialGauge.prototype.bt:this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.bo:this.fc().m(this.transitionDuration());this.view().bo();break;case $.ig.XamRadialGauge.prototype.c0:if(this.transitionProgress()>=1){this.fc().ag();var d=this.fi();this.fi(this.fh());this.fh(d);this.gq();this.ge();this.gp();this.ga(this.fi());this.gb(this.fi());this.gl(this.fi());this.view().b1();return}this.fj().q(this.transitionProgress(),this.fh(),this.fi());this.ga(this.fj());this.gb(this.fj());this.gl(this.fj());this.view().b1();break;case $.ig.XamRadialGauge.prototype.cw:var e=b;var f=c;if(e!=null){e.collectionChanged=$.ig.Delegate.prototype.remove(e.collectionChanged,this.f1.runOn(this))}if(f!=null){f.collectionChanged=$.ig.Delegate.prototype.combine(f.collectionChanged,this.f1.runOn(this))}this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.be:case $.ig.XamRadialGauge.prototype.bd:this.fd(true);this.view().bo();break;case $.ig.XamRadialGauge.prototype.cf:case $.ig.XamRadialGauge.prototype.cz:this.view().b0();this.view().bo();break}},styleUpdated:function(){this.view().bz()},f1: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.f2.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.f2.runOn(this))}}this.fd(true);this.view().bo()},f2:function(a,b){this.fd(true);this.view().bo()},c5:null,c6:null,ff:function(a){if(arguments.length===1){var b=this.c6;this.c6=a;if(!b.equals(this.c6)){this.f5(b,this.c6)}return a}else{return this.c6}},f5:function(a,b){this.fd(true);this.view().bo()},f6:function(){return!isNaN(this.actualMinimumValue())&&!isNaN(this.actualMaximumValue())&&!isNaN(this.value())&&!this.ff().isEmpty()&&this.view().bd()},f7:function(){if(!this.f6()){return}if(this.fd()){var a=this.fh();if(this.animating()){if(this.fc().k()){this.fc().s()}this.fh(this.fj());this.fj(a)}else{this.fh(this.fi());this.fi(a)}}else if(this.animating()){this.fj().q(this.transitionProgress(),this.fh(),this.fi());this.ga(this.fj());this.gb(this.fj());this.gl(this.fj())}if(this.fd()){this.ge();this.gp();this.gq()}if(this.fd()&&this.fg()){this.f8();this.fj().q(this.transitionProgress(),this.fh(),this.fi());this.ga(this.fj());this.gb(this.fj());this.gl(this.fj())}else{if(this.fd()){this.ga(this.fi());this.gb(this.fi());this.gl(this.fi())}}this.fd(false);this.view().b1()},f8:function(){this.dc=0;this.fc().ag();this.fc().af()},fg:function(){return this.transitionDuration()>0},ga:function(a){var b=this.ff();var c=this.view().b5();var d=a.g();var e=Math.min(b.width()/2,b.height()/2)*a.h();var f=this.gc();var g=f.__x;var h=f.__y;var i=d.am(e,g,h);c.bn(i);c.__fill=d.j();c.__stroke=d.k();c.a5(d.l())},c7:null,needleContainsPoint:function(a){if(this.c7==null){return false}return $.ig.PolygonUtil.prototype.a(this.c7,a)},gb:function(a){var $self=this;var b=this.ff();var c=a.e().an();var d=a.e().ao();var e=a.e().ap();var f=a.e().ar();var g=a.e().at();var h=a.e().as();var i=a.e().aq();var j=this.view().be();var k=this.view().b6();var l=this.view().b7();var m=a.e();var n=Math.min(b.width()/2,b.height()/2)*a.h();var o=this.gc();var p=o.__x;var q=o.__y;var r=m.dl(n,p,q);var s=c*180/Math.PI;j.bn(r);var t=new $.ig.TransformGroup;t.f().add(function(){var $ret=new $.ig.RotateTransform;$ret.i(p);$ret.j(q);$ret.h(s);return $ret}());j.f(t);j.__fill=d;j.__stroke=e;j.a5(f);k.bn(m.dm(n,p,q));l.bn(m.dn(n,p,q));k.__fill=g;k.__stroke=h;k.a5(i);l.__fill=g;l.__stroke=h;l.a5(i);var u=new $.ig.List$1($.ig.Point.prototype.$type,0);var v=Math.cos(c);var w=Math.sin(c);var x=m.am()/2;var y={__x:m.ak()*n,__y:x*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var z={__x:m.al()*n,__y:x*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var aa={__x:m.al()*n,__y:-x*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var ab={__x:m.ak()*n,__y:-x*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};y={__x:y.__x*v-y.__y*w+p,__y:y.__y*v+y.__x*w+q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};z={__x:z.__x*v-z.__y*w+p,__y:z.__y*v+z.__x*w+q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};aa={__x:aa.__x*v-aa.__y*w+p,__y:aa.__y*v+aa.__x*w+q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ab={__x:ab.__x*v-ab.__y*w+p,__y:ab.__y*v+ab.__x*w+q,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};u.add(y);u.add(z);u.add(aa);u.add(ab);this.c7=u},gc:function(){var a=this.ff();var b=isNaN(this.centerX())?.5:this.centerX();var c=isNaN(this.centerY())?.5:this.centerY();var d=a.left()+b*a.width();var e=a.top()+c*a.height();return{__x:d,__y:e,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},gd:function(a){if(Number.isInfinity(a)){return NaN}return a},ge:function(){var a=this.fi();a.h(this.radiusMultiplier());var b=this.ff();var c=this.fe();var d=this.fe().m(this.value());var e=new $.ig.RadialGaugeNeedlePreparer;var f=new $.ig.RadialGaugeNeedleParameters;f.j=this.needleShape();f.r=this.gd(this.needleStrokeThickness());f.p=this.needleBrush();f.q=this.needleOutline();f.a=this.gd(this.needleStartExtent());f.b=this.gd(this.needleEndExtent());f.f=this.gd(this.needleBaseFeatureExtent());f.e=this.gd(this.needleBaseFeatureWidthRatio());f.h=this.gd(this.needlePointFeatureExtent());f.g=this.gd(this.needlePointFeatureWidthRatio());f.l=this.gd(this.needlePivotWidthRatio());f.t=this.gd(this.needlePivotInnerWidthRatio());f.m=this.needlePivotBrush();f.n=this.needlePivotOutline();f.k=this.needlePivotShape();f.o=this.gd(this.needlePivotStrokeThickness());f.c=this.gd(this.needleStartWidthRatio());f.d=this.gd(this.needleEndWidthRatio());e.b(f);e.e(a.e());a.e().an(d)},_fh:null,fh:function(a){if(arguments.length===1){this._fh=a;return a}else{return this._fh}},_fi:null,fi:function(a){if(arguments.length===1){this._fi=a;return a}else{return this._fi}},_fj:null,fj:function(a){if(arguments.length===1){this._fj=a;return a}else{return this._fj}},c8:null,c9:null,da:null,db:null,gl:function(a){var $self=this;var b=this.ff();var c=a.f();var d=c.ac();var e=c.ad();var f=c.ag();var g=c.ah();var h=c.ae();var i=c.af();var j=c.ak();var k=c.ai();var l=c.aj();var m=c.aa();var n=c.ab();var o=c.al();var p=c.am();var q=c.ap();var r=c.aq();var s=c.av();var t=c.ar();var u=c.as();var v=c.au();var w=c.an();var x=c.ao();var y=c.at();var z=this.view().bf();var aa=c.ax();var ab=true;if(this.scaleOversweepShape()==$.ig.RadialGaugeScaleOversweepShape.prototype.circular||this.scaleOversweepShape()==$.ig.RadialGaugeScaleOversweepShape.prototype.auto&&this.backingShape()==$.ig.RadialGaugeBackingShape.prototype.circular){ab=false}var ac=Math.min(b.width()/2,b.height()/2)*a.h();var ad=this.gc();var ae=ad.__x;var af=ad.__y;var ag=q;var ah=r;q-=aa;r+=aa;var ai=false;if(r-q>=2*Math.PI){ai=true;q=0;r=Math.PI}var aj=new $.ig.PathGeometry;var ak=new $.ig.PathFigure;var al=Math.cos(q);var am=Math.sin(q);var an=Math.cos(r);var ao=Math.sin(r);var ap=ae+ac*k*al;var aq=af+ac*k*am;var ar=ae+ac*l*al;var as=af+ac*l*am;var at=ae+ac*k*an;var au=af+ac*k*ao;var av=ae+ac*l*an;var aw=af+ac*l*ao;var ax=ai;if(aa!=0&&!ai&&ab){var ay=Math.cos(ag);var az=Math.sin(ag);var a0=Math.cos(ah);var a1=Math.sin(ah);var a2=ae+ac*k*ay;var a3=af+ac*k*az;var a4=ae+ac*l*ay;var a5=af+ac*l*az;var a6=ae+ac*k*a0;var a7=af+ac*k*a1;var a8=ae+ac*l*a0;var a9=af+ac*l*a1;var ba=aq;var bb=ar;if(a4-a2!=0){bb=ae;var bc=(a5-a3)/(a4-a2);ba=bc*(ae-ar)+as}var bd={__x:bb,__y:ba,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var be=$.ig.GeometryUtil.prototype.j(bd,{__x:ar,__y:as,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:ae,__y:af,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},ac*k);var bf=au;var bg=av;if(a8-a6!=0){bg=ae;var bh=(a9-a7)/(a8-a6);bf=bh*(ae-av)+aw}var bi={__x:bg,__y:bf,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var bj=$.ig.GeometryUtil.prototype.j(bi,{__x:av,__y:aw,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:ae,__y:af,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},ac*k);if(isNaN(be.c().__x)||isNaN(be.c().__y)||isNaN(be.d().__x)||isNaN(be.d().__y)||isNaN(bj.c().__x)||isNaN(bj.c().__y)||isNaN(bj.d().__x)||isNaN(bj.d().__y)){ai=true;q=0;r=Math.PI}else{var bk;var bl;if(Math.pow(be.c().__x-ar,2)+Math.pow(be.c().__y-as,2)<Math.pow(be.d().__x-ar,2)+Math.pow(be.d().__y-as,2)){bk=be.c()}else{bk=be.d()}if(Math.pow(bj.c().__x-av,2)+Math.pow(bj.c().__y-aw,2)<Math.pow(bj.d().__x-av,2)+Math.pow(bj.d().__y-aw,2)){bl=bj.c()}else{bl=bj.d()}if(Math.pow(bl.__x-ar,2)+Math.pow(bl.__y-as,2)<=Math.pow(bk.__x-ar,2)+Math.pow(bk.__y-as,2)){ai=true;q=0;r=Math.PI}else{var bm=$.ig.GeometryUtil.prototype.i({__x:ae,__y:af,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},bk);var bn=$.ig.GeometryUtil.prototype.i({__x:ae,__y:af,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},bl);var bo=q;var bp=r;while(bo>Math.PI*2){bo-=Math.PI*2}while(bp>Math.PI*2){bp-=Math.PI*2}var bq=Math.min(Math.abs(bm-bo),Math.abs(Math.PI*2-bm-bo));var br=Math.min(Math.abs(bn-bp),Math.abs(Math.PI*2-bn-bp));if(r-q+bq+br>=2*Math.PI){ai=true;q=0;r=Math.PI}else{ap=bk.__x;aq=bk.__y;at=bl.__x;au=bl.__y}}}}if(ai&&!ax){al=Math.cos(q);am=Math.sin(q);an=Math.cos(r);ao=Math.sin(r);ap=ae+ac*k*al;aq=af+ac*k*am;ar=ae+ac*l*al;as=af+ac*l*am;at=ae+ac*k*an;au=af+ac*k*ao;av=ae+ac*l*an;aw=af+ac*l*ao}if(ai){ak.__startPoint={__x:ar,__y:as,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ak.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:av,__y:aw,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(ac*l,ac*l));return $ret}());ak.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:ar,__y:as,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(ac*l,ac*l));return $ret}());var bs=new $.ig.PathFigure;bs.__startPoint={__x:ap,__y:aq,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};bs.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:at,__y:au,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.k(new $.ig.Size(ac*k,ac*k));return $ret}());bs.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:ap,__y:aq,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(false);$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.k(new $.ig.Size(ac*k,ac*k));return $ret}());aj.d().add(ak);aj.d().add(bs)}else{ak.__startPoint={__x:ap,__y:aq,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ak.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:ar,__y:as,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ak.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:av,__y:aw,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(r-q>Math.PI);$ret.j($.ig.SweepDirection.prototype.clockwise);$ret.k(new $.ig.Size(ac*l,ac*l));return $ret}());ak.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:at,__y:au,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ak.__segments.add(function(){var $ret=new $.ig.ArcSegment;$ret.h({__x:ap,__y:aq,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.i(r-q>Math.PI);$ret.j($.ig.SweepDirection.prototype.counterclockwise);$ret.k(new $.ig.Size(ac*k,ac*k));return $ret}());aj.d().add(ak)}z.bn(aj);z.__fill=s;var bt=this.fm();bt.i(true);for(var bu=0;bu<this.c8.count();bu++){bt.q(this.c8.__inner[bu])}this.c8.clear();var bv=c.aw();for(var bw=0;bw<d.length;bw++){var bx=ae+ac*j*Math.cos(d[bw]);var by=af+ac*j*Math.sin(d[bw]);var bz=bt.p();bz.a3(e[bw]);this.view().by(bz,bv);var b0=h[bw];var b1=i[bw];var b2=f[bw];var b3=g[bw];this.view().bq(bz,bx+b2,by+b3);this.c8.add(bz)}bt.i(false);var b4=this.fk();b4.i(true);for(var b5=0;b5<this.c9.count();b5++){b4.q(this.c9.__inner[b5])}this.c9.clear();for(var b6=0;b6<m.length;b6++){var b7=ae+ac*o*Math.cos(m[b6]);var b8=af+ac*o*Math.sin(m[b6]);var b9=ae+ac*p*Math.cos(m[b6]);var ca=af+ac*p*Math.sin(m[b6]);var cb=b4.p();var cc=new $.ig.PathGeometry;var cd=new $.ig.PathFigure;cd.__startPoint={__x:b7,__y:b8,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};cd.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:b9,__y:ca,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());cc.d().add(cd);cb.bn(cc);cb.__stroke=t;cb.a5(u);this.c9.add(cb)}b4.i(false);var ce=this.fl();ce.i(true);for(var cf=0;cf<this.db.count();cf++){ce.q(this.db.__inner[cf])}this.db.clear();for(var cg=0;cg<n.length;cg++){var ch=ae+ac*w*Math.cos(n[cg]);var ci=af+ac*w*Math.sin(n[cg]);var cj=ae+ac*x*Math.cos(n[cg]);var ck=af+ac*x*Math.sin(n[cg]);var cl=ce.p();var cm=new $.ig.PathGeometry;var cn=new $.ig.PathFigure;cn.__startPoint={__x:ch,__y:ci,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};cn.__segments.add(function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:cj,__y:ck,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());cm.d().add(cn);cl.bn(cm);cl.__stroke=v;cl.a5(y);this.db.add(cl)}ce.i(false);var co=this.fn();co.i(true);for(var cp=this.da.count()-1;cp>=0;cp--){co.q(this.da.__inner[cp])}this.da.clear();for(var cq=0;cq<c.ay().count();cq++){var cr=c.ay().__inner[cq];var cs=co.p();cs.bn(cr.k(ac,ae,af));cs.__fill=cr.g;cs.__stroke=cr.h;cs.a5(cr.i);this.da.add(cs)}this.view().b4(this.da);co.i(false)},gm:function(a,b,c){var d=c/1e4;if(isNaN(d)){d=1e-5}var e=Math.abs(a-b);if(e<d){return true}return false},gn:function(a){if(Number.isInfinity(a)){return NaN}return a},go:function(a,b){if(Number.isInfinity(a)||isNaN(a)){return b}return a},gp:function(){var $self=this;var a=this.fi();a.h(this.gn(this.radiusMultiplier()));if(isNaN(a.h())){a.h(1)}var b=this.ff();var c=this.fe();var d=this.interval();var e=this.gn(this.labelInterval());var f=this.gn(this.minorTickCount());if(isNaN(d)){d=(this.actualMaximumValue()-this.actualMinimumValue())/10}if(isNaN(e)){e=d}if(isNaN(f)){f=3}var g=new $.ig.List$1($.ig.Tuple$2.prototype.$type.specialize(Number,Number),0);var h=c.h();var i=c.i();while(h>=Math.PI*2){h-=Math.PI*2}while(i>=Math.PI*2){i-=Math.PI*2}var j=Math.abs(i-h)<1e-4;var k=this.duplicateLabelOmissionStrategy()==$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitFirst||this.duplicateLabelOmissionStrategy()==$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitBoth;var l=this.duplicateLabelOmissionStrategy()==$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitLast||this.duplicateLabelOmissionStrategy()==$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitBoth;for(var m=this.actualMinimumValue();m<=this.actualMaximumValue()||this.gm(m,this.actualMaximumValue(),e);m+=e){if(j&&this.gm(m,this.actualMinimumValue(),e)&&k){continue}if(j&&this.gm(m,this.actualMaximumValue(),e)&&l){continue}g.add(new $.ig.Tuple$2(Number,Number,m,c.m(m)));if(e==0){break}}var n=new $.ig.List$1(Number,0);var o=new $.ig.List$1(Number,0);for(var p=this.actualMinimumValue();p<=this.actualMaximumValue()||this.gm(p,this.actualMaximumValue(),d);p+=d){n.add(c.m(p));for(var q=0;q<f;q++){var r=d/(f+1)*(q+1);if(r+p>this.actualMaximumValue()){continue}o.add(c.m(r+p))}if(d==0){break}}if(a.f().ac().length!=g.count()){a.f().ac(new Array(g.count()));a.f().ad(new Array(g.count()));a.f().ae(new Array(g.count()));a.f().af(new Array(g.count()));a.f().ag(new Array(g.count()));a.f().ah(new Array(g.count()))}if(a.f().aa().length!=n.count()||a.f().ab().length!=o.count()){a.f().aa(new Array(n.count()));a.f().ab(new Array(o.count()))}var s=new $.ig.FormatRadialGaugeLabelEventArgs;s.startAngle=this.fe().h();s.endAngle=this.fe().i();s.actualMinimumValue=this.actualMinimumValue();s.actualMaximumValue=this.actualMaximumValue();var t=new $.ig.AlignRadialGaugeLabelEventArgs;t.startAngle=s.startAngle;t.endAngle=s.endAngle;t.actualMinimumValue=s.actualMinimumValue;t.actualMaximumValue=s.actualMaximumValue;for(var u=0;u<g.count();u++){s.angle=g.__inner[u].d();t.angle=s.angle;a.f().ac()[u]=g.__inner[u].d();var v=g.__inner[u].c();s.value=v;s.label=(Math.round(v*100)/100).toString();if(this.formatLabel!=null){this.formatLabel(this,s)}t.value=s.value;t.label=s.label;var w=s.label;var x=this.view().bh(function(){var $ret=new $.ig.TextBlock;$ret.a3(w);return $ret}());t.width=x.c();t.height=x.d();t.offsetX=-1*(x.c()/2);t.offsetY=-1*(x.d()/2);if(this.alignLabel!=null){this.alignLabel(this,t)}a.f().ae()[u]=t.width;a.f().af()[u]=t.height;a.f().ag()[u]=t.offsetX;a.f().ah()[u]=t.offsetY;a.f().ad()[u]=t.label}for(var y=0;y<n.count();y++){a.f().aa()[y]=n.__inner[y]}for(var z=0;z<o.count();z++){a.f().ab()[z]=o.__inner[z]}a.f().ai(this.go(this.scaleStartExtent(),$.ig.XamRadialGauge.prototype.scaleStartExtentDefaultValue));a.f().aj(this.go(this.scaleEndExtent(),$.ig.XamRadialGauge.prototype.scaleEndExtentDefaultValue));a.f().ak(this.go(this.labelExtent(),$.ig.XamRadialGauge.prototype.labelExtentDefaultValue));a.f().al(this.go(this.tickStartExtent(),$.ig.XamRadialGauge.prototype.tickStartExtentDefaultValue));a.f().am(this.go(this.tickEndExtent(),$.ig.XamRadialGauge.prototype.tickEndExtentDefaultValue));a.f().an(this.go(this.minorTickStartExtent(),$.ig.XamRadialGauge.prototype.minorTickStartExtentDefaultValue));a.f().ao(this.go(this.minorTickEndExtent(),$.ig.XamRadialGauge.prototype.minorTickEndExtentDefaultValue));a.f().ap(c.h());a.f().aq(c.i());var aa=this.scaleOversweep()*Math.PI/180;if(aa<0){aa=0}a.f().ax(aa);a.f().ar(this.tickBrush());a.f().aw(this.fontBrush());a.f().au(this.minorTickBrush());a.f().av(this.scaleBrush());a.f().as(this.gn(this.tickStrokeThickness()));a.f().at(this.gn(this.minorTickStrokeThickness()));a.f().ay().clear();for(var ab=0;ab<this.ranges().count();ab++){var ac=this.ranges().__inner[ab];var ad=this.gn(Math.min(ac.startValue(),ac.endValue()));var ae=this.gn(Math.max(ac.startValue(),ac.endValue()));if(isNaN(ad)||isNaN(ae)){continue}var af=c.m(ad);var ag=c.m(ae);var ah=$.ig.RadialGaugeScaler.prototype.l(af,ag,this.scaleSweepDirection());af=ah.c();ag=ah.d();var ai=new $.ig.RadialGaugeRangeFrame;ai.c=af;ai.d=ag;ai.g=ac.brush()!=null?ac.brush():this.fo(ab,this.rangeBrushes());ai.h=ac.outline()!=null?ac.outline():this.fo(ab,this.rangeOutlines());ai.i=this.gn(ac.strokeThickness());ai.a=this.gn(ac.innerStartExtent());if(isNaN(ai.a)){ai.a=this.scaleStartExtent()}ai.e=this.gn(ac.innerEndExtent());if(isNaN(ai.e)){ai.e=this.scaleStartExtent()}ai.b=this.gn(ac.outerStartExtent());if(isNaN(ai.b)){ai.b=this.scaleEndExtent()}ai.f=this.gn(ac.outerEndExtent());if(isNaN(ai.f)){ai.f=this.scaleEndExtent()}if(this.scaleSweepDirection()==$.ig.SweepDirection.prototype.counterclockwise){var aj=ai.a;ai.a=ai.e;ai.e=aj;aj=ai.b;ai.b=ai.f;ai.f=aj}a.f().ay().add(ai)}},gq:function(){var a=this.fi();a.h(this.radiusMultiplier());var b=a.g();var c=this.backingBrush();var d=this.backingOutline();var e=this.backingStrokeThickness();var f=this.backingShape();var g=this.backingOuterExtent();var h=this.backingInnerExtent();if(h>g){var i=g;g=h;h=i}var j=this.fe();var k=j.h();var l=j.i();b.j(c);b.k(d);b.l(e);if(f==$.ig.RadialGaugeBackingShape.prototype.circular){b.r(0);b.m(0);b.n(0);b.q(0);b.p(this.backingOuterExtent())}else{b.r(this.backingCornerRadius());var m=this.backingOversweep()*Math.PI/180;if(m<0){m=0}if(Math.PI*2-(l-k)<m){b.o(0);b.r(0);b.m(0);b.n(0);b.q(0);b.p(g)}else{b.o(m);b.m(k);b.n(l);b.r(this.backingCornerRadius());b.q(h);b.p(g)}}},animating:function(){return this.fc().aj()},dc:null,transitionProgress:function(a){if(arguments.length===1){var b=this.dc;this.dc=a;this.f0($.ig.XamRadialGauge.prototype.c0,b,this.dc);return a}else{return this.dc}},_fk:null,fk:function(a){if(arguments.length===1){this._fk=a;return a}else{return this._fk}},_fl:null,fl:function(a){if(arguments.length===1){this._fl=a;return a}else{return this._fl}},_fm:null,fm:function(a){if(arguments.length===1){this._fm=a;return a}else{return this._fm}},_fn:null,fn:function(a){if(arguments.length===1){this._fn=a;return a}else{return this._fn}},provideContainer:function(a){this.view().bx(a)},containerResized:function(){this.view().b8()},flush:function(){this.view().flush()},exportVisualData:function(){var a=new $.ig.GaugeVisualData;a.viewport(this.ff());a.scaleLabels(new $.ig.ScaleLabelVisualDataList);a.scaleTickmarks(new $.ig.ScaleTickmarkVisualDataList);a.ranges(new $.ig.RangeVisualDataList);a.needle(new $.ig.NeedleVisualData);this.view().b9(a);return a},$type:new $.ig.Type("XamRadialGauge",$.ig.Control.prototype.$type)},true);$.ig.util.defType("RadialGaugeScaler","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:function(){return this.f},i:function(){return this.g},init:function(a,b,c,d,e){$.ig.Object.prototype.init.call(this);this.a=c;this.b=d;if(isNaN(this.a)||Number.isInfinity(this.a)){this.a=135}if(isNaN(this.b)||Number.isInfinity(this.b)){this.b=45}this.e=e;this.c=a;this.d=b;var f=$.ig.MathUtil.prototype.j(this.a);var g=$.ig.MathUtil.prototype.j(this.b);var h=$.ig.RadialGaugeScaler.prototype.l(f,g,this.e);this.f=h.c();this.g=h.d()},l:function(a,b,c){if(c==$.ig.SweepDirection.prototype.clockwise&&b<a){b+=Math.PI*2}if(c==$.ig.SweepDirection.prototype.counterclockwise&&a<b){a+=Math.PI*2}if(c==$.ig.SweepDirection.prototype.counterclockwise){var d=a;a=b;b=d}return new $.ig.Tuple$2(Number,Number,a,b)},m:function(a){var b=NaN;if(this.c==this.d){b=0}else{b=(a-this.c)/(this.d-this.c)}if(this.e==$.ig.SweepDirection.prototype.counterclockwise){b=1-b}var c=this.f+(this.g-this.f)*b;return c},n:function(a){var b=(a-this.f)/(this.g-this.f);if(this.e==$.ig.SweepDirection.prototype.counterclockwise){b=1-b
}var c=this.c+(this.d-this.c)*b;return c},$type:new $.ig.Type("RadialGaugeScaler",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FormatRadialGaugeLabelEventArgs","EventArgs",{init:function(){$.ig.EventArgs.prototype.init.call(this)},actualMinimumValue:null,actualMaximumValue:null,startAngle:null,endAngle:null,angle:null,value:null,label:null,$type:new $.ig.Type("FormatRadialGaugeLabelEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("AlignRadialGaugeLabelEventArgs","FormatRadialGaugeLabelEventArgs",{init:function(){$.ig.FormatRadialGaugeLabelEventArgs.prototype.init.call(this)},width:null,height:null,offsetX:null,offsetY:null,$type:new $.ig.Type("AlignRadialGaugeLabelEventArgs",$.ig.FormatRadialGaugeLabelEventArgs.prototype.$type)},true);$.ig.util.defType("XamRadialGaugeRange","DependencyObject",{init:function(){$.ig.DependencyObject.prototype.init.call(this)},x:function(a,b,c){},y:function(a,b,c){this.x(a,b,c);if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},propertyChanged:null,brush:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.brushProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.brushProperty)}},outline:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.outlineProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.outlineProperty)}},startValue:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.startValueProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.startValueProperty)}},endValue:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.endValueProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.endValueProperty)}},innerStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.innerStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.innerStartExtentProperty)}},innerEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.innerEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.innerEndExtentProperty)}},outerStartExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.outerStartExtentProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.outerStartExtentProperty)}},outerEndExtent:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.outerEndExtentProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.outerEndExtentProperty)}},strokeThickness:function(a){if(arguments.length===1){this.c($.ig.XamRadialGaugeRange.prototype.strokeThicknessProperty,a);return a}else{return this.b($.ig.XamRadialGaugeRange.prototype.strokeThicknessProperty)}},$type:new $.ig.Type("XamRadialGaugeRange",$.ig.DependencyObject.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("RadialGaugeRangeCollection","ObservableCollection$1",{init:function(){$.ig.ObservableCollection$1.prototype.init.call(this,$.ig.XamRadialGaugeRange.prototype.$type)},$type:new $.ig.Type("RadialGaugeRangeCollection",$.ig.ObservableCollection$1.prototype.$type.specialize($.ig.XamRadialGaugeRange.prototype.$type))},true);$.ig.RadialGaugePivotShape.prototype.none=0;$.ig.RadialGaugePivotShape.prototype.circle=1;$.ig.RadialGaugePivotShape.prototype.circleWithHole=2;$.ig.RadialGaugePivotShape.prototype.circleOverlay=3;$.ig.RadialGaugePivotShape.prototype.circleOverlayWithHole=4;$.ig.RadialGaugePivotShape.prototype.circleUnderlay=5;$.ig.RadialGaugePivotShape.prototype.circleUnderlayWithHole=6;$.ig.RadialGaugeNeedleShape.prototype.none=0;$.ig.RadialGaugeNeedleShape.prototype.rectangle=1;$.ig.RadialGaugeNeedleShape.prototype.triangle=2;$.ig.RadialGaugeNeedleShape.prototype.needle=3;$.ig.RadialGaugeNeedleShape.prototype.trapezoid=4;$.ig.RadialGaugeNeedleShape.prototype.rectangleWithBulb=5;$.ig.RadialGaugeNeedleShape.prototype.triangleWithBulb=6;$.ig.RadialGaugeNeedleShape.prototype.needleWithBulb=7;$.ig.RadialGaugeNeedleShape.prototype.trapezoidWithBulb=8;$.ig.RadialGaugeScaleOversweepShape.prototype.auto=0;$.ig.RadialGaugeScaleOversweepShape.prototype.circular=1;$.ig.RadialGaugeScaleOversweepShape.prototype.fitted=2;$.ig.RadialGaugeBackingShape.prototype.circular=0;$.ig.RadialGaugeBackingShape.prototype.fitted=1;$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitLast=0;$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitFirst=1;$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitNeither=2;$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitBoth=3;$.ig.XamRadialGaugeView.prototype.a=0;$.ig.XamRadialGauge.prototype.bd="RangeBrushes";$.ig.XamRadialGauge.prototype.be="RangeOutlines";$.ig.XamRadialGauge.prototype.bf="MinimumValue";$.ig.XamRadialGauge.prototype.bg="MaximumValue";$.ig.XamRadialGauge.prototype.bh="Interval";$.ig.XamRadialGauge.prototype.bi="CenterX";$.ig.XamRadialGauge.prototype.bj="CenterY";$.ig.XamRadialGauge.prototype.bk="Value";$.ig.XamRadialGauge.prototype.bl="ScaleStartAngle";$.ig.XamRadialGauge.prototype.bm="ScaleEndAngle";$.ig.XamRadialGauge.prototype.bn="ScaleSweepDirection";$.ig.XamRadialGauge.prototype.bo="TransitionDuration";$.ig.XamRadialGauge.prototype.bp="NeedleBrush";$.ig.XamRadialGauge.prototype.bq="NeedleOutline";$.ig.XamRadialGauge.prototype.br="NeedleStartExtent";$.ig.XamRadialGauge.prototype.bs="NeedleEndExtent";$.ig.XamRadialGauge.prototype.bt="NeedleShape";$.ig.XamRadialGauge.prototype.bu="NeedleStartWidth";$.ig.XamRadialGauge.prototype.bv="NeedleEndWidthRatio";$.ig.XamRadialGauge.prototype.bw="NeedleBaseFeatureWidthRatio";$.ig.XamRadialGauge.prototype.bx="NeedleBaseFeatureExtent";$.ig.XamRadialGauge.prototype.by="NeedlePointFeatureWidthRatio";$.ig.XamRadialGauge.prototype.bz="NeedlePointFeatureExtent";$.ig.XamRadialGauge.prototype.b0="NeedlePivotWidthRatio";$.ig.XamRadialGauge.prototype.b1="NeedlePivotInnerWidthRatio";$.ig.XamRadialGauge.prototype.b2="NeedlePivotShape";$.ig.XamRadialGauge.prototype.b3="NeedlePivotBrush";$.ig.XamRadialGauge.prototype.b4="NeedlePivotOutline";$.ig.XamRadialGauge.prototype.b5="NeedleStrokeThickness";$.ig.XamRadialGauge.prototype.b6="NeedlePivotStrokeThickness";$.ig.XamRadialGauge.prototype.scaleStartExtentDefaultValue=.5;$.ig.XamRadialGauge.prototype.b7="ScaleStartExtent";$.ig.XamRadialGauge.prototype.scaleEndExtentDefaultValue=.57;$.ig.XamRadialGauge.prototype.b8="ScaleEndExtent";$.ig.XamRadialGauge.prototype.labelExtentDefaultValue=.65;$.ig.XamRadialGauge.prototype.b9="LabelExtent";$.ig.XamRadialGauge.prototype.ca="LabelInterval";$.ig.XamRadialGauge.prototype.tickStartExtentDefaultValue=.5;$.ig.XamRadialGauge.prototype.cb="TickStartExtent";$.ig.XamRadialGauge.prototype.tickEndExtentDefaultValue=.57;$.ig.XamRadialGauge.prototype.cc="TickEndExtent";$.ig.XamRadialGauge.prototype.cd="TickStrokeThickness";$.ig.XamRadialGauge.prototype.ce="TickBrush";$.ig.XamRadialGauge.prototype.cf="FontBrush";$.ig.XamRadialGauge.prototype.minorTickStartExtentDefaultValue=.54;$.ig.XamRadialGauge.prototype.cg="MinorTickStartExtent";$.ig.XamRadialGauge.prototype.minorTickEndExtentDefaultValue=.57;$.ig.XamRadialGauge.prototype.ch="MinorTickEndExtent";$.ig.XamRadialGauge.prototype.ci="MinorTickStrokeThickness";$.ig.XamRadialGauge.prototype.cj="MinorTickBrush";$.ig.XamRadialGauge.prototype.ck="MinorTickCount";$.ig.XamRadialGauge.prototype.cl="ScaleBrush";$.ig.XamRadialGauge.prototype.cm="BackingBrush";$.ig.XamRadialGauge.prototype.cn="BackingOutline";$.ig.XamRadialGauge.prototype.co="BackingStrokeThickness";$.ig.XamRadialGauge.prototype.cp="BackingOuterExtent";$.ig.XamRadialGauge.prototype.cq="BackingOversweep";$.ig.XamRadialGauge.prototype.cr="ScaleOversweep";$.ig.XamRadialGauge.prototype.cs="ScaleOversweepShape";$.ig.XamRadialGauge.prototype.ct="BackingCornerRadius";$.ig.XamRadialGauge.prototype.cu="BackingInnerExtent";$.ig.XamRadialGauge.prototype.cv="BackingShape";$.ig.XamRadialGauge.prototype.cw="Ranges";$.ig.XamRadialGauge.prototype.cx="RadiusMultiplier";$.ig.XamRadialGauge.prototype.cy="DuplicateLabelOmissionStrategy";$.ig.XamRadialGauge.prototype.cz="Font";$.ig.XamRadialGauge.prototype.c0="TransitionProgress";$.ig.XamRadialGauge.prototype.rangeBrushesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bd,$.ig.BrushCollection.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bd,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.rangeOutlinesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.be,$.ig.BrushCollection.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.be,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minimumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bf,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bf,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.maximumValueProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bg,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,100,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bg,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.intervalProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bh,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bh,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.centerXProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bi,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,.5,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bi,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.centerYProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bj,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,.5,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bj,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.valueProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bk,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bk,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleStartAngleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bl,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,135,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bl,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleEndAngleProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bm,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,45,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bm,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleSweepDirectionProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bn,$.ig.SweepDirection.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.SweepDirection.prototype.clockwise,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bn,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.transitionDurationProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bo,$.ig.Number.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,0,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bo,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bp,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bp,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bq,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bq,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.br,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.br,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bs,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bs,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleShapeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bt,$.ig.RadialGaugeNeedleShape.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.RadialGaugeNeedleShape.prototype.needle,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bt,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleStartWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bu,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bu,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleEndWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bv,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bv,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleBaseFeatureWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bw,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bw,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleBaseFeatureExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bx,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bx,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePointFeatureWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.by,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.by,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePointFeatureExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.bz,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.bz,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b0,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b0,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotInnerWidthRatioProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b1,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b1,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotShapeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b2,$.ig.RadialGaugePivotShape.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.RadialGaugePivotShape.prototype.circleOverlay,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b2,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b3,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b3,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b4,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b4,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needleStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b5,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b5,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.needlePivotStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b6,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b6,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b7,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.scaleStartExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b7,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b8,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.scaleEndExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b8,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.labelExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.b9,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.labelExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.b9,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.labelIntervalProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ca,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ca,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.tickStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cb,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.tickStartExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cb,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.tickEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cc,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.tickEndExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cc,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.tickStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cd,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,3,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cd,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.tickBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ce,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ce,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.fontBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cf,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cf,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minorTickStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cg,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.minorTickStartExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cg,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minorTickEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ch,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamRadialGauge.prototype.minorTickEndExtentDefaultValue,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ch,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minorTickStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ci,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,2,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ci,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minorTickBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cj,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cj,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.minorTickCountProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ck,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,3,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ck,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cl,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cl,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cm,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cm,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingOutlineProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cn,$.ig.Brush.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cn,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingStrokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.co,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,12,function(a,b){a.f0($.ig.XamRadialGauge.prototype.co,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingOuterExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cp,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,.82,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cp,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingOversweepProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cq,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,3,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cq,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleOversweepProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cr,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,2.8,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cr,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.scaleOversweepShapeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cs,$.ig.RadialGaugeScaleOversweepShape.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.RadialGaugeScaleOversweepShape.prototype.auto,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cs,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingCornerRadiusProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.ct,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,4,function(a,b){a.f0($.ig.XamRadialGauge.prototype.ct,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingInnerExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cu,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,.12,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cu,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.backingShapeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cv,$.ig.RadialGaugeBackingShape.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.RadialGaugeBackingShape.prototype.circular,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cv,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.rangesProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cw,$.ig.RadialGaugeRangeCollection.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cw,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.radiusMultiplierProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cx,Number,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cx,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.duplicateLabelOmissionStrategyProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cy,$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.$type,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.RadialGaugeDuplicateLabelOmissionStrategy.prototype.omitLast,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cy,b.f(),b.e())}));$.ig.XamRadialGauge.prototype.fontProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGauge.prototype.cz,String,$.ig.XamRadialGauge.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.f0($.ig.XamRadialGauge.prototype.cz,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.e="Brush";$.ig.XamRadialGaugeRange.prototype.f="Outline";$.ig.XamRadialGaugeRange.prototype.g="StartValue";$.ig.XamRadialGaugeRange.prototype.h="EndValue";$.ig.XamRadialGaugeRange.prototype.i="InnerStartExtent";$.ig.XamRadialGaugeRange.prototype.j="InnerEndExtent";$.ig.XamRadialGaugeRange.prototype.k="OuterStartExtent";$.ig.XamRadialGaugeRange.prototype.l="OuterEndExtent";$.ig.XamRadialGaugeRange.prototype.m="StrokeThickness";$.ig.XamRadialGaugeRange.prototype.brushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.e,$.ig.Brush.prototype.$type,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.e,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.outlineProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.f,$.ig.Brush.prototype.$type,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.f,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.startValueProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.g,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.g,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.endValueProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.h,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.h,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.innerStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.i,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.i,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.innerEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.j,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.j,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.outerStartExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.k,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.k,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.outerEndExtentProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.l,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.l,b.f(),b.e())}));$.ig.XamRadialGaugeRange.prototype.strokeThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamRadialGaugeRange.prototype.m,Number,$.ig.XamRadialGaugeRange.prototype.$type,new $.ig.PropertyMetadata(1,1,function(a,b){a.y($.ig.XamRadialGaugeRange.prototype.m,b.f(),b.e())}));/*!@license
* Infragistics.Web.ClientUI infragistics.sparkline.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["SparkFrame","SparkFramePreparer","SparklineConnector","IFastItemsSourceProvider","SparklineController","SparklineToolTipContext","SparkLayerType","SparklineDisplayType","FastItemsSourceReference","Message_Spark","RenderingMessage_Spark","AxisRenderMessage_Spark","ClearMessage_Spark","ColumnMessage_Spark","ConfigurationMessage_Spark","ContainerMessage_Spark","VisibilityMessage_Spark","BrushChangedMessage_Spark","NumberChangedMessage_Spark","ContainerResizedMessage_Spark","DataChangedMessage_Spark","InteractionMessage_Spark","MarkerMessage_Spark","MessageChannel_Spark","MessageEventHandler","MessageHandler_Spark","MessageHandlerEventHandler","MouseLeaveMessage_Spark","MouseMoveMessage_Spark","NormalRangeMessage_Spark","PolygonMessage_Spark","PropertyChangedMessage_Spark","ServiceProvider_Spark","TooltipMessage_Spark","ToooltipTemplateMessage_Spark","TrendLineMessage_Spark","ViewportChangedMessage_Spark","ContainerSizeChangedMessage_Spark","WinLossColumnMessage_Spark","XamSparkline","HorizontalAxisView","VerticalAxisView","XamSparklineView","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise","BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView"]);$.ig.util.defType("SparklineDisplayType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SparklineDisplayType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkLayerType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SparkLayerType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.Array.prototype.$type,0);this.b=new $.ig.List$1($.ig.Point.prototype.$type,0);this.c=new $.ig.List$1($.ig.Point.prototype.$type,0);this.d=new $.ig.List$1($.ig.Point.prototype.$type,0);this.e=new $.ig.List$1($.ig.Point.prototype.$type,0);this.f=new $.ig.List$1($.ig.Point.prototype.$type,0)},a:null,i:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,j:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,k:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,l:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,m:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,n:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},$type:new $.ig.Type("SparkFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkFramePreparer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,e:function(a){var $self=this;this.a.i.bc(false);a.i().clear();a.j().clear();a.k().clear();a.l().clear();a.m().clear();a.n().clear();var b=this.a.k;var c=b.count();var d=this.a.o.width();var e=this.a.o.height();var f=Math.floor((c+1)/d);var g=Math.max(1,f);var h=0;var i=Math.ceil(1*c/g);var j=0;var k=new $.ig.List$1(Number,0);var l=this.a.r().trendLineType();var m=this.a.r().displayType();var n=this.a.r().trendLinePeriod();var o=l!=$.ig.TrendLineType.prototype.none&&n>=1;var p=null;var q=null;if(m==$.ig.SparklineDisplayType.prototype.area||m==$.ig.SparklineDisplayType.prototype.line){this.b=0}else{if(i==0){this.b=0}else{this.b=d/i/2}}if(o){var s=function(r){return r+1};var u=function(t){return b.item(t)};var w=function(v){return $self.a.af(v)};var y=function(x){return $self.a.ag(x)};switch(this.a.r().trendLineType()){case $.ig.TrendLineType.prototype.simpleAverage:p=$.ig.TrendCalculators.prototype.e(b,n);break;case $.ig.TrendLineType.prototype.exponentialAverage:p=$.ig.TrendCalculators.prototype.b(b,n);break;case $.ig.TrendLineType.prototype.modifiedAverage:p=$.ig.TrendCalculators.prototype.c(b,n);break;case $.ig.TrendLineType.prototype.cumulativeAverage:p=$.ig.TrendCalculators.prototype.d(b);break;case $.ig.TrendLineType.prototype.weightedAverage:p=$.ig.TrendCalculators.prototype.a(b,n);break;case $.ig.TrendLineType.prototype.linearFit:q=$.ig.LeastSquaresFit.prototype.j(c,s,u);break;case $.ig.TrendLineType.prototype.quadraticFit:q=$.ig.LeastSquaresFit.prototype.v(c,s,u);break;case $.ig.TrendLineType.prototype.cubicFit:q=$.ig.LeastSquaresFit.prototype.y(c,s,u);break;case $.ig.TrendLineType.prototype.quarticFit:q=$.ig.LeastSquaresFit.prototype.ab(c,s,u);break;case $.ig.TrendLineType.prototype.quinticFit:q=$.ig.LeastSquaresFit.prototype.ae(c,s,u);break;case $.ig.TrendLineType.prototype.exponentialFit:q=$.ig.LeastSquaresFit.prototype.p(c,s,u);break;case $.ig.TrendLineType.prototype.logarithmicFit:q=$.ig.LeastSquaresFit.prototype.m(c,s,u);break;case $.ig.TrendLineType.prototype.powerLawFit:q=$.ig.LeastSquaresFit.prototype.s(c,s,u);break}if(p!=null){var aa=p.getEnumerator();while(aa.moveNext()){var z=aa.current();k.add(z)}}if(q!=null){var ab=h*g;var ac=i*g;if(m==$.ig.SparklineDisplayType.prototype.area||m==$.ig.SparklineDisplayType.prototype.line){ac=ac-1}var ad=0+this.b;var ae=d-this.b;var af=0;if(this.b!=0){af=.5}for(var ag=ad;ag<=ae;ag+=2){var ah=ag/(d-1);var ai=ab+ah*(ac-ab);var aj=NaN;switch(l){case $.ig.TrendLineType.prototype.linearFit:aj=$.ig.LeastSquaresFit.prototype.k(q,ai-af);break;case $.ig.TrendLineType.prototype.quadraticFit:aj=$.ig.LeastSquaresFit.prototype.w(q,ai-af);break;case $.ig.TrendLineType.prototype.cubicFit:aj=$.ig.LeastSquaresFit.prototype.z(q,ai-af);break;case $.ig.TrendLineType.prototype.quarticFit:aj=$.ig.LeastSquaresFit.prototype.ac(q,ai-af);break;case $.ig.TrendLineType.prototype.quinticFit:aj=$.ig.LeastSquaresFit.prototype.af(q,ai-af);break;case $.ig.TrendLineType.prototype.exponentialFit:aj=$.ig.LeastSquaresFit.prototype.q(q,ai-af);break;case $.ig.TrendLineType.prototype.logarithmicFit:aj=$.ig.LeastSquaresFit.prototype.n(q,ai-af);break;case $.ig.TrendLineType.prototype.powerLawFit:aj=$.ig.LeastSquaresFit.prototype.t(q,ai-af);break}ai=w(ai);aj=y(aj);if(!isNaN(aj)&&!Number.isInfinity(aj)){a.j().add({__x:ai,__y:aj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}}var ak=this.a.k.minimum();var al=this.a.k.maximum();var am=this.a.r().d9();var an=this.a.r().ea();this.c=e-(j-am)/(an-am)*e;if(this.c<0){this.c=0}else if(this.c>e){this.c=e}var ao=this.c;var ap;for(var aq=h;aq<i;aq++){var ar=this.f(aq,g,c);var as=ar[1];var at=ar[2];this.g(ar,c,this.a.o,am,an);ap=ar[1];if(ar[2]<ao){ap=ar[2]}a.i().add(ar);if(!isNaN(ar[0])&&!isNaN(ar[1])){a.k().add({__x:ar[0],__y:ap,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(o&&p!=null){var au=aq*g;var av=e-(k.__inner[au]-ak)/(al-ak)*e;a.j().add({__x:ar[0]+this.b,__y:av,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(as<j){a.l().add({__x:ar[0],__y:ar[1],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(ak==as){a.m().add({__x:ar[0],__y:ar[1],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(al==at){a.n().add({__x:ar[0],__y:ar[2],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}if(a.k().count()==0){a.o(a.p({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}))}else{a.o(a.k().__inner[0]);a.p(a.k().__inner[a.k().count()-1])}},f:function(a,b,c){var $self=this;var d=Math.min(a*b,c-1);var e=Math.min(d+b-1,c-1);var f=true;var g=0;var h=0;for(var i=d;i<=e;++i){var j=this.a.k.item(i);if(f){f=false;g=j;h=j}else{g=Math.min(g,j);h=Math.max(h,j)}}var k=function(){var $ret=new Array;$ret.add(0);$ret.add(0);$ret.add(0);return $ret}();k[0]=.5*(d+e);k[1]=g;k[2]=h;return k},g:function(a,b,c,d,e){var f=c.left();var g=c.top();var h=c.width();var i=c.height();if(this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.area||this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.line){b--}if(b<0){b=0}var j=b>0?a[0]/b:b==0?.5:NaN;a[0]=f+j*h;if(this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.winLoss){if(a[1]>0){a[1]=g;a[2]=g}else if(a[1]<0){a[1]=g+i;a[2]=g+i}else{a[1]=g+(1-(a[1]-d)/(e-d))*i;a[2]=g+(1-(a[2]-d)/(e-d))*i}}else{a[1]=g+(1-(a[1]-d)/(e-d))*i;a[2]=g+(1-(a[2]-d)/(e-d))*i}},$type:new $.ig.Type("SparkFramePreparer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparklineConnector","Object",{a:null,b:null,c:null,d:null,e:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.c=b;if(a==null){return}this.a=$.ig.util.cast($.ig.XamSparkline.prototype.$type,a);this.d=this.a.ec();this.e=this.a.ed();var c=new $.ig.ServiceProvider_Spark;c.addService("ConfigurationMessages",new $.ig.MessageChannel_Spark);c.addService("RenderingMessages",new $.ig.MessageChannel_Spark);c.addService("InteractionMessages",new $.ig.MessageChannel_Spark);c.addService("Model",this.a);c.addService("View",this.c);c.addService("HorizontalAxis",this.d);c.addService("VerticalAxis",this.e);this.a.d7(c);this.c.aj(c);this.d.p(c);this.e.w(c);this.b=new $.ig.SparklineController(c);c.addService("Controller",this.b)},$type:new $.ig.Type("SparklineConnector",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IFastItemsSourceProvider","Object",{$type:new $.ig.Type("IFastItemsSourceProvider",null)},true);$.ig.util.defType("SparklineController","DependencyObject",{init:function(a){var $self=this;this.m=new $.ig.SparkFramePreparer;this.n=new $.ig.SparkFrame;this.o=$.ig.Rect.prototype.empty();$.ig.DependencyObject.prototype.init.call(this);this.e=a.getService("ConfigurationMessages");this.f=a.getService("RenderingMessages");this.g=a.getService("InteractionMessages");this.p=function(b,c){$self.ap(c.action(),c.position(),c.count(),c.propertyName())};this.r(a.getService("Model"));this.i=a.getService("View");this.e.attachTarget(this.ar.runOn(this));this.g.attachTarget(this.at.runOn(this))},e:null,f:null,g:null,h:null,r:function(a){if(arguments.length===1){var b=this.h!=a;if(b){this.h=a;this.ao()}return a}else{return this.h}},i:null,s:function(){return this.r()!=null?this.r().itemsSource():null},t:function(a){if(arguments.length===1){this.c($.ig.SparklineController.prototype.j,a);return a}else{return this.b($.ig.SparklineController.prototype.j)}},k:null,l:null,m:null,n:null,u:function(){return this.r()!=null?this.r().valueMemberPath():null},v:function(){return this.r()!=null?this.r().labelMemberPath():null},o:null,w:function(){return this.r()!=null?this.r().toolTip():null},p:null,af:function(a){var b=this.k.count();if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.area||this.r().displayType()==$.ig.SparklineDisplayType.prototype.line){b--}if(b<0){b=0}var c=b>0?a/b:b==0?.5:NaN;c=this.o.left()+c*this.o.width();return c},ag:function(a){var b=(a-this.r().d9())/(this.r().ea()-this.r().d9());b=1-b;b=this.o.top()+b*this.o.height();return b},ah:function(){return this.s()!=null&&this.u()!=null&&!this.o.isEmpty()&&this.o.width()>0&&this.o.height()>0&&this.r()!=null&&this.r().d9()!=this.r().ea()},ai:function(a){if(a.oldValue()!=a.newValue()){return true}return false},aj:function(a,b){var $self=this;if(this.p==null){this.p=function(c,d){$self.ap(d.action(),d.position(),d.count(),d.propertyName())}}var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,a);if(e!=null){e.event=$.ig.Delegate.prototype.remove(e.event,this.p)}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,b);if(f!=null){f.event=$.ig.Delegate.prototype.combine(f.event,this.p)}},ak:function(){if(this.r()!=null){if(this.k==null){this.r().d9(this.r().ea(NaN))}else{if(isNaN(this.r().minimum())){this.r().d9(this.k.minimum())}else{this.r().d9(this.r().minimum())}if(isNaN(this.r().maximum())){this.r().ea(this.k.maximum())}else{this.r().ea(this.r().maximum())}if(this.r().d9()==this.r().ea()){if(Math.floor(this.r().d9())<this.r().d9()){this.r().d9(Math.floor(this.r().d9()))}else{this.r().d9(Math.floor(this.r().d9())-1)}if(Math.ceil(this.r().ea())>this.r().ea()){this.r().ea(Math.ceil(this.r().ea()))}else{this.r().ea(Math.ceil(this.r().ea())+1)}}}}},al:function(){if(this.t()!=null){this.t().ac(this.k);this.k=this.t().ab(this.u(),null)}else{this.k=null}},am:function(){if(this.t()!=null){this.t().ac(this.l);this.l=this.t().z(this.v(),null);this.r().eb(this.l)}else{this.r().eb(this.l=null)}},an:function(){var a=new $.ig.AxisRenderMessage_Spark;this.f.sendMessage(a)},ao:function(){this.t(this.getFastItemsSource(this.s()));this.al();this.am();this.ak();this.an()},ap:function(a,b,c,d){this.al();this.am();this.ak();this.an();this.a0()},aq:function(){var a=new $.ig.ToooltipTemplateMessage_Spark;a.template(this.w());this.f.sendMessage(a)},ar:function(a){var b=a;if($.ig.util.cast($.ig.PropertyChangedMessage_Spark.prototype.$type,b)!==null){this.au(b)}else if($.ig.util.cast($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,a)!==null){this.f.sendMessage(a)}else if($.ig.util.cast($.ig.DataChangedMessage_Spark.prototype.$type,a)!==null){this.as(a)}},as:function(a){var b=this.t();if(b==null){return}switch(a.h()){case $.ig.NotifyCollectionChangedAction.prototype.replace:b.ae(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,a.g(),a.f(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.add:b.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,a.g(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.remove:b.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,a.f(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.reset:b.ae(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset));break}this.ao()},at:function(a){var b=a;if($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,b)!==null){this.av(b)}else if($.ig.util.cast($.ig.MouseLeaveMessage_Spark.prototype.$type,b)!==null){this.ax(b)}else if($.ig.util.cast($.ig.MouseMoveMessage_Spark.prototype.$type,b)!==null){this.aw(b)}else if($.ig.util.cast($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,b)!==null){this.f.sendMessage(a)}},au:function(a){var $self=this;switch(a.propertyName()){case $.ig.XamSparkline.prototype.b9:this.ao();break;case $.ig.XamSparkline.prototype.ca:this.ao();break;case $.ig.XamSparkline.prototype.cb:this.ao();break;case $.ig.XamSparkline.prototype.cc:this.aq();break;case $.ig.XamSparkline.prototype.b7:case $.ig.XamSparkline.prototype.b8:this.ak();this.an();break;case $.ig.XamSparkline.prototype.cn:case $.ig.XamSparkline.prototype.cm:this.an();break;case $.ig.XamSparkline.prototype.bd:case $.ig.XamSparkline.prototype.be:case $.ig.XamSparkline.prototype.bf:case $.ig.XamSparkline.prototype.bh:case $.ig.XamSparkline.prototype.bi:case $.ig.XamSparkline.prototype.bj:case $.ig.XamSparkline.prototype.bk:case $.ig.XamSparkline.prototype.bg:case $.ig.XamSparkline.prototype.bl:case $.ig.XamSparkline.prototype.bo:var b=new $.ig.BrushChangedMessage_Spark;b.c($.ig.util.cast($.ig.Brush.prototype.$type,a.newValue()));b.d(a.propertyName());this.f.sendMessage(b);break;case $.ig.XamSparkline.prototype.br:case $.ig.XamSparkline.prototype.bt:case $.ig.XamSparkline.prototype.bu:case $.ig.XamSparkline.prototype.bw:case $.ig.XamSparkline.prototype.bv:case $.ig.XamSparkline.prototype.bs:case $.ig.XamSparkline.prototype.bx:case $.ig.XamSparkline.prototype.cd:var c=new $.ig.VisibilityMessage_Spark;c.c(a.newValue());c.d(a.propertyName());this.f.sendMessage(c);this.i.bc(true);break;case $.ig.XamSparkline.prototype.by:case $.ig.XamSparkline.prototype.b0:case $.ig.XamSparkline.prototype.b1:case $.ig.XamSparkline.prototype.b2:case $.ig.XamSparkline.prototype.b3:case $.ig.XamSparkline.prototype.b4:this.i.bc(true);break;case $.ig.XamSparkline.prototype.b5:case $.ig.XamSparkline.prototype.cg:var d=new $.ig.NumberChangedMessage_Spark;d.c(a.newValue());d.d(a.propertyName());this.f.sendMessage(d);break;case $.ig.XamSparkline.prototype.bm:case $.ig.XamSparkline.prototype.bn:case $.ig.XamSparkline.prototype.bp:case $.ig.XamSparkline.prototype.bq:var e=new $.ig.ClearMessage_Spark;e.f(true);this.f.sendMessage(e);break;case"Container":var f=new $.ig.ContainerMessage_Spark;f.b(a.newValue());this.f.sendMessage(f);break}if(this.ai(a)){this.a0()}},av:function(a){this.o=new $.ig.Rect(0,a.newLeft(),a.newTop(),a.newWidth(),a.newHeight());this.a0()},aw:function(a){var b=new $.ig.ClearMessage_Spark;b.b($.ig.SparkLayerType.prototype.toolTipLayer);this.f.sendMessage(b);var c=new $.ig.TooltipMessage_Spark;c.b($.ig.SparkLayerType.prototype.toolTipLayer);c.xOffset(a.position().__x+10);c.yOffset(a.position().__y+10);if(this.k!=null&&this.k.count()>0){var d=new $.ig.SparklineToolTipContext;d.e(this.k.maximum());d.f(this.k.minimum());d.g(this.k.item(0));d.h(this.k.item(this.k.count()-1));c.context(d)}this.f.sendMessage(c)},ax:function(a){var b=new $.ig.ClearMessage_Spark;b.b($.ig.SparkLayerType.prototype.toolTipLayer);this.f.sendMessage(b)},ay:function(a){var b=new $.ig.ClearMessage_Spark;b.b(a);this.f.sendMessage(b)},az:function(){this.ay($.ig.SparkLayerType.prototype.sparkLayer);this.ay($.ig.SparkLayerType.prototype.markerLayer);this.ay($.ig.SparkLayerType.prototype.trendLayer);this.ay($.ig.SparkLayerType.prototype.rangeLayer)},a0:function(){this.az();if(!this.ah()){return}this.m.a=this;this.m.e(this.n);switch(this.r().displayType()){case $.ig.SparklineDisplayType.prototype.column:this.a1();break;case $.ig.SparklineDisplayType.prototype.winLoss:this.a2();break;case $.ig.SparklineDisplayType.prototype.line:case $.ig.SparklineDisplayType.prototype.area:this.a3();break}var a=new $.ig.NormalRangeMessage_Spark;a.i(0);a.j(this.ag(this.r().normalRangeMaximum()));a.k(this.o.width());a.l(Math.abs(this.ag(this.r().normalRangeMaximum())-this.ag(this.r().normalRangeMinimum())));this.f.sendMessage(a);var b=new $.ig.TrendLineMessage_Spark;b.points(this.n.j().x());this.f.sendMessage(b)},a1:function(){var a=new $.ig.ColumnMessage_Spark;a.o(this.n.k());a.p(this.n.l());a.s(this.n.m());a.t(this.n.n());a.q(this.n.o());a.r(this.n.p());a.w(this.n.i().count());a.v(this.m.c);a.u(this.m.b);a.x(this.r().displayType());this.f.sendMessage(a);this.a5()},a2:function(){var a=new $.ig.WinLossColumnMessage_Spark;a.o(this.n.k());a.p(this.n.l());a.s(this.n.m());a.t(this.n.n());a.q(this.n.o());a.r(this.n.p());a.w(this.n.i().count());a.v(this.m.c);a.u(this.m.b);a.x(this.r().displayType());this.f.sendMessage(a)},a3:function(){if(this.n.i().count()==0){return}var a=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Array.prototype.$type),0);var b=new $.ig.List$1($.ig.Array.prototype.$type,0);var c=true;var e=this.n.i().getEnumerator();while(e.moveNext()){var d=e.current();if(isNaN(d[1])||Number.isInfinity(d[1])){if(!c){a.add(b)}c=true;continue}if(c){b=new $.ig.List$1($.ig.Array.prototype.$type,0);c=false}b.add(d)}if(!c){a.add(b)}var f=new $.ig.PolygonMessage_Spark;f.points(new $.ig.List$1($.ig.Array.prototype.$type,0));if(this.r().unknownValuePlotting()==$.ig.UnknownValuePlotting.prototype.linearInterpolate){var g=new $.ig.List$1($.ig.Array.prototype.$type,0);var i=a.getEnumerator();while(i.moveNext()){var h=i.current();g.w(h)}var j=this.a4(g);f.points().add(j)}else{var l=a.getEnumerator();while(l.moveNext()){var k=l.current();var m=this.a4(k);f.points().add(m)}}this.f.sendMessage(f);this.a5()},a4:function(a){var b=this.m.c;var c=new $.ig.List$1($.ig.Point.prototype.$type,0);var d;var e=this.r().displayType()==$.ig.SparklineDisplayType.prototype.area;var g=a.getEnumerator();while(g.moveNext()){var f=g.current();d=f[1];if(e){if(f[2]<=b){d=f[2]}}c.add({__x:f[0],__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.line){var h=new $.ig.List$1($.ig.Point.prototype.$type,0);var j=a.getEnumerator();while(j.moveNext()){var i=j.current();h.add({__x:i[0],__y:i[2],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}c.w(h.reverse$1($.ig.Point.prototype.$type))}if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.area){var k=c.__inner[0];var l=c.__inner[c.count()-1];c.add({__x:l.__x,__y:this.m.c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:k.__x,__y:this.m.c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}return c.x()},a5:function(){var a=new $.ig.MarkerMessage_Spark;a.q(this.n.k());a.r(this.n.l());a.u(this.n.m());a.v(this.n.n());a.s(this.n.o());a.t(this.n.p());a.w(this.r().markerSize());a.x(this.r().firstMarkerSize());a.y(this.r().lastMarkerSize());a.z(this.r().highMarkerSize());a.aa(this.r().lowMarkerSize());a.ab(this.r().negativeMarkerSize());this.f.sendMessage(a)},getFastItemsSource:function(a){var b=null;if(this.s()!=null){var c=null;b=new $.ig.FastItemsSource;b.f(this.s());c=new $.ig.FastItemsSourceReference(b);c.b++;b=c.a}return b},releaseFastItemsSource:function(a){if(a!=null){var b=null;--b.b}return null},$type:new $.ig.Type("SparklineController",$.ig.DependencyObject.prototype.$type,[$.ig.IFastItemsSourceProvider.prototype.$type])},true);$.ig.util.defType("SparklineToolTipContext","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("SparklineToolTipContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FastItemsSourceReference","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.a=a;this.b=0},a:null,b:null,$type:new $.ig.Type("FastItemsSourceReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Message_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this)},toString:function(){return this.getType().toString()
},$type:new $.ig.Type("Message_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RenderingMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("RenderingMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("AxisRenderMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("AxisRenderMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ClearMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("ClearMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ColumnMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},$type:new $.ig.Type("ColumnMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ConfigurationMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},$type:new $.ig.Type("ConfigurationMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("ContainerMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("ContainerMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("VisibilityMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("VisibilityMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("BrushChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("BrushChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("NumberChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("NumberChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("ContainerResizedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},$type:new $.ig.Type("ContainerResizedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("DataChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("DataChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("InteractionMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},$type:new $.ig.Type("InteractionMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("MarkerMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},$type:new $.ig.Type("MarkerMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("MessageChannel_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Array},a:null,sendMessage:function(a){if(this.messageSent!=null){this.messageSent(a)}else{this.a.push(a)}},attachTarget:function(a){this.messageSent=$.ig.Delegate.prototype.combine(this.messageSent,a);while(this.a.length>0){var b=this.a.shift();this.messageSent(b)}},messageSent:null,detachTarget:function(a){this.messageSent=$.ig.Delegate.prototype.remove(this.messageSent,a)},c:null,connectTo:function(a){this.c=a;this.attachTarget(this.sendToNext.runOn(this))},detachFromNext:function(){if(this.c==null){return}this.detachTarget(this.sendToNext.runOn(this));this.c=null},sendToNext:function(a){if(this.c!=null){this.c.sendMessage(a)}},toString:function(){return"MessageQueue"},$type:new $.ig.Type("MessageChannel_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MessageHandler_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,addHandler:function(a,b){this.a.item(a.typeName(),b)},messageReceived:function(a){var b;var c=a.getType().typeName();if(this.a.containsKey(c)){b=this.a.item(c);b.a(a)}},$type:new $.ig.Type("MessageHandler_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseLeaveMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},$type:new $.ig.Type("MouseLeaveMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("MouseMoveMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},a:null,position:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("MouseMoveMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("NormalRangeMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,i:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,j:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,k:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},h:null,l:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},$type:new $.ig.Type("NormalRangeMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("PolygonMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,points:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("PolygonMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("PropertyChangedMessage_Spark","ConfigurationMessage_Spark",{init:function(){$.ig.ConfigurationMessage_Spark.prototype.init.call(this)},a:null,propertyName:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,oldValue:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,newValue:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},toString:function(){var a="null";var b="null";if(this.oldValue()!=null){a=this.oldValue().toString()}if(this.newValue()!=null){b=this.newValue().toString()}return"PropertyChangedMessage["+this.propertyName().toString()+", "+a+", "+b+"]"},$type:new $.ig.Type("PropertyChangedMessage_Spark",$.ig.ConfigurationMessage_Spark.prototype.$type)},true);$.ig.util.defType("ServiceProvider_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,addService:function(a,b){this.a.item(a,b)},getService:function(a){return this.a.item(a)},$type:new $.ig.Type("ServiceProvider_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TooltipMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,xOffset:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,yOffset:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,context:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},$type:new $.ig.Type("TooltipMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ToooltipTemplateMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,template:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("ToooltipTemplateMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("TrendLineMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,points:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("TrendLineMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ViewportChangedMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},a:null,newTop:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,newLeft:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,newWidth:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,newHeight:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},toString:function(){return"ViewportChangedMessage["+this.newTop().toString()+", "+this.newLeft().toString()+", "+this.newWidth().toString()+", "+this.newHeight().toString()+"]"},$type:new $.ig.Type("ViewportChangedMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("ContainerSizeChangedMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},$type:new $.ig.Type("ContainerSizeChangedMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("WinLossColumnMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},$type:new $.ig.Type("WinLossColumnMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("XamSparkline","Control",{init:function(){this.cr=new $.ig.MessageChannel_Spark;this.cs=NaN;this.ct=NaN;$.ig.Control.prototype.init.call(this);this.a3($.ig.XamSparkline.prototype.$type);this.ed(new $.ig.VerticalAxisView(this));this.ec(new $.ig.HorizontalAxisView(this));this.cp=new $.ig.SparklineConnector(this,new $.ig.XamSparklineView)},cp:null,brush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.brushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.brushProperty)}},negativeBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeBrushProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerBrushProperty)}},negativeMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerBrushProperty)}},firstMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerBrushProperty)}},lastMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerBrushProperty)}},highMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerBrushProperty)}},lowMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerBrushProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineBrushProperty)}},horizontalAxisBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisBrushProperty)}},verticalAxisBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisBrushProperty)}},normalRangeFill:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeFillProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeFillProperty)}},horizontalAxisVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty)}},verticalAxisVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisVisibilityProperty)}},markerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerVisibilityProperty)}},negativeMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty)}},firstMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerVisibilityProperty)}},lastMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerVisibilityProperty)}},lowMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerVisibilityProperty)}},highMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerVisibilityProperty)}},normalRangeVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeVisibilityProperty)}},markerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerSizeProperty)}},firstMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerSizeProperty)}},lastMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerSizeProperty)}},highMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerSizeProperty)}},lowMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerSizeProperty)}},negativeMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerSizeProperty)}},lineThickness:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lineThicknessProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lineThicknessProperty)}},minimum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.minimumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.minimumProperty)}},maximum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.maximumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.maximumProperty)}},itemsSource:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.itemsSourceProperty)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.valueMemberPathProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.labelMemberPathProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.toolTipProperty,a);this.toolTipVisibility(a==null||a.toString().length==0?$.ig.Visibility.prototype.collapsed:$.ig.Visibility.prototype.visible);return a}else{return this.b($.ig.XamSparkline.prototype.toolTipProperty)}},toolTipVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.toolTipVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.toolTipVisibilityProperty)}},trendLineType:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineTypeProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLinePeriodProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineThicknessProperty)}},normalRangeMinimum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeMinimumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeMinimumProperty)}},normalRangeMaximum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeMaximumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeMaximumProperty)}},displayType:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.displayTypeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.displayTypeProperty)}},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.unknownValuePlottingProperty)}},verticalAxisLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisLabelProperty)}},horizontalAxisLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisLabelProperty)}},formatLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.formatLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.formatLabelProperty)}},cq:null,d7:function(a){if(arguments.length===1){var b=this.cq;this.cq=a;this.es(b,this.cq);return a}else{return this.cq}},cr:null,d8:function(a){if(arguments.length===1){this.cr=a;return a}else{return this.cr}},cs:null,d9:function(a){if(arguments.length===1){this.cs=a;return a}else{return this.cs}},ct:null,ea:function(a){if(arguments.length===1){this.ct=a;return a}else{return this.ct}},_eb:null,eb:function(a){if(arguments.length===1){this._eb=a;return a}else{return this._eb}},_ec:null,ec:function(a){if(arguments.length===1){this._ec=a;return a}else{return this._ec}},_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},es:function(a,b){if(a!=null){this.d8().detachFromNext()}if(b!=null){this.d8().connectTo(b.getService("ConfigurationMessages"))}},et:function(a,b,c){var $self=this;this.d8().sendMessage(function(){var $ret=new $.ig.PropertyChangedMessage_Spark;$ret.propertyName(a);$ret.oldValue(b);$ret.newValue(c);return $ret}())},provideContainer:function(a){var $self=this;this.d8().sendMessage(function(){var $ret=new $.ig.PropertyChangedMessage_Spark;$ret.propertyName("Container");$ret.newValue(a);return $ret}())},notifyResized:function(){this.d8().sendMessage(new $.ig.ContainerSizeChangedMessage_Spark)},notifySetItem:function(source_,a,b,c){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.replace);$ret.f(b);$ret.g(c);$ret.e(a);return $ret}())},notifyClearItems:function(source_){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.reset);return $ret}())},notifyInsertItem:function(source_,a,b){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.add);$ret.g(b);$ret.e(a);return $ret}())},notifyRemoveItem:function(source_,a,b){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.remove);$ret.f(b);$ret.e(a);return $ret}())},$type:new $.ig.Type("XamSparkline",$.ig.Control.prototype.$type)},true);$.ig.util.defType("HorizontalAxisView","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,init:function(a){var $self=this;this.i=-1;this.j=["border-top-width","border-top-color","color","font"];this.k=false;this.m=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.q().item($.ig.AxisRenderMessage_Spark.prototype.$type,function(b){return $self.ah($.ig.util.cast($.ig.AxisRenderMessage_Spark.prototype.$type,b))});this.q().item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(c){return $self.af($.ig.util.cast($.ig.ContainerResizedMessage_Spark.prototype.$type,c))});this.q().item($.ig.ViewportChangedMessage_Spark.prototype.$type,function(d){return $self.ag($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,d))});this.a=a},t:function(){if(!this.k){this.k=true;this.h.ba("ui-sparkline-axis-x",this.j)}return this.j},u:function(){var a=this.i;if(a>=0){return a}var b=this.t()[0];if(b!=null){a=$.ig.Number.prototype.parseInt(b)}this.i=a=a<1?1:a;return a},l:null,p:function(a){if(arguments.length===1){var b=this.l;this.l=a;this.h=a.getService("View");this.ae(b,this.l);return a}else{return this.l}},m:null,q:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},n:null,r:function(a){if(arguments.length===1){this.n=a;return a}else{return this.n}},o:null,s:function(a){if(arguments.length===1){this.o=a;return a}else{return this.o}},ad:function(a){var $self=this;var b;if(function(){var $ret=$self.q().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},ae:function(a,b){if(a!=null){this.r().detachTarget(this.ad.runOn(this))}if(b!=null){this.r(b.getService("RenderingMessages"));this.s(b.getService("InteractionMessages"));this.r().attachTarget(this.ad.runOn(this))}},af:function(a){this.b=a.q();this.c=a.s();this.d=this.t()[3];if(this.d==null){this.d=$.ig.FontUtil.prototype.b(a.q())}this.c.y(this.d);this.e=$.ig.FontUtil.prototype.a(this.d);if(this.a!=null&&this.a.horizontalAxisVisibility()!=$.ig.Visibility.prototype.collapsed){a.l(a.l()-this.e);a.n(this.u())}},ag:function(a){this.f=this.b.width();this.g=this.e+this.u()},ah:function(a){this.ai(a.f())},ai:function(a){var b=!a||this.a==null||this.a.eb()==null||this.a.eb().count()==0?null:this.c;if(b==null){return}var c=this.u(),d=c/2;var e=this.aj(this.a.eb().item(0)).toString();var f=new $.ig.TextBlock;f.a3(e);f.w(2);var g=new $.ig.TextBlock;g.a3(e=this.aj(this.a.eb().item(this.a.eb().count()-1)).toString());g.v(f.v(c));b.u(0,0,this.f,this.g);if(this.d!=null){b.y(this.d)}g.w(this.f-b.z(e)-4);var h=this.a.horizontalAxisBrush();var i=h==null?null:h.__fill;var j=h==null?null:h.color();h=new $.ig.Brush;if(j==null){h.__fill=this.j[2]==null?"#000000":this.j[2]}else{h.color(j)}f.a4(g.a4(h));b.i(f);b.i(g);if(c<.5){return}h=new $.ig.Brush;if(i==null){i=this.j[1]}h.__fill=i==null?"#000000":i;var k=new $.ig.Line;k.bo(0);k.bp(this.b.width());k.bq(d);k.br(d);k.__stroke=h;k.a5(c);b.o(k)},aj:function(dataItem_){if(this.a.formatLabel()!=null){return this.a.formatLabel()(dataItem_)}var label_=this.a.horizontalAxisLabel();if(dataItem_==null){dataItem_=""}if(label_!=null&&label_!=""){dataItem_=label_.replace("{0}",dataItem_.toString())}return dataItem_},$type:new $.ig.Type("HorizontalAxisView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("VerticalAxisView","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,q:null,r:null,init:function(a){var $self=this;this.e=-1;this.f=-1;this.p=-1;this.q=["border-top-width","border-top-color","color","font","text-align"];this.r=false;this.t=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.x().item($.ig.AxisRenderMessage_Spark.prototype.$type,function(b){return $self.ao($.ig.util.cast($.ig.AxisRenderMessage_Spark.prototype.$type,b))});this.x().item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(c){return $self.am($.ig.util.cast($.ig.ContainerResizedMessage_Spark.prototype.$type,c))});this.x().item($.ig.ViewportChangedMessage_Spark.prototype.$type,function(d){return $self.an($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,d))});this.g=a},aa:function(){if(!this.r){this.r=true;this.o.ba("ui-sparkline-axis-y",this.q)}return this.q},ab:function(){var a=this.p;if(a>=0){return a}var b=this.aa()[0];if(b!=null){a=$.ig.Number.prototype.parseInt(b)}this.p=a=a<1?1:a;return a},s:null,w:function(a){if(arguments.length===1){var b=this.s;this.s=a;this.o=a.getService("View");this.al(b,this.s);return a}else{return this.s}},t:null,x:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},u:null,y:function(a){if(arguments.length===1){this.u=a;return a}else{return this.u}},v:null,z:function(a){if(arguments.length===1){this.v=a;return a}else{return this.v}},ak:function(a){var $self=this;var b;if(function(){var $ret=$self.x().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},al:function(a,b){if(a!=null){this.y().detachTarget(this.ak.runOn(this))}if(b!=null){this.y(b.getService("RenderingMessages"));this.z(b.getService("InteractionMessages"));this.y().attachTarget(this.ak.runOn(this))}},am:function(a){this.h=a.r();this.i=a.t();this.j=this.aa()[3];if(this.j==null){this.j=$.ig.FontUtil.prototype.b(a.r())}this.i.y(this.j);this.k=$.ig.FontUtil.prototype.a(this.j);if(this.g!=null&&this.g.verticalAxisVisibility()!=$.ig.Visibility.prototype.collapsed){this.ap(false);a.k(a.k()-this.l);a.m(this.ab())}},an:function(a){this.m=this.l+this.ab();this.n=this.h.height()},ao:function(a){if(this.ap(a.f())){var b=new $.ig.ClearMessage_Spark;
b.f(true);this.y().sendMessage(b)}},ap:function(a){if(this.g==null||this.g.itemsSource()==null){return false}var b=false;var c=this.i;if(c!=null&&this.j!=null){c.y(this.j)}if(!a){this.c=new $.ig.TextBlock;this.d=new $.ig.TextBlock;this.c.a3(this.a=this.aq(this.g.d9()).toString());this.d.a3(this.b=this.aq(this.g.ea()).toString());if(c!=null){this.e=c.z(this.a)+3;if(this.e>this.l){b=true;this.l=this.e}this.f=c.z(this.b)+3;if(this.f>this.l){b=true;this.l=this.f}}if(!b){var d=Math.max(this.e,this.f);if(d<this.l){this.l=d;b=true}}if(b){this.m=this.l}}else if(c!=null){var e=this.g.verticalAxisBrush();var f=e==null?null:e.__fill;var g=this.aa()[4];var h=1;if(g=="left"){h=0}else if(g=="center"){h=.5}this.d.v(2);this.d.w((this.l-this.f)*h+1);this.c.w((this.l-this.e)*h+1);this.c.v(this.n-this.k-2);c.u(0,0,this.m,this.n);var i=e==null?null:e.color();e=new $.ig.Brush;if(i==null){e.__fill=this.q[2]==null?"#000000":this.q[2]}else{e.color(i)}this.c.a4(this.d.a4(e));c.i(this.c);c.i(this.d);var j=this.ab(),k=j/2;if(j<.5){return b}e=new $.ig.Brush;if(f==null){f=this.q[1]}e.__fill=f==null?"#000000":f;var l=new $.ig.Line;l.bo(this.m-k);l.bp(this.m-k);l.bq(0);l.br(this.n);l.__stroke=e;l.a5(j);c.o(l)}return b},aq:function(dataItem_){if(this.g.formatLabel()!=null){return this.g.formatLabel()(dataItem_)}var label_=this.g.verticalAxisLabel();if(dataItem_==null){dataItem_=""}if(label_!=null&&label_!=""){dataItem_=label_.replace("{0}",dataItem_.toString())}return dataItem_},$type:new $.ig.Type("VerticalAxisView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamSparklineView","Object",{c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,init:function(){var $self=this;this.o=new Array(6);this.p=-1;this.q=new $.ig.Path;this.r=new $.ig.Path;this.s=new $.ig.Path;this.t=new $.ig.Path;this.u=new $.ig.Path;this.v=new $.ig.Path;this.w=new $.ig.Path;this.x=new $.ig.Path;this.y=new $.ig.Path;this.z=new $.ig.Path;this.ad=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);this.af=false;this.ag=null;this.ah=false;$.ig.Object.prototype.init.call(this);var a=this.am();a.item($.ig.ClearMessage_Spark.prototype.$type,function(b){return $self.be($.ig.util.cast($.ig.ClearMessage_Spark.prototype.$type,b))});a.item($.ig.PolygonMessage_Spark.prototype.$type,function(c){return $self.bl($.ig.util.cast($.ig.PolygonMessage_Spark.prototype.$type,c))});a.item($.ig.ColumnMessage_Spark.prototype.$type,function(d){return $self.bn($.ig.util.cast($.ig.ColumnMessage_Spark.prototype.$type,d))});a.item($.ig.WinLossColumnMessage_Spark.prototype.$type,function(e){return $self.bq($.ig.util.cast($.ig.WinLossColumnMessage_Spark.prototype.$type,e))});a.item($.ig.MarkerMessage_Spark.prototype.$type,function(f){return $self.bh($.ig.util.cast($.ig.MarkerMessage_Spark.prototype.$type,f))});a.item($.ig.NormalRangeMessage_Spark.prototype.$type,function(g){return $self.br($.ig.util.cast($.ig.NormalRangeMessage_Spark.prototype.$type,g))});a.item($.ig.TrendLineMessage_Spark.prototype.$type,function(h){return $self.bs($.ig.util.cast($.ig.TrendLineMessage_Spark.prototype.$type,h))});a.item($.ig.TooltipMessage_Spark.prototype.$type,function(i){return $self.bu($.ig.util.cast($.ig.TooltipMessage_Spark.prototype.$type,i))});a.item($.ig.ToooltipTemplateMessage_Spark.prototype.$type,function(j){return $self.bt($.ig.util.cast($.ig.ToooltipTemplateMessage_Spark.prototype.$type,j))});a.item($.ig.ContainerMessage_Spark.prototype.$type,function(k){return $self.a7($.ig.util.cast($.ig.ContainerMessage_Spark.prototype.$type,k))});a.item($.ig.BrushChangedMessage_Spark.prototype.$type,function(l){return $self.a3($.ig.util.cast($.ig.BrushChangedMessage_Spark.prototype.$type,l))});a.item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(m){return $self.bb()});a.item($.ig.VisibilityMessage_Spark.prototype.$type,function(n){return $self.a5($.ig.util.cast($.ig.VisibilityMessage_Spark.prototype.$type,n))});a.item($.ig.NumberChangedMessage_Spark.prototype.$type,function(o){return $self.a6($.ig.util.cast($.ig.NumberChangedMessage_Spark.prototype.$type,o))});a.item($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,function(p){return $self.bb()});this.ao(new $.ig.CanvasRenderScheduler);this.ao().m(this)},q:null,r:null,s:null,t:null,u:null,v:null,w:null,x:null,y:null,z:null,aa:null,aj:function(a){if(arguments.length===1){var b=this.aa;this.aa=a;this.ax(b,this.aa);this.ae=null;return a}else{return this.aa}},ab:null,ak:function(a){if(arguments.length===1){this.ab=a;return a}else{return this.ab}},ac:null,al:function(a){if(arguments.length===1){this.ac=a;return a}else{return this.ac}},ad:null,am:function(a){if(arguments.length===1){this.ad=a;return a}else{return this.ad}},ax:function(a,b){if(a!=null){this.al().detachTarget(this.az.runOn(this));this.ak(null)}if(b!=null){this.al(b.getService("RenderingMessages"));this.ak(b.getService("InteractionMessages"));this.al().attachTarget(this.az.runOn(this));this.ay(this.ak())}},ay:function(a){this.ak(a)},az:function(a){var $self=this;var b;if(function(){var $ret=$self.am().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},ae:null,an:function(){if(this.ae==null){this.ae=this.aj().getService("Controller")}return this.ae},a1:function(a,b,c){var d=new $.ig.MouseMoveMessage_Spark;d.position(a);this.ak().sendMessage(d)},a2:function(a){var b=new $.ig.MouseLeaveMessage_Spark;this.ak().sendMessage(b)},a3:function(a){this.a4(a.d(),a.c(),null,-1,-1)},a4:function(a,b,c,d,e){var $self=this;var f=null;var g=true,h=true;switch(a){case"sparkpath":case $.ig.XamSparkline.prototype.bd:f=this.q;break;case"negativesparkpath":case $.ig.XamSparkline.prototype.be:f=this.r;break;case"markers":case $.ig.XamSparkline.prototype.bf:f=this.u;break;case"firstmarker":case $.ig.XamSparkline.prototype.bh:f=this.y;break;case"lastmarker":case $.ig.XamSparkline.prototype.bi:f=this.z;break;case"highmarker":case $.ig.XamSparkline.prototype.bj:f=this.x;break;case"lowmarker":case $.ig.XamSparkline.prototype.bk:f=this.w;break;case"negativemarkers":case $.ig.XamSparkline.prototype.bg:f=this.v;break;case"trendline":case $.ig.XamSparkline.prototype.bl:f=this.s;h=false;break;case"range":case $.ig.XamSparkline.prototype.bo:f=this.t;g=false;break}if(f==null){return}if(b==null&&c!=null){b=new $.ig.Brush;b.__fill=c}if(b!=null){if(h&&(c==null||f.__fill==null)){f.__fill=b}if(g&&(c==null||f.__stroke==null)){f.__stroke=b}}if(d>0&&d<1){f.__opacity=d}if(e>0&&(c==null||f.a5()<=0)){f.a5(e)}this.by()},a5:function(a){var $self=this;switch(a.d()){case $.ig.XamSparkline.prototype.br:this.u.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bt:this.y.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bu:this.z.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bw:this.x.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bv:this.w.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bs:this.v.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bx:this.t.__visibility=a.c();break;case $.ig.XamSparkline.prototype.cd:this.n=a.c()==$.ig.Visibility.prototype.visible;break}this.by()},a6:function(a){var b=a.c();if(b<=0){return}switch(a.d()){case $.ig.XamSparkline.prototype.b5:this.q.a5(this.r.a5(b));break;case $.ig.XamSparkline.prototype.cg:this.s.a5(b);break}this.by()},a7:function(a){if(a.b()==null){if(this.m!=null){this.m.bl()}this.e=this.f=this.g=this.h=null;return}var b=a.b();this.e=$(b);this.e.css("position","relative");this.f=$("<canvas style='position:absolute' />");this.g=$("<canvas style='position:absolute' />");this.h=$("<canvas style='position:absolute' />");if(this.i==null){this.i=$("<span style='position:absolute;display:none' />")}this.e.append(this.i);this.e.append(this.f);this.e.append(this.g);this.e.append(this.h);this.j=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.f[0].getContext("2d"));this.k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.g[0].getContext("2d"));this.l=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.h[0].getContext("2d"));this.m=new $.ig.DOMEventProxy(this.f);this.m.onMouseLeave=$.ig.Delegate.prototype.combine(this.m.onMouseLeave,this.a2.runOn(this));this.m.onMouseOver=$.ig.Delegate.prototype.combine(this.m.onMouseOver,this.a1.runOn(this));this.a8();this.bb()},a8:function(){var a=["sparkpath","negativesparkpath","trendline","markers","firstmarker","lastmarker","highmarker","lowmarker","negativemarkers","range"];var b=["#B1BFC9","#798995","#2070a0","#4F606C","#374650","#162C3B","#162C3B","#162C3B","#862C3B","#a0a0a0"];for(var c=0;c<10;c++){var d=a[c];var e=["background-color","opacity","border-top-width"];this.ba("ui-sparkline-"+d,e);var f=$.ig.XamSparklineView.prototype.a9(e[2],c<3?c<2?2:1.5:-1);if(c>2&&c<9){this.o[c-3]=f}this.a4(d,null,e[0]==null?b[c]:e[0],$.ig.XamSparklineView.prototype.a9(e[1],-1),c<3?f:-1)}},a9:function(v_,a){var d_=v_==null||v_.length<1?null:parseFloat(v_);return d_==null||d_.toString()=="NaN"?a:d_},ba:function(a,b){var c=this.i;if(c==null){c=this.i=$("<span style='position:absolute;display:none' />");$("body").append(this.i)}var d=b.length,e=d;var f=new Array(e);while(e-->0){f[e]=b[e]=="font"?null:c.css(b[e])}c.addClass(a);while(d-->0){var g=b[d];g=g=="font"?$.ig.FontUtil.prototype.b(c):c.css(g);b[d]=g==null||g.length==0||g=="null"||g=="transparent"||g==f[d]?null:g}c.removeClass(a);return b},af:null,bb:function(){if(this.e==null||this.af){return}this.af=true;var a=this.e.width(),b=this.e.height();var c=this.f,d=this.g,e=this.h;var f=new $.ig.ContainerResizedMessage_Spark;f.k(a);f.l(b);f.s(this.k);f.q(d);f.o(this.e);f.p(c);f.t(this.l);f.r(e);f.m(0);f.n(0);this.al().sendMessage(f);var g=f.n(),h=f.m(),i=f.k()-h,j=f.l()-g;var k=i.toString(),l=(a-i).toString(),m=j.toString(),n=(b-j).toString();c.css("width",k);c.css("height",m);c.attr("width",k);c.attr("height",m);c.css("marginLeft",l+"px");k=(i+h).toString();d.css("width",k+"px");d.css("height",n+"px");d.attr("width",k);d.attr("height",n);d.css("marginTop",m+"px");d.css("marginLeft",(a-i-h).toString()+"px");e.attr("width",l);e.attr("height",m);e.css("width",l);e.css("height",m);this.c=new $.ig.Rect(0,0,0,i,j);this.m.x(this.c);this.bd();var o=new $.ig.ViewportChangedMessage_Spark;o.newLeft(this.c.left());o.newTop(this.c.top());o.newHeight(this.c.height());o.newWidth(this.c.width());this.al().sendMessage(o);this.af=false},bc:function(a){if(a){this.p=-1}else if(this.p<0){this.bd()}},bd:function(){var a=this.c.width();var b=this.c.height();var c=this.bf(true);var d=new $.ig.Rect(0,c,c,a-c*2,b-c*2);var e=new $.ig.ViewportChangedMessage_Spark;e.newLeft(d.left());e.newTop(d.top());e.newHeight(d.height());e.newWidth(d.width());this.d=d;this.ak().sendMessage(e)},be:function(a){if(this.c==null){return}switch(a.b()){case $.ig.SparkLayerType.prototype.markerLayer:this.u.bn(null);this.y.bn(null);this.z.bn(null);this.x.bn(null);this.w.bn(null);this.v.bn(null);break;case $.ig.SparkLayerType.prototype.rangeLayer:this.t.bn(null);break;case $.ig.SparkLayerType.prototype.sparkLayer:this.q.bn(null);this.r.bn(null);break;case $.ig.SparkLayerType.prototype.toolTipLayer:this.bv(null);break;case $.ig.SparkLayerType.prototype.trendLayer:this.s.bn(null);break}if(a.f()){this.bb()}if(this.j!=null&&a.b()!=$.ig.SparkLayerType.prototype.toolTipLayer){this.j.u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}},bf:function(a){if(a){this.p=-1}var b=this.p;if(b>=0){return b}b=0;var c=this.an().r();if(c.markerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.markerSize(),0)}if(c.firstMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.firstMarkerSize(),1)}if(c.lastMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.lastMarkerSize(),2)}if(c.highMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.highMarkerSize(),3)}if(c.lowMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.lowMarkerSize(),4)}if(c.negativeMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.negativeMarkerSize(),5)}this.p=b;return b},bg:function(a,b,c){if(b>=0){return b>a?b:a}return this.o[c]>a?this.o[c]:a},bh:function(a){this.bj(this.u,a.q(),a.w(),0);this.bj(this.v,a.r(),a.ab(),5);this.bj(this.w,a.u(),a.aa(),4);this.bj(this.x,a.v(),a.z(),3);this.bi(this.y,a.s(),a.x(),1);this.bi(this.z,a.t(),a.y(),2);this.by()},bi:function(a,b,c,d){var $self=this;var e=function(){var $ret=new $.ig.List$1($.ig.Point.prototype.$type,0);$ret.add(b);return $ret}();this.bj(a,e,c,d)},bj:function(a,b,c,d){if(c<0){c=this.o[d]}a.bn(this.bk(b,c<.1?3:c));if(this.an().r().displayType()!=$.ig.SparklineDisplayType.prototype.winLoss){var e=new $.ig.TranslateTransform;e.g(this.an().m.b);a.f(e)}else{a.f(null)}},bk:function(a,b){var c=new $.ig.GeometryGroup;c.f($.ig.FillRule.prototype.nonzero);var d=this.c.width();var e=this.c.height();var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(f.__x<0||f.__y<0||f.__x>d||f.__y>e){continue}var h=new $.ig.EllipseGeometry;h.g(b);h.h(b);h.f(f);c.e().add(h)}return c},bl:function(a){var b=new $.ig.PathGeometry;var c=this.an().r().displayType()==$.ig.SparklineDisplayType.prototype.area;var e=a.points().getEnumerator();while(e.moveNext()){var d=e.current();var f=d.length;if(f==0){continue}var g=new $.ig.PathFigure;g.__isClosed=g.__isFilled=c;g.__startPoint=d[0];for(var h=1;h<f;h++){var i=new $.ig.LineSegment(1);i.d(d[h]);g.__segments.add(i)}b.d().add(g)}this.q.bn(b);this.by()},bm:function(a,b){var c=$.ig.util.cast($.ig.WinLossColumnMessage_Spark.prototype.$type,b);var d=$.ig.util.cast($.ig.ColumnMessage_Spark.prototype.$type,b);var e=new $.ig.GeometryGroup;var f=c!=null?c.u():d.u();var g=c!=null?c.v():d.v();var h=f*.1;var j=a.getEnumerator();while(j.moveNext()){var i=j.current();var k=f*2-h*2;var l=Math.abs(g-i.__y);var m=i.__x+h;var n=i.__y>g?g:i.__y;var o=new $.ig.RectangleGeometry;o.f(new $.ig.Rect(0,m,n,k,l));e.e().add(o)}return e},bn:function(a){this.bp(this.q,a.o(),a);this.bp(this.r,a.p(),a);this.by()},bo:function(a,b,c){var $self=this;var d=function(){var $ret=new $.ig.List$1($.ig.Point.prototype.$type,0);$ret.add(b);return $ret}();this.bp(a,d,c)},bp:function(a,b,c){a.bn(this.bm(b,c))},bq:function(a){this.bp(this.q,a.o(),a);this.bp(this.r,a.p(),a);this.by()},br:function(a){var b=new $.ig.RectangleGeometry;b.f(new $.ig.Rect(0,a.i(),a.j(),a.k(),a.l()));this.t.bn(b);this.by()},bs:function(a){if(a.points().length==0){return}var b=new $.ig.PathGeometry;var c=new $.ig.PathFigure;c.__isClosed=c.__isFilled=false;c.__startPoint=a.points()[0];var d=a.points().length;for(var e=1;e<d;e++){var f=new $.ig.LineSegment(1);f.d(a.points()[e]);c.__segments.add(f)}b.d().add(c);this.s.bn(b);this.by()},ag:null,bt:function(a){this.ag=a.template().toString()},bu:function(a){if(!this.n){this.bv(null);return}var b=Math.round(a.xOffset()-10);var c=Math.round(a.yOffset()-10);var d=this.j.x(b,c);if(d[3]>0){this.bv(a)}else{this.bv(null)}},bv:function(a){var x_=0,y_=0;var v_=null,t_=null,i_=this.e;i_=i_?i_.data("igSparkline"):null;if(i_!=null){if(a!=null){t_=this.ag;x_=a.xOffset()+6;y_=a.yOffset()+6;var b=a.context();var f_=b.g(),l_=b.h(),o_=b.f(),h_=b.e();v_={First:f_,Last:l_,Low:o_,High:h_}}i_._fireTooltip(t_,v_,x_,y_)}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},ah:null,isDirty:function(a){if(arguments.length===1){this.ah=a;return a}else{return this.ah}},by:function(){if(!this.isDirty()){this.isDirty(true);this.ao().q(this.j,null)}},undirty:function(a){this.ah=false;this.bz()},index:function(){return 10},bz:function(){var a=this.j;a.g(this.q);a.g(this.r);a.g(this.u);a.g(this.y);a.g(this.z);a.g(this.x);a.g(this.w);a.g(this.v);a.g(this.t);a.g(this.s);var b=new $.ig.AxisRenderMessage_Spark;b.f(true);this.al().sendMessage(b);this.postRender()},postRender:function(){},$type:new $.ig.Type("XamSparklineView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.SparklineDisplayType.prototype.line=0;$.ig.SparklineDisplayType.prototype.area=1;$.ig.SparklineDisplayType.prototype.column=2;$.ig.SparklineDisplayType.prototype.winLoss=3;$.ig.SparkLayerType.prototype.sparkLayer=1;$.ig.SparkLayerType.prototype.markerLayer=2;$.ig.SparkLayerType.prototype.toolTipLayer=4;$.ig.SparkLayerType.prototype.rangeLayer=8;$.ig.SparkLayerType.prototype.trendLayer=16;$.ig.SparklineController.prototype.j=$.ig.DependencyProperty.prototype.l("FastItemsSource",$.ig.FastItemsSource.prototype.$type,$.ig.SparklineController.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.SparklineController.prototype.$type,a).aj(b.f(),b.e())}));$.ig.XamSparkline.prototype.bd="Brush";$.ig.XamSparkline.prototype.be="NegativeBrush";$.ig.XamSparkline.prototype.bf="MarkerBrush";$.ig.XamSparkline.prototype.bg="NegativeMarkerBrush";$.ig.XamSparkline.prototype.bh="FirstMarkerBrush";$.ig.XamSparkline.prototype.bi="LastMarkerBrush";$.ig.XamSparkline.prototype.bj="HighMarkerBrush";$.ig.XamSparkline.prototype.bk="LowMarkerBrush";$.ig.XamSparkline.prototype.bl="TrendLineBrush";$.ig.XamSparkline.prototype.bm="HorizontalAxisBrush";$.ig.XamSparkline.prototype.bn="VerticalAxisBrush";$.ig.XamSparkline.prototype.bo="NormalRangeFill";$.ig.XamSparkline.prototype.bp="HorizontalAxisVisibility";$.ig.XamSparkline.prototype.bq="VerticalAxisVisibility";$.ig.XamSparkline.prototype.br="MarkerVisibility";$.ig.XamSparkline.prototype.bs="NegativeMarkerVisibility";$.ig.XamSparkline.prototype.bt="FirstMarkerVisibility";$.ig.XamSparkline.prototype.bu="LastMarkerVisibility";$.ig.XamSparkline.prototype.bv="LowMarkerVisibility";$.ig.XamSparkline.prototype.bw="HighMarkerVisibility";$.ig.XamSparkline.prototype.bx="NormalRangeVisibility";$.ig.XamSparkline.prototype.by="MarkerSize";$.ig.XamSparkline.prototype.bz=-1;$.ig.XamSparkline.prototype.b0="FirstMarkerSize";$.ig.XamSparkline.prototype.b1="LastMarkerSize";$.ig.XamSparkline.prototype.b2="HighMarkerSize";$.ig.XamSparkline.prototype.b3="LowMarkerSize";$.ig.XamSparkline.prototype.b4="NegativeMarkerSize";$.ig.XamSparkline.prototype.b5="LineThickness";$.ig.XamSparkline.prototype.b6=-1;$.ig.XamSparkline.prototype.b7="Minimum";$.ig.XamSparkline.prototype.b8="Maximum";$.ig.XamSparkline.prototype.b9="ItemsSource";$.ig.XamSparkline.prototype.ca="ValueMemberPath";$.ig.XamSparkline.prototype.cb="LabelMemberPath";$.ig.XamSparkline.prototype.cc="ToolTip";$.ig.XamSparkline.prototype.cd="ToolTipVisibility";$.ig.XamSparkline.prototype.ce="TrendLineType";$.ig.XamSparkline.prototype.cf="TrendLinePeriod";$.ig.XamSparkline.prototype.cg="TrendLineThickness";$.ig.XamSparkline.prototype.ch=-1;$.ig.XamSparkline.prototype.ci="NormalRangeMinimum";$.ig.XamSparkline.prototype.cj="NormalRangeMaximum";$.ig.XamSparkline.prototype.ck="DisplayType";$.ig.XamSparkline.prototype.cl="UnknownValuePlotting";$.ig.XamSparkline.prototype.cm="VerticalAxisLabel";$.ig.XamSparkline.prototype.cn="HorizontalAxisLabel";$.ig.XamSparkline.prototype.co="FormatLabel";$.ig.XamSparkline.prototype.brushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bd,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bd,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.be,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.be,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bf,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bf,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bg,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bg,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bh,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bh,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bi,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bi,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bj,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bj,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bk,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bk,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bl,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bl,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bm,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bm,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bn,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bn,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeFillProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bo,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bo,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bp,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bp,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bq,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bq,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.br,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.br,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bs,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bs,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bt,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bt,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bu,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bu,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bv,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bv,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bw,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bw,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bx,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bx,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.by,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.by,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b0,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b0,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b1,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b1,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b2,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b2,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b3,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b3,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b4,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b4,b.f(),b.e())}));$.ig.XamSparkline.prototype.lineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b5,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.b6,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b5,b.f(),b.e())}));$.ig.XamSparkline.prototype.minimumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b7,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b7,b.f(),b.e())}));$.ig.XamSparkline.prototype.maximumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b8,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b8,b.f(),b.e())}));$.ig.XamSparkline.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b9,$.ig.IEnumerable.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b9,b.f(),b.e())}));$.ig.XamSparkline.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ca,String,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ca,b.f(),b.e())}));$.ig.XamSparkline.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cb,String,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cb,b.f(),b.e())}));$.ig.XamSparkline.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cc,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cc,b.f(),b.e())}));$.ig.XamSparkline.prototype.toolTipVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cd,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cd,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ce,$.ig.TrendLineType.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ce,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cf,$.ig.Number.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cf,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cg,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.ch,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cg,b.f(),b.e())
}));$.ig.XamSparkline.prototype.normalRangeMinimumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ci,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ci,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeMaximumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cj,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cj,b.f(),b.e())}));$.ig.XamSparkline.prototype.displayTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ck,$.ig.SparklineDisplayType.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.SparklineDisplayType.prototype.line,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ck,b.f(),b.e())}));$.ig.XamSparkline.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cl,$.ig.UnknownValuePlotting.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cl,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cm,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,"{0}",function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cm,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cn,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,"{0}",function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cn,b.f(),b.e())}));$.ig.XamSparkline.prototype.formatLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.co,$.ig.Func$2.prototype.$type.specialize($.ig.Object.prototype.$type,String),$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.co,b.f(),b.e())}));$.ig.XamSparklineView.prototype.a=100;$.ig.XamSparklineView.prototype.b=50;/*!@license
 * Infragistics.Web.ClientUI charting and map common widget 13.1.20131.2523
 *
 * Copyright (c) 2011-2014 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on: 
 *	jquery-1.4.4.js
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 *	infragistics.dataSource.js
 *	infragistics.util.js
 */
(function($){$.ig.dvCommonWidget=$.ig.dvCommonWidget||Class.extend({init:function(widget){this.widget=widget},_createWidget:function(options,element,widget){var self=this;this.widget=widget;this.widget._duringInit=true;options=$.extend(false,{},options);this.widget._creationOptions=options;if(options.dataSource&&$.type(options.dataSource)==="array"||$.type(options.dataSource)==="object"&&(typeof options.dataSource._xmlToArray!=="function"||typeof options.dataSource._encodePkParams!=="function")){this.widget._initialDataSource=options.dataSource;options.dataSource=null}this.widget._initialSeriesDataSource={};this.widget._initialAxesDataSource={};if(options.series){options.series=options.series.slice(0);$.each(options.series,function(i,val){if(val.name&&val.dataSource&&$.type(val.dataSource)==="array"||$.type(val.dataSource)==="object"&&(typeof val.dataSource._xmlToArray!=="function"||typeof val.dataSource._encodePkParams!=="function")){self.widget._initialSeriesDataSource[val.name]=val.dataSource;val.dataSource=null}})}if(options.axes){options.axes=options.axes.slice(0);$.each(options.axes,function(i,val){if(val.name&&val.dataSource&&$.type(val.dataSource)==="array"||$.type(val.dataSource)==="object"&&(typeof val.dataSource._xmlToArray!=="function"||typeof val.dataSource._encodePkParams!=="function")){self.widget._initialAxesDataSource[val.name]=val.dataSource;val.dataSource=null}})}switch(this.widget.widgetName){case"igDataChart":this.widget._axisTemplate=$.extend(false,{},this.widget.options.axes[0]);this.widget._seriesTemplate=$.extend(false,{},this.widget.options.series[0]);this.widget.options.legend=null;this.widget.options.series[0].legend=null;if(options.series===undefined){options.series=[]}if(options.axes===undefined){options.axes=[]}break;case"igPieChart":break;case"igMap":this.widget._seriesTemplate=$.extend(false,{},this.widget.options.series[0]);if(options.series===undefined){options.series=[]}this.widget.options.backgroundContent=null;break}$.Widget.prototype._createWidget.apply(this.widget,[options,element]);var a=widget.options.series;if(a&&a.length===1&&!a[0].name&&!a[0].type){a.pop()}a=widget.options.axis;if(a&&a.length===1&&!a[0].name&&!a[0].type){a.pop()}},_create:function(){var widget=this.widget;if(!$.ig.util._isCanvasSupported()){$.ig.util._renderUnsupportedBrowser(widget)}else{this.widget._notInitialized=true;if(widget._initialDataSource){widget._creationOptions.dataSource=this.widget._initialDataSource;widget.options.dataSource=this.widget._initialDataSource}if(widget.options.series){$.each(widget.options.series,function(i,val){if(val.name&&widget._initialSeriesDataSource[val.name]!==undefined){val.dataSource=widget._initialSeriesDataSource[val.name]}})}if(widget.options.axes){$.each(widget.options.axes,function(i,val){if(val.name&&widget._initialAxesDataSource[val.name]!==undefined){val.dataSource=widget._initialAxesDataSource[val.name]}})}widget._pendingCrossingAxes=[];widget._tooltipTemplate=null;widget._tooltipTtemplates=null;widget._tooltip={};this.widget._tooltipTemplates={};switch(this.widget.widgetName){case"igDataChart":widget._chart=new $.ig.XamDataChart;widget._chart.manageDataSources(true);widget._axes={};widget._series={};widget._axisOpt={};widget._seriesOpt={};widget._seriesSubOpt={};widget._seriesSub={};this._bindDataChartEvents(widget._chart);this._renderChartContainer(this.widget);this._initialDataBind();break;case"igPieChart":widget._chart=new $.ig.XamPieChart;this._bindPieChartEvents(widget._chart);this._renderChartContainer(this.widget);this._initialDataBind();break;case"igMap":widget._chart=new $.ig.XamGeographicMap;widget._chart.manageDataSources(true);widget._axes={};widget._series={};widget._axisOpt={};widget._seriesOpt={};widget._seriesSubOpt={};widget._seriesSub={};this._bindMapEvents(widget._chart);this._setBackgroundContent(widget.options.backgroundContent);break}if(this.widget._creationOptions.name){this.widget._chart.name(this.widget._creationOptions.name)}if(this.widget.dsCount===0&&this.widget._notInitialized){this._initializeWidget(this.widget)}}},_converterCallback:function(){var context=this.settings.callee;context.widget.dsCount--;if(context.widget.dsCount===0){context._initializeWidget(context.widget)}},_initDataOptions:function(options,callBack){var widget=this.widget,dataOptions;if(options.dataSourceUrl){options.dataSource=options.dataSourceUrl}widget._containerSourceID=widget.id();dataOptions={id:options.name||widget._containerSourceID,rowAdded:this._itemAdded,rowDeleted:this._itemRemoved,rowUpdated:this._itemUpdated,rowInserted:this._itemInserted,callback:callBack,callee:this,responseDataKey:options.responseDataKey,primaryKey:options.primaryKey,responseTotalRecCountKey:options.responseTotalRecCountKey,dataSource:options.dataSource};if(options.dataSourceType!==null){dataOptions.type=options.dataSourceType}return dataOptions},_setupDataSource:function(options,callback){var dataOptions=this._initDataOptions(options,callback);if(this.widget.dataSources===undefined){this.widget.dataSources={}}if(!dataOptions.dataSource||typeof dataOptions.dataSource._xmlToArray!=="function"||typeof dataOptions.dataSource._encodePkParams!=="function"){if($.type(dataOptions.dataSource)==="string"&&dataOptions.dataSource.indexOf("$callback=?")!==-1){this.widget.dataSources[dataOptions.id]=new $.ig.JSONPDataSource(dataOptions)}else{this.widget.dataSources[dataOptions.id]=new $.ig.DataSource(dataOptions)}}else{this.widget.dataSources[dataOptions.id]=dataOptions.dataSource;dataOptions.dataSource=this.widget.dataSources[dataOptions.id].settings.dataSource;if(this.widget.dataSources[dataOptions.id].settings.responseDataKey!==null){delete dataOptions.responseDataKey;if(dataOptions.schema){dataOptions.schema.searchField=this.widget.dataSource.settings.responseDataKey}}this.widget.dataSources[dataOptions.id].settings=this._mergeDataSourceSettings(this.widget.dataSources[dataOptions.id].settings,dataOptions);if(dataOptions.schema){this.widget.dataSources[dataOptions.id]._initSchema()}}},_initCallback:function(success,error,dataSource){var context=dataSource.settings.callee;context.widget.dsCount--;if(context.widget.dsCount===0&&success){context._initializeWidget(context.widget)}},_initializeWidget:function(widget){this.widget=widget;if(this.widget.dataSources[this.widget._containerSourceID]){this._setItemsSource(this.widget,this.widget._chart,this.widget._containerSourceID)}this._setWidgetOptions(this.widget._creationOptions,widget._chart);this.widget._duringInit=false;if(widget._creationOptions.series){this._setCoreWidgetOption(widget._chart,"series",this.widget._creationOptions.series)}widget._notInitialized=false},_getNotifyTarget:function(targetName){var target;if(this.widget.widgetName==="igPieChart"){target=this.widget._chart}else{if(targetName===this.widget.id()){target=this.widget._chart}else{target=this._getSeriesByName(targetName);if(!target){target=this._getAxisByName(targetName);if(!target){target=this._getSubSeriesByName(null,targetName)}}}}return target},_notifyItemAdded:function(dataSource,newItem,index){this.widget._chart.notifyInsertItem(dataSource,index,newItem.row)},_itemAdded:function(item,dataSource){this._notifyItemAdded(dataSource,item,dataSource.dataView().length-1)},_itemInserted:function(item,dataSource){this._notifyItemAdded(dataSource,item,item.rowIndex)},_itemUpdated:function(item,dataSource){this.widget._chart.notifySetItem(dataSource,item.rowIndex,item.oldRow,item.newRow)},_itemRemoved:function(item,dataSource){this.widget._chart.notifyRemoveItem(dataSource,item.rowIndex,item.row)},_setWidgetOptions:function(options,chart){var self=this;$.each(options,function(key,value){if(!self._setWidgetOption(chart,key,value)){self._setCoreWidgetOption(chart,key,value)}else{self.widget.options[key]=value}})},_setWidgetOption:function(chart,key,value){var $tempBrushCollection,isRGB,$tempBrush,i;switch(key){case"crosshairPoint":chart.crosshairPoint(new $.ig.Point(1,value.x,value.y));return true;case"windowRect":chart.windowRect(new $.ig.Rect(0,value.left,value.top,value.width,value.height));return true;case"horizontalZoomable":chart.horizontalZoomable(value);return true;case"verticalZoomable":chart.verticalZoomable(value);return true;case"windowResponse":switch(value){case"deferred":chart.windowResponse(0);break;case"immediate":chart.windowResponse(1);break}return true;case"windowRectMinWidth":chart.windowRectMinWidth(value);return true;case"overviewPlusDetailPaneVisibility":switch(value){case"visible":chart.overviewPlusDetailPaneVisibility(0);break;case"collapsed":chart.overviewPlusDetailPaneVisibility(1);break}return true;case"crosshairVisibility":switch(value){case"visible":chart.crosshairVisibility(0);break;case"collapsed":chart.crosshairVisibility(1);break}return true;case"plotAreaBackground":if(value===null){chart.plotAreaBackground(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);chart.plotAreaBackground($tempBrush)}return true;case"defaultInteraction":switch(value){case"none":chart.defaultInteraction(0);break;case"dragZoom":chart.defaultInteraction(1);break;case"dragPan":chart.defaultInteraction(2);break}return true;case"dragModifier":switch(value){case"none":chart.dragModifier(0);break;case"alt":chart.dragModifier(1);break;case"control":chart.dragModifier(2);break;case"shift":chart.dragModifier(4);break;case"windows":chart.dragModifier(8);break;case"apple":chart.dragModifier(8);break}return true;case"panModifier":switch(value){case"none":chart.panModifier(0);break;case"alt":chart.panModifier(1);break;case"control":chart.panModifier(2);break;case"shift":chart.panModifier(4);break;case"windows":chart.panModifier(8);break;case"apple":chart.panModifier(8);break}return true;case"previewRect":chart.previewRect(new $.ig.Rect(0,value.left,value.top,value.width,value.height));return true;case"windowPositionHorizontal":chart.windowPositionHorizontal(value);return true;case"windowPositionVertical":chart.windowPositionVertical(value);return true;case"windowScaleHorizontal":chart.windowScaleHorizontal(value);return true;case"windowScaleVertical":chart.windowScaleVertical(value);return true;case"triangleMarkerTemplate":case"circleMarkerTemplate":case"pyramidMarkerTemplate":case"squareMarkerTemplate":case"diamondMarkerTemplate":case"pentagonMarkerTemplate":case"hexagonMarkerTemplate":case"tetragramMarkerTemplate":case"pentagramMarkerTemplate":case"hexagramMarkerTemplate":this._setDataTemplate(chart,key,value);return true;case"topMargin":chart.topMargin(value);return true;case"leftMargin":chart.leftMargin(value);return true;case"rightMargin":chart.rightMargin(value);return true;case"bottomMargin":chart.bottomMargin(value);return true;case"autoMarginWidth":chart.autoMarginWidth(value);return true;case"autoMarginHeight":chart.autoMarginHeight(value);return true;case"worldRect":chart.worldRect(new $.ig.Rect(0,value.left,value.top,value.width,value.height));return true;case"xAxis":chart.xAxis(this._getAxisByName(value));return true;case"yAxis":chart.yAxis(this._getAxisByName(value));return true;case"isSquare":chart.isSquare(value);return true;case"gridMode":switch(value){case"none":chart.gridMode(0);break;case"beforeSeries":chart.gridMode(1);break;case"behindSeries":chart.gridMode(2);break}return true;case"brushes":isRGB=true;if(typeof value[0]==="string"&&value[0]==="HSV"||value[0]==="RGB"){if(value[0]==="HSV"){isRGB=false}value=value.slice(1)}$tempBrushCollection=new $.ig.BrushCollection;for(i=0;i<value.length;i++){$tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}chart.brushes($tempBrushCollection);return true;case"markerBrushes":isRGB=true;if(typeof value[0]==="string"&&value[0]==="HSV"||value[0]==="RGB"){if(value[0]==="HSV"){isRGB=false}value=value.slice(1)}$tempBrushCollection=new $.ig.BrushCollection;for(i=0;i<value.length;i++){$tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}chart.markerBrushes($tempBrushCollection);return true;case"outlines":isRGB=true;if(typeof value[0]==="string"&&value[0]==="HSV"||value[0]==="RGB"){if(value[0]==="HSV"){isRGB=false}value=value.slice(1)}$tempBrushCollection=new $.ig.BrushCollection;for(i=0;i<value.length;i++){$tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}chart.outlines($tempBrushCollection);return true;case"markerOutlines":isRGB=true;if(typeof value[0]==="string"&&value[0]==="HSV"||value[0]==="RGB"){if(value[0]==="HSV"){isRGB=false}value=value.slice(1)}$tempBrushCollection=new $.ig.BrushCollection;for(i=0;i<value.length;i++){$tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}chart.markerOutlines($tempBrushCollection);return true;case"valueMemberPath":chart.valueMemberPath(value);return true;case"labelMemberPath":chart.labelMemberPath(value);return true;case"labelsPosition":switch(value){case"none":chart.labelsPosition(0);break;case"center":chart.labelsPosition(1);break;case"insideEnd":chart.labelsPosition(2);break;case"outsideEnd":chart.labelsPosition(3);break;case"bestFit":chart.labelsPosition(4);break}return true;case"leaderLineVisibility":switch(value){case"visible":chart.leaderLineVisibility(0);break;case"collapsed":chart.leaderLineVisibility(1);break}return true;case"othersCategoryThreshold":chart.othersCategoryThreshold(value);return true;case"formatLabel":chart.formatLabel(value);return true;case"othersCategoryStyle":chart.othersCategoryStyle(value);return true;case"othersCategoryType":switch(value){case"number":chart.othersCategoryType(0);break;case"percent":chart.othersCategoryType(1);break}return true;case"othersCategoryText":chart.othersCategoryText(value);return true;case"explodedRadius":chart.explodedRadius(value);return true;case"radiusFactor":chart.radiusFactor(value);return true;case"allowSliceSelection":chart.allowSliceSelection(value);return true;case"allowSliceExplosion":chart.allowSliceExplosion(value);return true;case"labelExtent":chart.labelExtent(value);return true;case"startAngle":chart.startAngle(value);return true;case"sweepDirection":switch(value){case"counterclockwise":chart.sweepDirection(0);break;case"clockwise":chart.sweepDirection(1);break}return true;case"selectedStyle":chart.selectedStyle(value);return true;case"legendItemTemplate":this._setDataTemplate(chart,key,value);return true;case"legendItemBadgeTemplate":this._setDataTemplate(chart,key,value);return true;case"textStyle":chart.textStyle(value);return true;case"overviewPlusDetailPaneBackgroundImageUri":chart.overviewPlusDetailPaneBackgroundImageUri(value);return true;case"isSurfaceInteractionDisabled":chart.isSurfaceInteractionDisabled(value);return true;case"animateSeriesWhenAxisRangeChanges":chart.animateSeriesWhenAxisRangeChanges(value);return true;case"innerExtent":chart.innerExtent(value);return true}return false},_createAxisFromType:function(axisType){switch(axisType){case"numericX":return new $.ig.NumericXAxis;case"numericY":return new $.ig.NumericYAxis;case"categoryX":return new $.ig.CategoryXAxis;case"categoryDateTimeX":return new $.ig.CategoryDateTimeXAxis;case"categoryY":return new $.ig.CategoryYAxis;case"categoryAngle":return new $.ig.CategoryAngleAxis;case"numericAngle":return new $.ig.NumericAngleAxis;case"numericRadius":return new $.ig.NumericRadiusAxis;default:break}},_createSeriesFromType:function(seriesType){switch(seriesType){case"area":return new $.ig.AreaSeries;case"bar":return new $.ig.BarSeries;case"column":return new $.ig.ColumnSeries;case"line":return new $.ig.LineSeries;case"rangeArea":return new $.ig.RangeAreaSeries;case"rangeColumn":return new $.ig.RangeColumnSeries;case"splineArea":return new $.ig.SplineAreaSeries;case"spline":return new $.ig.SplineSeries;case"stepArea":return new $.ig.StepAreaSeries;case"stepLine":return new $.ig.StepLineSeries;case"waterfall":return new $.ig.WaterfallSeries;case"financial":return new $.ig.FinancialPriceSeries;case"typicalPriceIndicator":return new $.ig.TypicalPriceIndicator;case"polarArea":return new $.ig.PolarAreaSeries;case"polarLine":return new $.ig.PolarLineSeries;case"polarSpline":return new $.ig.PolarSplineSeries;case"polarSplineArea":return new $.ig.PolarSplineAreaSeries;case"polarScatter":return new $.ig.PolarScatterSeries;case"radialColumn":return new $.ig.RadialColumnSeries;case"radialLine":return new $.ig.RadialLineSeries;case"radialPie":return new $.ig.RadialPieSeries;case"radialArea":return new $.ig.RadialAreaSeries;case"scatter":return new $.ig.ScatterSeries;case"highDensityScatter":return new $.ig.HighDensityScatterSeries;case"scatterLine":return new $.ig.ScatterLineSeries;case"scatterSpline":return new $.ig.ScatterSplineSeries;case"bubble":return new $.ig.BubbleSeries;case"absoluteVolumeOscillatorIndicator":return new $.ig.AbsoluteVolumeOscillatorIndicator;case"averageTrueRangeIndicator":return new $.ig.AverageTrueRangeIndicator;case"accumulationDistributionIndicator":return new $.ig.AccumulationDistributionIndicator;case"averageDirectionalIndexIndicator":return new $.ig.AverageDirectionalIndexIndicator;case"geographicShape":return new $.ig.GeographicShapeSeries;case"geographicSymbol":return new $.ig.GeographicSymbolSeries;case"geographicScatterArea":return new $.ig.GeographicScatterAreaSeries;case"geographicContourLine":return new $.ig.GeographicContourLineSeries;case"geographicHighDensityScatter":return new $.ig.GeographicHighDensityScatterSeries;case"geographicProportionalSymbol":return new $.ig.GeographicProportionalSymbolSeries;case"geographicTileSeries":return new $.ig.GeographicTileSeries;case"geographicPolyline":return new $.ig.GeographicPolylineSeries;case"bollingerBandWidthIndicator":return new $.ig.BollingerBandWidthIndicator;case"chaikinOscillatorIndicator":return new $.ig.ChaikinOscillatorIndicator;case"chaikinVolatilityIndicator":return new $.ig.ChaikinVolatilityIndicator;case"commodityChannelIndexIndicator":return new $.ig.CommodityChannelIndexIndicator;case"detrendedPriceOscillatorIndicator":return new $.ig.DetrendedPriceOscillatorIndicator;case"easeOfMovementIndicator":return new $.ig.EaseOfMovementIndicator;case"fastStochasticOscillatorIndicator":return new $.ig.FastStochasticOscillatorIndicator;case"forceIndexIndicator":return new $.ig.ForceIndexIndicator;case"fullStochasticOscillatorIndicator":return new $.ig.FullStochasticOscillatorIndicator;case"marketFacilitationIndexIndicator":return new $.ig.MarketFacilitationIndexIndicator;case"massIndexIndicator":return new $.ig.MassIndexIndicator;case"medianPriceIndicator":return new $.ig.MedianPriceIndicator;case"moneyFlowIndexIndicator":return new $.ig.MoneyFlowIndexIndicator;case"movingAverageConvergenceDivergenceIndicator":return new $.ig.MovingAverageConvergenceDivergenceIndicator;case"negativeVolumeIndexIndicator":return new $.ig.NegativeVolumeIndexIndicator;case"onBalanceVolumeIndicator":return new $.ig.OnBalanceVolumeIndicator;case"percentagePriceOscillatorIndicator":return new $.ig.PercentagePriceOscillatorIndicator;case"percentageVolumeOscillatorIndicator":return new $.ig.PercentageVolumeOscillatorIndicator;case"positiveVolumeIndexIndicator":return new $.ig.PositiveVolumeIndexIndicator;case"priceVolumeTrendIndicator":return new $.ig.PriceVolumeTrendIndicator;case"rateOfChangeAndMomentumIndicator":return new $.ig.RateOfChangeAndMomentumIndicator;case"relativeStrengthIndexIndicator":return new $.ig.RelativeStrengthIndexIndicator;case"slowStochasticOscillatorIndicator":return new $.ig.SlowStochasticOscillatorIndicator;case"standardDeviationIndicator":return new $.ig.StandardDeviationIndicator;case"stochRSIIndicator":return new $.ig.StochRSIIndicator;case"trixIndicator":return new $.ig.TRIXIndicator;case"ultimateOscillatorIndicator":return new $.ig.UltimateOscillatorIndicator;case"weightedCloseIndicator":return new $.ig.WeightedCloseIndicator;case"williamsPercentRIndicator":return new $.ig.WilliamsPercentRIndicator;case"bollingerBandsOverlay":return new $.ig.BollingerBandsOverlay;case"priceChannelOverlay":return new $.ig.PriceChannelOverlay;case"customIndicator":return new $.ig.CustomIndicator;case"point":return new $.ig.PointSeries;case"stackedColumn":return new $.ig.StackedColumnSeries;case"stacked100Column":return new $.ig.Stacked100ColumnSeries;case"stackedArea":return new $.ig.StackedAreaSeries;case"stacked100Area":return new $.ig.Stacked100AreaSeries;case"stackedBar":return new $.ig.StackedBarSeries;case"stacked100Bar":return new $.ig.Stacked100BarSeries;case"stackedLine":return new $.ig.StackedLineSeries;case"stacked100Line":return new $.ig.Stacked100LineSeries;case"stackedSpline":return new $.ig.StackedSplineSeries;case"stacked100Spline":return new $.ig.Stacked100SplineSeries;case"stackedSplineArea":return new $.ig.StackedSplineAreaSeries;case"stacked100SplineArea":return new $.ig.Stacked100SplineAreaSeries;case"stackedFragment":return new $.ig.StackedFragmentSeries;default:break}},_clearAxes:function(series){if(series.xAxis){series.xAxis(null)}if(series.yAxis){series.yAxis(null)}if(series.angleAxis){series.angleAxis(null)}if(series.valueAxis){series.valueAxis(null)}if(series.radiusAxis){series.radiusAxis(null)}},_setForName:function(a,obj){var i=a.length;while(i-->0){if(a[i]&&a[i].name===obj.name){a[i]=obj;return}}a.push(obj)},_setCoreWidgetOption:function(chart,key,value){var self=this,widget=this.widget,axis=null,axisOpt=null,axisIsNew=false,merged,settings,newLink,oldLink,seriesIsNew,series=null,seriesOpt=null,exploded,templ;switch(key){case"axes":if(this.widget.widgetName==="igMap"){return}$.each(value,function(i,val){if(!val.name){throw new Error($.ig.Chart.locale.axisName)}if(self.widget._series[val.name]){throw new Error($.ig.Chart.locale.nameInUse)}axis=self._getAxisByName(val.name);if(axis&&val.remove){delete widget._axes[val.name];delete widget._axisOpt[val.name];var ind=widget.options.axes.indexOf(widget._axisOpt[val.name]);widget.options.axes.splice(ind,1);widget._chart.axes().remove(axis);if(widget.dataSources[val.name]){delete widget.dataSources[val.name].settings;delete widget.dataSources[val.name]}if(widget._target&&widget._target.name()===val.name){widget._target=null}return}if(axis){axisOpt=widget._axisOpt[val.name]}if(!axis&&!val.remove){axis=self._createAxisFromType(val.type);axis.name(val.name);axisIsNew=true}if(axis){if(axisIsNew){widget._axes[val.name]=axis;merged=self._mergeIntoNewWithDataSource(widget._axisTemplate,val);self._setForName(widget.options.axes,merged);widget._axisOpt[val.name]=merged}if(val.coercionMethods){axis.coercionMethods(val.coercionMethods)}self._setAxisOptions(val,axis);if(axisIsNew){if(widget.dataSources[axis.name()]){self._setItemsSource(self.widget,axis,axis.name())}}else{self._mergeIntoWithDataSource(axisOpt,val)}if(axisIsNew){widget._chart.axes().add(axis)}}});if(widget._pendingCrossingAxes&&widget._pendingCrossingAxes.length>0){$.each(widget._pendingCrossingAxes,function(i,val){val()});widget._pendingCrossingAxes.length=0}return;case"series":if(!widget._duringInit){seriesIsNew=false;$.each(value,function(i,val){if(!val.name){throw new Error($.ig.Chart.locale.seriesName)}if(self.widget._axes[val.name]){throw new Error($.ig.Chart.locale.nameInUse)}series=self._getSeriesByName(val.name);if(series&&val.remove){delete widget._series[val.name];delete widget._seriesOpt[val.name];delete widget._seriesSubOpt[val.name];delete widget._seriesSub[val.name];if(widget.dataSources[val.name]){delete widget.dataSources[val.name].settings;delete widget.dataSources[val.name]}var ind=widget.options.series.indexOf(widget._seriesOpt[val.name]);widget.options.series.splice(ind,1);widget._chart.series().remove(series);self._clearAxes(series);return}if(!series&&!val.remove){series=self._createSeriesFromType(val.type);self._bindSeriesEvents(series);series.name(val.name);seriesIsNew=true}if(series){seriesOpt=widget._seriesOpt[val.name]}if(series){if(seriesIsNew){widget._series[val.name]=series;widget._seriesSub[val.name]={};merged=self._mergeIntoNewWithDataSource(widget._seriesTemplate,val);self._setForName(widget.options.series,merged);widget._seriesOpt[val.name]=merged;widget._seriesSubOpt[val.name]={}}if(val.coercionMethods){series.coercionMethods(val.coercionMethods)}self._setSeriesOptions(val,series,widget);if(seriesIsNew){if(widget.dataSources[series.name()]){self._setItemsSource(self.widget,series,series.name())}}else{self._mergeIntoWithDataSource(seriesOpt,val)}if(seriesIsNew){widget._chart.series().add(series)}}})}return;case"syncChannel":newLink=null;if(value&&value.length>0){newLink=$.ig.SyncLinkManager.prototype.instance().getLink(value)}oldLink=widget._chart.actualSyncLink();if(oldLink){$.ig.SyncLinkManager.prototype.instance().releaseLink(oldLink)}if(newLink){widget._chart.actualSyncLink(newLink)}else{widget._chart.actualSyncLink(new $.ig.SyncLink)}break;case"synchronizeVertically":settings=widget._chart.syncSettings();settings.synchronizeVertically(value);break;case"synchronizeHorizontally":settings=widget._chart.syncSettings();settings.synchronizeHorizontally(value);break;case"legend":this._setLegend(widget._chart,value);break;case"width":case"height":this._setSize(widget._chart,key,value);break;case"size":if(value.width){this._setSize(widget._chart,"width",value.width);widget.options.width=value.width}if(value.height){this._setSize(widget._chart,"height",value.height);widget.options.height=value.height}return;case"explodedSlices":if(value.length){exploded=new $.ig.IndexCollection;$.each(value,function(i,val){exploded.add(val)});widget._chart.explodedSlices(exploded)}break;case"showTooltip":if(value===true){this._addTooltip(widget,widget._chart,widget.css.tooltip)}if(value===false){this._removeTooltip(widget,widget._chart)}break;case"tooltipTemplate":if($.ig.tmpl){if(this._htmlCheckExpr.test(value)){templ=value}else{if($("#"+value).length>0){templ=$("#"+value).text()}else if($(value).length>0){templ=$(value).text()}else{templ=value}}widget._tooltipTemplate=templ}break;case"backgroundContent":if(value===null){widget._chart.backgroundContent(null)}if(!widget._duringInit){this._setBackgroundContent(value)}break;default:return}widget.options[key]=value},_htmlCheckExpr:/^[^<]*(<[\w\W]+>)[^>]*$/,_getAxisByName:function(name){if(this.widget._axes[name]===undefined){if(this.widget.widgetName==="igMap"){if(name==="xAxis"){return this.widget._chart.xAxis()}if(name==="yAxis"){return this.widget._chart.yAxis()}}return null}return this.widget._axes[name]},_getSeriesByName:function(name){if(this.widget._series[name]===undefined){return null}return this.widget._series[name]},_setAxisOptions:function(options,axis){var self=this;$.each(options,function(key,value){if(!self._setAxisOption(axis,key,value)){self._setCoreAxisOption(axis,key,value)}self.widget._axisOpt[axis.name()][key]=value})},_setSeriesOptions:function(options,series){var self=this;$.each(options,function(key,value){if(!self._setCoreSeriesOption(series,key,value)){self._seriesSetOption(series,key,value)}if(key!=="series"){self.widget._seriesOpt[series.name()][key]=value}})},_setSubSeriesOptions:function(options,parentSeries,series){var self=this;$.each(options,function(key,value){if(!self._setCoreSeriesOption(series,key,value)){self._seriesSetOption(series,key,value)}self.widget._seriesSubOpt[parentSeries.name()][series.name()][key]=value})},_setCoreSeriesOption:function(series,key,value){var templ;switch(key){case"legend":this._setLegend(series,value);return true;case"showTooltip":if(value===true){this._addTooltip(this.widget,series,this.widget.css.tooltip)}else{this._removeTooltip(this.widget,series)}return true;case"tooltipTemplate":if($.ig.tmpl){if(this._htmlCheckExpr.test(value)){templ=value}else{if($("#"+value).length>0){templ=$("#"+value).text()}else if($(value).length>0){templ=$(value).text()}else{templ=value}}this.widget._tooltipTemplates[series.name()]=templ}return true;case"displayType":switch(value){case"candlestick":series.displayType(0);break;case"ohlc":series.displayType(1);break;case"line":series.displayType(0);break;case"area":series.displayType(1);break;case"column":series.displayType(2);break}return true;case"tileImagery":if(value===null){series.backgroundContent(null)}this._setSeriesBackgroundContent(series,value);return true}return false},_initMap:function(){if(this.widget._duringInit){this._renderChartContainer(this.widget);this._initialDataBind();if(this.widget.dsCount===0&&this.widget._notInitialized){this._initializeWidget(this.widget)}}},_setSeriesBackgroundContent:function(series,bgOptions){var seriesOpt=this.widget._seriesOpt[series.name()];seriesOpt.tileImagery=bgOptions;switch(bgOptions.type){case"cloudMade":series.tileImagery(this._setBackgroundOptions(new $.ig.CloudMadeMapImagery,bgOptions));break;case"bing":this._initializeBingMapsImageryForSeries(series,bgOptions);break;case"openStreet":series.tileImagery(this._setBackgroundOptions(new $.ig.OpenStreetMapImagery,bgOptions));break;default:return}},_setBackgroundContent:function(bgOptions){if(!bgOptions){this._initMap()}else{this.widget.options.backgroundContent=bgOptions;switch(bgOptions.type){case"cloudMade":this.widget._chart.backgroundContent(this._setBackgroundOptions(new $.ig.CloudMadeMapImagery,bgOptions));this._initMap();break;case"bing":this._initializeBingMapsImagery(bgOptions);break;case"openStreet":this.widget._chart.backgroundContent(this._setBackgroundOptions(new $.ig.OpenStreetMapImagery,bgOptions));this._initMap();break;default:return}}},_initializeBingMapsImagery:function(bgOptions){var bingUrl=bgOptions.bingUrl||"http://dev.virtualearth.net/REST/v1/Imagery/Metadata/",imagerySet=bgOptions.imagerySet||"AerialWithLabels",bingKey=bgOptions.key;$.ajax({url:bingUrl+imagerySet,data:"key="+bingKey+"&include=ImageryProviders",success:$.proxy(this._setBingBackground,this),dataType:"jsonp",jsonp:"jsonp"})},_initializeBingMapsImageryForSeries:function(series,bgOptions){var bingUrl=bgOptions.bingUrl||"http://dev.virtualearth.net/REST/v1/Imagery/Metadata/",imagerySet=bgOptions.imagerySet||"AerialWithLabels",bingKey=bgOptions.key,self=this;$.ajax({url:bingUrl+imagerySet,data:"key="+bingKey+"&include=ImageryProviders",success:function(res){self._setBingBackgroundForSeries(series,res)},dataType:"jsonp",jsonp:"jsonp"})},_setBingBackgroundForSeries:function(series,res){var i,bg=new $.ig.BingMapsMapImagery,meta=res.resourceSets[0].resources[0],culture=this.widget.options.backgroundContent.cultureName||"en-US";bg.tilePath(meta.imageUrl);bg.cultureName(culture);for(i=0;i<meta.imageUrlSubdomains.length;i++){bg.subDomains().add(meta.imageUrlSubdomains[i])}series.tileImagery(bg)},_setBingBackground:function(res){var i,bg=new $.ig.BingMapsMapImagery,meta,culture=this.widget.options.backgroundContent.cultureName||"en-US";if(!res||!res.resourceSets||res.resourceSets.length<1||!res.resourceSets[0].resources||res.resourceSets[0].resources.length<1)return;meta=res.resourceSets[0].resources[0];bg.tilePath(meta.imageUrl);bg.cultureName(culture);for(i=0;i<meta.imageUrlSubdomains.length;i++){bg.subDomains().add(meta.imageUrlSubdomains[i])}this.widget._chart.backgroundContent(bg);this._initMap()},_setBackgroundOptions:function(background,options){var self=this;$.each(options,function(key,val){self._backgroundContextSetOption(background,key,val)});return background},_backgroundContextSetOption:function(background,key,value){switch(key){case"key":background.key(value);break;case"parameter":background.parameter(value);break;case"opacity":background.parameter(value);break;default:break}},_setDataTemplate:function(series,key,value){var tempTemplate=new $.ig.DataTemplate,requireThis=false;if(!value){if(series[key]){series[key](null)}return}if(value.requireThis){requireThis=true}if(value.render){if(requireThis){tempTemplate.render($.proxy(value.render,value))}else{tempTemplate.render(value.render)}}else{tempTemplate.render(value)}if(value.measure){if(requireThis){tempTemplate.measure($.proxy(value.measure,value))}else{tempTemplate.measure(value.measure)}}if(value.passStarting){if(requireThis){tempTemplate.passStarting($.proxy(value.passStarting,value))
}else{tempTemplate.passStarting(value.passStarting)}}if(value.passCompleted){if(requireThis){tempTemplate.passCompleted($.proxy(value.passCompleted,value))}else{tempTemplate.passCompleted(value.passCompleted)}}if(series[key]){series[key](tempTemplate)}},_seriesSetOption:function(series,key,value){var $tempBrush;switch(key){case"legendItemVisibility":switch(value){case"visible":series.legendItemVisibility(0);break;case"collapsed":series.legendItemVisibility(1);break}return true;case"legendItemBadgeTemplate":case"legendItemTemplate":case"discreteLegendItemTemplate":case"markerTemplate":this._setDataTemplate(series,key,value);return true;case"transitionDuration":series.transitionDuration(value);return true;case"resolution":series.resolution(value);return true;case"title":series.title(value);return true;case"brush":if(value===null){series.brush(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.brush($tempBrush)}return true;case"outline":if(value===null){series.outline(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.outline($tempBrush)}return true;case"thickness":series.thickness(value);return true;case"markerType":switch(value){case"unset":series.markerType(0);break;case"none":series.markerType(1);break;case"automatic":series.markerType(2);break;case"circle":series.markerType(3);break;case"triangle":series.markerType(4);break;case"pyramid":series.markerType(5);break;case"square":series.markerType(6);break;case"diamond":series.markerType(7);break;case"pentagon":series.markerType(8);break;case"hexagon":series.markerType(9);break;case"tetragram":series.markerType(10);break;case"pentagram":series.markerType(11);break;case"hexagram":series.markerType(12);break}return true;case"shapeMemberPath":series.shapeMemberPath(value);return true;case"shapeStyleSelector":series.shapeStyleSelector(value);return true;case"shapeStyle":series.shapeStyle(value);return true;case"markerBrush":if(value===null){series.markerBrush(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.markerBrush($tempBrush)}return true;case"markerOutline":if(value===null){series.markerOutline(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.markerOutline($tempBrush)}return true;case"markerCollisionAvoidance":switch(value){case"none":series.markerCollisionAvoidance(0);break;case"omit":series.markerCollisionAvoidance(1);break;case"fade":series.markerCollisionAvoidance(2);break;case"omitAndShift":series.markerCollisionAvoidance(3);break;case"fadeAndShift":series.markerCollisionAvoidance(4);break}return true;case"xAxis":series.xAxis(this._getAxisByName(value));return true;case"yAxis":series.yAxis(this._getAxisByName(value));return true;case"xMemberPath":series.xMemberPath(value);return true;case"yMemberPath":series.yMemberPath(value);return true;case"trendLineType":switch(value){case"none":series.trendLineType(0);break;case"linearFit":series.trendLineType(1);break;case"quadraticFit":series.trendLineType(2);break;case"cubicFit":series.trendLineType(3);break;case"quarticFit":series.trendLineType(4);break;case"quinticFit":series.trendLineType(5);break;case"logarithmicFit":series.trendLineType(6);break;case"exponentialFit":series.trendLineType(7);break;case"powerLawFit":series.trendLineType(8);break;case"simpleAverage":series.trendLineType(9);break;case"exponentialAverage":series.trendLineType(10);break;case"modifiedAverage":series.trendLineType(11);break;case"cumulativeAverage":series.trendLineType(12);break;case"weightedAverage":series.trendLineType(13);break}return true;case"trendLineBrush":if(value===null){series.trendLineBrush(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.trendLineBrush($tempBrush)}return true;case"trendLineThickness":series.trendLineThickness(value);return true;case"trendLinePeriod":series.trendLinePeriod(value);return true;case"trendLineZIndex":series.trendLineZIndex(value);return true;case"maximumMarkers":series.maximumMarkers(value);return true;case"radiusMemberPath":series.radiusMemberPath(value);return true;case"radiusScale":series.radiusScale(this._getSizeScale(value));return true;case"labelMemberPath":series.labelMemberPath(value);return true;case"fillMemberPath":series.fillMemberPath(value);return true;case"fillScale":series.fillScale(this._getBrushScale(value));return true;case"angleAxis":series.angleAxis(this._getAxisByName(value));return true;case"valueAxis":series.valueAxis(this._getAxisByName(value));return true;case"clipSeriesToBounds":series.clipSeriesToBounds(value);return true;case"valueMemberPath":series.valueMemberPath(value);return true;case"unknownValuePlotting":switch(value){case"linearInterpolate":series.unknownValuePlotting(0);break;case"dontPlot":series.unknownValuePlotting(1);break}return true;case"radiusX":series.radiusX(value);return true;case"radiusY":series.radiusY(value);return true;case"angleMemberPath":series.angleMemberPath(value);return true;case"radiusAxis":series.radiusAxis(this._getAxisByName(value));return true;case"useCartesianInterpolation":series.useCartesianInterpolation(value);return true;case"negativeBrush":if(value===null){series.negativeBrush(null)}else{$tempBrush=new $.ig.Brush;$tempBrush.fill(value);series.negativeBrush($tempBrush)}return true;case"splineType":switch(value){case"natural":series.splineType(0);break;case"clamped":series.splineType(1);break}return true;case"lowMemberPath":series.lowMemberPath(value);return true;case"highMemberPath":series.highMemberPath(value);return true;case"openMemberPath":series.openMemberPath(value);return true;case"closeMemberPath":series.closeMemberPath(value);return true;case"volumeMemberPath":series.volumeMemberPath(value);return true;case"ignoreFirst":series.ignoreFirst(value);return true;case"period":series.period(value);return true;case"shortPeriod":series.shortPeriod(value);return true;case"longPeriod":series.longPeriod(value);return true;case"trianglesSource":series.trianglesSource(value);return true;case"triangleVertexMemberPath1":series.triangleVertexMemberPath1(value);return true;case"triangleVertexMemberPath2":series.triangleVertexMemberPath2(value);return true;case"triangleVertexMemberPath3":series.triangleVertexMemberPath3(value);return true;case"colorScale":series.colorScale(this._getColorScale(value));return true;case"colorMemberPath":series.colorMemberPath(value);return true;case"visibleFromScale":series.visibleFromScale(value);return true;case"longitudeMemberPath":series.longitudeMemberPath(value);return true;case"latitudeMemberPath":series.latitudeMemberPath(value);return true;case"valueResolver":series.valueResolver(this._getValueResolver(value));return true;case"shapeFilterResolution":series.shapeFilterResolution(value);return true;case"useBruteForce":series.useBruteForce(value);return true;case"progressiveLoad":series.progressiveLoad(value);return true;case"mouseOverEnabled":series.mouseOverEnabled(value);return true;case"pointExtent":series.pointExtent(value);return true;case"useSquareCutoffStyle":series.useSquareCutoffStyle(value);return true;case"heatMinimum":series.heatMinimum(value);return true;case"heatMaximum":series.heatMaximum(value);return true;case"multiplier":series.multiplier(value);return true;case"smoothingPeriod":series.smoothingPeriod(value);return true;case"triggerPeriod":series.triggerPeriod(value);return true;case"signalPeriod":series.signalPeriod(value);return true;case"useHighMarkerFidelity":series.useHighMarkerFidelity(value);return true;case"series":this._setSubSeries(series,value);return true;case"opacity":series.opacity(value);if(series.renderSeries){series.renderSeries(false)}return true}return false},_getSubSeriesByName:function(parentSeries,name){var subSeries=null;if(parentSeries===null){for(var s in this.widget._seriesSub){parentSeries=this._getSeriesByName(s);if(parentSeries!==null){subSeries=this._getSubSeriesByName(parentSeries,name);if(subSeries!==null){return subSeries}}}}if(!parentSeries){return null}var parentName=parentSeries.name();if(this.widget._seriesSub[parentName][name]===undefined){return null}return this.widget._seriesSub[parentName][name]},_setSubSeries:function(parentSeries,subSeries){var self=this,series=null,widget=this.widget,seriesIsNew=false,subSeriesOpt,parentInd,i,parentName=parentSeries.name(),seriesOpt,merged,checkParent;parentInd=-1;for(i=0;i<widget.options.series.length;i++){checkParent=widget.options.series[i];if(checkParent&&checkParent.name===parentName){parentInd=i;break}}$.each(subSeries,function(i,val){if(!val.name){throw new Error($.ig.Chart.locale.seriesName)}if(self._getSeriesByName(val.name)){throw new Error($.ig.Chart.locale.nameInUse)}series=self._getSubSeriesByName(parentSeries,val.name);if(series&&val.remove){if(widget._seriesSub[parentName]){delete widget._seriesSub[parentName][val.name]}if(widget._seriesSubOpt[parentName]){subSeriesOpt=widget._seriesSubOpt[parentName][val.name];delete widget._seriesSubOpt[parentName][val.name]}if(parentInd!==-1){var ind=widget.options.series[parentInd].series.indexOf(subSeriesOpt);widget.options.series[parentInd].series.splice(ind,1)}parentSeries.series().remove(series);self._clearAxes(series);return}if(!series&&!val.remove){series=self._createSeriesFromType(val.type);self._bindSeriesEvents(series);series.name(val.name);seriesIsNew=true}if(series){seriesOpt=widget._seriesSubOpt[parentName][val.name];if(seriesIsNew){widget._seriesSub[parentName][val.name]=series;if(parentInd!==-1){self._setForName(widget.options.series,val)}widget._seriesSubOpt[parentName][val.name]=val}if(val.coercionMethods){series.coercionMethods(val.coercionMethods)}self._setSubSeriesOptions(val,parentSeries,series,widget);if(seriesIsNew){parentSeries.series().add(series)}}})},_getValueResolver:function(value){var valueResolver;if(value.type===undefined||value.type==="linear"){valueResolver=new $.ig.LinearContourValueResolver}if(value.valueCount){valueResolver.valueCount(value.valueCount)}return valueResolver},_getSizeScale:function(value){var scale=new $.ig.SizeScale;if(value.minimumValue){scale.minimumValue(value.minimumValue)}if(value.maximumValue){scale.maximumValue(value.maximumValue)}if(value.isLogarithmic){scale.isLogarithmic(value.isLogarithmic)}if(value.logarithmBase){scale.logarithmBase(value.logarithmBase)}return scale},_getColorScale:function(value){var type="customPalette",scale=null;if(value.type){type=value.type}switch(type){case"customPalette":scale=new $.ig.CustomPaletteColorScale;break}if(scale){if(value.minimumValue){scale.minimumValue(value.minimumValue)}if(value.maximumValue){scale.maximumValue(value.maximumValue)}if(value.interpolationMode){switch(value.interpolationMode){case"select":scale.interpolationMode(0);break;case"interpolateRGB":scale.interpolationMode(1);break;case"interpolateHSV":scale.interpolationMode(2);break}}if(value.palette){scale.providePalette(value.palette)}}return scale},_getBrushScale:function(value){var type="value",scale=null,isRGB,$tempBrush,i,brushes,$tempBrushCollection;if(value.type){type=value.type}switch(type){case"value":scale=new $.ig.ValueBrushScale;break;case"customPalette":scale=new $.ig.CustomPaletteBrushScale;break}if(scale){if(value.brushes){isRGB=true;brushes=value.brushes;if(typeof brushes[0]==="string"&&brushes[0]==="HSV"||brushes[0]==="RGB"){if(brushes[0]==="HSV"){isRGB=false}brushes=brushes.slice(1)}$tempBrushCollection=new $.ig.BrushCollection;for(i=0;i<brushes.length;i++){$tempBrush=new $.ig.Brush;$tempBrush.fill(brushes[i]);$tempBrushCollection.add($tempBrush)}scale.brushes($tempBrushCollection)}if(value.brushSelectionMode){switch(value.brushSelectionMode){case"select":scale.brushSelectionMode(0);break;case"interpolate":scale.brushSelectionMode(1);break}}if(value.minimumValue){scale.minimumValue(value.minimumValue)}if(value.maximumValue){scale.maximumValue(value.maximumValue)}if(value.isLogarithmic){scale.isLogarithmic(value.isLogarithmic)}if(value.logarithmBase){scale.logarithmBase(value.logarithmBase)}}return scale},_setAxisOption:function(axis,key,value){var $tempBrush;switch(key){case"strokeThickness":case"majorStrokeThickness":case"minorStrokeThickness":case"isInverted":case"crossingValue":case"label":case"gap":case"overlap":case"interval":case"startAngleOffset":case"minimumValue":case"maximumValue":case"referenceValue":case"isLogarithmic":case"logarithmBase":case"radiusExtentScale":case"innerRadiusExtentScale":case"dateTimeMemberPath":case"formatLabel":case"useClusteringMode":if(axis[key]){axis[key](value)}return true;case"stroke":$tempBrush=new $.ig.Brush;$tempBrush.fill(value);axis.stroke($tempBrush);return true;case"strip":$tempBrush=new $.ig.Brush;$tempBrush.fill(value);axis.strip($tempBrush);return true;case"majorStroke":$tempBrush=new $.ig.Brush;$tempBrush.fill(value);axis.majorStroke($tempBrush);return true;case"minorStroke":$tempBrush=new $.ig.Brush;$tempBrush.fill(value);axis.minorStroke($tempBrush);return true;case"scaleMode":switch(value){case"linear":axis.scaleMode(0);break;case"logarithmic":axis.scaleMode(1);break}return true}},_setCoreAxisOption:function(axis,key,value){var labelSettings=null,tempBrush,tempAxis,self=this;switch(key){case"crossingAxis":if(value){tempAxis=this._getAxisByName(value);if(tempAxis){axis.crossingAxis(tempAxis)}else{this.widget._pendingCrossingAxes.push(function(){var tempAxis=self._getAxisByName(value);if(tempAxis){axis.crossingAxis(tempAxis)}})}}else{axis.crossingAxis(null)}break;case"labelLocation":labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}switch(value){case"outsideTop":labelSettings.location(0);break;case"outsideBottom":labelSettings.location(1);break;case"outsideLeft":labelSettings.location(2);break;case"outsideRight":labelSettings.location(3);break;case"insideTop":labelSettings.location(4);break;case"insideBottom":labelSettings.location(5);break;case"insideLeft":labelSettings.location(6);break;case"insideRight":labelSettings.location(7);break;default:break}if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break;case"labelVisibility":labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}switch(value){case"visible":labelSettings.visibility(0);break;case"collapsed":labelSettings.visibility(1);break;default:break}if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break;case"labelExtent":if(value===null){value=NaN}labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}labelSettings.extent(value);if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break;case"labelAngle":if(value===null){value=0}labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}labelSettings.angle(value);if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break;case"labelTextStyle":labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}labelSettings.textStyle(value);if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break;case"labelTextColor":tempBrush=new $.ig.Brush;tempBrush.fill(value);if(value===null){tempBrush=null}labelSettings=axis.labelSettings();if(labelSettings===null){labelSettings=new $.ig.AxisLabelSettings}labelSettings.textColor(tempBrush);if(!axis.labelSettings()){axis.labelSettings(labelSettings)}break}},_setOption:function(key,value){if(key==="dataSource"||key==="dataSourceUrl"||value&&value[0]&&(value[0].dataSource!==undefined||value[0].dataSourceUrl!==undefined)){var dataOptions={},id;if(key==="dataSource"||key==="dataSourceUrl"){dataOptions.dataSource=value;id=this.widget._containerSourceID}else{dataOptions=value[0];id=value[0].name;if(this.widget._target&&this.widget._target.name()===id){this.widget._target=null}}this.widget._setCoreCallbackOptions={key:key,value:value};this._setupDataSource(dataOptions,this._chartDataCallBack);if(id===undefined||id===null){id=this.widget._containerSourceID}this.widget.dataSources[id].dataBind()}else if(value&&value[0]&&(value[0].shapeDataSource!==undefined||value[0].triangulatedDataSource!==undefined)){this.widget._initConverter(value[0],this._convDataCallback);this.widget._setCoreCallbackOptions={key:key,value:value}}else{this._setOptionAfterInit(key,value)}},_chartDataCallBack:function(success,e,dataSource){var key=this.widget._setCoreCallbackOptions.key,value=this.widget._setCoreCallbackOptions.value;if(!success){return false}this._setItemsSource(this.widget,this._getNotifyTarget(dataSource.settings.id),dataSource.settings.id);if(key==="series"||key==="axes"){this._setOptionAfterInit(key,value)}},_convDataCallback:function(){var context=this.settings.callee,id=this.settings.id,key=context.widget._setCoreCallbackOptions.key,value=context.widget._setCoreCallbackOptions.value;context._setItemsSource(context.widget,context._getNotifyTarget(id),id);if(key==="series"){context._setOptionAfterInit(key,value)}},_setOptionAfterInit:function(key,value){if(!this._setWidgetOption(this.widget._chart,key,value)){this._setCoreWidgetOption(this.widget._chart,key,value)}else{this.widget.options[key]=value}},_setItemsSource:function(widget,target,id){var ds=widget.dataSources[id];if(target===widget._chart){if(ds!==null){widget._chart.setWidgetLevelDataSource(ds)}else{widget._chart.removeWidgetLevelDataSource()}}else{if(ds!==null){widget._chart.setSpecificDataSource(id,ds)}else{widget._chart.removeSpecificDataSource(id,false)}}},_initialDataBind:function(){var ds=this._initDataSources(),self=this;$.each(ds,function(i,val){if(typeof self.widget.dataSources[i].dataBind==="function"){self.widget.dataSources[i].dataBind()}})},_initDataSources:function(){var self=this,widget=this.widget,options=this.widget.options,axes,series;widget.dataSources={};widget.dsCount=0;if(options.dataSource||options.dataSourceUrl){widget.dsCount++;self._setupDataSource(options,this._initCallback)}if(options.shapeDataSource||options.triangulationDataSource){widget.dsCount++;self.widget._initConverter(options,self._converterCallback)}if(options.axes){axes=options.axes;$.each(axes,function(i,val){if(val.dataSource||val.dataSourceUrl){widget.dsCount++;self._setupDataSource(val,self._initCallback)}})}if(options.series){series=options.series;$.each(series,function(i,val){if(val.dataSource||val.dataSourceUrl){widget.dsCount++;self._setupDataSource(val,self._initCallback)}if(val.shapeDataSource||val.triangulationDataSource){widget.dsCount++;self.widget._initConverter(val,self._converterCallback)}})}return widget.dataSources},_drawCanvas:function(canvasElemnts,iWidth,iHeight){var oSaveCanvas=document.createElement("canvas"),oSaveCtx;oSaveCanvas.width=iWidth;oSaveCanvas.height=iHeight;oSaveCanvas.style.width=iWidth+"px";oSaveCanvas.style.height=iHeight+"px";oSaveCtx=oSaveCanvas.getContext("2d");$.each(canvasElemnts,function(i,canvas){oSaveCtx.drawImage(canvas,0,0,iWidth,iHeight)});return oSaveCanvas},_getLegendElements:function(){var options=this.widget.options,elements=[];if(this.widget.options.legend){elements.push($("#"+this.widget.options.legend.element))}if(options.series){$.each(options.series,function(i,ser){if(ser&&ser.legend){elements.push($("#"+ser.legend.element))}})}return elements},_print:function(){var doc=document,widget=this.widget,legends=this._getLegendElements(),chartWrapper=$("#"+this.widget.id()),origDisplay=[],origWrappers=[],body=doc.body,childNodes=body.childNodes;if(widget._isPrinting){return}widget._isPrinting=true;$.each(childNodes,function(i,node){if(node.nodeType===1){origDisplay[i]=node.style.display;node.style.display="none"}});origWrappers[0]=chartWrapper.parent();$(body).append(chartWrapper);$.each(legends,function(i,legend){origWrappers[i+1]=legend.parent();$(body).append(legend)});window.print();setTimeout(function(){widget._isPrinting=false;origWrappers[0].prepend(chartWrapper);$.each(legends,function(i,legend){origWrappers[i+1].prepend(legend)});$.each(childNodes,function(i,node){if(node.nodeType===1){node.style.display=origDisplay[i]}})},1e3)},_getImage:function(width,height,chart){var expCanvas,imgElement=document.createElement("img");width=width||$("#"+chart.id()+"_chart_container").width();height=height||$("#"+chart.id()+"_chart_container").height();expCanvas=this._drawCanvas($("#"+chart.id()+" canvas"),width,height);imgElement.src=expCanvas.toDataURL("image/png");return imgElement},_initSize:function(widget,o){var v,key,size,i=-1,chart=widget._chart,elem=widget.element[0];this._oldProp={width:elem.style.width,height:elem.style.height};while(i++<1){key=i===0?"width":"height";if(o[key]){size=key}else{v=elem.style[key];if(!v||v&&v.indexOf("%")>0){this._setSize(chart,size=key,v||500)}}}if(!size){this._setSize(chart,"width")}},_setSize:function(chart,key,val){$.ig.util.setSize(this.widget.element,key,val,chart,"notifyContainerResized")},_renderChartContainer:function(chart){var opt=chart.options,chartElement;if(!chart._isRendered){chartElement=$("<div id='"+chart.id()+"_chart_container' style='width:100%;height:100%'></div>").appendTo(chart.element);chartElement.addClass(chart.css.chart||chart.css.map);this._chartElement=chartElement;chart._chart.provideContainer(chartElement);this._initSize(chart,opt)}},_setLegend:function(item,value){var legend;if(value!==null){value.owner=this.widget;if(value.type===undefined){value.type=this.widget.widgetName==="igPieChart"?"item":"legend"}if(item.legend()===null){if($("#"+value.element).data("igChartLegend")||value.data&&value.data("igChartLegend")){legend=!value.element?value.data("igChartLegend"):$("#"+value.element).data("igChartLegend");legend.options.owner=this.widget.options;legend._owner=this.widget}else{legend=$("#"+value.element).igChartLegend(value).data("igChartLegend")}item.legend(legend.legend)}else{$("#"+item.legend().name()).igChartLegend(value)}}else{if(item.legend()!==null&&$("#"+item.legend().name()).length>0){$("#"+item.legend().name()).igChartLegend("destroy")}}},_mergeDataSourceSettings:function(s1,s2){if(!s1){return s2}if(!s2){return s1}var source1=s1.dataSource,source2=s2.dataSource,newSettings;if(source1&&($.type(source1)==="array"||$.type(source1)==="object")){s1.dataSource=null}if(source2&&($.type(source2)==="array"||$.type(source2)==="object")){s2.dataSource=null}newSettings=$.extend(true,{},s1,s2);if(source2&&($.type(source2)==="array"||$.type(source2)==="object")){s2.dataSource=source2;newSettings.dataSource=source2}else if(source1&&($.type(source1)==="array"||$.type(source1)==="object")){s1.dataSource=source1}if(source2===null){newSettings.dataSource=null}return newSettings},_mergeIntoWithDataSource:function(o1,o2){var ds1,ds2,setToNull,s1=null,s2=null;if(o1.dataSource){ds1=o1.dataSource}if(o2.dataSource){ds2=o2.dataSource}setToNull=false;if(o2.dataSource===null){setToNull=true}o1.dataSource=null;o2.dataSource=null;$.extend(true,o1,o2);if(ds1){o1.dataSource=ds1}if(ds2){o2.dataSource=ds2;o1.dataSource=ds2}if(o1.dataSource){if(o1.dataSource&&o1.dataSource.settings){s1=o1.dataSource.settings}if(o2.dataSource&&o2.dataSource.settings){s2=o2.dataSource.settings}o1.dataSource.settings=this._mergeDataSourceSettings(s1,s2)}},_mergeIntoNewWithDataSource:function(o1,o2){var ds1,ds2,setToNull,newObj,s1=null,s2=null;if(o1.dataSource){ds1=o1.dataSource}if(o2.dataSource){ds2=o2.dataSource}setToNull=false;if(o2.dataSource===null){setToNull=true}o1.dataSource=null;o2.dataSource=null;newObj=$.extend(true,{},o1,o2);if(ds1){o1.dataSource=ds1;newObj.dataSource=ds1}if(ds2){o2.dataSource=ds2;newObj.dataSource=ds2}if(newObj.dataSource){if(o1.dataSource&&o1.dataSource.settings){s1=o1.dataSource.settings}if(o2.dataSource&&o2.dataSource.settings){s2=o2.dataSource.settings}newObj.dataSource.settings=this._mergeDataSourceSettings(s1,s2)}return newObj},_addTooltip:function(widget,series,clss){if(typeof widget._chart.toolTip==="function"){if(widget._tooltip[widget.id()]===undefined){widget._tooltip[widget.id()]=$('<div id="'+widget.id()+'_tooltip" class="'+clss+'"></div>')}this._bindTooltipEvents(widget,widget._tooltip[widget.id()]);widget._chart.toolTip(widget._tooltip[widget.id()])}else{if(widget._tooltip[series.name()]===undefined){widget._tooltip[series.name()]=$('<div id="'+series.name()+'_tooltip" class="'+clss+'"></div>')}this._bindTooltipEvents(widget,widget._tooltip[series.name()]);series.toolTip(widget._tooltip[series.name()])}},_removeTooltip:function(widget,series){if(typeof widget._chart.toolTip==="function"){if(widget._tooltip[widget.id()]!==undefined){this._removeTooltipEvents(widget,widget._tooltip[widget.id()]);delete widget._tooltip[widget.id()];widget._chart.toolTip(null)}}else{if(widget._tooltip[series.name()]!==undefined){this._removeTooltipEvents(widget,widget._tooltip[series.name()]);delete widget._tooltip[series.name()];series.toolTip(null)}}},_bindTooltipEvents:function(chart,tooltip){tooltip.updateToolTip=$.ig.Delegate.prototype.combine(tooltip.updateToolTip,jQuery.proxy(this._fireToolTip_updateToolTip,this));tooltip.hideToolTip=$.ig.Delegate.prototype.combine(tooltip.hideToolTip,jQuery.proxy(this._fireToolTip_hideToolTip,this))},_removeTooltipEvents:function(chart,tooltip){delete tooltip.updateToolTip;delete tooltip.hideToolTip},_bindMapEvents:function(chart){chart.seriesCursorMouseMove=$.ig.Delegate.prototype.combine(chart.seriesCursorMouseMove,jQuery.proxy(this._fireChart_seriesCursorMouseMove,this));chart.seriesMouseLeftButtonDown=$.ig.Delegate.prototype.combine(chart.seriesMouseLeftButtonDown,jQuery.proxy(this._fireChart_seriesMouseLeftButtonDown,this));chart.seriesMouseLeftButtonUp=$.ig.Delegate.prototype.combine(chart.seriesMouseLeftButtonUp,jQuery.proxy(this._fireChart_seriesMouseLeftButtonUp,this));chart.seriesMouseMove=$.ig.Delegate.prototype.combine(chart.seriesMouseMove,jQuery.proxy(this._fireChart_seriesMouseMove,this));chart.seriesMouseEnter=$.ig.Delegate.prototype.combine(chart.seriesMouseEnter,jQuery.proxy(this._fireChart_seriesMouseEnter,this));chart.seriesMouseLeave=$.ig.Delegate.prototype.combine(chart.seriesMouseLeave,jQuery.proxy(this._fireChart_seriesMouseLeave,this));chart.windowRectChanged=$.ig.Delegate.prototype.combine(chart.windowRectChanged,jQuery.proxy(this._fireChart_windowRectChanged,this));chart.actualWindowRectChanged=$.ig.Delegate.prototype.combine(chart.actualWindowRectChanged,jQuery.proxy(this._fireChart_actualWindowRectChanged,this));chart.gridAreaRectChanged=$.ig.Delegate.prototype.combine(chart.gridAreaRectChanged,jQuery.proxy(this._fireChart_gridAreaRectChanged,this));chart.refreshCompleted=$.ig.Delegate.prototype.combine(chart.refreshCompleted,jQuery.proxy(this._fireChart_refreshCompleted,this));chart.imageTilesReady=$.ig.Delegate.prototype.combine(chart.imageTilesReady,jQuery.proxy(this._fireChart_imageTilesReady,this));chart.notifyCrosshairUpdate=$.ig.Delegate.prototype.combine(chart.notifyCrosshairUpdate,jQuery.proxy(this._notifyCrosshairUpdate,this))},_bindSeriesEvents:function(series){if(series.basedOnColumns!==undefined){series.basedOnColumns($.ig.Delegate.prototype.combine(series.basedOnColumns(),jQuery.proxy(this._fireChart_basedOnColumns,this)))}if(series.indicator!==undefined){series.indicator($.ig.Delegate.prototype.combine(series.indicator(),jQuery.proxy(this._fireChart_indicator,this)))}if(series.typical!==undefined){series.typical=$.ig.Delegate.prototype.combine(series.typical,jQuery.proxy(this._fireChart_typical,this))}if(series.typicalBasedOn!==undefined){series.typicalBasedOn=$.ig.Delegate.prototype.combine(series.typicalBasedOn,jQuery.proxy(this._fireChart_typicalBasedOn,this))}if(series.triangulationStatusChanged!==undefined){series.triangulationStatusChanged=$.ig.Delegate.prototype.combine(series.triangulationStatusChanged,jQuery.proxy(this._fireMap_triangulationStatusChanged,this))}if(series.progressiveLoadStatusChanged!==undefined){series.progressiveLoadStatusChanged=$.ig.Delegate.prototype.combine(series.progressiveLoadStatusChanged,jQuery.proxy(this._fireChart_progressiveLoadStatusChanged,this))}if(series.scatterMouseOver!==undefined){series.scatterMouseOver=$.ig.Delegate.prototype.combine(series.scatterMouseOver,jQuery.proxy(this._fireChart_scatterMouseOver,this))}},_getWidgetName:function(){switch(this.widget.widgetName){case"igPieChart":case"igDataChart":return"chart";case"igMap":return"map"}},_fireChart_progressiveLoadStatusChanged:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()];e.currentStatus=evtArgs.currentStatus();e[widget]=this.widget.options;e.series=seriesOpt;this.widget._trigger("progressiveLoadStatusChanged",null,e)},_fireChart_scatterMouseOver:function(sender,evtArgs){var e={},widget=this._getWidgetName();e[widget]=this.widget.options;e.args=evtArgs;e.series=sender;this.widget._trigger("scatterMouseOver",null,e)},_fireChart_typicalBasedOn:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()],i,intSeries=this.widget._series[sender.name()],self=this;e[widget]=this.widget.options;e.series=seriesOpt;e.position=evtArgs.position();e.count=evtArgs.count();e.getDataSource=function(){return self._flattenDataSource(intSeries,evtArgs.dataSource())};e.basedOn=[];e.minimumValue=evtArgs.dataSource().minimumValue();e.maximumValue=evtArgs.dataSource().maximumValue();this.widget._trigger("typicalBasedOn",null,e);if(e.basedOn!==null&&e.basedOn.length&&e.basedOn.length>0){for(i=0;i<e.basedOn.length;i++){evtArgs.basedOn().add(e.basedOn[i])}}if(!isNaN(e.minimum)){evtArgs.dataSource().minimumValue(e.minimumValue)}if(!isNaN(e.maximum)){evtArgs.dataSource().maximumValue(e.maximumValue)}},_fireChart_basedOnColumns:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()],i,intSeries=this.widget._series[sender.name()],self=this;e[widget]=this.widget.options;e.series=seriesOpt;e.position=evtArgs.position();e.count=evtArgs.count();e.getDataSource=function(){return self._flattenDataSource(intSeries,evtArgs.dataSource())};e.basedOn=[];e.minimumValue=evtArgs.dataSource().minimumValue();e.maximumValue=evtArgs.dataSource().maximumValue();this.widget._trigger("basedOn",null,e);if(e.basedOn!==null&&e.basedOn.length&&e.basedOn.length>0){for(i=0;i<e.basedOn.length;i++){evtArgs.basedOn().add(e.basedOn[i])}}if(!isNaN(e.minimum)){evtArgs.dataSource().minimumValue(e.minimumValue)}if(!isNaN(e.maximum)){evtArgs.dataSource().maximumValue(e.maximumValue)}},_fireChart_indicator:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()],intSeries=this.widget._series[sender.name()],self=this;e[widget]=this.widget.options;e.series=seriesOpt;e.position=evtArgs.position();e.count=evtArgs.count();e.getDataSource=function(){return self._flattenDataSource(intSeries,evtArgs.dataSource())};e.basedOn=evtArgs.basedOn();e.minimumValue=evtArgs.dataSource().minimumValue();e.maximumValue=evtArgs.dataSource().maximumValue();this.widget._trigger("indicator",null,e);if(!isNaN(e.minimum)){evtArgs.dataSource().minimumValue(e.minimumValue)}if(!isNaN(e.maximum)){evtArgs.dataSource().maximumValue(e.maximumValue)}},_fireChart_typical:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()],intSeries=this.widget._series[sender.name()],self=this,typicalRet,tBasedOn;e[widget]=this.widget.options;e.series=seriesOpt;e.position=evtArgs.position();e.count=evtArgs.count();e.getDataSource=function(){var ds=self._flattenDataSource(intSeries,evtArgs.dataSource());return ds};e.basedOn=evtArgs.basedOn();e.minimumValue=evtArgs.dataSource().minimumValue();e.maximumValue=evtArgs.dataSource().maximumValue();e.typicalColumn=[];tBasedOn=evtArgs.dataSource().typicalColumn().basedOn();this.widget._trigger("typical",null,e);if(e.typicalColumn!==null&&e.typicalColumn.length>0){typicalRet=new $.ig.List$1(Number,1,e.typicalColumn);evtArgs.dataSource().typicalColumn(new $.ig.CalculatedColumn(1,typicalRet,tBasedOn))}else{evtArgs.dataSource().typicalColumn(null)}if(!isNaN(e.minimum)){evtArgs.dataSource().minimumValue(e.minimumValue)
}if(!isNaN(e.maximum)){evtArgs.dataSource().maximumValue(e.maximumValue)}},_flattenDataSource:function(series,ds){var ret={},openColumn=series.getOpenColumnAsArray(),highColumn=series.getHighColumnAsArray(),lowColumn=series.getLowColumnAsArray(),closeColumn=series.getCloseColumnAsArray(),volumeColumn=series.getVolumeColumnAsArray();ret.indicatorColumn=ds.indicatorColumn().asArrayList();ret.openColumn=openColumn;ret.highColumn=highColumn;ret.lowColumn=lowColumn;ret.closeColumn=closeColumn;ret.volumeColumn=volumeColumn;return ret},_fireMap_triangulationStatusChanged:function(sender,evtArgs){var e={},widget=this._getWidgetName(),seriesOpt=this.widget._seriesOpt[sender.name()];e.currentStatus=evtArgs.currentStatus();e[widget]=this.widget.options;e.series=seriesOpt;this.widget._trigger("triangulationStatusChanged",null,e)},_bindPieChartEvents:function(chart){chart.sliceClick=$.ig.Delegate.prototype.combine(chart.sliceClick,jQuery.proxy(this._firePieChart_sliceClick,this))},_firePieChart_sliceClick:function(sender,evtArgs){var e={},isExploded,isSelected;e.slice={};e.slice.item=evtArgs.slice().dataContext();isExploded=evtArgs.slice().isExploded();isSelected=evtArgs.slice().isSelected();e.slice.isExploded=isExploded;e.slice.isSelected=isSelected;e.chart=this.widget.options;this.widget._trigger("sliceClick",null,e);if(e.slice.isExploded!==isExploded){evtArgs.slice().isExploded(e.slice.isExploded)}if(e.slice.isSelected!==isSelected){evtArgs.slice().isSelected(e.slice.isSelected)}},_bindDataChartEvents:function(chart){chart.seriesCursorMouseMove=$.ig.Delegate.prototype.combine(chart.seriesCursorMouseMove,jQuery.proxy(this._fireChart_seriesCursorMouseMove,this));chart.seriesMouseLeftButtonDown=$.ig.Delegate.prototype.combine(chart.seriesMouseLeftButtonDown,jQuery.proxy(this._fireChart_seriesMouseLeftButtonDown,this));chart.seriesMouseLeftButtonUp=$.ig.Delegate.prototype.combine(chart.seriesMouseLeftButtonUp,jQuery.proxy(this._fireChart_seriesMouseLeftButtonUp,this));chart.seriesMouseMove=$.ig.Delegate.prototype.combine(chart.seriesMouseMove,jQuery.proxy(this._fireChart_seriesMouseMove,this));chart.seriesMouseEnter=$.ig.Delegate.prototype.combine(chart.seriesMouseEnter,jQuery.proxy(this._fireChart_seriesMouseEnter,this));chart.seriesMouseLeave=$.ig.Delegate.prototype.combine(chart.seriesMouseLeave,jQuery.proxy(this._fireChart_seriesMouseLeave,this));chart.windowRectChanged=$.ig.Delegate.prototype.combine(chart.windowRectChanged,jQuery.proxy(this._fireChart_windowRectChanged,this));chart.actualWindowRectChanged=$.ig.Delegate.prototype.combine(chart.actualWindowRectChanged,jQuery.proxy(this._fireChart_actualWindowRectChanged,this));chart.gridAreaRectChanged=$.ig.Delegate.prototype.combine(chart.gridAreaRectChanged,jQuery.proxy(this._fireChart_gridAreaRectChanged,this));chart.refreshCompleted=$.ig.Delegate.prototype.combine(chart.refreshCompleted,jQuery.proxy(this._fireChart_refreshCompleted,this));chart.axisRangeChanged=$.ig.Delegate.prototype.combine(chart.axisRangeChanged,jQuery.proxy(this._fireChart_axisRangeChanged,this));chart.notifyCrosshairUpdate=$.ig.Delegate.prototype.combine(chart.notifyCrosshairUpdate,jQuery.proxy(this._notifyCrosshairUpdate,this))},_getSeriesOpt:function(evtArgs){var widget=this.widget,opt,parentSeries,logicalSeries;if(!widget._seriesOpt){return widget.options}if(widget._seriesOpt[evtArgs.series().name()]){return widget._seriesOpt[evtArgs.series().name()]}if(!evtArgs.series().parentSeries){return widget.options}parentSeries=evtArgs.series().parentSeries();logicalSeries=evtArgs.series().logicalSeriesLink();if(widget._seriesSubOpt[parentSeries.name()][logicalSeries.name()]){return widget._seriesSubOpt[parentSeries.name()][logicalSeries.name()]}return widget.options},_getChartEvt:function(evtArgs){var e={},seriesOpt=this._getSeriesOpt(evtArgs),pos,widget=this._getWidgetName(),intSeries=null;e[widget]=this.widget.options;e.series=seriesOpt;e.item=evtArgs.item();if(evtArgs.series&&evtArgs.series()!==null){intSeries=evtArgs.series()}if(intSeries!==null&&intSeries.hostedSeries&&intSeries.hostedSeries()!==null){intSeries=intSeries.hostedSeries()}if(evtArgs.actualItemBrush&&evtArgs.actualItemBrush()!==null){e.actualItemBrush=evtArgs.actualItemBrush().fill()}else if(intSeries!==null&&intSeries.actualMarkerBrush&&intSeries.actualMarkerBrush()!==null){e.actualItemBrush=intSeries.actualMarkerBrush().fill()}if(intSeries!==null&&intSeries.actualBrush&&intSeries.actualBrush()!==null){e.actualSeriesBrush=intSeries.actualBrush().fill()}if(evtArgs.originalEvent&&evtArgs.originalEvent()!==null&&evtArgs.originalEvent().position&&evtArgs.originalEvent().position()!==null){pos=evtArgs.originalEvent().position();e.positionX=pos.__x;e.positionY=pos.__y}return e},_notifyCrosshairUpdate:function(){if(this.widget._chart&&this.widget._chart.crosshairPoint){this.widget.options.crosshairPoint={x:this.widget._chart.crosshairPoint().__x,y:this.widget._chart.crosshairPoint().__y}}},_fireChart_seriesCursorMouseMove:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesCursorMouseMove",null,e)},_fireChart_seriesMouseLeftButtonDown:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesMouseLeftButtonDown",null,e)},_fireChart_seriesMouseLeftButtonUp:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesMouseLeftButtonUp",null,e)},_fireChart_seriesMouseMove:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesMouseMove",null,e)},_fireChart_seriesMouseEnter:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesMouseEnter",null,e)},_fireChart_seriesMouseLeave:function(sender,evtArgs){var e=this._getChartEvt(evtArgs);this.widget._trigger("seriesMouseLeave",null,e)},_fireChart_windowRectChanged:function(sender,evtArgs){var e={},oldRect=evtArgs.oldRect(),newRect=evtArgs.newRect(),widget=this._getWidgetName();if(oldRect){e.oldTop=oldRect.top();e.oldLeft=oldRect.left();e.oldWidth=oldRect.width();e.oldHeight=oldRect.height()}e.newTop=newRect.top();e.newLeft=newRect.left();e.newWidth=newRect.width();e.newHeight=newRect.height();e[widget]=this.widget.options;this.widget.options.windowRect={top:e.newTop,left:e.newLeft,width:e.newWidth,height:e.newHeight};this.widget._trigger("windowRectChanged",null,e)},_fireChart_actualWindowRectChanged:function(sender,evtArgs){var e={},oldRect=evtArgs.oldRect(),newRect=evtArgs.newRect(),widget=this._getWidgetName();if(oldRect){e.oldTop=oldRect.top();e.oldLeft=oldRect.left();e.oldWidth=oldRect.width();e.oldHeight=oldRect.height()}e.newTop=newRect.top();e.newLeft=newRect.left();e.newWidth=newRect.width();e.newHeight=newRect.height();e[widget]=this.widget.options;this.widget.options.actualWindowRect={top:e.newTop,left:e.newLeft,width:e.newWidth,height:e.newHeight};this.widget._trigger("actualWindowRectChanged",null,e)},_fireChart_gridAreaRectChanged:function(sender,evtArgs){var e={},oldRect=evtArgs.oldRect(),newRect=evtArgs.newRect(),widget=this._getWidgetName();if(oldRect){e.oldTop=oldRect.top();e.oldLeft=oldRect.left();e.oldWidth=oldRect.width();e.oldHeight=oldRect.height()}e.newTop=newRect.top();e.newLeft=newRect.left();e.newWidth=newRect.width();e.newHeight=newRect.height();e[widget]=this.widget.options;this.widget.options.gridAreaRect={top:e.newTop,left:e.newLeft,width:e.newWidth,height:e.newHeight};this.widget._trigger("gridAreaRectChanged",null,e)},_fireChart_refreshCompleted:function(sender,evtArgs){var e={},widget=this._getWidgetName();e[widget]=this.widget.options;this.widget._trigger("refreshCompleted",null,e)},_fireChart_imageTilesReady:function(sender,evtArgs){var e={},widget=this._getWidgetName();e[widget]=this.widget.options;this.widget._trigger("imageTilesReady",null,e)},_fireChart_axisRangeChanged:function(sender,evtArgs){var e={};e.chart=this.widget.options;e.axis=this.widget._axisOpt[evtArgs.axis().name()];e.oldMinimumValue=evtArgs.oldMinimumValue();e.oldMaximumValue=evtArgs.oldMaximumValue();e.newMinimumValue=evtArgs.minimumValue();e.newMaximumValue=evtArgs.maximumValue();this.widget._trigger("axisRangeChanged",null,e)},_fireToolTip_updateToolTip:function(args){var e={},noCancel,template;e=this._getChartEvt(args);e.tempId=this.widget._seriesOpt?e.series.name:this.widget.id();e.element=null;if(e.series!==null){e.element=this.widget._tooltip[e.tempId]}noCancel=this.widget._trigger(this.widget.events.tooltipShowing,null,e);if(e===null){noCancel=false}if(noCancel){template=this.widget._tooltipTemplate;if(e.series!==null&&this.widget._tooltipTemplates[e.tempId]!==undefined){template=this.widget._tooltipTemplates[e.tempId]}if(template){this.widget._tooltip[e.tempId].children().remove();if(e.item===null){noCancel=false}if(noCancel){this.widget._tooltip[e.tempId].html($.ig.tmpl(template,e))}}if(args.hideOthers){$.each(this.widget._tooltip,function(i,tip){tip.hide()})}if(noCancel){this.widget._tooltip[e.tempId].show();this.widget._trigger(this.widget.events.tooltipShown,null,e)}}},_fireToolTip_hideToolTip:function(args){var e={},noCancel;e=this.widget._seriesOpt?this._getChartEvt(args):args;e.tempId=this.widget._seriesOpt?e.series.name:this.widget.id();e.element=null;if(e.series!==null){e.element=this.widget._tooltip[e.tempId]}noCancel=this.widget._trigger(this.widget.events.tooltipHiding,null,e);if(noCancel){$.each(this.widget._tooltip,function(i,tip){tip.hide()});this.widget._trigger(this.widget.events.tooltipHidden,null,e)}},_destroy:function(widget){var elem=this._chartElement,old=this._oldProp;if(elem){delete this._chartElement;elem.remove();this._setSize(widget._chart);elem=widget.element;elem.css("width",old.width);elem.css("height",old.height)}widget._axes=null;widget._series=null;widget._axisOpt=null;widget._seriesOpt=null;widget.dataSources=null;$.each(this.widget._tooltip,function(i,tip){tip.hide();tip.remove()});widget._tooltip=null;widget._tooltipTemplates=null}});$.ig.SimpleTextMarkerTemplate=$.ig.TextMarkerTemplate||Class.extend({requireThis:true,settings:{padding:5,getText:null,backgroundColor:"rgba(255,255,255,.6)",borderColor:"rgba(20, 20, 20, .6)",borderThickness:1,textColor:"black",font:null},init:function(options){if(options!==undefined){this.settings=$.extend(true,{},$.ig.SimpleTextMarkerTemplate.prototype.settings,options)}return this},getText:function(item,textDelegate){if(textDelegate===null){return""}return textDelegate(item)},measure:function(measureInfo){var s=this.settings,data,text,cont=measureInfo.context,height,width;if(s.font!==null){cont.font=s.font}if(s.textColor!==null){cont.fillStyle=s.textColor}data=measureInfo.data;text="null";if(data.item()!==null){text=this.getText(data.item(),s.getText)}height=cont.measureText("M").width;width=cont.measureText(text).width;measureInfo.width=width+s.padding*2;measureInfo.height=height+s.padding*2},render:function(renderInfo){var s=this.settings,ctx=renderInfo.context,data,text,halfWidth,halfHeight,x,y;if(renderInfo.isHitTestRender){ctx.globalAlpha=1;ctx.fillStyle=renderInfo.data.actualItemBrush().fill()}else{ctx.fillStyle=s.backgroundColor;ctx.strokeStyle=s.borderColor;ctx.lineWidth=s.borderThickness}data=renderInfo.data;text=this.getText(data.item(),s.getText);halfWidth=renderInfo.availableWidth/2;halfHeight=renderInfo.availableHeight/2;x=renderInfo.xPosition-halfWidth;y=renderInfo.yPosition-halfHeight;if(renderInfo.isHitTestRender){ctx.fillRect(x,y,renderInfo.availableWidth,renderInfo.availableHeight)}else{ctx.fillRect(x,y,renderInfo.availableWidth,renderInfo.availableHeight);ctx.strokeRect(x,y,renderInfo.availableWidth,renderInfo.availableHeight);ctx.fillStyle=s.textColor;ctx.textBaseline="top";ctx.fillText(text,x+s.padding,y+s.padding)}}})})(jQuery);/*!@license
* Infragistics.Web.ClientUI FunnelChart 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
if(typeof jQuery==="undefined"){throw new Error("jQuery is undefined")}(function($){$.widget("ui.igBaseChart",{css:{tooltip:"ui-widget-content ui-corner-all",unsupportedBrowserClass:"ui-html5-non-html5-supported-message ui-helper-clearfix ui-html5-non-html5"},events:{dataBinding:null,dataBound:null,updateTooltip:null,hideTooltip:null},options:{width:null,height:null,tooltipTemplate:null,maxRecCount:null,dataSource:null,dataSourceType:null,dataSourceUrl:null,responseTotalRecCountKey:null,responseDataKey:null},_create:function(){var key,v,size,chart,i=-1,self=this,elem=self.element,style=elem[0].style,o=self.options;self._old_state={style:{position:style.position,width:style.width,height:style.height},elems:elem.find("*")};if(!$.ig.util._isCanvasSupported()){$.ig.util._renderUnsupportedBrowser(this);return}chart=self._createChart();self.dataBind();while(i++<1){key=i===0?"width":"height";if(o[key]){size=key}else{v=elem[0].style[key];if(v&&v.indexOf("%")>0){self._setSize(chart,size=key,v)}}}if(!size){self._setSize(chart,"width")}this._beforeInitialOptions(chart,elem);this._setInitialOptions(chart);if(self.css.chart){elem.addClass(self.css.chart)}self._chart=chart;self._dataChange();this._provideContainer(chart,elem)},_beforeInitialOptions:function(chart,elem){},_provideContainer:function(chart,elem){chart.provideContainer(elem[0])},_setInitialOptions:function(chart){var o=this.options,self=this;for(key in o){if(o.hasOwnProperty(key)){v=o[key];if(v!==null){self._set_option(chart,key,v)}}}},_fireTooltip:function(text,item,x,y){var arg,t=this._t_t;if(!text){t=this._t_t_e||t;if(t&&t.css("display")!=="none"&&this._trigger("hideTooltip",null,arg={owner:this,element:t,item:this._t_t_i})){t=arg.element||t;t.css("display","none")}return}if(!t){t=this._t_t=$("<div style='position:absolute;display:none;white-space:nowrap;'></div>").addClass(this.css.tooltip).appendTo(this.element)}text=$.ig.tmpl?$.ig.tmpl(text,item):text;x=this._trigger("updateTooltip",null,arg={owner:this,element:t,text:text,item:item,x:x,y:y});this._t_t_e=t=arg.element||t;this._t_t_i=arg.item;if(!x){t.css("display","none")}else{t.css({display:"block",left:arg.x+"px",top:arg.y+"px"});if(arg.text){t.html(arg.text)}}},findIndexOfItem:function(item){var ds=item?this.getData():null,i=ds?ds.length:0;while(i-->0){if(item===ds[i]){break}}return i},getDataItem:function(index){var ds=this.getData();return ds&&ds.length>index&&index>=0?ds[index]:null},getData:function(){return this._chart?this._chart.itemsSource():null},addItem:function(item){if(this._dataSource){this._dataEvt(1,true);this._dataSource.addRow(null,item,true)}return this},insertItem:function(item,index){if(this._dataSource){this._dataEvt(2,true);this._dataSource.insertRow(null,item,index,true)}return this},removeItem:function(index){if(this._dataSource){this._dataEvt(-1,true);this._dataSource.deleteRow(index,true)}return this},setItem:function(index,item){if(this._dataSource){this._dataEvt(0,true);this._dataSource.updateRow(index,item,true)}return this},notifySetItem:function(dataSource,index,newItem,oldItem){if(this._chart){this._chart.notifySetItem(dataSource,index,oldItem,newItem);this._dataEvt(0)}return this},notifyClearItems:function(dataSource){if(this._chart){this._chart.notifyClearItems(dataSource);this._dataEvt(-1)}return this},notifyInsertItem:function(dataSource,index,newItem){if(this._chart){this._chart.notifyInsertItem(dataSource,index,newItem);this._dataEvt(2)}return this},notifyRemoveItem:function(dataSource,index,oldItem){if(this._chart){this._chart.notifyRemoveItem(dataSource,index,oldItem);this._dataEvt(-1)}return this},_dataEvt:function(act,before){},_itemAdded:function(item,dataSource,dataSourceOwnerName){var owner=this._getDataSourceOwner(dataSourceOwnerName);if(owner){owner.notifyInsertItem(dataSource,dataSource.dataView().length-1,item.row);this._dataEvt(1)}},_itemInserted:function(item,dataSource,dataSourceOwnerName){var owner=this._getDataSourceOwner(dataSourceOwnerName);if(owner){owner.notifyInsertItem(dataSource,item.rowIndex,item.row);this._dataEvt(2)}},_itemUpdated:function(item,dataSource,dataSourceOwnerName){var owner=this._getDataSourceOwner(dataSourceOwnerName);if(owner){owner.notifySetItem(dataSource,item.rowIndex,item.oldRow,item.newRow);this._dataEvt(0)}},_itemRemoved:function(item,dataSource,dataSourceOwnerName){var owner=this._getDataSourceOwner(dataSourceOwnerName);if(owner){owner.notifyRemoveItem(dataSource,item.rowIndex,item.row);this._dataEvt(-1)}},_getValueKeyName:function(){return null},_getRemoteDataKeys:function(){return null},_getNotifyResizeName:function(){return null},_createChart:function(){return null},_set_option:function(chart,key,value){if(!key){return true}if(key.indexOf("dataSource")>=0||key.indexOf("response")>=0){if(this._chart){this.dataBind()}return true}if(key==="width"||key==="height"){this._setSize(chart,key,value);return true}if(key==="maxRecCount"){if(this._chart){this._dataChange()}return true}if(key==="tooltipTemplate"&&chart.toolTip){chart.toolTip(value);return true}if(!chart||!chart[key]||chart[key]()===value){return true}},_setSize:function(chart,key,val){$.ig.util.setSize(this.element,key,val,chart,this._getNotifyResizeName())},_getDataSourceOwner:function(dataSourceOwnerName){return this._chart},_dataChange:function(noFire,dataSourceOwnerName){var owner;if(!this._getDataSourceOwner){return}if(dataSourceOwnerName){owner=this._getDataSourceOwner(dataSourceOwnerName);this._dataChangeInternal(owner,noFire)}else{this._dataChangeInternal(this._chart,noFire)}},_dataChangeInternal:function(owner,noFire){var data,len,max=this.options.maxRecCount,ds=this._dataSource,chart=owner;if(!ds||!chart||!chart.itemsSource){return}data=ds.dataView();len=data?data.length:0;if(!len&&!this._dataLen){return}this._dataLen=len;if(len&&max&&max<len){noFire=[];while(max-->0){noFire[max]=data[max]}data=noFire}chart.itemsSource(data);if(noFire!=="no"){this._trigger("dataBound",null,{owner:this,dataSource:ds,data:data})}this._dataEvt(3)},chart:function(){return this._chart},dataBind:function(){this._dataBindInternal(this.options,null)},_dataBindInternal:function(options,dataSourceOwnerName){var field,ds0,dataOptions,vt,setting,bound,o=options,url=o.dataSourceUrl,key=o.responseDataKey,type=o.dataSourceType,valKeyName=this._getValueKeyName(),valKey=valKeyName?o[valKeyName]:null,ds=o.dataSource,dsStr=typeof ds==="string",keys=key?key.split("."):null,len=keys?keys.length-1:-1,i=-1;if(dsStr&&!type){ds=new $.ig.JSONPDataSource({dataSource:ds})}ds0=ds;while(ds0&&i++<len){ds0=ds0[keys[i]]}if(!ds0){ds0=ds;keys=null}field=ds0?ds0[0]:null;if(typeof field==="string"||typeof field==="number"||field&&field.getTime){i=ds0.length;field=ds0;ds0=[];valKey=valKey||"x";if(valKeyName){o[valKeyName]=valKey}while(i-->0){ds0[i]={};ds0[i][valKey]=field[i]}if(keys){field=ds;i=-1;while(++i<len){field=field[keys[i]]}field[keys[len]]=ds0}else{ds=ds0}}if(ds0&&!valKey&&valKeyName){for(valKey in ds0[0]){if(ds0[0].hasOwnProperty(valKey)){o[valKeyName]=valKey;break}}}dataOptions={callback:this._dataChange,dataSource:ds,type:type||undefined,responseDataKey:key,responseTotalRecCountKey:o.responseTotalRecCountKey,rowAdded:this._itemAdded,rowDeleted:this._itemRemoved,rowUpdated:this._itemUpdated,rowInserted:this._itemInserted};if(dataSourceOwnerName){dataOptions.callback=function(nofire){this._dataChange(nofire,dataSourceOwnerName)};dataOptions.rowAdded=function(item,dataSource){this._itemAdded(item,dataSource,dataSourceOwnerName)};dataOptions.rowDeleted=function(item,dataSource){this._itemRemoved(item,dataSource,dataSourceOwnerName)};dataOptions.rowUpdated=function(item,dataSource){this._itemUpdated(item,dataSource,dataSourceOwnerName)};dataOptions.rowInserted=function(item,dataSource){this._itemInserted(item,dataSource,dataSourceOwnerName)}}if(ds&&typeof ds._xmlToArray==="function"&&typeof ds._encodePkParams==="function"){bound=ds._data&&ds._data.length;dataOptions.dataSource=ds.settings.dataSource;ds.settings=$.extend(true,{},ds.settings,dataOptions);ds.settings.callee=this}else{ds=new $.ig.DataSource(dataOptions);ds.settings.callee=this}if(!bound&&!this._trigger("dataBinding",null,{owner:this,dataSource:ds})){return}this._dataSource=ds;if(bound){this._dataChange("no",dataSourceOwnerName)}else{ds.dataBind()}if(url&&!this._urlBind){setting=ds.settings;setting.dataSource=url;setting.type="remoteUrl";ds._runtimeType=ds.analyzeDataSource();keys=this._getRemoteDataKeys();len=keys?keys.length:0;if(len>0){key=null;while(len-->0){i=keys[len];if(i){key=key?key+","+i:i}}if(key){setting.urlParamsEncoded=$.proxy(function(data,params){if(params&&params.filteringParams){params.filteringParams.keys=key}},this)}}this._urlBind=1;if(!o.dataSource){ds.dataBind()}}},destroy:function(){var key,style,chart=this._chart,old=this._old_state,elem=this.element;if(!old){return}elem.find("*").not(old.elems).remove();if(this.css.chart){elem.removeClass(this.css.chart)}old=old.style;style=elem[0].style;for(key in old){if(old.hasOwnProperty(key)){if(style[key]!==old[key]){style[key]=old[key]}}}if(chart){this._setSize(chart)}$.Widget.prototype.destroy.apply(this,arguments);if(chart&&chart.destroy){chart.destroy()}delete this._chart;delete this._old_state}});$.extend($.ui.igBaseChart,{version:"13.1.20131.2523"})})(jQuery);/*!@license
 * Infragistics.Web.ClientUI Chart 13.1.20131.2523
 *
 * Copyright (c) 2011-2014 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 * jquery-1.4.4.js
 * jquery.ui.core.js
 * jquery.ui.widget.js
 * infragistics.util.js
 * infragistics.dv.core.js
 * infragistics.chart_funnelchart.js
 */
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){$.widget("ui.igChartLegend",{options:{type:"legend",width:null,height:null,theme:"c"},css:{legend:"ui-corner-all ui-widget-content ui-chart-legend",legendItemsList:"ui-chart-legend-items-list",legendItem:"ui-chart-legend-item",legendItemBadge:"ui-chart-legend-item-badge",legendItemText:"ui-chart-legend-item-text"},events:{legendItemMouseLeftButtonDown:null,legendItemMouseLeftButtonUp:null,legendItemMouseEnter:null,legendItemMouseLeave:null},_create:function(){var legend,o=this.options,elem=this.element;if(o.type==="item"){legend=new $.ig.ItemLegend}else if(o.type==="scale"){legend=new $.ig.ScaleLegend;if(!o.width){o.width="100px"}if(!o.height){o.height="150px"}}else{legend=new $.ig.Legend}if(o.owner){this._owner=o.owner;o.owner=this._owner.options}this.legend=legend;legend.name(this.id());legend.legendItemsListStyle(this.css.legendItemsList);legend.legendItemStyle(this.css.legendItem);legend.legendItemBadgeStyle(this.css.legendItemBadge);legend.legendItemTextStyle(this.css.legendItemText);if(o.width){this._oldWidth=elem[0].style.width;elem.css("width",o.width)}if(o.height){this._oldHeight=elem[0].style.width;elem.css("height",o.height)}this._cssLegend=this.css.legend.replace("{0}",o.theme);elem.addClass(this._cssLegend);this._bindLegendEvents(legend);legend.provideContainer(elem)},_bindLegendEvents:function(legend){legend.legendItemMouseLeftButtonDown=$.ig.Delegate.prototype.combine(legend.legendItemMouseLeftButtonDown,jQuery.proxy(this._fireLegend_ItemMouseLeftButtonDown,this));legend.legendItemMouseLeftButtonUp=$.ig.Delegate.prototype.combine(legend.legendItemMouseLeftButtonUp,jQuery.proxy(this._fireLegend_ItemMouseLeftButtonUp,this));legend.legendItemMouseEnter=$.ig.Delegate.prototype.combine(legend.legendItemMouseEnter,jQuery.proxy(this._fireLegend_ItemMouseEnter,this));legend.legendItemMouseLeave=$.ig.Delegate.prototype.combine(legend.legendItemMouseLeave,jQuery.proxy(this._fireLegend_ItemMouseLeave,this))},_getLegendEvt:function(evtArgs){var e,brush,series=evtArgs.series?evtArgs.series():null,owner=this._owner;if(!owner){return null}e={legend:this.options,series:owner._seriesOpt&&series?owner._seriesOpt[series.name()]:owner.options,chart:owner,item:evtArgs._item};e[owner.dvWidget?owner.dvWidget._getWidgetName():owner.widgetName]=owner.options;brush=evtArgs.legendItem&&evtArgs.legendItem()!==null&&evtArgs.legendItem().content?evtArgs.legendItem().content():null;brush=brush&&brush.actualItemBrush?brush.actualItemBrush():null;e.actualItemBrush=brush?brush.fill():null;brush=series&&series.actualBrush?series.actualBrush():null;e.actualSeriesBrush=brush?brush.fill():null;return e},_fireLegend_ItemMouseLeftButtonDown:function(sender,evtArgs){this._trigger("legendItemMouseLeftButtonDown",null,this._getLegendEvt(evtArgs))},_fireLegend_ItemMouseLeftButtonUp:function(sender,evtArgs){this._trigger("legendItemMouseLeftButtonUp",null,this._getLegendEvt(evtArgs))},_fireLegend_ItemMouseEnter:function(sender,evtArgs){this._trigger("legendItemMouseEnter",null,this._getLegendEvt(evtArgs))},_fireLegend_ItemMouseLeave:function(sender,evtArgs){this._trigger("legendItemMouseLeave",null,this._getLegendEvt(evtArgs))},_getLegend:function(){return this.legend},_setOption:function(key,value){switch(key){case"width":this.element.css("width",value);break;case"height":this.element.css("height",value);break}},destroy:function(){var elements,elem=this.element;$.Widget.prototype.destroy.call(this);if(this.legend){this.legend=null}if(elem){elem.removeClass(this._cssLegend);if(this.options.width){elem[0].style.width=this._oldWidth||""}if(this.options.height){elem[0].style.height=this._oldHeight||""}if(elem.children("table").length>0){elements=elem.children("table").children("tr");$.each(elements,function(key,tr){$(tr).unbind("mouseleave").unbind("mouseup").unbind("mousedown").unbind("mousemove")})}elem.empty()}return this},widget:function(){return this.element},id:function(){return this.element[0].id}});$.extend($.ui.igChartLegend,{version:"13.1.20131.2523"})})(jQuery);/*!@license
 * Infragistics.Web.ClientUI Chart 13.1.20131.2523
 *
 * Copyright (c) 2011-2014 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 * jquery-1.4.4.js
 * jquery.ui.core.js
 * jquery.ui.widget.js
 * infragistics.util.js
 * infragistics.dv.core.js
 * infragistics.chart_piechart.js
 * infragistics.chart_categorychart.js
 * infragistics.chart_financialchart.js
 * infragistics.chart_polarchart.js
 * infragistics.chart_radialchart.js
 * infragistics.chart_rangecategorychart.js
 * infragistics.chart_scatterchart.js
 * infragistics.datasource.js
 * infragistics.dvcommonwidget.js
 */
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){$.widget("ui.igDataChart",{options:{syncChannel:null,synchronizeVertically:true,syncrhonizeHorizontally:false,crosshairPoint:{x:0,y:0},windowRect:null,horizontalZoomable:false,verticalZoomable:false,windowResponse:null,windowRectMinWidth:0,overviewPlusDetailPaneVisibility:"collapsed",crosshairVisibility:"collapsed",plotAreaBackground:null,defaultInteraction:"dragZoom",dragModifier:"none",panModifier:"shift",previewRect:null,windowPositionHorizontal:0,windowPositionVertical:0,windowScaleHorizontal:1,windowScaleVertical:1,circleMarkerTemplate:null,triangleMarkerTemplate:null,pyramidMarkerTemplate:null,squareMarkerTemplate:null,diamondMarkerTemplate:null,pentagonMarkerTemplate:null,hexagonMarkerTemplate:null,tetragramMarkerTemplate:null,pentagramMarkerTemplate:null,hexagramMarkerTemplate:null,topMargin:0,leftMargin:0,rightMargin:0,bottomMargin:0,autoMarginWidth:20,autoMarginHeight:0,isSquare:false,gridMode:"behindSeries",brushes:null,markerBrushes:null,outlines:null,markerOutlines:null,width:null,height:null,size:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,isSurfaceInteractionDisabled:false,animateSeriesWhenAxisRangeChanges:false,legend:{element:null,type:"legend",width:null,height:null},axes:[{type:null,name:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,remove:false,labelLocation:null,labelVisibility:"visible",labelExtent:null,labelAngle:0,labelTextStyle:null,labelTextColor:null,formatLabel:null,stroke:null,strokeThickness:1,strip:null,majorStroke:null,majorStrokeThickness:1,minorStroke:null,minorStrokeThickness:1,isInverted:false,crossingAxis:null,crossingValue:null,coercionMethods:null,label:null,gap:0,overlap:0,startAngleOffset:0,interval:0,displayType:null,minimumValue:0,maximumValue:0,dateTimeMemberPath:null,referenceValue:0,isLogarithmic:false,logarithmBase:10,radiusExtentScale:.75,innerRadiusExtentScale:0,useClusteringMode:false}],series:[{type:null,name:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,remove:false,showTooltip:false,tooltipTemplate:null,legend:{element:null,type:"legend",width:null,height:null},legendItemVisibility:"visible",legendItemBadgeTemplate:null,legendItemTemplate:null,discreteLegendItemTemplate:null,transitionDuration:0,resolution:1,title:null,brush:null,outline:null,thickness:0,coercionMethods:null,markerType:"none",markerTemplate:null,markerBrush:null,markerOutline:null,xAxis:null,yAxis:null,xMemberPath:null,yMemberPath:null,trendLineType:"none",trendLineBrush:null,trendLineThickness:1.5,trendLinePeriod:7,trendLineZIndex:1001,maximumMarkers:400,unknownValuePlotting:"dontPlot",radiusMemberPath:null,radiusScale:null,labelMemberPath:null,fillMemberPath:null,fillScale:null,angleAxis:null,valueAxis:null,clipSeriesToBounds:null,valueMemberPath:null,radiusX:2,radiusY:2,angleMemberPath:null,radiusAxis:null,useCartesianInterpolation:true,negativeBrush:null,splineType:"natural",lowMemberPath:null,highMemberPath:null,openMemberPath:null,closeMemberPath:null,volumeMemberPath:null,displayType:"candlestick",ignoreFirst:0,period:0,shortPeriod:0,longPeriod:0,markerCollisionAvoidance:"none",useHighMarkerFidelity:false,useBruteForce:false,progressiveLoad:true,mouseOverEnabled:false,useSquareCutoffStyle:false,heatMinimum:0,heatMaximum:50,series:null}],theme:"c"},css:{chart:"ui-corner-all ui-widget-content ui-chart-container",unsupportedBrowserClass:"ui-html5-non-html5-supported-message ui-helper-clearfix  ui-html5-non-html5",tooltip:"ui-chart-tooltip ui-widget-content ui-corner-all"},events:{tooltipShowing:"tooltipShowing",tooltipShown:"tooltipShown",tooltipHiding:"tooltipHiding",tooltipHidden:"tooltipHidden",browserNotSupported:"browserNotSupported",seriesCursorMouseMove:null,seriesMouseLeftButtonDown:null,seriesMouseLeftButtonUp:null,seriesMouseMove:null,seriesMouseEnter:null,seriesMouseLeave:null,windowRectChanged:null,gridAreaRectChanged:null,refreshCompleted:null,axisRangeChanged:null,typicalBasedOn:null,progressiveLoadStatusChanged:null,scatterMouseOver:null},_createWidget:function(options,element){this._fixCss();this.dvWidget=new $.ig.dvCommonWidget(this);this.dvWidget._createWidget(options,element,this)},_init:function(){},_create:function(){this._fixCss();this.dvWidget._create()},_fixCss:function(){if(this.css.chart.indexOf("{0}")>-1){this.css.chart=this.css.chart.replace("{0}",this.options.theme);this.css.tooltip=this.css.tooltip.replace("{0}",this.options.theme)}},_setOption:function(key,value){this.dvWidget._setOption(key,value)},widget:function(){return this.element},id:function(){return this.element[0].id},exportImage:function(width,height){return this.dvWidget._getImage(width,height,this)},destroy:function(){if(this._chart){this._chart.destroy();this._chart=null}this.dvWidget._destroy(this);$.Widget.prototype.destroy.apply(this,arguments)},styleUpdated:function(){this._chart.styleUpdated();return this},resetZoom:function(){this._chart.resetZoom();return this},addItem:function(item,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].addRow(null,item,true)}},insertItem:function(item,index,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].insertRow(null,item,index,true)}},removeItem:function(index,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].deleteRow(index,true)}},setItem:function(index,item,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].updateRow(index,item,true)}},notifySetItem:function(dataSource,index,newItem,oldItem){this._chart.notifySetItem(dataSource,index,oldItem,newItem);return this},notifyClearItems:function(dataSource){this._chart.notifyClearItems(dataSource);return this},notifyInsertItem:function(dataSource,index,newItem){this._chart.notifyInsertItem(dataSource,index,newItem);return this},notifyRemoveItem:function(dataSource,index,oldItem){this._chart.notifyRemoveItem(dataSource,index,oldItem);return this},scrollIntoView:function(targetName,item){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.scrollIntoView){target.scrollIntoView(item)}return this},scaleValue:function(targetName,unscaledValue){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.scaleValue){return target.scaleValue(unscaledValue)}return 0},unscaleValue:function(targetName,scaledValue){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.unscaleValue){return target.unscaleValue(scaledValue)}return 0},flush:function(){this._chart.flush()},exportVisualData:function(){return this._chart.exportVisualData()},getActualMinimumValue:function(targetName){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.actualMinimumValue){return target.actualMinimumValue()}return 0},getActualMaximumValue:function(targetName){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.actualMaximumValue){return target.actualMaximumValue()}return 0},print:function(){this.dvWidget._print()},renderSeries:function(targetName,animate){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.renderSeries){return target.renderSeries(animate)}return this},getItemIndex:function(targetName,worldPoint){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getItemIndex){return target.getItemIndex(p)}},getItem:function(targetName,worldPoint){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getItem){return target.getItem(p)}},getSeriesValue:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesValue){return this._chart.getSeriesValue(p)}},getSeriesValuePosition:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesValuePosition){return this._chart.getSeriesValuePosition(p)}},getSeriesValuePositionFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesValuePositionFromSeriesPixel){return this._chart.getSeriesValuePositionFromSeriesPixel(p)}},getSeriesValueFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesValueFromSeriesPixel){return this._chart.getSeriesValueFromSeriesPixel(p)}},getSeriesHighValue:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesHighValue){return this._chart.getSeriesHighValue(p)}},getSeriesHighValuePosition:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesHighValuePosition){return this._chart.getSeriesHighValuePosition(p)}},getSeriesHighValuePositionFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesHighValuePositionFromSeriesPixel){return this._chart.getSeriesHighValuePositionFromSeriesPixel(p)}},getSeriesHighValueFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesHighValueFromSeriesPixel){return this._chart.getSeriesHighValueFromSeriesPixel(p)}},getSeriesLowValue:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesLowValue){return this._chart.getSeriesLowValue(p)}},getSeriesLowValuePosition:function(targetName,worldPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(worldPoint.x,worldPoint.y);if(target&&target.getSeriesLowValuePosition){return this._chart.getSeriesLowValuePosition(p)}},getSeriesLowValuePositionFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesLowValuePositionFromSeriesPixel){return this._chart.getSeriesLowValuePositionFromSeriesPixel(p)}},getSeriesLowValueFromSeriesPixel:function(targetName,seriesPoint,useInterpolation){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getSeriesLowValueFromSeriesPixel){return this._chart.getSeriesLowValueFromSeriesPixel(p)}},getItemIndexFromSeriesPixel:function(targetName,seriesPoint){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getItemImdexFromSeriesPixel){return this._chart.getItemIndexFromSeriesPixel(p)}},getItemFromSeriesPixel:function(targetName,seriesPoint){var target=this.dvWidget._getNotifyTarget(targetName),p=new $.ig.Point(seriesPoint.x,seriesPoint.y);if(target&&target.getItemFromSeriesPixel){return this._chart.getItemFromSeriesPixel(p)}}});$.extend($.ui.igDataChart,{version:"13.1.20131.2523"});$.widget("ui.igPieChart",{options:{width:null,height:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,valueMemberPath:null,labelMemberPath:null,labelsPosition:"center",leaderLineVisibility:"visible",othersCategoryThreshold:3,formatLabel:null,othersCategoryStyle:null,othersCategoryType:"percent",othersCategoryText:"Others",explodedRadius:.2,radiusFactor:.9,allowSliceSelection:null,allowSliceExplosion:null,explodedSlices:null,showTooltip:false,tooltipTemplate:null,legend:{element:null,type:"item",width:null,height:null},labelExtent:10,startAngle:0,sweepDirection:"clockwise",selectedStyle:null,brushes:null,outlines:null,legendItemTemplate:null,legendItemBadgeTemplate:null,textStyle:null,theme:"c"},css:{chart:"ui-corner-all ui-widget-content ui-chart-piechart-container",unsupportedBrowserClass:"ui-html5-non-html5-supported-message ui-helper-clearfix ui-html5-non-html5",tooltip:"ui-chart-tooltip ui-widget-content ui-corner-all"},events:{tooltipShowing:"tooltipShowing",tooltipShown:"tooltipShown",tooltipHiding:"tooltipHiding",tooltipHidden:"tooltipHidden",browserNotSupported:"browserNotSupported",sliceClick:null},_createWidget:function(options,element){this._fixCss();this.dvWidget=new $.ig.dvCommonWidget(this);this.dvWidget._createWidget(options,element,this)},_create:function(){this._fixCss();this.dvWidget._create()},_fixCss:function(){if(this.css.chart.indexOf("{0}")>-1){this.css.chart=this.css.chart.replace("{0}",this.options.theme);this.css.tooltip=this.css.tooltip.replace("{0}",this.options.theme)}},_setOption:function(key,value){this.dvWidget._setOption(key,value)},addItem:function(item){this.dataSources[this.id()].addRow(item,true)},insertItem:function(item,index){this.dataSources[this.id()].insertRow(null,item,index,true)},removeItem:function(index){this.dataSources[this.id()].deleteRow(index,true)},setItem:function(index,item){this.dataSources[this.id()].updateRow(index,item,true)},exportImage:function(width,height){return this.dvWidget._getImage(width,height,this)},destroy:function(){if(this._chart){this._chart.destroy();this._chart=null}this.dvWidget._destroy(this);$.Widget.prototype.destroy.call(this);return this},id:function(){return this.element[0].id},widget:function(){return this.element},print:function(){this.dvWidget._print()}});$.extend($.ui.igPieChart,{version:"13.1.20131.2523"})})(jQuery);/*!@license
* Infragistics.Web.ClientUI DougnutChart 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){var _aNull=function(v,nan){return v===null||v===undefined||nan&&typeof v==="number"&&isNaN(v)};$.widget("ui.igDoughnutChart",$.ui.igBaseChart,{css:{chart:"ui-doughnut ui-corner-all ui-widget-content",tooltip:"ui-doughnut-tooltip ui-widget-content ui-corner-all"},options:{series:[{type:"flat",itemsSource:null,valueMemberPath:null,labelMemberPath:null,labelsPosition:"center",leaderLineVisibility:"visible",toolTip:null,othersCategoryThreshold:3,othersCategoryType:"percent",othersCategoryText:"Others",legend:null,formatLabel:null,labelExtent:10,startAngle:0,selectedStyle:null,brushes:null,outlines:null,isSurfaceInteractionDisabled:null,radiusFactor:.9,childrenMemberPath:null}],allowSliceSelection:null,isSurfaceInteractionDisabled:null,allowSliceExplosion:null,innerExtent:0,selectedStyle:null},events:{tooltipShowing:"tooltipShowing",tooltipShown:"tooltipShown",tooltipHiding:"tooltipHiding",tooltipHidden:"tooltipHidden",browserNotSupported:"browserNotSupported",sliceClick:null,holeDimensionsChanged:null},_create:function(){$.ui.igBaseChart.prototype._create.apply(this);this._defStyle("selected");this._defStyle("unselected");var doughnutChart=this._chart;if(doughnutChart){doughnutChart.sliceClick=$.ig.Delegate.prototype.combine(doughnutChart.sliceClick,jQuery.proxy(this._fireDoughnutChart_sliceClick,this));doughnutChart.holeDimensionsChanged=$.ig.Delegate.prototype.combine(doughnutChart.holeDimensionsChanged,jQuery.proxy(this._fireDoughnutChart_holeDimensionsChanged,this))}},_creationOptions:null,_createWidget:function(options,element){this._creationOptions=options;this._tooltipTemplate={};this._seriesOpt={};this._seriesColl={};this._tooltip={};this._legends={};$.Widget.prototype._createWidget.apply(this,[options,element])},_beforeInitialOptions:function(chart,elem){chart.provideContainer(elem[0])},_provideContainer:function(chart,elem){},_setInitialOptions:function(chart){var o=this._creationOptions,self=this;for(key in o){if(o.hasOwnProperty(key)){v=o[key];if(v!==null){self._set_option(chart,key,v)}}}},_getDataSourceOwner:function(dataSourceOwnerName){return this._seriesColl[dataSourceOwnerName]},dataBind:function(){},_fireDoughnutChart_holeDimensionsChanged:function(chart,evt){var e={};e.center={x:evt.center().__x,y:evt.center().__y};e.radius=evt.radius();e.dougnut=this.options;this._trigger("holeDimensionsChanged",null,e)},_fireDoughnutChart_sliceClick:function(chart,evt){var e={},slice=evt.slice();if(slice){e.slice={};e.slice.item=slice.dataContext();e.slice.isSelected=slice.isSelected();e.slice.isExploded=slice.isExploded();e.dougnut=this.options}this._trigger("sliceClick",null,e);if(e.slice.isSelected!=slice.isSelected()){slice.isSelected(e.slice.isSelected)}if(e.slice.isExploded!=slice.isExploded()){slice.isExploded(e.slice.isExploded)}},_getValueKeyName:function(){return"valueMemberPath"},_getNotifyResizeName:function(){return"notifyResized"},_createChart:function(){return new $.ig.XamDoughnutChart},_setLegend:function(item,value,chart){var legend;if(value){value.owner=this.widget;if(value.type===undefined){value.type="item"}var legend=value.element;if(legend){legend=$("#"+legend)}if(!legend||legend.length!==1){var widgetId=chart.getContainerID();legend=$('<div id="'+widgetId+"_"+item.name()+'_legend" />').insertAfter(this.element);legend[0]._remove=true}if(item.legend()===null){if(legend.data("igChartLegend")||value.data&&value.data("igChartLegend")){legend=!legend?value.data("igChartLegend"):legend.data("igChartLegend");legend.options.owner=this.widget.options;legend._owner=this.widget;if(!legend._ownerCount){legend._ownerCount=1}else{legend._ownerCount+=1}}else{legend=legend.igChartLegend(value).data("igChartLegend");if(!legend._ownerCount){legend._ownerCount=1}else{legend._ownerCount+=1}}item.legend(legend.legend)}else{$("#"+item.legend().name()).igChartLegend(value);item.legend()._ownerCount+=1}}else{if(item.legend()!==null&&item.legend().name().length>0&&$("#"+item.legend().name()).length>0){legend=$("#"+item.legend().name()).data().igChartLegend;legend._ownerCount-=1;item.legend(null);if(legend._ownerCount==0){var legendElement=legend.element;legend.destroy();if(legendElement[0]._remove){legendElement.remove()}}}}},_htmlCheckExpr:/^[^<]*(<[\w\W]+>)[^>]*$/,_addTooltip:function(chart,series,clss){var widgetId=chart.getContainerID();if(this._tooltip[series.name()]===undefined){this._tooltip[series.name()]=$('<div id="'+widgetId+"_"+series.name()+'_tooltip" class="'+clss+'"></div>');this._bindTooltipEvents(this,this._tooltip[series.name()]);series.toolTip(this._tooltip[series.name()])}},_removeTooltip:function(series){if(this._tooltip[series.name()]!==undefined){this._removeTooltipEvents(this._tooltip[series.name()]);delete this._tooltip[series.name()];series.toolTip(null)}},_bindTooltipEvents:function(chart,tooltip){tooltip.updateToolTip=$.ig.Delegate.prototype.combine(tooltip.updateToolTip,jQuery.proxy(this._fireToolTip_updateToolTip,this));tooltip.hideToolTip=$.ig.Delegate.prototype.combine(tooltip.hideToolTip,jQuery.proxy(this._fireToolTip_hideToolTip,this))},_removeTooltipEvents:function(tooltip){delete tooltip.updateToolTip;delete tooltip.hideToolTip},_fireToolTip_hideToolTip:function(args){var e={},noCancel;e=this._getChartEvt(args);e.tempId=e.series.name;e.element=null;if(e.series!==null){e.element=this._tooltip[e.tempId]}noCancel=this._trigger(this.events.tooltipHiding,null,e);if(noCancel){$.each(this._tooltip,function(i,tip){tip.hide()});this._trigger(this.events.tooltipHidden,null,e)}},_fireToolTip_updateToolTip:function(args){var e={},noCancel,template;e=this._getChartEvt(args);e.tempId=e.series.name;e.element=null;if(e.series!==null){e.element=this._tooltip[e.tempId]}noCancel=this._trigger(this.events.tooltipShowing,null,e);if(e===null){noCancel=false}if(noCancel){if(e.series!==null&&this._tooltipTemplate[e.tempId]!==undefined){template=this._tooltipTemplate[e.tempId]}if(template){this._tooltip[e.tempId].children().remove();if(e.item===null){noCancel=false}if(noCancel){this._tooltip[e.tempId].html($.ig.tmpl(template,e))}}if(noCancel){this._tooltip[e.tempId].show();this._trigger(this.events.tooltipShown,null,e)}}},_getChartEvt:function(evtArgs){var e={},seriesOpt=this._getSeriesOpt(evtArgs),pos,widget=this,intSeries=null;e.doughtnut=widget.options;e.series=seriesOpt;e.item=evtArgs.item();if(evtArgs.series&&evtArgs.series()!==null){intSeries=evtArgs.series()}if(evtArgs.originalEvent&&evtArgs.originalEvent()!==null&&evtArgs.originalEvent().position&&evtArgs.originalEvent().position()!==null){pos=evtArgs.originalEvent().position();e.positionX=pos.__x;e.positionY=pos.__y}return e},_getSeriesOpt:function(evtArgs){var widget=this;if(widget._seriesOpt[evtArgs.series().name()]){return widget._seriesOpt[evtArgs.series().name()]}return widget.options},_setSeriesOption:function(ringSeriesBase,key,value,chart){if(key==="legend"){this._setLegend(ringSeriesBase,value,chart);return true}else if(key==="showTooltip"){if(value===true){this._addTooltip(chart,ringSeriesBase,this.css.tooltip)}if(value===false){this._removeTooltip(ringSeriesBase,chart)}return}else if(key==="tooltipTemplate"&&ringSeriesBase.toolTip){if($.ig.tmpl){if(this._htmlCheckExpr.test(value)){templ=value}else{if($("#"+value).length>0){templ=$("#"+value).text()}else if($(value).length>0){templ=$(value).text()}else{templ=value}}this._tooltipTemplate[ringSeriesBase.name()]=templ}return}else if(key==="legendItemBadgeTemplate"||key==="legendItemTemplate"){this._setDataTemplate(ringSeriesBase,key,value);return}else if(key==="isSurfaceInteractionDisabled"){ringSeriesBase.isSurfaceInteractionDisabled($.ig.util.toNullable($.ig.Boolean.prototype.$type,value));return true}switch(key){case"itemsSource":ringSeriesBase.itemsSource(value);return true;case"valueMemberPath":ringSeriesBase.valueMemberPath(value);return true;case"labelMemberPath":ringSeriesBase.labelMemberPath(value);return true;case"labelsPosition":switch(value){case"none":ringSeriesBase.labelsPosition(0);break;case"center":ringSeriesBase.labelsPosition(1);break;case"insideEnd":ringSeriesBase.labelsPosition(2);break;case"outsideEnd":ringSeriesBase.labelsPosition(3);break;case"bestFit":ringSeriesBase.labelsPosition(4);break}return true;case"leaderLineVisibility":switch(value){case"visible":ringSeriesBase.leaderLineVisibility(0);break;case"collapsed":ringSeriesBase.leaderLineVisibility(1);break}return true;case"toolTip":ringSeriesBase.toolTip(value);return true;case"othersCategoryThreshold":ringSeriesBase.othersCategoryThreshold(value);return true;case"othersCategoryType":switch(value){case"number":ringSeriesBase.othersCategoryType(0);break;case"percent":ringSeriesBase.othersCategoryType(1);break}return true;case"othersCategoryText":ringSeriesBase.othersCategoryText(value);return true;case"formatLabel":ringSeriesBase.formatLabel(value);return true;case"labelExtent":ringSeriesBase.labelExtent(value);return true;case"startAngle":ringSeriesBase.startAngle(value);return true;case"selectedStyle":ringSeriesBase.selectedStyle(value);return true;case"brushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}ringSeriesBase.brushes($tempBrushCollection);return true;case"outlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}ringSeriesBase.outlines($tempBrushCollection);return true;case"isSurfaceInteractionDisabled":ringSeriesBase.isSurfaceInteractionDisabled(value);return true;case"radiusFactor":ringSeriesBase.radiusFactor(value);return true;case"childrenMemberPath":ringSeriesBase.childrenMemberPath(value);return true}},_set_option:function(doughnutChart,key,value){if(key==="legend"){this._setLegend(doughnutChart,value,doughnutChart);return true}else if(key==="legendItemBadgeTemplate"||key==="legendItemTemplate"){this._setDataTemplate(doughnutChart,key,value);return}if($.ui.igBaseChart.prototype._set_option.apply(this,arguments)){return true}if(key==="series"){this._iterationFlag=!this._iterationFlag;var count=value.length;for(i=0;i<count;i++){if(!value[i].name){throw new Error("Series name is missing for series: "+i)}if(this._seriesColl.hasOwnProperty(value[i].name)){if(value[i].remove){this._removeSeries(doughnutChart,value[i])}this._updateSeries(doughnutChart,value[i])}else this._addSeries(doughnutChart,value[i])}return true}else if(key==="isSurfaceInteractionDisabled"){doughnutChart.isSurfaceInteractionDisabled($.ig.util.toNullable($.ig.Boolean.prototype.$type,value));return true}switch(key){case"allowSliceSelection":doughnutChart.allowSliceSelection(value);return true;case"isSurfaceInteractionDisabled":doughnutChart.isSurfaceInteractionDisabled(value);return true;case"allowSliceExplosion":doughnutChart.allowSliceExplosion(value);return true;case"innerExtent":doughnutChart.innerExtent(value);return true;case"selectedStyle":doughnutChart.selectedStyle(value);return true}},_setDataTemplate:function(series,key,value){var tempTemplate=new $.ig.DataTemplate,requireThis=false;if(!value){if(series[key]){series[key](null)}return}if(value.requireThis){requireThis=true}if(value.render){if(requireThis){tempTemplate.render($.proxy(value.render,value))}else{tempTemplate.render(value.render)}}else{tempTemplate.render(value)}if(value.measure){if(requireThis){tempTemplate.measure($.proxy(value.measure,value))}else{tempTemplate.measure(value.measure)}}if(value.passStarting){if(requireThis){tempTemplate.passStarting($.proxy(value.passStarting,value))}else{tempTemplate.passStarting(value.passStarting)}}if(value.passCompleted){if(requireThis){tempTemplate.passCompleted($.proxy(value.passCompleted,value))}else{tempTemplate.passCompleted(value.passCompleted)}}if(series[key]){series[key](tempTemplate)}},addSeries:function(value){this._addSeries(this._chart,value)},_addSeries:function(chart,value){var series;if(!value||value.remove==true||!this._seriesColl)return;if(!this._seriesColl.hasOwnProperty(value.name)){if(!value.type||value.type==="flat"){series=new $.ig.RingSeries}else{series=new $.ig.HierarchicalRingSeries}series.name(value.name);this._seriesOpt[value.name]={};for(currentKey in value){if(value.hasOwnProperty(currentKey)){this._setSeriesOption(series,currentKey,value[currentKey],chart);this._seriesOpt[value.name][currentKey]=value[currentKey]}}this._seriesColl[value.name]=series;if(value.dataSource){this._dataBindInternal(value,value.name)}chart.series().add(series)}},removeSeries:function(value){this._removeSeries(this._chart,value)},_removeSeries:function(chart,value){if(!value||!this._seriesColl)return;if(this._seriesColl.hasOwnProperty(value.name)){var series=this._seriesColl[value.name];if(series){delete this._seriesColl[value.name];if(chart.series().contains(series)){this._setLegend(series);chart.series().remove(series);this._removeTooltip(series)}}if(this._seriesOpt[value.name])delete this._seriesOpt[value.name];if(this._tooltipTemplate[value.name])delete this._tooltipTemplate[value.name]}},updateSeries:function(value){this._updateSeries(this._chart,value)},_updateSeries:function(chart,value){if(!value||!this._seriesColl)return;if(this._seriesColl.hasOwnProperty(value.name)){var series=this._seriesColl[value.name];if(series&&!value.remove){for(currentKey in value){if(value.hasOwnProperty(currentKey)){this._setSeriesOption(series,currentKey,value[currentKey],chart);this._seriesOpt[value.name][currentKey]=value[currentKey]}}this._seriesColl[value.name]=series;if(value.dataSource){this._dataBindInternal(value,value.name)}}}},getCenterCoordinates:function(){if(this._chart){var center=this._chart.getCenterCoordinates();return{x:center.__x,y:center.__y}}return{x:0,y:0}},getHoleRadius:function(){if(this._chart)return this._chart.getHoleRadius();return 0},_setOption:function(key,val){var chart=this._chart,o=this.options;if(o[key]===val){return this}$.Widget.prototype._setOption.apply(this,arguments);this._set_option(chart,key,val);return this},_defStyle:function(sel){var v,bk0,b0,style={},name=sel+"SliceStyle",span=this.element.find("SPAN");if(span.length!==1||this.options[name]){return}bk0=span.css("background-color");b0=span.css("border-top-color");sel="ui-doughnut-slice-"+sel;span.addClass(sel);v=span.css("background-color");if(v&&v!=="transparent"&&v!==bk0){style.fill=v}v=span.css("border-top-color");if(v&&v!==b0){style.stroke=v}v=parseFloat(span.css("opacity"));if(!isNaN(v)&&v>0&&v<1){style.opacity=v}span.removeClass(sel);this._set_option(this._chart,name,style)},destroy:function(){for(var seriesName in this._seriesColl){var series=this._seriesColl[seriesName];this._setLegend(series);this._removeTooltip(series);delete this._seriesColl[seriesName];delete this._seriesOpt[seriesName];delete this._tooltipTemplate[seriesName]}delete this._tooltipTemplate;delete this._seriesOpt;delete this._seriesColl;delete this._tooltip;delete this._legends;$.ui.igBaseChart.prototype.destroy.apply(this)}});$.extend($.ui.igDoughnutChart,{version:"13.1.20131.2523"})})(jQuery);/*!@license
* Infragistics.Web.ClientUI FunnelChart 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){var _aNull=function(v,nan){return v===null||v===undefined||nan&&typeof v==="number"&&isNaN(v)};$.widget("ui.igFunnelChart",$.ui.igBaseChart,{css:{chart:"ui-funnel ui-corner-all ui-widget-content",tooltip:"ui-funnel-tooltip ui-widget-content ui-corner-all"},options:{bezierPoints:null,legend:null,valueMemberPath:null,brushes:null,outlines:null,bottomEdgeWidth:.35,innerLabelMemberPath:null,outerLabelMemberPath:null,innerLabelVisibility:null,outerLabelVisibility:null,outerLabelAlignment:null,funnelSliceDisplay:null,formatInnerLabel:null,formatOuterLabel:null,transitionDuration:0,isInverted:null,useBezierCurve:null,allowSliceSelection:null,useUnselectedStyle:false,selectedSliceStyle:null,unselectedSliceStyle:null,useOuterLabelsForLegend:null,outlineThickness:-1},events:{sliceClicked:null},_create:function(){$.ui.igBaseChart.prototype._create.apply(this);this._defStyle("selected");this._defStyle("unselected");var funnelChart=this._chart;if(funnelChart){funnelChart.sliceClicked=$.ig.Delegate.prototype.combine(funnelChart.sliceClicked,jQuery.proxy(this._fireFunnelChart_sliceClicked,this))}},selectedSliceItems:function(selection){var i,v,sel=this._chart;if(selection===undefined){sel=this.selectedSliceIndexes();i=sel?sel.length:0;while(i-->0){v=sel[i]=this.getDataItem(sel[i]);if(v===null){sel.splice(i,1)}}return sel}i=selection?selection.length:0;sel=[];while(i-->0){v=this.findIndexOfItem(selection[i]);if(v>=0){sel[sel.length]=v}}this.selectedSliceIndexes(sel);return this},selectedSliceIndexes:function(selection){var i,v,sel=this._chart;if(sel&&selection!==undefined&&selection!==true){sel.selectedIndexes(selection);return this}sel=sel?sel.selectedIndexes():null;if(selection){return sel}i=sel?sel.length:0;selection=[];while(i-->0){v=selection[i]=sel[i];if(v===null||isNaN(v)||v<0){selection.splice(i,1)}}return selection},isSelected:function(slice){var sel=this.selectedSliceIndexes(true);return!(slice===null||!sel||!sel.contains(typeof slice==="number"?slice:this.findIndexOfItem(slice)))},toggleSelection:function(slice){if(typeof slice!=="number"){slice=this.findIndexOfItem(slice)}if(slice>=0&&this._chart){this._chart.toggleSelection(slice)}return this},_fireFunnelChart_sliceClicked:function(chart,evt){var i=evt.index();this._trigger("sliceClicked",null,{owner:this,index:i,item:evt.item(),selected:this.isSelected(i)})},_getValueKeyName:function(){return"valueMemberPath"},_getRemoteDataKeys:function(){var o=this.options;return[o.valueMemberPath,o.innerLabelMemberPath,o.outerLabelMemberPath]},_getNotifyResizeName:function(){return"notifyResized"},_createChart:function(){return new $.ig.XamFunnelChart},_setLegend:function(chart,value){var legend=this._legend;if(legend){legend.igChartLegend("destroy");if(legend[0]._remove){legend.remove()}delete this._legend;chart.legend(null)}if(!value){return}if(typeof value==="string"){value={element:value}}legend=value.element;if(legend){legend=$("#"+legend)}value.owner=this;value.type="item";if(!legend||legend.length!==1){legend=$("<div />").insertAfter(this.element);legend[0]._remove=true}this._legend=legend;chart.legend(legend.igChartLegend(value).data("igChartLegend").legend)},_set_option:function(funnelChart,key,value){if(key==="legend"){this._setLegend(funnelChart,value);return true}if(key==="bezierPoints"){var i=-1,len=0;if(typeof value==="string"){value=value.split(" ");len=value.length;while(++i<len){if(isNaN(value[i]=parseFloat(value[i]))){len=0}}}if(len<2){len=4;value=[.5,0,.5,1]}funnelChart.upperBezierControlPoint({__x:value[0],__y:value[1]});if(len>3){funnelChart.lowerBezierControlPoint({__x:value[2],__y:value[3]})}return true}if($.ui.igBaseChart.prototype._set_option.apply(this,arguments)){return true}switch(key){case"valueMemberPath":funnelChart.valueMemberPath(value);return true;case"brushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}funnelChart.brushes($tempBrushCollection);return true;case"outlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}funnelChart.outlines($tempBrushCollection);return true;case"bottomEdgeWidth":funnelChart.bottomEdgeWidth(value);return true;case"innerLabelMemberPath":funnelChart.innerLabelMemberPath(value);return true;case"outerLabelMemberPath":funnelChart.outerLabelMemberPath(value);return true;case"innerLabelVisibility":switch(value){case"visible":funnelChart.innerLabelVisibility(0);break;case"collapsed":funnelChart.innerLabelVisibility(1);break}return true;case"outerLabelVisibility":switch(value){case"visible":funnelChart.outerLabelVisibility(0);break;case"collapsed":funnelChart.outerLabelVisibility(1);break}return true;case"outerLabelAlignment":switch(value){case"left":funnelChart.outerLabelAlignment(0);break;case"right":funnelChart.outerLabelAlignment(1);break}return true;case"funnelSliceDisplay":switch(value){case"uniform":funnelChart.funnelSliceDisplay(0);break;case"weighted":funnelChart.funnelSliceDisplay(1);break}return true;case"formatInnerLabel":funnelChart.formatInnerLabel(value);return true;case"formatOuterLabel":funnelChart.formatOuterLabel(value);return true;case"transitionDuration":funnelChart.transitionDuration(value);return true;case"isInverted":funnelChart.isInverted(value);return true;case"useBezierCurve":funnelChart.useBezierCurve(value);return true;case"allowSliceSelection":funnelChart.allowSliceSelection(value);return true;case"useUnselectedStyle":funnelChart.useUnselectedStyle(value);return true;case"selectedSliceStyle":funnelChart.selectedSliceStyle(value);return true;case"unselectedSliceStyle":funnelChart.unselectedSliceStyle(value);return true;case"useOuterLabelsForLegend":funnelChart.useOuterLabelsForLegend(value);return true;case"outlineThickness":funnelChart.outlineThickness(value);return true}},_setOption:function(key,val){var chart=this._chart,o=this.options;if(o[key]===val){return this}$.Widget.prototype._setOption.apply(this,arguments);this._set_option(chart,key,val);return this},_dataEvt:function(act,before){if(act===0||act===1){return}var sel,i,old=this._oldSel;if(before){old=this.selectedSliceItems();this._oldSel=old&&old.length?old:null;return}delete this._oldSel;sel=this.selectedSliceIndexes();if(!old&&(!sel||!sel.length)){return}i=old?old.length:0;while(i-->0){old[i]=this.findIndexOfItem(old[i]);if(old[i]<0){sel=null;old.splice(i,1)}else if(sel&&sel[i]!==old[i]){sel=null}}if(!sel){this.selectedSliceIndexes(old||null)}},_defStyle:function(sel){var v,bk0,b0,style={},name=sel+"SliceStyle",span=this.element.find("SPAN");if(span.length!==1||this.options[name]){return}bk0=span.css("background-color");b0=span.css("border-top-color");sel="ui-funnel-slice-"+sel;span.addClass(sel);v=span.css("background-color");if(v&&v!=="transparent"&&v!==bk0){style.fill=v}v=span.css("border-top-color");if(v&&v!==b0){style.stroke=v}v=parseFloat(span.css("opacity"));if(!isNaN(v)&&v>0&&v<1){style.opacity=v}span.removeClass(sel);this._set_option(this._chart,name,style)},destroy:function(){if(this._chart){this._setLegend(this._chart)}$.ui.igBaseChart.prototype.destroy.apply(this)}});$.extend($.ui.igFunnelChart,{version:"13.1.20131.2523"})})(jQuery);/*!@license
* Infragistics.Web.ClientUI RadialGauge 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
*     jquery-1.8.3.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
if(typeof jQuery==="undefined"){throw new Error("jQuery is undefined")}(function($){$.widget("ui.igRadialGauge",{css:{unsupportedBrowserClass:"ui-html5-non-html5-supported-message ui-helper-clearfix ui-html5-non-html5",radialGauge:"ui-radialgauge"},events:{formatLabel:null,alignLabel:null},options:{ranges:[{name:null,startValue:0,endValue:0,outerStartExtent:0,outerEndExtent:0,innerStartExtent:0,innerEndExtent:0,brush:null,outline:null,strokeThickness:0,remove:false}],rangeBrushes:null,rangeOutlines:null,minimumValue:0,maximumValue:0,interval:0,centerX:0,centerY:0,value:0,scaleStartAngle:0,scaleEndAngle:0,scaleSweepDirection:null,transitionDuration:0,needleBrush:null,needleOutline:null,needleStartExtent:0,needleEndExtent:0,needleShape:null,needleStartWidthRatio:0,needleEndWidthRatio:0,needleBaseFeatureWidthRatio:0,needleBaseFeatureExtent:0,needlePointFeatureWidthRatio:0,needlePointFeatureExtent:0,needlePivotWidthRatio:0,needlePivotInnerWidthRatio:0,needlePivotShape:null,scaleStartExtent:0,needlePivotBrush:null,needlePivotOutline:null,needleStrokeThickness:0,needlePivotStrokeThickness:0,scaleEndExtent:0,labelExtent:0,labelInterval:0,tickStartExtent:0,tickEndExtent:0,tickStrokeThickness:0,tickBrush:null,fontBrush:null,minorTickStartExtent:0,minorTickEndExtent:0,minorTickStrokeThickness:0,minorTickBrush:null,minorTickCount:0,scaleBrush:null,backingBrush:null,backingOutline:null,backingStrokeThickness:0,backingOuterExtent:0,backingOversweep:0,scaleOversweep:0,scaleOversweepShape:null,backingCornerRadius:0,backingInnerExtent:0,backingShape:null,radiusMultiplier:0,duplicateLabelOmissionStrategy:null,font:null,transitionProgress:0},_rangesColl:{},_setOption:function(key,value,checkPrev){var radialGauge=this._radialGauge,o=this.options;if(checkPrev&&o[key]===value){return}$.Widget.prototype._setOption.apply(this,arguments);if(this._set_option(radialGauge,key,value)){return this}this._set_generated_option(radialGauge,key,value);return this},_set_generated_option:function(radialGauge,key,value){switch(key){case"rangeBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}radialGauge.rangeBrushes($tempBrushCollection);return true;case"rangeOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=new $.ig.Brush;$tempBrush.fill(value[i]);$tempBrushCollection.add($tempBrush)}radialGauge.rangeOutlines($tempBrushCollection);return true;case"minimumValue":radialGauge.minimumValue(value);return true;case"maximumValue":radialGauge.maximumValue(value);return true;case"interval":radialGauge.interval(value);return true;case"centerX":radialGauge.centerX(value);return true;case"centerY":radialGauge.centerY(value);return true;case"value":radialGauge.value(value);return true;case"scaleStartAngle":radialGauge.scaleStartAngle(value);return true;case"scaleEndAngle":radialGauge.scaleEndAngle(value);return true;case"scaleSweepDirection":switch(value){case"counterclockwise":radialGauge.scaleSweepDirection(0);break;case"clockwise":radialGauge.scaleSweepDirection(1);break}return true;case"transitionDuration":radialGauge.transitionDuration(value);return true;case"needleBrush":if(value==null){radialGauge.needleBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.needleBrush($tempBrush)}return true;case"needleOutline":if(value==null){radialGauge.needleOutline(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.needleOutline($tempBrush)}return true;case"needleStartExtent":radialGauge.needleStartExtent(value);return true;case"needleEndExtent":radialGauge.needleEndExtent(value);return true;case"needleShape":switch(value){case"none":radialGauge.needleShape(0);break;case"rectangle":radialGauge.needleShape(1);break;case"triangle":radialGauge.needleShape(2);break;case"needle":radialGauge.needleShape(3);break;case"trapezoid":radialGauge.needleShape(4);break;case"rectangleWithBulb":radialGauge.needleShape(5);break;case"triangleWithBulb":radialGauge.needleShape(6);break;case"needleWithBulb":radialGauge.needleShape(7);break;case"trapezoidWithBulb":radialGauge.needleShape(8);break}return true;case"needleStartWidthRatio":radialGauge.needleStartWidthRatio(value);return true;case"needleEndWidthRatio":radialGauge.needleEndWidthRatio(value);return true;case"needleBaseFeatureWidthRatio":radialGauge.needleBaseFeatureWidthRatio(value);return true;case"needleBaseFeatureExtent":radialGauge.needleBaseFeatureExtent(value);return true;case"needlePointFeatureWidthRatio":radialGauge.needlePointFeatureWidthRatio(value);return true;case"needlePointFeatureExtent":radialGauge.needlePointFeatureExtent(value);return true;case"needlePivotWidthRatio":radialGauge.needlePivotWidthRatio(value);return true;case"needlePivotInnerWidthRatio":radialGauge.needlePivotInnerWidthRatio(value);return true;case"needlePivotShape":switch(value){case"none":radialGauge.needlePivotShape(0);break;case"circle":radialGauge.needlePivotShape(1);break;case"circleWithHole":radialGauge.needlePivotShape(2);break;case"circleOverlay":radialGauge.needlePivotShape(3);break;case"circleOverlayWithHole":radialGauge.needlePivotShape(4);break;case"circleUnderlay":radialGauge.needlePivotShape(5);break;case"circleUnderlayWithHole":radialGauge.needlePivotShape(6);break}return true;case"scaleStartExtent":radialGauge.scaleStartExtent(value);return true;case"needlePivotBrush":if(value==null){radialGauge.needlePivotBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.needlePivotBrush($tempBrush)}return true;case"needlePivotOutline":if(value==null){radialGauge.needlePivotOutline(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.needlePivotOutline($tempBrush)}return true;case"needleStrokeThickness":radialGauge.needleStrokeThickness(value);return true;case"needlePivotStrokeThickness":radialGauge.needlePivotStrokeThickness(value);return true;case"scaleEndExtent":radialGauge.scaleEndExtent(value);return true;case"labelExtent":radialGauge.labelExtent(value);return true;case"labelInterval":radialGauge.labelInterval(value);return true;case"tickStartExtent":radialGauge.tickStartExtent(value);return true;case"tickEndExtent":radialGauge.tickEndExtent(value);return true;case"tickStrokeThickness":radialGauge.tickStrokeThickness(value);return true;case"tickBrush":if(value==null){radialGauge.tickBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.tickBrush($tempBrush)}return true;case"fontBrush":if(value==null){radialGauge.fontBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.fontBrush($tempBrush)}return true;case"minorTickStartExtent":radialGauge.minorTickStartExtent(value);return true;case"minorTickEndExtent":radialGauge.minorTickEndExtent(value);return true;case"minorTickStrokeThickness":radialGauge.minorTickStrokeThickness(value);return true;case"minorTickBrush":if(value==null){radialGauge.minorTickBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.minorTickBrush($tempBrush)}return true;case"minorTickCount":radialGauge.minorTickCount(value);return true;case"scaleBrush":if(value==null){radialGauge.scaleBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.scaleBrush($tempBrush)}return true;case"backingBrush":if(value==null){radialGauge.backingBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.backingBrush($tempBrush)}return true;case"backingOutline":if(value==null){radialGauge.backingOutline(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);radialGauge.backingOutline($tempBrush)}return true;case"backingStrokeThickness":radialGauge.backingStrokeThickness(value);return true;case"backingOuterExtent":radialGauge.backingOuterExtent(value);return true;case"backingOversweep":radialGauge.backingOversweep(value);return true;case"scaleOversweep":radialGauge.scaleOversweep(value);return true;case"scaleOversweepShape":switch(value){case"auto":radialGauge.scaleOversweepShape(0);break;case"circular":radialGauge.scaleOversweepShape(1);break;case"fitted":radialGauge.scaleOversweepShape(2);break}return true;case"backingCornerRadius":radialGauge.backingCornerRadius(value);return true;case"backingInnerExtent":radialGauge.backingInnerExtent(value);return true;case"backingShape":switch(value){case"circular":radialGauge.backingShape(0);break;case"fitted":radialGauge.backingShape(1);break}return true;case"radiusMultiplier":radialGauge.radiusMultiplier(value);return true;case"duplicateLabelOmissionStrategy":switch(value){case"omitLast":radialGauge.duplicateLabelOmissionStrategy(0);break;case"omitFirst":radialGauge.duplicateLabelOmissionStrategy(1);break;case"omitNeither":radialGauge.duplicateLabelOmissionStrategy(2);break;case"omitBoth":radialGauge.duplicateLabelOmissionStrategy(3);break}return true;case"font":radialGauge.font(value);return true;case"transitionProgress":radialGauge.transitionProgress(value);return true}},_set_option:function(radialGauge,key,value){var currentKey;switch(key){case"ranges":var count=value.length;for(i=0;i<count;i++){if(!value[i].name){throw new Error("Range name is missing for range: "+i)}if(this._rangesColl.hasOwnProperty(value[i].name)){this._removeRange(radialGauge,value[i]);this._updateRange(radialGauge,value[i])}else this._addRange(radialGauge,value[i])}return true;case"width":this._setSize(radialGauge,"width",value);return true;case"height":this._setSize(radialGauge,"height",value);return true}},getRangeNames:function(){var rangeNames="";for(var key in this._rangesColl){rangeNames+=key+"\n"}return rangeNames},addRange:function(value){this._addRange(this._radialGauge,value)},_addRange:function(radialGauge,value){if(!value||value.remove==true||!this._rangesColl)return;if(!this._rangesColl.hasOwnProperty(value.name)){var range=new $.ig.XamRadialGaugeRange;for(currentKey in value){if(value.hasOwnProperty(currentKey)){this._setRangeOption(range,currentKey,value[currentKey])}}this._rangesColl[value.name]=range;radialGauge.ranges().add(range)}},removeRange:function(value){this._removeRange(this._radialGauge,value)},_removeRange:function(radialGauge,value){if(!value||!this._rangesColl)return;if(this._rangesColl.hasOwnProperty(value.name)){var range=this._rangesColl[value.name];if(range&&value.remove==true){delete this._rangesColl[value.name];if(radialGauge.ranges().contains(range))radialGauge.ranges().remove(range)}}},updateRange:function(value){this._updateRange(this._radialGauge,value)},_updateRange:function(radialGauge,value){if(!value||!this._rangesColl)return;if(this._rangesColl.hasOwnProperty(value.name)){var range=this._rangesColl[value.name];if(range&&!value.remove){for(currentKey in value){if(value.hasOwnProperty(currentKey)){this._setRangeOption(range,currentKey,value[currentKey])}}this._rangesColl[value.name]=range}}},_creationOptions:null,_radialGauge:null,_createWidget:function(options,element,widget){this._creationOptions=options;$.Widget.prototype._createWidget.apply(this,[options,element])},_create:function(){var key,v,size,radialGauge,width,height,i=-1,self=this,elem=self.element,style=elem[0].style,o=this._creationOptions;self._old_state={style:{position:style.position,width:style.width,height:style.height},css:elem[0].className,elems:elem.find("*")};if(!$.ig.util._isCanvasSupported()){$.ig.util._renderUnsupportedBrowser(this);return}radialGauge=this._createGauge();self._radialGauge=radialGauge;radialGauge.formatLabel=$.ig.Delegate.prototype.combine(radialGauge.formatLabel,jQuery.proxy(this._fireRadialGauge_formatLabel,this));radialGauge.alignLabel=$.ig.Delegate.prototype.combine(radialGauge.alignLabel,jQuery.proxy(this._fireRadialGauge_alignLabel,this));if(o.hasOwnProperty("width"))elem[0].style.width=o["width"];if(o.hasOwnProperty("height"))elem[0].style.height=o["height"];radialGauge.provideContainer(elem[0]);for(key in o){if(o.hasOwnProperty(key)){v=o[key];if(v!==null){this._setOption(key,v,false)}}}while(i++<1){key=i===0?"width":"height";if(o[key]){size=key;v=o[key]}else{v=elem[0].style[key]}if(v&&v.indexOf("%")>0){self._setSize(radialGauge,size=key,v)}}if(!size){self._setSize(radialGauge,"width")}if(self.css&&self.css.radialGauge){elem.addClass(self.css.radialGauge)}},_createGauge:function(){this._rangesColl={};return new $.ig.XamRadialGauge},_fireRadialGauge_formatLabel:function(radialGauge,evt){var opts={};opts.actualMinimumValue=evt.actualMinimumValue;opts.actualMaximumValue=evt.actualMaximumValue;opts.startAngle=evt.startAngle;opts.endAngle=evt.endAngle;opts.angle=evt.angle;opts.value=evt.value;opts.label=evt.label;opts.owner=this;this._trigger("formatLabel",null,opts);evt.value=opts.value;evt.label=opts.label},_fireRadialGauge_alignLabel:function(radialGauge,evt){var opts={};opts.actualMinimumValue=evt.actualMinimumValue;opts.actualMaximumValue=evt.actualMaximumValue;opts.startAngle=evt.startAngle;opts.endAngle=evt.endAngle;opts.angle=evt.angle;opts.value=evt.value;opts.label=evt.label;opts.width=evt.width;opts.height=evt.height;opts.offsetX=evt.offsetX;opts.offsetY=evt.offsetY;opts.owner=this;this._trigger("alignLabel",null,opts);evt.value=opts.value;evt.label=opts.label;evt.offsetX=opts.offsetX;evt.offsetY=opts.offsetY;evt.width=opts.width;evt.height=opts.height},_setSize:function(radialGauge,key,val){$.ig.util.setSize(this.element,key,val,radialGauge,this._getNotifyResizeName())},_getNotifyResizeName:function(){return"containerResized"},_setRangeOption:function(range,key,value){switch(key){case"brush":var brush=new $.ig.Brush;brush.fill(value);range.brush(brush);break;case"outline":var brush=new $.ig.Brush;brush.fill(value);range.outline(brush);break;case"startValue":range.startValue(value);break;case"endValue":range.endValue(value);break;case"outerStartExtent":range.outerStartExtent(value);break;case"outerEndExtent":range.outerEndExtent(value);break;case"innerStartExtent":range.innerStartExtent(value);break;case"innerEndExtent":range.innerEndExtent(value);break;case"strokeThickness":range.strokeThickness(value);break}},scaleValue:function(value){if(this._radialGauge)return this._radialGauge.scaleValue(value)},unscaleValue:function(value){if(this._radialGauge)return this._radialGauge.unscaleValue(value)},getValueForPoint:function(x,y){if(this._radialGauge){var point={__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return this._radialGauge.getValueForPoint(point)}},needleContainsPoint:function(x,y){if(this._radialGauge){var point={__x:x,__y:y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return this._radialGauge.needleContainsPoint(point)}},exportVisualData:function(){if(this._radialGauge)return this._radialGauge.exportVisualData()},flush:function(){if(this._radialGauge&&this._radialGauge.view())this._radialGauge.view().flush()},destroy:function(){var key,style,radialGauge=this._radialGauge,old=this._old_state,elem=this.element;if(!old){return}elem.find("*").not(old.elems).remove();if(this.css.radialGauge){elem.removeClass(this.css.radialGauge)}old=old.style;style=elem[0].style;for(key in old){if(old.hasOwnProperty(key)){if(style[key]!==old[key]){style[key]=old[key]}}}if(radialGauge){this._setSize(radialGauge)}$.Widget.prototype.destroy.apply(this,arguments);if(radialGauge&&radialGauge.destroy){radialGauge.destroy()}delete this._radialGauge;delete this._old_state},styleUpdated:function(){if(this._radialGauge){this._radialGauge.styleUpdated()}}});$.extend($.ui.igRadialGauge,{version:"13.1.20131.2523"})})(jQuery);/*!@license
 * Infragistics.Web.ClientUI Chart 13.1.20131.2523
 *
 * Copyright (c) 2011-2014 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 * jquery-1.4.4.js
 * jquery.ui.core.js
 * jquery.ui.widget.js
 * infragistics.util.js
 * infragistics.dv.core.js
 * infragistics.geographicmap_core.js
 * infragistics.datasource.js
 * infragistics.dvcommonwidget.js
 */
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){$.widget("ui.igMap",{options:{width:null,height:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,autoMarginWidth:20,autoMarginHeight:0,crosshairVisibility:"collapsed",crosshairPoint:{x:0,y:0},plotAreaBackground:null,defaultInteraction:"dragPan",dragModifier:"none",panModifier:"shift",previewRect:null,windowRect:null,horizontalZoomable:false,verticalZoomable:false,windowResponse:null,windowRectMinWidth:0,windowPositionHorizontal:0,windowPositionVertical:0,circleMarkerTemplate:null,triangleMarkerTemplate:null,pyramidMarkerTemplate:null,squareMarkerTemplate:null,diamondMarkerTemplate:null,pentagonMarkerTemplate:null,hexagonMarkerTemplate:null,tetragramMarkerTemplate:null,pentagramMarkerTemplate:null,hexagramMarkerTemplate:null,overviewPlusDetailPaneBackgroundImageUri:null,backgroundContent:{type:"openStreet",key:null,parameter:null,tilePath:null,imagerySet:"AerialWithLabels",bingUrl:"http://dev.virtualearth.net/REST/v1/Imagery/Metadata/"},series:[{type:null,name:null,dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,remove:false,showTooltip:false,shapeDataSource:null,databaseSource:null,triangulationDataSource:null,legendItemBadgeTemplate:null,legendItemTemplate:null,discreteLegendItemTemplate:null,transitionDuration:0,resolution:1,title:null,brush:null,outline:null,thickness:0,trianglesSource:null,triangleVertexMemberPath1:null,triangleVertexMemberPath2:null,triangleVertexMemberPath3:null,colorScale:null,colorMemberPath:null,visibleFromScale:0,longitudeMemberPath:null,latitudeMemberPath:null,markerType:"none",markerTemplate:null,shapeMemberPath:null,shapeStyleSelector:null,shapeStyle:null,markerBrush:null,markerOutline:null,markerCollisionAvoidance:"none",fillScale:null,fillMemberPath:null,trendLineType:"none",trendLineBrush:null,trendLineThickness:1.5,trendLinePeriod:7,trendLineZIndex:1001,maximumMarkers:400,radiusMemberPath:null,radiusScale:null,labelMemberPath:null,clipSeriesToBounds:null,valueMemberPath:null,unknownValuePlotting:"dontPlot",angleMemberPath:null,useCartesianInterpolation:true,stiffness:.5,negativeBrush:null,splineType:"natural",lowMemberPath:null,highMemberPath:null,openMemberPath:null,closeMemberPath:null,volumeMemberPath:null,ignoreFirst:0,period:0,shortPeriod:0,longPeriod:0,valueResolver:null,shapeFilterResolution:2,useBruteForce:false,progressiveLoad:true,mouseOverEnabled:false,useSquareCutoffStyle:false,heatMinimum:0,heatMaximum:50}],theme:"c"},css:{map:"ui-corner-all ui-widget-content",unsupportedBrowserClass:"ui-chart-non-html5-supported-message ui-helper-clearfix",tooltip:"ui-chart-tooltip ui-widget-content ui-corner-all"},events:{tooltipShowing:"tooltipShowing",tooltipShown:"tooltipShown",tooltipHiding:"tooltipHiding",tooltipHidden:"tooltipHidden",browserNotSupported:"browserNotSupported",seriesCursorMouseMove:null,seriesMouseLeftButtonDown:null,seriesMouseLeftButtonUp:null,seriesMouseMove:null,seriesMouseEnter:null,seriesMouseLeave:null,windowRectChanged:null,gridAreaRectChanged:null,refreshCompleted:null,triangulationStatusChanged:null},_createWidget:function(options,element){this._fixCss();this.dvWidget=new $.ig.dvCommonWidget(this);this.dvWidget._createWidget(options,element,this)},_create:function(){this._fixCss();this.dvWidget._create()},_fixCss:function(){if(this.css.map.indexOf("{0}")>-1){this.css.map=this.css.map.replace("{0}",this.options.theme);this.css.tooltip=this.css.tooltip.replace("{0}",this.options.theme)}},_setOption:function(key,value){this.dvWidget._setOption(key,value)},destroy:function(){if(this._chart){this._chart.destroy()}this.dvWidget._destroy(this);$.Widget.prototype.destroy.apply(this,arguments)},id:function(){return this.element[0].id},exportImage:function(width,height){return this.dvWidget._getImage(width,height,this)},styleUpdated:function(){this._chart.styleUpdated();return this},resetZoom:function(){this._chart.resetZoom();return this},addItem:function(item,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].addRow(null,item,true)}},insertItem:function(item,index,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].insertRow(null,item,index,true)}},removeItem:function(index,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].deleteRow(index,true)}},setItem:function(index,item,targetName){var dataSourceId=targetName||this._containerSourceID;if(this.dataSources[dataSourceId]){this.dataSources[dataSourceId].updateRow(index,item,true)}},notifySetItem:function(dataSource,index,newItem,oldItem){this._chart.notifySetItem(dataSource,index,oldItem,newItem);return this},notifyClearItems:function(dataSource){this._chart.notifyClearItems(dataSource);return this},notifyInsertItem:function(dataSource,index,newItem){this._chart.notifyInsertItem(dataSource,index,newItem);return this},notifyRemoveItem:function(dataSource,index,oldItem){this._chart.notifyRemoveItem(dataSource,index,oldItem);return this},scrollIntoView:function(targetName,item){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.scrollIntoView){target.scrollIntoView(item)}return this},scaleValue:function(targetName,unscaledValue){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.scaleValue){return target.scaleValue(unscaledValue)}return 0},unscaleValue:function(targetName,scaledValue){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.unscaleValue){return target.unscaleValue(scaledValue)}return 0},flush:function(){this._chart.flush()},exportVisualData:function(){return this._chart.exportVisualData()},getActualMinimumValue:function(targetName){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.actualMinimumValue){return target.actualMinimumValue()}return 0},getActualMaximumValue:function(targetName){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.actualMaximumValue){return target.actualMaximumValue()}return 0},notifyContainerResized:function(){this._chart.notifyContainerResized()},zoomToGeographic:function(rect){var theRect;if(rect===undefined){rect=this._chart.getGeographicFromZoom()}else{theRect=new $.ig.Rect(0,rect.left,rect.top,rect.width,rect.height);rect=theRect}this._chart.zoomToGeographic(rect);return this},getGeographicFromZoom:function(rect){var res,ret,theRect;if(rect===undefined){rect=this._chart.windowRect()}else{theRect=new $.ig.Rect(0,rect.left,rect.top,rect.width,rect.height);rect=theRect}res=this._chart.getGeographicFromZoom(rect);ret={};ret.top=res.top();ret.left=res.left();ret.width=res.width();ret.height=res.height();return ret},getZoomFromGeographic:function(rect){var res,ret,theRect;if(rect===undefined){rect=this._chart.windowRect()}else{theRect=new $.ig.Rect(0,rect.left,rect.top,rect.width,rect.height);rect=theRect}res=this._chart.getZoomFromGeographic(rect);ret={};ret.top=res.top();ret.left=res.left();ret.width=res.width();ret.height=res.height();return ret},print:function(){this.dvWidget._print()},renderSeries:function(targetName,animate){var target=this.dvWidget._getNotifyTarget(targetName);if(target&&target.renderSeries){return target.renderSeries(animate)}return this},_initConverter:function(options,callback){var id=options.name||this._containerSourceID,convDataSource=options.triangulationDataSource||options.shapeDataSource;if(this.dataSources===undefined){this.dataSources={}}if(convDataSource instanceof $.ig.TriangulationDataSource||convDataSource instanceof $.ig.ShapeDataSource){this.dataSources[id]=convDataSource.converter();if(convDataSource.isBound()){callback.call(this.dvWidget)}else{convDataSource.settings.id=id;convDataSource.settings.callee=this.dvWidget;convDataSource.settings.callback=callback}}else{if(options.triangulationDataSource){this.dataSources[id]=new $.ig.TriangulationDataSource({id:id,source:options.triangulationDataSource,callback:callback,callee:this.dvWidget}).dataBind().converter()}else{this.dataSources[id]=new $.ig.ShapeDataSource({id:id,shapefileSource:options.shapeDataSource,databaseSource:options.databaseSource,callback:callback,callee:this.dvWidget}).dataBind().converter()}}this.dataSources[id].id=id}});$.extend($.ui.igMap,{version:"13.1.20131.2523"});$.ig.ShapeDataSource=$.ig.ShapeDataSource||Class.extend({settings:{id:null,shapefileSource:null,databaseSource:null,callback:null,callee:null,transformRecord:null,transformPoint:null,transformBounds:null,importCompleted:null},init:function(options){this._uris={};this._isImported=false;this.settings=$.extend(true,{},$.ig.ShapeDataSource.prototype.settings,options);this._converter=new $.ig.ShapefileConverter;this._converter.importCompleted=jQuery.proxy(this._importCompleted,this);return this},_importCompleted:function(){var i,j,k,bounds,currRecord,subShape,point,flatPoint;this._isImported=true;if(this._converter!==null&&typeof this.settings.transformBounds==="function"){bounds={left:this._converter.worldRect().left(),top:this._converter.worldRect().top(),width:this._converter.worldRect().width(),height:this._converter.worldRect().height()};this.settings.transformBounds(bounds);this._converter.worldRect(new $.ig.Rect(0,bounds.left,bounds.top,bounds.width,bounds.height));this._converter.bounds=bounds}if(this._converter!==null&&(typeof this.settings.transformRecord==="function"||typeof this.settings.transformPoint==="function")){for(i=0;i<this._converter.records().count();i++){currRecord=this._converter.records().item(i);if(typeof this.settings.transformPoint==="function"){for(j=0;j<currRecord.points.count();j++){subShape=currRecord.points.item(j);for(k=0;k<subShape.count();k++){point=subShape.item(k);flatPoint={x:point.x(),y:point.y()};this.settings.transformPoint(flatPoint);point.x(flatPoint.x);point.y(flatPoint.y)}}}if(typeof this.settings.transformRecord==="function"){this.settings.transformRecord(currRecord)}}}if(typeof this.settings.importCompleted==="function"){this.settings.importCompleted(this)}if(typeof this.settings.callback==="function"){this.settings.callback.call(this)}},dataBind:function(){if(this.settings.shapefileSource){this._uris.shapefileSource=new $.ig.Uri;this._uris.shapefileSource.value(this.settings.shapefileSource);this._converter.shapefileSource(this._uris.shapefileSource)}if(this.settings.databaseSource){this._uris.databaseSource=new $.ig.Uri;this._uris.databaseSource.value(this.settings.databaseSource);this._converter.databaseSource(this._uris.databaseSource)}return this},isBound:function(){return this._isImported},converter:function(){return this._converter}});$.ig.TriangulationDataSource=$.ig.TriangulationDataSource||Class.extend({settings:{id:null,source:null,triangulationSource:null,callback:null,callee:null},init:function(options){this._uris={};this._isImported=false;this.settings=$.extend(true,{},$.ig.TriangulationDataSource.prototype.settings,options);this._converter=new $.ig.ItfConverter;this._converter.importCompleted=jQuery.proxy(this._importCompleted,this);return this},_importCompleted:function(){this._isImported=true;if(typeof this.settings.callback==="function"){this.settings.callback.call(this)}},dataBind:function(){if(this.settings.source){this._uris.source=new $.ig.Uri;this._uris.source.value(this.settings.source);this._converter.source(this._uris.source)}if(this.settings.triangulationSource){this._uris.triangulationSource=new $.ig.Uri;this._uris.triangulationSource.value(this.settings.triangulationSource);this._converter.source(this._uris.triangulationSource)}return this},isBound:function(){return this._isImported},converter:function(){return this._converter}})})(jQuery);/*!@license
 * Infragistics.Web.ClientUI Sparkline 13.1.20131.2523
 *
 * Copyright (c) 2011-2014 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *	jquery-1.4.4.js
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 *	infragistics.util.js
 */
if(typeof jQuery!=="function"){throw new Error("jQuery is undefined")}(function($){var _aNull=function(v,nan){return v===null||v===undefined||nan&&typeof v==="number"&&isNaN(v)};$.widget("ui.igSparkline",$.ui.igBaseChart,{css:{chart:"ui-sparkline ui-corner-all ui-widget-content",tooltip:"ui-sparkline-tooltip ui-widget-content ui-corner-all"},options:{brush:null,negativeBrush:null,markerBrush:null,negativeMarkerBrush:null,firstMarkerBrush:null,lastMarkerBrush:null,highMarkerBrush:null,lowMarkerBrush:null,trendLineBrush:null,horizontalAxisBrush:null,verticalAxisBrush:null,normalRangeFill:null,horizontalAxisVisibility:"collapsed",verticalAxisVisibility:"collapsed",markerVisibility:"collapsed",negativeMarkerVisibility:"collapsed",firstMarkerVisibility:"collapsed",lastMarkerVisibility:"collapsed",lowMarkerVisibility:"collapsed",highMarkerVisibility:"collapsed",normalRangeVisibility:"collapsed",markerSize:-1,firstMarkerSize:-1,lastMarkerSize:-1,highMarkerSize:-1,lowMarkerSize:-1,negativeMarkerSize:-1,lineThickness:-1,valueMemberPath:null,labelMemberPath:null,trendLineType:"none",trendLinePeriod:7,trendLineThickness:-1,normalRangeMinimum:0,normalRangeMaximum:0,displayType:"line",unknownValuePlotting:"dontPlot",verticalAxisLabel:null,horizontalAxisLabel:null,formatLabel:null},events:{dataBinding:null,dataBound:null},_create:function(){$.ui.igBaseChart.prototype._create.apply(this);var sparkline=this._chart},_set_option:function(sparkline,key,value){if($.ui.igBaseChart.prototype._set_option.apply(this,arguments)){return true}switch(key){case"brush":if(value==null){sparkline.brush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.brush($tempBrush)}return true;case"negativeBrush":if(value==null){sparkline.negativeBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.negativeBrush($tempBrush)}return true;case"markerBrush":if(value==null){sparkline.markerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.markerBrush($tempBrush)}return true;case"negativeMarkerBrush":if(value==null){sparkline.negativeMarkerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.negativeMarkerBrush($tempBrush)}return true;case"firstMarkerBrush":if(value==null){sparkline.firstMarkerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.firstMarkerBrush($tempBrush)}return true;case"lastMarkerBrush":if(value==null){sparkline.lastMarkerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.lastMarkerBrush($tempBrush)}return true;case"highMarkerBrush":if(value==null){sparkline.highMarkerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.highMarkerBrush($tempBrush)}return true;case"lowMarkerBrush":if(value==null){sparkline.lowMarkerBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.lowMarkerBrush($tempBrush)}return true;case"trendLineBrush":if(value==null){sparkline.trendLineBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.trendLineBrush($tempBrush)}return true;case"horizontalAxisBrush":if(value==null){sparkline.horizontalAxisBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.horizontalAxisBrush($tempBrush)}return true;case"verticalAxisBrush":if(value==null){sparkline.verticalAxisBrush(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.verticalAxisBrush($tempBrush)}return true;case"normalRangeFill":if(value==null){sparkline.normalRangeFill(null)}else{var $tempBrush=new $.ig.Brush;$tempBrush.fill(value);sparkline.normalRangeFill($tempBrush)}return true;case"horizontalAxisVisibility":switch(value){case"visible":sparkline.horizontalAxisVisibility(0);break;case"collapsed":sparkline.horizontalAxisVisibility(1);break}return true;case"verticalAxisVisibility":switch(value){case"visible":sparkline.verticalAxisVisibility(0);break;case"collapsed":sparkline.verticalAxisVisibility(1);break}return true;case"markerVisibility":switch(value){case"visible":sparkline.markerVisibility(0);break;case"collapsed":sparkline.markerVisibility(1);break}return true;case"negativeMarkerVisibility":switch(value){case"visible":sparkline.negativeMarkerVisibility(0);break;case"collapsed":sparkline.negativeMarkerVisibility(1);break}return true;case"firstMarkerVisibility":switch(value){case"visible":sparkline.firstMarkerVisibility(0);break;case"collapsed":sparkline.firstMarkerVisibility(1);break}return true;case"lastMarkerVisibility":switch(value){case"visible":sparkline.lastMarkerVisibility(0);break;case"collapsed":sparkline.lastMarkerVisibility(1);break}return true;case"lowMarkerVisibility":switch(value){case"visible":sparkline.lowMarkerVisibility(0);break;case"collapsed":sparkline.lowMarkerVisibility(1);break}return true;case"highMarkerVisibility":switch(value){case"visible":sparkline.highMarkerVisibility(0);break;case"collapsed":sparkline.highMarkerVisibility(1);break}return true;case"normalRangeVisibility":switch(value){case"visible":sparkline.normalRangeVisibility(0);break;case"collapsed":sparkline.normalRangeVisibility(1);break}return true;case"markerSize":sparkline.markerSize(value);return true;case"firstMarkerSize":sparkline.firstMarkerSize(value);return true;case"lastMarkerSize":sparkline.lastMarkerSize(value);return true;case"highMarkerSize":sparkline.highMarkerSize(value);return true;case"lowMarkerSize":sparkline.lowMarkerSize(value);return true;case"negativeMarkerSize":sparkline.negativeMarkerSize(value);return true;case"lineThickness":sparkline.lineThickness(value);return true;case"valueMemberPath":sparkline.valueMemberPath(value);return true;case"labelMemberPath":sparkline.labelMemberPath(value);return true;case"trendLineType":switch(value){case"none":sparkline.trendLineType(0);break;case"linearFit":sparkline.trendLineType(1);break;case"quadraticFit":sparkline.trendLineType(2);break;case"cubicFit":sparkline.trendLineType(3);break;case"quarticFit":sparkline.trendLineType(4);break;case"quinticFit":sparkline.trendLineType(5);break;case"logarithmicFit":sparkline.trendLineType(6);break;case"exponentialFit":sparkline.trendLineType(7);break;case"powerLawFit":sparkline.trendLineType(8);break;case"simpleAverage":sparkline.trendLineType(9);break;case"exponentialAverage":sparkline.trendLineType(10);break;case"modifiedAverage":sparkline.trendLineType(11);break;case"cumulativeAverage":sparkline.trendLineType(12);break;case"weightedAverage":sparkline.trendLineType(13);break}return true;case"trendLinePeriod":sparkline.trendLinePeriod(value);return true;case"trendLineThickness":sparkline.trendLineThickness(value);return true;case"normalRangeMinimum":sparkline.normalRangeMinimum(value);return true;case"normalRangeMaximum":sparkline.normalRangeMaximum(value);return true;case"displayType":switch(value){case"line":sparkline.displayType(0);break;case"area":sparkline.displayType(1);break;case"column":sparkline.displayType(2);break;case"winLoss":sparkline.displayType(3);break}return true;case"unknownValuePlotting":switch(value){case"linearInterpolate":sparkline.unknownValuePlotting(0);break;case"dontPlot":sparkline.unknownValuePlotting(1);break}return true;case"verticalAxisLabel":sparkline.verticalAxisLabel(value);return true;case"horizontalAxisLabel":sparkline.horizontalAxisLabel(value);return true;case"formatLabel":sparkline.formatLabel(value);return true}},_setOption:function(key,val){var chart=this._chart,o=this.options;if(o[key]===val){return this}$.Widget.prototype._setOption.apply(this,arguments);this._set_option(chart,key,val);return this},_getValueKeyName:function(){return"valueMemberPath"},_getRemoteDataKeys:function(){return[this.options.valueMemberPath,this.options.labelMemberPath]},_getNotifyResizeName:function(){return"notifyResized"},_createChart:function(){return new $.ig.XamSparkline},_sparkline:function(){return this._chart},destroy:function(){$.ui.igBaseChart.prototype.destroy.apply(this)}});$.extend($.ui.igSparkline,{version:"13.1.20131.2523"})})(jQuery);