oi-metrology/Archive/wwwroot/igniteui/js/modules/infragistics.datachart_financial.js
2022-07-26 09:34:09 -07:00

23 lines
77 KiB
JavaScript

/*!@license
* Infragistics.Web.ClientUI infragistics.datachart_financial.js 19.1.20191.172
*
* Copyright (c) 2011-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
* jquery-1.4.4.js
* jquery.ui.core.js
* jquery.ui.widget.js
* infragistics.util.js
* infragistics.ext_core.js
* infragistics.ext_collections.js
* infragistics.dv_core.js
* infragistics.dv_geometry.js
* infragistics.datachart_categorycore.js
* infragistics.datachart_core.js
* infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_geometry","./infragistics.datachart_categorycore","./infragistics.datachart_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$n=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$g=$.ig.globalDefs.$$g;$$j=$.ig.globalDefs.$$j;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["FinancialEventArgs:a","FinancialEventHandler:b","FinancialPriceSeries:d","FinancialBucketCalculator:e","FinancialSeries:g","FinancialSeries___CalculateTypicalColumn__IteratorClass:h","FinancialSeries___CalculateTR__IteratorClass:i","FinancialSeries___CalculateTL__IteratorClass:j","FinancialCalculationSupportingCalculations:k","ProvideColumnValuesStrategy:m","DataSourceSupportingCalculation:n","SupportingCalculationStrategy:r","FinancialCalculationDataSource:s","FinancialPriceSeriesView:t","FinancialSeriesView:u"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$c("FinancialEventArgs:a","EventArgs",{init:function(a,b,c,d,e){$$0.$w.init.call(this);this.position(a);this.count(b);this.dataSource(c);this.supportingCalculations(d);if(c!=null){c.series(e)}},_position:0,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_count:0,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",$$0.$w.$type)},true);$c("FinancialBucketCalculator:e","Object",{_a:null,init:function(a){$.ig.$op.init.call(this);if(a==null){throw new $$6.e(0,"view")}this._a=a;this._c=-1;this._d=this._d;this._b=0},getBucket:function(a){return null},getBucketWithoutUnknowns:function(a){return this.getBucket(a)},getErrorBucket:function(a,b){return NaN},_c:0,_d:0,_b:0,getBucketInfo:function(a,b,c,d){a=this._c;b=this._d;c=this._b;d=this._a._bw.resolution();return{p0:a,p1:b,p2:c,p3:d}},e:function(a){var b=this._a.bs();var c=this._a.br();var d=this._a.br();if(this._a._bw!=null){d=this._a._bw.getEffectiveViewport1(this._a)}if(b.isEmpty()||c.isEmpty()||this._a._bw.xAxis()==null){this._b=0;return}var e=this._a._bw.xAxis()!=null?this._a._bw.xAxis().isInverted():false;var f=new $.ig.ScalerParams(0,b,c,e,d);var g=this._a._bw.li(this._a);var h=$b($.ig.ISortingAxis.prototype.$type,this._a._bw.xAxis());if(h==null||h.sortedIndices()==null){var i=Math.floor(this._a._bw.xAxis().getUnscaledValue(g.left(),f));var j=Math.ceil(this._a._bw.xAxis().getUnscaledValue(g.right(),f));if(this._a._bw.xAxis().isInverted()){j=Math.ceil(this._a._bw.xAxis().getUnscaledValue(g.left(),f));i=Math.floor(this._a._bw.xAxis().getUnscaledValue(g.right(),f))}var k=Math.floor((j-i+1)*a/g.width());this._b=$.ig.truncate(Math.max(1,k));this._c=$.ig.truncate(Math.floor(i/this._b));this._d=$.ig.truncate(Math.ceil(j/this._b))}else{this._c=h.getFirstVisibleIndex(b,c,d,g);this._d=h.getLastVisibleIndex(b,c,d,g);this._b=1}},cacheValues:function(){},unCacheValues:function(){},$type:new $.ig.Type("FinancialBucketCalculator",$.ig.$ot,[$.ig.IBucketizer.prototype.$type])},true);$c("FinancialPriceBucketCalculator:c","FinancialBucketCalculator",{init:function(a){$$t.$e.init.call(this,a)},getBucket:function(a){var b=a*this._b;var c=Math.min(b+this._b-1,this._a._bw.bz().count()-1);if(b<=c&&b>=0&&c>=0){var d=this._a._bw.mu().item(b);var e=Number.NEGATIVE_INFINITY;var f=Number.POSITIVE_INFINITY;var g=this._a._bw.mo().item(c);for(var h=b;h<=c;++h){e=Math.max(e,this._a._bw.mq().item(h));f=Math.min(f,this._a._bw.ms().item(h))}f=Math.min(d,f);e=Math.max(g,e);return[.5*(b+c),d,e,f,g]}return[NaN,NaN,NaN,NaN,NaN]},$type:new $.ig.Type("FinancialPriceBucketCalculator",$$t.$e.$type)},true);$c("FinancialSeries:g","Series",{im:function(a){$.ig.Series.prototype.im.call(this,a);this._mg=a},_mg:null,isFinancial:function(){return true},getAxes:function(){return[this.xAxis(),this.yAxis()]},n0:function(){return 2},ny:function(){return 4},ah:function(a){var b=this.aj(this.xAxis(),this.l2.f,this.nx(this.view()),this.nz(this.view()),this.toWorldPosition(a),true);if(b==null){return null}var c=b[0];var d=b[1];var e=new Array(1);var f=new Array(2);var g=this.n0();f[0]={__x:c[0],__y:c[g],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};f[1]={__x:d[0],__y:d[g],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e[0]=f;return e},ai:function(a){var b=this.aj(this.xAxis(),this.l2.f,this.nx(this.view()),this.nz(this.view()),this.toWorldPosition(a),true);if(b==null){return null}var c=b[0];var d=b[1];var e=new Array(1);var f=new Array(2);f[0]={__x:c[0],__y:c[1],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};f[1]={__x:d[0],__y:d[1],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e[0]=f;return e},init:function(){this.nb=new $$4.h($.ig.IFastItemColumn$1.prototype.$type.specialize(Number),String,0);this.nc=new $$4.h(String,String,0);this.mz=false;this.my=false;$.ig.Series.prototype.init.call(this);this.l8=new $.ig.CategorySeriesRenderManager;this._m0=false;this._mb=new $.ig.CategoryTransitionSourceFramePreparer;this._l4=new $.ig.CategoryFrame(3);this._ab=$$t.$g.$type;this.l7(0)},negativeBrush:function(a){if(arguments.length===1){this.h($$t.$g.negativeBrushProperty,a);return a}else{return this.c($$t.$g.negativeBrushProperty)}},k1:function(){return this.negativeBrush()},hn:function(){$.ig.Series.prototype.hn.call(this);this.xAxis(null);this.yAxis(null)},xAxis:function(a){if(arguments.length===1){this.h($$t.$g.xAxisProperty,a);return a}else{return this.c($$t.$g.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.h($$t.$g.yAxisProperty,a);return a}else{return this.c($$t.$g.yAxisProperty)}},openMemberPath:function(a){if(arguments.length===1){this.h($$t.$g.openMemberPathProperty,a);return a}else{return this.c($$t.$g.openMemberPathProperty)}},mu:function(a){if(arguments.length===1){if(this.mt!=a){var b=this.mt;this.mt=a;this.raisePropertyChanged("OpenColumn",b,this.mt)}return a}else{return this.mt}},mt:null,highMemberPath:function(a){if(arguments.length===1){this.h($$t.$g.highMemberPathProperty,a);return a}else{return this.c($$t.$g.highMemberPathProperty)}},mq:function(a){if(arguments.length===1){if(this.mp!=a){var b=this.mp;this.mp=a;this.raisePropertyChanged("HighColumn",b,this.mp)}return a}else{return this.mp}},mp:null,lowMemberPath:function(a){if(arguments.length===1){this.h($$t.$g.lowMemberPathProperty,a);return a}else{return this.c($$t.$g.lowMemberPathProperty)}},ms:function(a){if(arguments.length===1){if(this.mr!=a){var b=this.mr;this.mr=a;this.raisePropertyChanged("LowColumn",b,this.mr)}return a}else{return this.mr}},mr:null,closeMemberPath:function(a){if(arguments.length===1){this.h($$t.$g.closeMemberPathProperty,a);return a}else{return this.c($$t.$g.closeMemberPathProperty)}},mo:function(a){if(arguments.length===1){if(this.mn!=a){var b=this.mn;this.mn=a;this.raisePropertyChanged("CloseColumn",b,this.mn)}return a}else{return this.mn}},mn:null,volumeMemberPath:function(a){if(arguments.length===1){this.h($$t.$g.volumeMemberPathProperty,a);return a}else{return this.c($$t.$g.volumeMemberPathProperty)}},mx:function(a){if(arguments.length===1){if(this.mw!=a){var b=this.mw;this.mw=a;this.raisePropertyChanged("VolumeColumn",b,this.mw)}return a}else{return this.mw}},mw:null,isCustomCategoryStyleAllowed:function(a){if(arguments.length===1){this.h($$t.$g.isCustomCategoryStyleAllowedProperty,a);return a}else{return this.c($$t.$g.isCustomCategoryStyleAllowedProperty)}},_m0:false,assigningCategoryStyle:null,m8:function(){return this.assigningCategoryStyle!=null&&this._m0||this.isHighlightingEnabled()},os:function(a){if(this.assigningCategoryStyle!=null&&this._m0){this.assigningCategoryStyle(this,a)}},l8:null,oq:function(a,b,c,d,e,f){var g=this._b9;this.l8.ac(a,b,c,d,e,f,g);var h=this.l8._c;var i=null;var j=this.bz();if(g&&this.seriesViewer()!=null){i=this.seriesViewer().az().getHighlightingInfo(this,j,d,h.startIndex(),h.endIndex(),false);h.highlightingInfo(i)}h.isThumbnail(f);this.os(h);this.l8.aa(i,f,g)},nq:function(a){return this.ea(a,this.xAxis())},getPreviousOrExactIndex:function(a,b){return this.fc(a,b,this.xAxis(),this.nq.runOn(this),new $$t.f(this.mu(),this.mq(),this.ms(),this.mo(),this.mx()))},getNextOrExactIndex:function(a,b){return this.fa(a,b,this.xAxis(),this.nq.runOn(this),new $$t.f(this.mu(),this.mq(),this.ms(),this.mo(),this.mx()))},d6:function(a,b,c,d,e){if(c==null){return Number.POSITIVE_INFINITY}var f=this.xAxis().jr;return this.d7(a,b,this.xAxis(),d,e,f,this.nq.runOn(this))},getOffsetValue:function(){return this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view()))},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view()))},getSeriesValuePosition:function(a,b,c){return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),null,null,null)},getSeriesValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(new $$t.f(this.mu(),this.mq(),this.ms(),this.mo(),this.mx()),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesHighValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(this.mq(),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesLowValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(this.ms(),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesCloseValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(this.mo(),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesOpenValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(this.mu(),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesVolumeValue:function(a,b,c){var d=this.getEffectiveViewport1(this.view());var e=this.nr(this.view().bs(),this.view().br(),d);var f=new $.ig.ScalerParams(0,this.view().bs(),this.view().br(),this.xAxis().isInverted(),d);return this.em(this.mx(),a,this.xAxis(),f,e,this.nq.runOn(this),b,c)},getSeriesHighValuePosition:function(a,b,c){var $self=this;return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),this.getSeriesHighValue.runOn(this),function(d,e){return $self.fc(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mq())},function(d,e){return $self.fa(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mq())})},getSeriesLowValuePosition:function(a,b,c){var $self=this;return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),this.getSeriesLowValue.runOn(this),function(d,e){return $self.fc(d,e,$self.xAxis(),$self.nq.runOn($self),$self.ms())},function(d,e){return $self.fa(d,e,$self.xAxis(),$self.nq.runOn($self),$self.ms())})},getSeriesOpenValuePosition:function(a,b,c){var $self=this;return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),this.getSeriesOpenValue.runOn(this),function(d,e){return $self.fc(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mu())},function(d,e){return $self.fa(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mu())})},getSeriesCloseValuePosition:function(a,b,c){var $self=this;return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),this.getSeriesCloseValue.runOn(this),function(d,e){return $self.fc(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mo())},function(d,e){return $self.fa(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mo())})},getSeriesVolumeValuePosition:function(a,b,c){var $self=this;return this.lf(a,b,c,this.nr(this.view().bs(),this.view().br(),this.getEffectiveViewport1(this.view())),this.yAxis(),this.xAxis(),this.getSeriesVolumeValue.runOn(this),function(d,e){return $self.fc(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mx())},function(d,e){return $self.fa(d,e,$self.xAxis(),$self.nq.runOn($self),$self.mx())})},h4:function(){$.ig.Series.prototype.h4.call(this);if(this.xAxis()!=null){this.xAxis().g0(false)}if(this.yAxis()!=null){this.yAxis().g0(false)}},jl:function(a,b){this._mg._bu.e(this.resolution());this.renderSeries(false)},jk:function(a,b){if(this._dl&&this.ew()<.05){this.dm(true)}this._mg._bu.e(this.resolution());this.renderSeries(false)},nb:null,nc:null,mv:function(a,b,c){var d=this.bw(b);this.nb.add(d,b);this.nc.add(b,c);return d},op:function(a,b){if(b==null){return}a.deregisterColumn(b);var c=this.nb.item(b);this.nc.remove(c);this.nb.remove(b)},mz:false,is:function(a,b,c,d){$.ig.Series.prototype.is.call(this,a,b,c,d);switch(b){case"SyncLink":if(this.syncLink()!=null&&this.seriesViewer()!=null){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"SeriesViewer":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._mg._bu.e(this.resolution());this.renderSeries(false);break;case"FastItemsSource":this.mz=true;if($b($.ig.IFastItemsSource.prototype.$type,c)!=null){this.op($b($.ig.IFastItemsSource.prototype.$type,c),this.mu());this.op($b($.ig.IFastItemsSource.prototype.$type,c),this.mq());this.op($b($.ig.IFastItemsSource.prototype.$type,c),this.ms());this.op($b($.ig.IFastItemsSource.prototype.$type,c),this.mo());this.op($b($.ig.IFastItemsSource.prototype.$type,c),this.mx());this.mu(null);this.mq(null);this.ms(null);this.mo(null);this.mx(null)}if($b($.ig.IFastItemsSource.prototype.$type,d)!=null){if(String.isNullOrEmpty(this.openMemberPath())==false){this.mu(this.mv($b($.ig.IFastItemsSource.prototype.$type,d),this.openMemberPath(),"OpenColumn"))}if(String.isNullOrEmpty(this.highMemberPath())==false){this.mq(this.mv($b($.ig.IFastItemsSource.prototype.$type,d),this.highMemberPath(),"HighColumn"))}if(String.isNullOrEmpty(this.lowMemberPath())==false){this.ms(this.mv($b($.ig.IFastItemsSource.prototype.$type,d),this.lowMemberPath(),"LowColumn"))}if(String.isNullOrEmpty(this.closeMemberPath())==false){this.mo(this.mv($b($.ig.IFastItemsSource.prototype.$type,d),this.closeMemberPath(),"CloseColumn"))}if(String.isNullOrEmpty(this.volumeMemberPath())==false){this.mx(this.mv($b($.ig.IFastItemsSource.prototype.$type,d),this.volumeMemberPath(),"VolumeColumn"))}}this.mz=false;if(this.yAxis()!=null&&!this.yAxis().updateRange()){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"OpenMemberPath":if(this.bz()!=null){this.op(this.bz(),this.mu());this.mu(this.mv(this.bz(),this.openMemberPath(),"OpenColumn"))}break;case"OpenColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.mz){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"HighMemberPath":if(this.bz()!=null){this.op(this.bz(),this.mq());this.mq(this.mv(this.bz(),this.highMemberPath(),"HighColumn"))}break;case"HighColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.mz){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"LowMemberPath":if(this.bz()!=null){this.op(this.bz(),this.ms());this.ms(this.mv(this.bz(),this.lowMemberPath(),"LowColumn"))}break;case"LowColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.mz){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"CloseMemberPath":if(this.bz()!=null){this.op(this.bz(),this.mo());this.mo(this.mv(this.bz(),this.closeMemberPath(),"CloseColumn"))}break;case"CloseColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.mz){this._mg._bu.e(this.resolution());this.renderSeries(false)}this.ou();break;case"VolumeMemberPath":if(this.bz()!=null){this.op(this.bz(),this.mx());this.mx(this.mv(this.bz(),this.volumeMemberPath(),"VolumeColumn"))}break;case"VolumeColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.mz){this._mg._bu.e(this.resolution());this.renderSeries(false)}break;case"XAxis":if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}this._mg._bu.e(this.resolution());this.renderSeries(false);this.ic();this._mk=$b($.ig.ITimeRangeSelectorAxis.prototype.$type,this.xAxis());break;case"YAxis":if(c!=null){c.deregisterSeries(this)}if(d!=null){d.registerSeries(this)}this._mg._bu.e(this.resolution());if(this.yAxis()!=null){this.yAxis().updateRange()}{this.renderSeries(false)}this.ic();break;case"TransitionProgress":this.l5.c(this.ew(),this.l3,this.l2);if(this.cc(this.view())){return}if(this.ew()==1){this.l2.v();this.ot(this.l2,this._mg);if(this._dl){this._dl=false;this.hq();this._bt.intervalMilliseconds($.ig.truncate(this.en()));this._bt.easingFunction(this.transitionEasingFunction())}}else{this.ot(this.l5,this._mg)}if(this.seriesViewer()!=null){this.seriesViewer().jj(this)}break;case"NegativeBrush":this.renderSeries(false);break;case"IsCustomCategoryStyleAllowed":this._m0=this.m3();this.renderSeries(false);break;case"CategoryMode":if(this.xAxis()!=null){this.xAxis().kg(true)}break}},canUseAsYAxis:function(a){if($b($.ig.NumericYAxis.prototype.$type,a)!==null){return true}return false},canUseAsXAxis:function(a){if($b($.ig.CategoryXAxis.prototype.$type,a)!==null||a.isDateTime()){return true}return false},lt:function(a,b,c){if(b<a||a<0||a>this.bz().count()||b<0||b>this.bz().count()||c==null){return null}var d=new Array(b-a+1);var e=c.isSorting();var f=null;if(e){f=c.sortedIndices()}for(var g=a;g<=b;g++){var h=g;if(e){h=f.__inner[h]}d[g-a]=this.bz().item(g)}return d},nx:function(a){return a._bu._b},nz:function(a){return a._bu._c},getCategoryItems:function(a,b){return this.lt(a,b,this.yAxis())},_mj:null,m4:function(){return false},cv:function(){return true},at:function(a,b){if(this.m4()){var c=this.mi(a,b,this._mj);this._mj=c;return c}else{var d=this.mh(a,b,this._mj);this._mj=d;return d}},n1:function(a){var b=this.l2;if(this.ca()){b=this.l5}var c=this.view().br();var d=this.view().bs();var e=this.xAxis();var f=0;if(e.isVertical()){var g=(a.__y-d.top())/d.height();f=g*c.height()+c.top()}else{var h=(a.__x-d.left())/d.width();f=h*c.width()+c.left()}var i=b.f.count();var j=0;for(j=0;j<i;j++){var k=b.f.__inner[j];var l=null;if(j<i-1){l=b.f.__inner[j+1]}if(k[0]<=f&&l==null||l[0]>=f){if(l!=null){if(Math.abs(k[0]-f)<Math.abs(l[0]-f)){return j}else{return j+1}}else{return j}}}return j},mi:function(a,b,c){var d=this.bz().count();var e=this._mg._bu._c;var f=this._mg._bu._d;var g=this._mg._bu._b;var h=this.xAxis();var i=-1;var j=-1;if(h.isSorting()){var k=this.l2;if(this.ca()){k=this.l5}var l=this.n1(b);i=l;j=l}else{var m=this.getItemIndex(b);i=$.ig.truncate(Math.floor($a(m,g)))*g;j=i+(g-1)}if(c!=null&&c.startIndex()==i&&c.endIndex()==j){return c}var n=new $.ig.HighlightingInfo;n.series(this);n.startIndex(i);n.endIndex(j);return n},mh:function(a,b,c){var d=new $.ig.HighlightingInfo;d.series(this);d.startIndex(0);d.endIndex(this.bz().count()-1);if(c!=null&&c.startIndex()==d.startIndex()&&c.endIndex()==d.endIndex()){return c}return d},m3:function(){return this.isCustomCategoryStyleAllowed()},getExactItemIndex:function(a){var b=this.view().bs();var c=this.view().br();var d=-1;if(!b.isEmpty()&&!c.isEmpty()&&this.xAxis()!=null){var e=this.getEffectiveViewport1(this.view());var f=new $.ig.ScalerParams(0,b,c,this.xAxis().isInverted(),e);var g=this.li(this.view());var h=this.xAxis().getUnscaledValue(g.left(),f);var i=this.xAxis().getUnscaledValue(g.right(),f);var j=(a.__x-b.left())/b.width();var k=h+j*(i-h);if(this.xAxis().categoryMode()!=0){k-=.5}d=k}return d},getItemIndex:function(a){return $.ig.truncate(Math.round(this.getExactItemIndex(a)))},c1:function(){return $b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null},ap:function(){return this.xAxis()},e7:function(a){var b=this.view().bs();var c=this.view().br();var d=this.getEffectiveViewport1(this.view());if(b.isEmpty()||c.isEmpty()){return-1}var e=new $$a.ae(0,0,0,1,1);var f=new $.ig.ScalerParams(0,b,c,this.xAxis().isInverted(),d);var g=$b($.ig.ISortingAxis.prototype.$type,this.xAxis());var h=this.li(this.view());var i=h.left();var j=h.right();var k=this.fromWorldPosition(a).__x;var l=this.xAxis().getUnscaledValue(k,f);var m=this.xAxis().getUnscaledValue(i,f);var n=this.xAxis().getUnscaledValue(j,f);l=Math.max(m,Math.min(n,l));var o=g.getIndexClosestToUnscaledValue(l);return o},getItem:function(a){var b=0;if($b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){b=this.e7(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.bz()!=null&&b<this.bz().count()?this.bz().item(b):null},l3:null,l5:null,l2:null,nr:function(a,b,c){if(this.xAxis()==null){return 0}return this.xAxis().jl(a,b,c,this.index())},transitionInMode:function(a){if(arguments.length===1){this.h($$t.$g.transitionInModeProperty,$.ig.CategoryTransitionInMode.prototype.getBox(a));return a}else{return $g(this.c($$t.$g.transitionInModeProperty))}},isTransitionInEnabled:function(a){if(arguments.length===1){this.h($$t.$g.isTransitionInEnabledProperty,a);return a}else{return this.c($$t.$g.isTransitionInEnabledProperty)}},db:function(){return this.isTransitionInEnabled()},l9:function(){return 11},bo:function(){return 3},ot:function(a,b){this._lh=a._aa;b.onRenderFrame()},or:function(a,b){a.u()},dv:function(a,b,c){var d=$.ig.Series.prototype.dv.call(this,a,b,c);var e=c;if(this.bz()==null||this.bz().count()==0||!c.l()||b.isEmpty()||a.isEmpty()||this.xAxis()==null||this.yAxis()==null||e._bu._b<1||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()||this.xAxis().itemsSource()==null||this.xAxis().jr<1){e._bu._b=0;d=false}return d},getViewInfo:function(a,b){b=this.view().bs();a=this.view().br();return{p0:a,p1:b}},_mb:null,nv:function(a){var b=0;var c=a.bs();var d=a.br();var e=this.getEffectiveViewport1(this.view());if(!c.isEmpty()&&!d.isEmpty()&&this.yAxis()!=null){var f=new $.ig.ScalerParams(0,c,d,this.yAxis().isInverted(),e);f._b=this.ee();b=this.yAxis().getScaledValue(this.yAxis().referenceValue(),f)}return b},hq:function(){$.ig.Series.prototype.hq.call(this);this.l3.v();this.l2.v();this.l5.v()},i6:function(a){var $self=this;$.ig.Series.prototype.i6.call(this,a);this._mg._bu.e(this.resolution());if(this.cc(this.view())){return}if(this._dd){if(this.ca()){this.ot(this.l5,this._mg)}else{this.ot(this.l2,this._mg)}return}if(this.c9(a)){var b=this.l3;if(this.ca()){if(this._bt.needsFlush()){this._bt.flush()}this.l3=this.l5;this.l5=b}else{this.l3=this.l2;this.l2=b}this.or(this.l2,this._mg);if(this.dn()){this._bt.stop();this._bt.intervalMilliseconds($.ig.truncate(this.eo()));this._bt.easingFunction(this.transitionInEasingFunction()!=null?this.transitionInEasingFunction():this.transitionEasingFunction());this._mb.p(this.l3,this.l2,this.isVertical(),this.xAxis(),this.yAxis(),this.transitionInMode(),this.l9(),this.transitionInSpeedType(),this.bo(),function(){return $self.nv($self._mg)},this._mg.br())}this.hm();this.jd();if(this.dn()){this.dm(false);this._dl=true}}else{this.or(this.l2,this._mg);this.ot(this.l2,this._mg)}},typical:null,typicalBasedOn:null,m9:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();switch(b){case"HighColumn":if(this.mq()==null){return false}break;case"LowColumn":if(this.ms()==null){return false}break;case"OpenColumn":if(this.mu()==null){return false}break;case"CloseColumn":if(this.mo()==null){return false}break;case"VolumeColumn":if(this.mx()==null){return false}break}}return true},na:function(){return this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null},m5:function(){return this.typical!=null},oo:function(a){this.typical(this,a)},ni:function(){return this.nf()},nf:function(){var d__=new $$t.h((-2));d__.__4__this=this;return d__},nh:function(){return this.ne()},ne:function(){var d__=new $$t.i((-2));d__.__4__this=this;return d__},ng:function(){return this.nd()},nd:function(){var d__=new $$t.j((-2));d__.__4__this=this;return d__},nk:function(a){if(a==null){return null}if(this.na()&&this.xAxis().sortedIndices()!=null){return new $.ig.SafeSortedReadOnlyDoubleCollection(0,a,this.xAxis().sortedIndices())}return new $.ig.SafeReadOnlyDoubleCollection(0,a)},my:false,nj:function(){var a=new $$4.x(String,0);a.add("HighColumn");a.add("LowColumn");a.add("CloseColumn");if(this.typicalBasedOn!=null&&this.bz()!=null&&!this.my){this.my=true;var b=this.mc(0,this.bz().count());this.my=false;var c=new $$t.a(0,this.bz().count(),b,this.md(b),this);this.typicalBasedOn(this,c);if(c.basedOn()!=null&&c.basedOn().count()>0){return c.basedOn()}}return a},no:null,getOpenColumnAsArray:function(){if(this.mu()==null){return null}if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.no!=null){return this.no.asArray()}var a=new $$4.x(Number,2,this.mu().count());var b=this.xAxis().sortedIndices();var c=this.mu().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.no=a;return this.no.asArray()}else{return this.mu().asArray()}},nm:null,getHighColumnAsArray:function(){if(this.mq()==null){return null}if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.nm!=null){return this.nm.asArray()}var a=new $$4.x(Number,2,this.mq().count());var b=this.xAxis().sortedIndices();var c=this.mq().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.nm=a;return this.nm.asArray()}else{return this.mq().asArray()}},nn:null,getLowColumnAsArray:function(){if(this.ms()==null){return null}if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.nn!=null){return this.nn.asArray()}var a=new $$4.x(Number,2,this.ms().count());var b=this.xAxis().sortedIndices();var c=this.ms().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.nn=a;return this.nn.asArray()}else{return this.ms().asArray()}},nl:null,getCloseColumnAsArray:function(){if(this.mo()==null){return null}if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.nl!=null){return this.nl.asArray()}var a=new $$4.x(Number,2,this.mo().count());var b=this.xAxis().sortedIndices();var c=this.mo().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.nl=a;return this.nl.asArray()}else{return this.mo().asArray()}},np:null,getVolumeColumnAsArray:function(){if(this.mx()==null){return null}if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){if(this.np!=null){return this.np.asArray()}var a=new $$4.x(Number,2,this.mx().count());var b=this.xAxis().sortedIndices();var c=this.mx().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.np=a;return this.np.asArray()}else{return this.mx().asArray()}},hs:function(a,b,c,d){$.ig.Series.prototype.hs.call(this,a,b,c,d);if(this.xAxis()==null||!($b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null)){return}var e=this.xAxis().sortedIndices();switch(a){case 1:for(var f=b;f<c;f++){var g=e.__inner[f];if(this.no!=null){this.no.insert(f,this.mu().item(g))}if(this.nm!=null){this.nm.insert(f,this.mq().item(g))}if(this.nn!=null){this.nn.insert(f,this.ms().item(g))}if(this.nl!=null){this.nl.insert(f,this.mo().item(g))}if(this.np!=null){this.np.insert(f,this.mx().item(g))}}break;case 0:if(this.no!=null){this.no.removeRange(b,c)}if(this.nm!=null){this.nm.removeRange(b,c)}if(this.nn!=null){this.nn.removeRange(b,c)}if(this.nl!=null){this.nl.removeRange(b,c)}if(this.np!=null){this.np.removeRange(b,c)}break;case 4:if(this.no!=null){this.no=new $$4.x(Number,0)}if(this.nm!=null){this.nm=new $$4.x(Number,0)}if(this.nn!=null){this.nn=new $$4.x(Number,0)}if(this.nl!=null){this.nl=new $$4.x(Number,0)}if(this.np!=null){this.np=new $$4.x(Number,0)}break;case 3:case 2:for(var h=b;h<c;h++){var i=e.__inner[h];if(this.no!=null){this.no.__inner[h]=this.mu().item(i)}if(this.nm!=null){this.nm.__inner[h]=this.mq().item(i)}if(this.nn!=null){this.nn.__inner[h]=this.ms().item(i)}if(this.nl!=null){this.nl.__inner[h]=this.mo().item(i)}if(this.np!=null){this.np.__inner[h]=this.mx().item(i)}}break}this.ou();this.ji()},mc:function(a,b){var $self=this;var c=this.nk(this.mu());var d=this.nk(this.mo());var e=this.nk(this.mq());var f=this.nk(this.ms());var g=this.nk(this.mx());var h=function(){var $ret=new $$t.s;$ret.typicalColumn(new $$t.o(1,new $.ig.SafeEnumerable($self.ni()),$self.nj()));$ret.trueRange(new $$t.o(1,new $.ig.SafeEnumerable($self.nh()),function(){var $ret=new $$4.x(String,0);$ret.add("HighColumn");$ret.add("LowColumn");$ret.add("CloseColumn");return $ret}()));$ret.trueLow(new $$t.o(1,new $.ig.SafeEnumerable($self.ng()),function(){var $ret=new $$4.x(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.bz()!=null?$self.bz().count():0);return $ret}();return h},nw:function(a){if(Number.isInfinity(a)||$.ig.util.isNaN(a)){return 0}return a},md:function(a){var $self=this;return function(){var $ret=new $$t.k;$ret.eMA(new $$t.l(1,$.ig.TrendCalculators.prototype.b,new $$4.x(String,0)));$ret.sMA(new $$t.l(1,$.ig.TrendCalculators.prototype.e,new $$4.x(String,0)));$ret.sTDEV(new $$t.l(1,$.ig.TrendCalculators.prototype.f,new $$4.x(String,0)));$ret.movingSum(new $$t.l(1,$.ig.TrendCalculators.prototype.d,new $$4.x(String,0)));$ret.shortVolumeOscillatorAverage(new $$t.n(1,function(b){return $.ig.TrendCalculators.prototype.b(b.volumeColumn(),b.shortPeriod());
},function(){var $ret=new $$4.x(String,0);$ret.add("VolumeColumn");return $ret}()));$ret.longVolumeOscillatorAverage(new $$t.n(1,function(b){return $.ig.TrendCalculators.prototype.b(b.volumeColumn(),b.longPeriod())},function(){var $ret=new $$4.x(String,0);$ret.add("VolumeColumn");return $ret}()));$ret.shortPriceOscillatorAverage(new $$t.n(1,function(b){return $.ig.TrendCalculators.prototype.b(b.typicalColumn(),b.shortPeriod())},a.typicalColumn().basedOn()));$ret.longPriceOscillatorAverage(new $$t.n(1,function(b){return $.ig.TrendCalculators.prototype.b(b.typicalColumn(),b.longPeriod())},a.typicalColumn().basedOn()));$ret.toEnumerableRange($.ig.Series.prototype.toEnumerableRange);$ret.toEnumerable($.ig.Series.prototype.toEnumerable);$ret.makeSafe($self.nw.runOn($self));return $ret}()},categoryAxis:function(){return this.xAxis()},_l4:null,i7:function(a,b){$.ig.Series.prototype.i7.call(this,a,b);if(!this.dk()){this.view().az(b);return}var c=$b($$t.$u.$type,this._bh);this.view().az(b);c._bu.e(this.resolution());if(this.cc(this._bh)){return}if(!this._de){this.or(this._l4,c)}this._de=false;this.ot(this._l4,c);this.dk(false)},_l1:null,renderAlternateView:function(a,b,c,d,e){$.ig.Series.prototype.renderAlternateView.call(this,a,b,c,d,e);var f=this.a0().alternateViews().item(d);var g=f;g._bu.e(this.resolution());f.prepAltSurface(c);if(this.cc(g)){return}if(this._l1==null){this._l1=new $.ig.CategoryFrame(3)}this._l1.u();this.or(this._l1,g);this.ot(this._l1,g)},am:function(a){if(this.xAxis()==a){return this.yAxis()}if(this.yAxis()==a){return this.xAxis()}return null},preferredCategoryMode:function(a){var b=$b($.ig.IDateTimeAxis.prototype.$type,this.xAxis());return b!=null?b.preferredCategoryMode(this):this.l7()},l6:0,l7:function(a){if(arguments.length===1){var b=this.l7();if(a!=b){this.l6=a;this.raisePropertyChanged("CategoryMode",$.ig.CategoryMode.prototype.getBox(b),$.ig.CategoryMode.prototype.getBox(this.l7()))}return a}else{return this.l6}},isNegativeColorSupported:function(){return true},setNegativeColors:function(a,b){$.ig.Series.prototype.setNegativeColors.call(this,a,b);this.negativeBrush(a)},ou:function(){this.finalValue(this.mo()==null||this.mo().count()==0?NaN:this.mo().item(this.mo().count()-1))},_mk:null,_mm:null,fo:function(a){if(this._mk!=null&&a!=null){if(this._mm==null||this._mm.f()!=this._mk.dateTimeMemberPath()){this._mm=new $.ig.FastReflectionHelper(false,this._mk.dateTimeMemberPath())}var b=this._mm.d(a);if($b($$0.$s.$type,b)!==null){return $.ig.Date.prototype.toStringFormat(b,this._mk.itemLabelFormat(),null)}}return $.ig.Series.prototype.fo.call(this,a)},$type:new $.ig.Type("FinancialSeries",$.ig.Series.prototype.$type,[$.ig.IHasCategoryAxis.prototype.$type,$.ig.IHasCategoryModePreference.prototype.$type])},true);$c("FinancialPriceSeries:d","FinancialSeries",{bf:function(){return new $$t.t(this)},im:function(a){$$t.$g.im.call(this,a);this._pb=a},_pb:null,init:function(){$$t.$g.init.call(this);this._ab=$$t.$d.$type;this.l3=new $.ig.CategoryFrame(5);this.l5=new $.ig.CategoryFrame(5);this.l2=new $.ig.CategoryFrame(5)},trendLineType:function(a){if(arguments.length===1){this.h($$t.$d.trendLineTypeProperty,$.ig.TrendLineType.prototype.getBox(a));return a}else{return $g(this.c($$t.$d.trendLineTypeProperty))}},trendLineBrush:function(a){if(arguments.length===1){this.h($$t.$d.trendLineBrushProperty,a);return a}else{return this.c($$t.$d.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.h($$t.$d.actualTrendLineBrushProperty,a);return a}else{return this.c($$t.$d.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.h($$t.$d.trendLineThicknessProperty,a);return a}else{return this.c($$t.$d.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.h($$t.$d.trendLineDashCapProperty,$$a.$bj.getBox(a));return a}else{return $g(this.c($$t.$d.trendLineDashCapProperty))}},trendLineDashArray:function(a){if(arguments.length===1){this.h($$t.$d.trendLineDashArrayProperty,a);return a}else{return this.c($$t.$d.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.h($$t.$d.trendLinePeriodProperty,a);return a}else{return $h(this.c($$t.$d.trendLinePeriodProperty))}},trendLineZIndex:function(a){if(arguments.length===1){this.h($$t.$d.trendLineZIndexProperty,a);return a}else{return $h(this.c($$t.$d.trendLineZIndexProperty))}},hs:function(a,b,c,d){$$t.$g.hs.call(this,a,b,c,d);if(this.xAxis()!=null&&$b($.ig.ISortingAxis.prototype.$type,this.xAxis())!==null){this.xAxis().notifyDataChanged()}this._pb._bu.e(this.resolution());if(this._pb.b4()){this._pb.b2().dataUpdated(a,b,c,d)}if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(true)},displayType:function(a){if(arguments.length===1){this.h($$t.$d.displayTypeProperty,$.ig.PriceDisplayType.prototype.getBox(a));return a}else{return $g(this.c($$t.$d.displayTypeProperty))}},bd:function(){if(this.hitTestMode()==0){return 1}else{return $$t.$g.bd.call(this)}},getSeriesValueBoundingBox:function(a){if(this.l2==null||this.l2.f.count()==0){return $$a.$ae.empty()}var b=this.fromWorldPosition(a);var c=this.view().bs();var d=this.view().br();var e=this.getEffectiveViewport1(this.view());var f=this.aj(this.xAxis(),this.l2.f,this.nx(this.view()),this.nz(this.view()),a,true);var g=f[0];var h=f[1];var i=Math.abs(b.__x-g[0]);var j=Math.abs(b.__x-h[0]);var k=this.pd(this._mg,e);k=Math.max(k,3);var l=(k-1)/2;if(i<j){var m=g[0]-l;var n=g[0];var o=g[0]+l;var p=g[1];var q=g[2];var r=g[3];var s=g[4];var t=Math.min(Math.min(Math.min(p,q),r),s);var u=Math.max(Math.max(Math.max(p,q),r),s);return new $$a.ae(0,m,t,Math.abs(o-m),u-t)}else{var v=h[0]-l;var w=h[0];var x=h[0]+l;var y=h[1];var z=h[2];var aa=h[3];var ab=h[4];var ac=Math.min(Math.min(Math.min(y,z),aa),ab);var ad=Math.max(Math.max(Math.max(y,z),aa),ab);return new $$a.ae(0,v,ac,Math.abs(x-v),ad-ac)}},pa:function(a,b){var c=a[0]-b;var d=a[0];var e=a[0]+b;var f=a[1];var g=a[2];var h=a[3];var i=a[4];var j=Math.min(Math.min(Math.min(f,g),h),i);var k=Math.max(Math.max(Math.max(f,g),h),i);var l=Math.min(g,h);var m=Math.max(g,h);var n=Math.min(f,i);var o=Math.max(f,i);if(this.displayType()==1){var p=new Array(3);var q=new $$a.ae(0,c,f,b,0);var r=new $$a.ae(0,d,i,b,0);var s=new $$a.ae(0,d,l,0,m-l);p[0]=q;p[1]=r;p[2]=s;return p}else{var t=new Array(2);var u=new $$a.ae(0,d,l,0,m-l);var v=new $$a.ae(0,c,n,b*2,o-n);t[0]=u;t[1]=v;return t}},getSeriesValueFineGrainedBoundingBoxes:function(a){var b=new $$4.x($$a.$ae.$type,0);var c=this.fromWorldPosition(a);var d=this.view().bs();var e=this.view().br();var f=this.getEffectiveViewport1(this.view());var g=this.aj(this.xAxis(),this.l2.f,this.nx(this.view()),this.nz(this.view()),a,true);var h=g[0];var i=g[1];var j=Math.abs(c.__x-h[0]);var k=Math.abs(c.__x-i[0]);var l=this.pd(this._mg,f);l=Math.max(l,3);var m=(l-1)/2;if(j<k){return this.pa(h,m)}else{return this.pa(i,m)}},testHit:function(a,b){if(this.dj(a,b)){return true}return false},dj:function(a,b){var c=this.getSeriesValueBoundingBoxFromSeriesPixel(a);if(c.isEmpty()){return false}var d=$.ig.RectUtil.prototype.r(c,this.thickness()/2+this.eb(b));if(d.containsPoint(a)){var e=this.getSeriesValueFineGrainedBoundingBoxesFromSeriesPixel(a);if(e!=null){for(var f=0;f<e.length;f++){var g=e[f];var h=$.ig.RectUtil.prototype.r(g,this.thickness()/2+this.eb(b));if(h.containsPoint(a)){return true}}}}return false},is:function(a,b,c,d){switch(b){case"XAxis":this._pb.selectTrendlineManager();break;case"TrendLineType":var e=$g(d);if(e!=0){this._pb.b2($.ig.CategoryTrendLineManagerFactory.prototype.a(this._pb.b2(),this.xAxis(),this.rootCanvas(),this,this.b2()))}break}$$t.$g.is.call(this,a,b,c,d);if(this._pb.b4()&&this._pb.b2()!=null&&this._pb.b2().propertyUpdated(a,b,c,d)){this.renderSeries(false);this.ic()}switch(b){case"DisplayType":if(this.rootCanvas()!=null){this.pk();this.l2.w();this.ot(this.l2,this._pb)}this.ic();break;case"TrendLineBrush":this.jg();break;case"TrendLineType":this.ic();break;case"NegativeBrush":case"NegativeOutline":this.ip();break}},pk:function(){this._pb.ce();if(this._bh!=null){this._bh.ce()}},an:function(a){if(a!=null&&a==this.yAxis()&&this.ms()!=null&&!$.ig.util.isNaN(this.ms().minimum())&&this.mq()!=null&&!$.ig.util.isNaN(this.mq().maximum())){return new $.ig.AxisRange(this.ms().minimum(),this.mq().maximum())}return null},ao:function(){if(this.ms()==null||this.mq()==null){return null}var a=new $.ig.ScalerParams(0,this.seriesViewer().actualWindowRect(),this.seriesViewer().viewportRect(),this.xAxis().isInverted(),this.getEffectiveViewport());var b=this.xAxis().getUnscaledValue(this.seriesViewer().viewportRect().left(),a);var c=this.xAxis().getUnscaledValue(this.seriesViewer().viewportRect().right(),a);var d=null;if(this.xAxis().isSorting()){d=this.xAxis();b=d.getIndexClosestToUnscaledValue(b);c=d.getIndexClosestToUnscaledValue(c)}else{b=Math.floor(b);c=Math.ceil(c)}b=Math.max(0,Math.min(this.ms().count()-1,b));c=Math.max(0,Math.min(this.ms().count()-1,c));var e=1.7976931348623157e308;var f=-1.7976931348623157e308;for(var g=$.ig.truncate(b);g<=$.ig.truncate(c);g++){var h=g;if(d!=null){h=d.sortedIndices().__inner[g]}e=Math.min(e,this.ms().item(h));f=Math.max(f,this.mq().item(h))}return new $.ig.AxisRange(e,f)},ee:function(){return $.ig.Series.prototype.ef(this.mu(),$b($.ig.ISortingAxis.prototype.$type,this.xAxis()))},scrollIntoView:function(a){var b=this.bz()!=null?this.bz().indexOf(a):-1;var c=this.view().bs();c=c.copy();var d=this.view().br();var e=new $$a.ae(0,0,0,1,1);var f=this.lk(this.view());if(b>=0&&$$a.$ae.l_op_Inequality(c,null)&&$$a.$ae.l_op_Inequality(d,null)){if(this.xAxis()!=null){var g=new $.ig.ScalerParams(0,e,e,this.xAxis().isInverted(),f);var h=this.xAxis().getScaledValue(b,g);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.ms()!=null&&this.mq()!=null&&b<this.ms().count()&&b<this.mq().count()){var i=new $.ig.ScalerParams(0,e,e,this.yAxis().isInverted(),f);i._b=this.ee();var j=this.yAxis().getScaledValue(this.ms().item(b),i);var k=this.yAxis().getScaledValue(this.mq().item(b),i);if(!$.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)){var l=Math.abs(j-k);if(c.height()<l){c.height(l);c.y(Math.min(j,k))}else{if(j<c.top()+.1*c.height()){j=j+.4*c.height()}if(j>c.bottom()-.1*c.height()){j=j-.4*c.height()}c.y(j-.5*c.height())}}}this.syncLink().ap(this.seriesViewer(),c,true)}return b>=0},dv:function(a,b,c){var d=$$t.$g.dv.call(this,a,b,c);if(this.mu()==null||this.mo()==null||this.mq()==null||this.ms()==null){d=false}return d},or:function(a,b){var $self=this;$$t.$g.or.call(this,a,b);var c=b.bs();var d=b.br();var e=this.getEffectiveViewport1(b);var f=this.xAxis();var g=this.yAxis();var h=new $.ig.ScalerParams(0,c,d,f.isInverted(),e);var i=function(){var $ret=new $.ig.ScalerParams(0,c,d,g.isInverted(),e);$ret._b=$self.ee();return $ret}();a.f.clear();a.m.clear();a.p.clear();var j=0;var k=$b($.ig.ISortingAxis.prototype.$type,this.xAxis());if(k!=null&&(k.sortedIndices()==null||k.sortedIndices().count()!=this.bz().count())){return}j=this.nr(c,d,e);var l=$b($$t.$t.$type,b);var m=this.resolution();if(this.trendLineType()!=0){var n=new Array(this.bz().count());var o=0;var q=this.ni().getEnumerator();while(q.moveNext()){var p=q.current();n[o]=p;o++}if(this._pb.b4()){this._pb.b2().prepareLineCore(a.p,this.trendLineType(),n,this.trendLinePeriod(),function(r){return $self.xAxis().getScaledValue(r,h)},function(r){return $self.yAxis().getScaledValue(r,i)},function(){var $ret=new $.ig.TrendResolutionParams;$ret._c=b._bu._b;$ret._d=b._bu._c;$ret._e=b._bu._d;$ret._a=j;$ret._b=m;$ret._f=d;return $ret}())}}var r=this.xAxis().getUnscaledValue(2,h)-this.xAxis().getUnscaledValue(1,h);for(var s=b._bu._c;s<=b._bu._d;++s){var t;if(k==null){t=b._bu.getBucket(s)}else{var u=k.sortedIndices().__inner[s];var v=k.getUnscaledValueAt(u);var w=this.mu().item(u);var x=this.mq().item(u);var y=this.ms().item(u);var z=this.mo().item(u);var aa=w;var ab=x;var ac=y;var ad=z;var ae=v;while(s<b._bu._d){u=k.sortedIndices().__inner[s+1];ae=k.getUnscaledValueAt(u);if(ae-v>r*m){break}s++;ab=Math.max(ab,this.mq().item(u));ac=Math.min(ac,this.ms().item(u));ad=this.mo().item(u)}var af=NaN;if(!$.ig.util.isNaN(v)){af=this.xAxis().getScaledValue(v,h)}t=[af,aa,ab,ac,ad]}if(!$.ig.util.isNaN(t[0])){if(k!=null){t[0]=t[0]+j}else{t[0]=f.getScaledValue(t[0],h)+j}t[1]=g.getScaledValue(t[1],i);t[2]=g.getScaledValue(t[2],i);t[3]=g.getScaledValue(t[3],i);t[4]=g.getScaledValue(t[4],i);a.f.add(t)}}return},hp:function(a,b){$$t.$g.hp.call(this,a,b);var c=$b($$t.$t.$type,b);c.b8();if(a){c._b3.count(0)}if(c.b4()&&c.b2()!=null){c.b2().clearPoints()}},m4:function(){return true},ot:function(a,b){$$t.$g.ot.call(this,a,b);if(this.xAxis()==null||this.yAxis()==null){return}var c=false;if(b.checkFrameDirty(a)){c=true;b.updateFrameVersion(a)}this.l8.x(this,this.m8(),this.xAxis(),this.getCategoryItems.runOn(this),this.nx(b),this.nz(b));var d=false;var e=this.l8._c;if(e!=null){d=true}var f=$b($$t.$t.$type,b);f.b7();f.separateMode(false);if(f.b4()){f.b2().clearPoints()}if(this.trendLineType()!=0){f.b2().rasterizeTrendLine(a.p)}if(d){this.pj(a,b,c)}else{f._b3.count(0);this.pi(a,b)}},getItemSpan:function(){var a=this.getEffectiveViewport1(this.view());return this.pd(this._mg,a)},pj:function(a,b,c){var d=this.displayType();var e=this.getEffectiveViewport1(b);var f=this.pd(b,e);var g=(f-1)/2;var h=$b($$t.$t.$type,b);h.separateMode(true);var i=a.f;var j=0;var k=this.bz().count();var l=this.xAxis();var m=new $.ig.ScalerParams(0,b.bs(),b.br(),l.isInverted(),e);var n=this.actualBrush();var o=this.negativeBrush();if(o==null){o=n}var p=this.actualOutline();var q=this.negativeOutline();if(q==null){q=p}for(var r=0;r<i.count();++r){var s=i.__inner[r][0]-g;var t=i.__inner[r][0];var u=i.__inner[r][0]+g;var v=i.__inner[r][1];var w=i.__inner[r][2];var x=i.__inner[r][3];var y=i.__inner[r][4];if($.ig.util.isNaN(v)||$.ig.util.isNaN(w)||$.ig.util.isNaN(x)||$.ig.util.isNaN(y)){continue}var z=h._b3.item(j);j++;var aa=v<y;var ab=new $$a.a7;if(c){switch(d){case 0:if(aa){var ac=v;v=y;y=ac}var ad=new $$a.a8;ad.__startPoint={__x:t,__y:x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ad.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:t,__y:v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());var ae=new $$a.a8;ae.__startPoint={__x:s,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ae.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:u,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ae.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:u,__y:v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ae.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:s,__y:v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ae.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:s,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());var af=new $$a.a8;af.__startPoint={__x:t,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};af.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:t,__y:w,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ab._b.add(ad);ab._b.add(ae);ab._b.add(af);break;case 1:var ag=new $$a.a8;ag.__startPoint={__x:s,__y:v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ag.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:t,__y:v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());var ah=new $$a.a8;ah.__startPoint={__x:t,__y:x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ah.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:t,__y:w,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());var ai=new $$a.a8;ai.__startPoint={__x:t,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ai.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:u,__y:y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ab._b.add(ag);ab._b.add(ah);ab._b.add(ai);break}}if(aa){this.l8.al=o;this.l8.ah=o;this.l8.am=this.l8.ai=q;this.l8.f=true}else{this.l8.al=n;this.l8.ah=n;this.l8.am=this.l8.ai=p;this.l8.f=false}this.oq(i,r,k,l,m,b.isThumbnailView());if(d==1){this.l8.ae(z,true,false,false,false)}else{this.l8.ae(z,false,false,false,false)}if(c){z._aj=ab}}h._b3.count(j);h.b9()},pd:function(a,b){var c=this.xAxis().jk(a.bs(),a.br(),b);c=Math.max(c,this.resolution()*.9);c=Math.max(c,3);return c},pi:function(a,b){var c=this.displayType();var d=this.getEffectiveViewport1(b);var e=this.pd(b,d);var f=(e-1)/2;var g=$b($$t.$t.$type,b);var h=g.ch();var i=g.cg();var j=a.f;for(var k=0;k<j.count();++k){var l=j.__inner[k][0]-f;var m=j.__inner[k][0];var n=j.__inner[k][0]+f;var o=j.__inner[k][1];var p=j.__inner[k][2];var q=j.__inner[k][3];var r=j.__inner[k][4];if($.ig.util.isNaN(o)||$.ig.util.isNaN(p)||$.ig.util.isNaN(q)||$.ig.util.isNaN(r)){continue}var s=o<r;var t=s?i:h;switch(c){case 0:if(s){var u=o;o=r;r=u}t._c.add(function(){var $ret=new $$a.a4;$ret._c={__x:m,__y:q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b={__x:m,__y:o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}());t._c.add(function(){var $ret=new $$a.a5;$ret._d=new $$a.ae(0,l,r,n-l,o-r);return $ret}());t._c.add(function(){var $ret=new $$a.a4;$ret._c={__x:m,__y:r,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b={__x:m,__y:p,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}());break;case 1:t._c.add(function(){var $ret=new $$a.a4;$ret._c={__x:l,__y:o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b={__x:m,__y:o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}());t._c.add(function(){var $ret=new $$a.a4;$ret._c={__x:m,__y:q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b={__x:m,__y:p,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}());t._c.add(function(){var $ret=new $$a.a4;$ret._c={__x:m,__y:r,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b={__x:n,__y:r,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}());break}}},fq:function(a,b){if(this._pb.b4()&&a==this._pb.b2().trendPolyline()){return null}return $$t.$g.fq.call(this,a,b)},jg:function(){$$t.$g.jg.call(this);if(this.index()<0){return}this._pb.cf()},hy:function(a){$$t.$g.hy.call(this,a);if(this._pb.b4()){this.a2().exportTrendlineData(this,a,this._pb.b2().trendPolyline())}},negativeOutline:function(a){if(arguments.length===1){this.h($$t.$d.negativeOutlineProperty,a);return a}else{return this.c($$t.$d.negativeOutlineProperty)}},setNegativeColors:function(a,b){$$t.$g.setNegativeColors.call(this,a,b);this.negativeOutline(b)},$type:new $.ig.Type("FinancialPriceSeries",$$t.$g.$type,[$.ig.ITrendLineSeries.prototype.$type])},true);$c("FinancialValueList:f","Object",{d:null,b:null,a:null,c:null,e:null,init:function(a,b,c,d,e){$.ig.$op.init.call(this);this.d=a;this.b=b;this.a=d;this.c=c;this.e=e},indexOf:function(a){throw new $$6.q(0)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},item:function(a,b){if(arguments.length===2){return b}else{var b=NaN;var c=NaN;var d=NaN;var e=NaN;var f=NaN;if(this.d!=null&&a>=0&&a<this.d.count()){b=this.d.item(a)}if(this.b!=null&&a>=0&&a<this.b.count()){c=this.b.item(a)}if(this.c!=null&&a>=0&&a<this.c.count()){d=this.c.item(a)}if(this.a!=null&&a>=0&&a<this.a.count()){e=this.a.item(a)}if(this.e!=null&&a>=0&&a<this.e.count()){f=this.e.item(a)}var g=$.ig.util.isNaN(b);var h=$.ig.util.isNaN(c);var i=$.ig.util.isNaN(d);var j=$.ig.util.isNaN(e);var k=$.ig.util.isNaN(f);if(!h&&!i&&!j){return(c+d+e)/3}if(!h&&!i){return(c+d)/2}if(!g&&!j){return(b+e)/2}if(!g){return b}if(!h){return c}if(!i){return d}if(!j){return e}return NaN}},add:function(a){throw new $$6.q(0)},clear:function(){throw new $$6.q(0)},contains:function(a){throw new $$6.q(0)},copyTo:function(a,b){throw new $$6.q(0)},count:function(){var a=0;var b=0;var c=0;var d=0;var e=0;if(this.d!=null){a=this.d.count()}if(this.b!=null){b=this.b.count()}if(this.c!=null){c=this.c.count()}if(this.a!=null){d=this.a.count()}if(this.e!=null){e=this.e.count()}var f=0;f=Math.max(f,a);f=Math.max(f,b);f=Math.max(f,c);f=Math.max(f,d);f=Math.max(f,e);return f},isReadOnly:function(){return true},remove:function(a){throw new $$6.q(0)},getEnumerator:function(){throw new $$6.q(0)},$type:new $.ig.Type("FinancialValueList",$.ig.$ot,[$$0.$bz.$type.specialize(Number)])},true);$c("FinancialCalculationSupportingCalculations:k","Object",{init:function(){$.ig.$op.init.call(this)},_eMA:null,eMA:function(a){if(arguments.length===1){this._eMA=a;return a}else{return this._eMA}},_sMA:null,sMA:function(a){if(arguments.length===1){this._sMA=a;return a}else{return this._sMA}},_sTDEV:null,sTDEV:function(a){if(arguments.length===1){this._sTDEV=a;return a}else{return this._sTDEV}},_movingSum:null,movingSum:function(a){if(arguments.length===1){this._movingSum=a;return a}else{return this._movingSum}},_shortVolumeOscillatorAverage:null,shortVolumeOscillatorAverage:function(a){if(arguments.length===1){this._shortVolumeOscillatorAverage=a;return a}else{return this._shortVolumeOscillatorAverage}},_longVolumeOscillatorAverage:null,longVolumeOscillatorAverage:function(a){if(arguments.length===1){this._longVolumeOscillatorAverage=a;return a}else{return this._longVolumeOscillatorAverage}},_shortPriceOscillatorAverage:null,shortPriceOscillatorAverage:function(a){if(arguments.length===1){this._shortPriceOscillatorAverage=a;return a}else{return this._shortPriceOscillatorAverage}},_longPriceOscillatorAverage:null,longPriceOscillatorAverage:function(a){if(arguments.length===1){this._longPriceOscillatorAverage=a;return a}else{return this._longPriceOscillatorAverage}},_toEnumerableRange:null,toEnumerableRange:function(a){if(arguments.length===1){this._toEnumerableRange=a;return a}else{return this._toEnumerableRange}},_toEnumerable:null,toEnumerable:function(a){if(arguments.length===1){this._toEnumerable=a;return a}else{return this._toEnumerable}},_makeSafe:null,makeSafe:function(a){if(arguments.length===1){this._makeSafe=a;return a}else{return this._makeSafe}},$type:new $.ig.Type("FinancialCalculationSupportingCalculations",$.ig.$ot)},true);$c("SupportingCalculation$1:q","Object",{$tCalculationStrategy:null,init:function($tCalculationStrategy,a,b){this.$tCalculationStrategy=$tCalculationStrategy;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tCalculationStrategy)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.a=b;this.d=new $$4.x(String,0)},init1:function($tCalculationStrategy,a,b,c){this.$tCalculationStrategy=$tCalculationStrategy;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tCalculationStrategy)}$.ig.$op.init.call(this);this.a=b;this.d=new $$4.x(String,1,c)},a:null,d:null,b:function(){return this.a},c:function(){return this.d},$type:new $.ig.Type("SupportingCalculation$1",$.ig.$ot)},true);$c("ColumnSupportingCalculation:l","SupportingCalculation$1",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$q.init.call(this,$$t.$r.$type,0,b)},init1:function(a,b,c){$$t.$q.init1.call(this,$$t.$r.$type,1,b,c)},$type:new $.ig.Type("ColumnSupportingCalculation",$$t.$q.$type.specialize($$t.$r.$type))},true);$c("DataSourceSupportingCalculation:n","SupportingCalculation$1",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$q.init.call(this,$$t.$m.$type,0,b)},init1:function(a,b,c){$$t.$q.init1.call(this,$$t.$m.$type,1,b,c)},$type:new $.ig.Type("DataSourceSupportingCalculation",$$t.$q.$type.specialize($$t.$m.$type))},true);$c("CalculatedColumn:o","Object",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.__valuesProvider=b;this.c=new $$4.x(String,1,c)},init1:function(a,b,c){$.ig.$op.init.call(this);this.__valuesProvider=b;this.c=new $$4.x(String,1,c)},__valuesProvider:null,c:null,basedOn:function(){return this.c},getEnumerator:function(){return this.__valuesProvider.getEnumerator()},$type:new $.ig.Type("CalculatedColumn",$.ig.$ot,[$$0.$bw.$type.specialize(Number)])},true);$c("FinancialPriceSeriesProxy:p","Object",{init:function(){$.ig.$op.init.call(this)},getCloseMemberPath:function(a){return a.closeMemberPath()},getHighMemberPath:function(a){return a.highMemberPath()},getLowMemberPath:function(a){return a.lowMemberPath()},getOpenMemberPath:function(a){return a.openMemberPath()},getVolumeMemberPath:function(a){return a.volumeMemberPath()},matchesType:function(a){if(!a.isFinancial()){return false}if(a.getType().typeName().endsWith("Indicator")||a.getType().typeName().endsWith("Overlay")){return false}return true},setCategoryMode:function(a,b){a.l7(b)},setCloseMemberPath:function(a,b){a.closeMemberPath(b)},setDisplayType:function(a,b){a.displayType(b)},setHighMemberPath:function(a,b){a.highMemberPath(b)},setLowMemberPath:function(a,b){a.lowMemberPath(b)},setOpenMemberPath:function(a,b){a.openMemberPath(b)},setVolumeMemberPath:function(a,b){a.volumeMemberPath(b)},setXAxis:function(a,b){a.xAxis(b)},setYAxis:function(a,b){a.yAxis(b)},$type:new $.ig.Type("FinancialPriceSeriesProxy",$.ig.$ot,[$.ig.IFinancialPriceSeriesProxy.prototype.$type])},true);$c("FinancialCalculationDataSource:s","Object",{init:function(){$.ig.$op.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:0,period:function(a){if(arguments.length===1){this._period=a;return a}else{return this._period}},_shortPeriod:0,shortPeriod:function(a){if(arguments.length===1){this._shortPeriod=a;return a}else{return this._shortPeriod}},_longPeriod:0,longPeriod:function(a){if(arguments.length===1){this._longPeriod=a;return a}else{return this._longPeriod}},_count:0,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_calculateFrom:0,calculateFrom:function(a){if(arguments.length===1){this._calculateFrom=a;return a}else{return this._calculateFrom}},_calculateCount:0,calculateCount:function(a){if(arguments.length===1){this._calculateCount=a;return a}else{return this._calculateCount}},_multiplier:0,multiplier:function(a){if(arguments.length===1){this._multiplier=a;return a}else{return this._multiplier}},_minimumValue:0,minimumValue:function(a){if(arguments.length===1){this._minimumValue=a;return a}else{return this._minimumValue}},_maximumValue:0,maximumValue:function(a){if(arguments.length===1){this._maximumValue=a;return a}else{return this._maximumValue}},_specifiesRange:false,specifiesRange:function(a){if(arguments.length===1){this._specifiesRange=a;return a}else{return this._specifiesRange}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},$type:new $.ig.Type("FinancialCalculationDataSource",$.ig.$ot)},true);$c("FinancialSeriesView:u","SeriesView",{_bw:null,_bu:null,_frameVersion:0,frameVersion:function(a){if(arguments.length===1){this._frameVersion=a;return a}else{return this._frameVersion}},checkFrameDirty:function(a){if(this.frameVersion()!=a._t){return true}return false},updateFrameVersion:function(a){this.frameVersion(a._t)},init:function(a){$.ig.SeriesView.prototype.init.call(this,a);this.frameVersion(-1);this._bw=a;this._bu=this.bv()},bv:function(){},onInit:function(){$.ig.SeriesView.prototype.onInit.call(this);if(!this.isThumbnailView()){this._e._bj=6}},getDefaultTooltipTemplate:function(){var a="<div class='ui-chart-default-tooltip-content'>";if(this._bw.xAxis().isDateTime()){a+="<span>${itemLabel}</span><br/>"}else if(this._bw.xAxis().label()!=null){a+="<span>${item."+this._bw.xAxis().label()+"}</span><br/>"}a+="<span class='ui-priority-primary'";var b=this._e.a0().getDefaultTooltipTemplateLabelColorString(this._e);if(!String.isNullOrEmpty(b)){a+=" style='color:"+b+"'"}var c=new $.ig.SRProvider(this.seriesViewerRenderer());var d=c.al("financialSeries_Open");var e=c.al("financialSeries_High");var f=c.al("financialSeries_Low");var g=c.al("financialSeries_Close");d=String.isNullOrEmpty(d)?"Open":d;e=String.isNullOrEmpty(e)?"High":e;f=String.isNullOrEmpty(f)?"Low":f;g=String.isNullOrEmpty(g)?"Close":g;a+=">"+this._bw.title()+"</span><table><tr><td>"+d+":</td><td>"+"${item."+this._bw.openMemberPath()+"}</td></tr><tr><td>"+e+":</td><td>"+"${item."+this._bw.highMemberPath()+"}</td></tr><tr><td>"+f+":</td><td>"+"${item."+this._bw.lowMemberPath()+"}</td></tr><tr><td>"+g+":</td><td>"+"${item."+this._bw.closeMemberPath()+"}</td></tr>";if(!String.isNullOrEmpty(this._bw.volumeMemberPath())){var h=c.al("financialSeries_Volume");h=String.isNullOrEmpty(h)?"Volume":h;a+="<tr><td>"+h+":</td><td>"+"${item."+this._bw.volumeMemberPath()+"}</td></tr>"}a+="</table></div>";return a},ac:function(){var a=new $$a.ax;a.colorString("rgba(95,95,95,0.5)");this._e.shadowColor(a);this._e.shadowBlur(5);this._e.shadowOffsetX(2);this._e.shadowOffsetY(2)},$type:new $.ig.Type("FinancialSeriesView",$.ig.SeriesView.prototype.$type)},true);$c("FinancialPriceSeriesView:t","FinancialSeriesView",{_b0:null,init:function(a){var $self=this;this.ck=function(){var $ret=new $$a.bs;$ret._aj=new $$a.a3;return $ret}();this.cj=function(){var $ret=new $$a.bs;$ret._aj=new $$a.a3;return $ret}();this.b1=null;this.ci=new $$a.bs;$$t.$u.init.call(this,a);this._b0=a;this._b6=new $$4.x($$a.$bs.$type,0);this._b3=function(){
var $ret=new $.ig.Pool$1($$a.$bs.$type);$ret.create($self.cl.runOn($self));$ret.activate($self.cb.runOn($self));$ret.disactivate($self.cd.runOn($self));$ret.destroy($self.cc.runOn($self));return $ret}()},_b3:null,cl:function(){var a=new $$a.bs;this._b6.add(a);a.__visibility=1;return a},_b6:null,cb:function(a){a.__visibility=0},cd:function(a){a.__visibility=1},cc:function(a){this._b6.remove(a)},bv:function(){return new $$t.c(this)},onInit:function(){$$t.$u.onInit.call(this);if(!this.isThumbnailView()){this._bw.negativeBrush(function(){var $ret=new $$a.at;$ret.fill("#C62828");return $ret}());this._b0.negativeOutline(this._bw.negativeBrush());this._bw.resolution(5);this._bw.thickness(1)}},ck:null,cj:null,b1:null,b2:function(a){if(arguments.length===1){this.b1=a;return a}else{if(this.b1==null){this.b1=$.ig.CategoryTrendLineManagerFactory.prototype.a(this.b1,this._e.ap(),this._e.rootCanvas(),this._e,this._e.b2())}return this.b1}},b4:function(){return this.b1!=null},ce:function(){if(this._b0.displayType()==1){this.ck.__stroke=this._e.actualBrush()}else{this.ck.__stroke=this._e.actualOutline()}if(this._b0.displayType()==1){this.cj.__stroke=this._bw.negativeBrush()}else{this.cj.__stroke=this._b0.negativeOutline()}},b8:function(){this.an();this._b3.count(0);this.b7()},b7:function(){var a=$b($$a.$a3.$type,this.ck._aj);var b=$b($$a.$a3.$type,this.cj._aj);$.ig.Extensions.prototype.d(a);$.ig.Extensions.prototype.d(b)},ch:function(){this.an();return $b($$a.$a3.$type,this.ck._aj)},cg:function(){this.an();return $b($$a.$a3.$type,this.cj._aj)},cf:function(){this._b0.actualTrendLineBrush(null);if(this._b0.trendLineBrush()!=null){this._b0.actualTrendLineBrush(this._b0.trendLineBrush())}else{this._b0.actualTrendLineBrush(this._b0.actualBrush())}},a8:function(){$$t.$u.a8.call(this);this.ck._ac=this._e.thickness();this.ck._ai=this._e.dashArray();this.ck._ad=this._e.dashCap();if(this._b0.displayType()==1){this.ck.__stroke=this._e.actualBrush()}else{this.ck.__stroke=this._e.actualOutline();this.ck.__fill=this._e.actualBrush()}this.cj._ac=this._e.thickness();this.cj._ai=this._e.dashArray();this.cj._ad=this._e.dashCap();if(this._b0.displayType()==1){this.cj.__stroke=this._bw.negativeBrush()}else{this.cj.__stroke=this._b0.negativeOutline();this.cj.__fill=this._bw.negativeBrush()}},a9:function(){$$t.$u.a9.call(this);var a=this.bl();this.ck._ac=this._e.thickness()+3;if(this._b0.displayType()==1){this.ck.__stroke=a}else{this.ck.__stroke=a;this.ck.__fill=a}this.cj._ac=this._e.thickness()+3;if(this._b0.displayType()==1){this.cj.__stroke=a}else{this.cj.__stroke=a;this.cj.__fill=a}},z:function(a){return this._b6.__inner[a]},ci:null,y:function(a){var b=this._b6.__inner[a];this.ci.__visibility=b.__visibility;this.ci._aj=b._aj;var c=this.bm(a);this.ci.__fill=c;this.ci.__stroke=c;this.ci._ac=this._e.thickness()+3;return this.ci},a3:function(a,b){$$t.$u.a3.call(this,a,b);if(a.d()){if(this.separateMode()){for(var c=0;c<this._b6.count();c++){var d=this.x(c,b);if(d.__visibility==0){a.s(d)}}}else{a.s(this.ck);a.s(this.cj)}}},a2:function(a,b){if(a.d()){if(this._b0.trendLineType()!=0&&!b){var c=this.b2().trendPolyline();c._ac=this._b0.trendLineThickness();c.__stroke=this._b0.actualTrendLineBrush();c._ai=this._b0.trendLineDashArray();c._ad=this._b0.trendLineDashCap();a.u(c)}}$$t.$u.a2.call(this,a,b)},ai:function(a){$$t.$u.ai.call(this,a);this._e.a2().exportPathData(a,this.ck,"positivePathShape",["Positive","Main"]);this._e.a2().exportPathData(a,this.cj,"negativePathShape",["Negative"])},b9:function(){this.an()},_separateMode:false,separateMode:function(a){if(arguments.length===1){this._separateMode=a;return a}else{return this._separateMode}},selectTrendlineManager:function(){if(this.b4()){this.b1=$.ig.CategoryTrendLineManagerFactory.prototype.a(this.b1,this._e.ap(),this._e.rootCanvas(),this._e,this._e.b2())}},$type:new $.ig.Type("FinancialPriceSeriesView",$$t.$u.$type)},true);$c("FinancialSeries___CalculateTR__IteratorClass:i","Object",{d:0,c:0,e:0,b:null,g:0,f:0,h:0,__4__this:null,init:function(a){$.ig.$op.init.call(this);this.d=a},moveNext:function(){while(this.d>=0){switch(this.d){case 0:this.d=-1;if(this.__4__this.na()&&this.__4__this.xAxis().sortedIndices()!=null){this.e=this.__4__this.mq().count();this.b=this.__4__this.xAxis().sortedIndices();if(this.e>0){this.c=this.__4__this.nw(this.__4__this.mq().item(this.b.item(0))-this.__4__this.ms().item(this.b.item(0)));this.d=1;return true}this.d=1;break}this.f=this.__4__this.mq().count();if(this.f>0){this.c=this.__4__this.nw(this.__4__this.mq().item(0)-this.__4__this.ms().item(0));this.d=4;return true}this.d=4;break;case 1:this.d=-1;this.g=1;this.d=2;break;case 2:this.d=-1;if(this.g<this.e){this.c=Math.max(this.__4__this.nw(this.__4__this.mq().item(this.b.item(this.g))-this.__4__this.ms().item(this.b.item(this.g))),Math.max(this.__4__this.nw(Math.abs(this.__4__this.mq().item(this.b.item(this.g))-this.__4__this.mo().item(this.b.item(this.g-1)))),this.__4__this.nw(Math.abs(this.__4__this.ms().item(this.b.item(this.g))-this.__4__this.mo().item(this.b.item(this.g-1))))));this.d=3;return true}break;case 3:this.d=-1;++this.g;this.d=2;break;case 4:this.d=-1;this.h=1;this.d=5;break;case 5:this.d=-1;if(this.h<this.f){this.c=Math.max(this.__4__this.nw(this.__4__this.mq().item(this.h)-this.__4__this.ms().item(this.h)),Math.max(this.__4__this.nw(Math.abs(this.__4__this.mq().item(this.h)-this.__4__this.mo().item(this.h-1))),this.__4__this.nw(Math.abs(this.__4__this.ms().item(this.h)-this.__4__this.mo().item(this.h-1)))));this.d=6;return true}break;case 6:this.d=-1;++this.h;this.d=5;break}}return false},getEnumerator:function(){var d__;if(this.d==-2){this.d=0;d__=this}else{d__=new $$t.i(0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.c},current1:function(){return this.c},$type:new $.ig.Type("FinancialSeries___CalculateTR__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("FinancialSeries___CalculateTL__IteratorClass:j","Object",{d:0,c:0,e:0,b:null,g:0,f:0,h:0,__4__this:null,init:function(a){$.ig.$op.init.call(this);this.d=a},moveNext:function(){while(this.d>=0){switch(this.d){case 0:this.d=-1;if(this.__4__this.na()&&this.__4__this.xAxis().sortedIndices()!=null){this.e=this.__4__this.ms().count();this.b=this.__4__this.xAxis().sortedIndices();if(this.e>0){this.c=this.__4__this.nw(this.__4__this.ms().item(this.b.item(0)));this.d=1;return true}this.d=1;break}this.f=this.__4__this.ms().count();if(this.f>0){this.c=this.__4__this.nw(this.__4__this.ms().item(0));this.d=4;return true}this.d=4;break;case 1:this.d=-1;this.g=1;this.d=2;break;case 2:this.d=-1;if(this.g<this.e){this.c=Math.min(this.__4__this.nw(this.__4__this.ms().item(this.b.item(this.g))),this.__4__this.nw(this.__4__this.mo().item(this.b.item(this.g-1))));this.d=3;return true}break;case 3:this.d=-1;this.g++;this.d=2;break;case 4:this.d=-1;this.h=1;this.d=5;break;case 5:this.d=-1;if(this.h<this.f){this.c=Math.min(this.__4__this.nw(this.__4__this.ms().item(this.h)),this.__4__this.nw(this.__4__this.mo().item(this.h-1)));this.d=6;return true}break;case 6:this.d=-1;this.h++;this.d=5;break}}return false},getEnumerator:function(){var d__;if(this.d==-2){this.d=0;d__=this}else{d__=new $$t.j(0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.c},current1:function(){return this.c},$type:new $.ig.Type("FinancialSeries___CalculateTL__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("FinancialSeries___CalculateTypicalColumn__IteratorClass:h","Object",{h:0,f:0,c:false,a:null,d:null,g:0,i:0,e:null,k:0,j:0,l:0,__4__this:null,init:function(a){$.ig.$op.init.call(this);this.h=a},m:function(){this.h=-1;if(this.d!=null){this.d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.c=false;if(this.__4__this.m5()){this.a=this.__4__this.mc(0,this.__4__this.bz().count());this.__4__this.oo(new $$t.a(0,this.__4__this.bz().count(),this.a,this.__4__this.md(this.a),this.__4__this));if(this.a.typicalColumn()!=null){this.c=true;this.h=1;this.d=this.a.typicalColumn().getEnumerator();this.h=2;break}}if(!this.c){if(this.__4__this.na()&&this.__4__this.xAxis().sortedIndices()!=null){this.i=this.__4__this.bz().count();this.e=this.__4__this.xAxis().sortedIndices();this.k=0;this.h=3;break}this.j=this.__4__this.bz().count();this.l=0;this.h=5;break}break;case 2:this.h=1;if(this.d.moveNext()){this.g=this.d.current();this.f=this.g;this.h=2;return true}this.m();if(!this.c){if(this.__4__this.na()&&this.__4__this.xAxis().sortedIndices()!=null){this.i=this.__4__this.bz().count();this.e=this.__4__this.xAxis().sortedIndices();this.k=0;this.h=3;break}this.j=this.__4__this.bz().count();this.l=0;this.h=5;break}break;case 3:this.h=-1;if(this.k<this.i){this.f=(this.__4__this.mq().item(this.e.item(this.k))+this.__4__this.ms().item(this.e.item(this.k))+this.__4__this.mo().item(this.e.item(this.k)))/3;this.h=4;return true}break;case 4:this.h=-1;++this.k;this.h=3;break;case 5:this.h=-1;if(this.l<this.j){this.f=(this.__4__this.mq().item(this.l)+this.__4__this.ms().item(this.l)+this.__4__this.mo().item(this.l))/3;this.h=6;return true}break;case 6:this.h=-1;++this.l;this.h=5;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.h(0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.m();break}},current:function(){return this.f},current1:function(){return this.f},$type:new $.ig.Type("FinancialSeries___CalculateTypicalColumn__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$$t.$g.negativeBrushProperty=$$a.$s.i("NegativeBrush",$$a.$at.$type,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("NegativeBrush",b.oldValue(),b.newValue())}));$$t.$g.xAxisProperty=$$a.$s.i("XAxis",$.ig.CategoryAxisBase.prototype.$type,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("XAxis",b.oldValue(),b.newValue())}));$$t.$g.yAxisProperty=$$a.$s.i("YAxis",$.ig.NumericYAxis.prototype.$type,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("YAxis",b.oldValue(),b.newValue())}));$$t.$g.openMemberPathProperty=$$a.$s.i("OpenMemberPath",String,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("OpenMemberPath",b.oldValue(),b.newValue())}));$$t.$g.highMemberPathProperty=$$a.$s.i("HighMemberPath",String,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("HighMemberPath",b.oldValue(),b.newValue())}));$$t.$g.lowMemberPathProperty=$$a.$s.i("LowMemberPath",String,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("LowMemberPath",b.oldValue(),b.newValue())}));$$t.$g.closeMemberPathProperty=$$a.$s.i("CloseMemberPath",String,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("CloseMemberPath",b.oldValue(),b.newValue())}));$$t.$g.volumeMemberPathProperty=$$a.$s.i("VolumeMemberPath",String,$$t.$g.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("VolumeMemberPath",b.oldValue(),b.newValue())}));$$t.$g.isCustomCategoryStyleAllowedProperty=$$a.$s.i("IsCustomCategoryStyleAllowed",$$0.$aq.$type,$$t.$g.$type,new $$a.ac(2,false,function(a,b){a.raisePropertyChanged("IsCustomCategoryStyleAllowed",b.oldValue(),b.newValue())}));$$t.$g.transitionInModeProperty=$$a.$s.i("TransitionInMode",$.ig.CategoryTransitionInMode.prototype.$type,$$t.$g.$type,new $$a.ac(2,$.ig.CategoryTransitionInMode.prototype.getBox(0),function(a,b){a.raisePropertyChanged("TransitionInMode",b.oldValue(),b.newValue())}));$$t.$g.isTransitionInEnabledProperty=$$a.$s.i("IsTransitionInEnabled",$$0.$aq.$type,$$t.$g.$type,new $$a.ac(2,false,function(a,b){a.raisePropertyChanged("IsTransitionInEnabled",b.oldValue(),b.newValue())}));$$t.$d.trendLineTypeProperty=$$a.$s.i("TrendLineType",$.ig.TrendLineType.prototype.$type,$$t.$d.$type,new $$a.ac(2,$.ig.TrendLineType.prototype.getBox(0),function(a,b){a.raisePropertyChanged("TrendLineType",b.oldValue(),b.newValue())}));$$t.$d.trendLineBrushProperty=$$a.$s.i("TrendLineBrush",$$a.$at.$type,$$t.$d.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("TrendLineBrush",b.oldValue(),b.newValue())}));$$t.$d.actualTrendLineBrushProperty=$$a.$s.i("ActualTrendLineBrush",$$a.$at.$type,$$t.$d.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("ActualTrendLineBrush",b.oldValue(),b.newValue())}));$$t.$d.trendLineThicknessProperty=$$a.$s.i("TrendLineThickness",Number,$$t.$d.$type,new $$a.ac(2,1.5,function(a,b){a.raisePropertyChanged("TrendLineThickness",b.oldValue(),b.newValue())}));$$t.$d.trendLineDashCapProperty=$$a.$s.i("TrendLineDashCap",$$a.$bj.$type,$$t.$d.$type,new $$a.ac(2,$$a.$bj.getBox(0),function(a,b){a.raisePropertyChanged("TrendLineDashCap",b.oldValue(),b.newValue())}));$$t.$d.trendLineDashArrayProperty=$$a.$s.i("TrendLineDashArray",$$a.$ay.$type,$$t.$d.$type,new $$a.ac(1,function(a,b){a.raisePropertyChanged("TrendLineDashArray",b.oldValue(),b.newValue())}));$$t.$d.trendLinePeriodProperty=$$a.$s.i("TrendLinePeriod",$$0.$aw.$type,$$t.$d.$type,new $$a.ac(2,7,function(a,b){a.raisePropertyChanged("TrendLinePeriod",b.oldValue(),b.newValue())}));$$t.$d.trendLineZIndexProperty=$$a.$s.i("TrendLineZIndex",$$0.$aw.$type,$$t.$d.$type,new $$a.ac(2,1001,function(a,b){a.raisePropertyChanged("TrendLineZIndex",b.oldValue(),b.newValue())}));$$t.$d.displayTypeProperty=$$a.$s.i("DisplayType",$.ig.PriceDisplayType.prototype.$type,$$t.$d.$type,new $$a.ac(2,$.ig.PriceDisplayType.prototype.getBox(0),function(a,b){a.raisePropertyChanged("DisplayType",b.oldValue(),b.newValue())}));$$t.$d.negativeOutlineProperty=$$a.$s.i("NegativeOutline",$$a.$at.$type,$$t.$d.$type,new $$a.ac(2,null,function(a,b){a.raisePropertyChanged("NegativeOutline",b.oldValue(),b.newValue())}))});