UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

7 lines 4.89 MB
/*! THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("@angular/core"),require("igniteui-angular-core"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","tslib","@angular/core","igniteui-angular-core","@angular/common"],e):e((t=t||self)["igniteui-angular-charts"]={},t.tslib,t.i0,t.i2,t.i1)}(this,(function(t,e,n,i,r){"use strict";var o=function(t){return t[t.Auto=0]="Auto",t[t.Normal=1]="Normal",t[t.ValueScaled=2]="ValueScaled",t[t.IndexScaled=3]="IndexScaled",t[t.Random=4]="Random",t}({}),a=i.markEnum("TransitionInSpeedType","Auto,0|Normal,1|ValueScaled,2|IndexScaled,3|Random,4"),s=function(t){return t[t.Auto=0]="Auto",t[t.Computational=1]="Computational",t[t.ColorEncoded=2]="ColorEncoded",t}({}),l=i.markEnum("SeriesHitTestMode","Auto,0|Computational,1|ColorEncoded,2"),u=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._animate=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"animate",{get:function(){return this._animate},set:function(t){this._animate=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"RenderRequestedEventArgs",i.EventArgs.$),n}(i.EventArgs),c=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new u},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"animate",{get:function(){return this.i.animate},set:function(t){this.i.animate=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),h=function(t){return t[t.Auto=0]="Auto",t[t.ValuesOnly=1]="ValuesOnly",t[t.IncludeReferenceValue=2]="IncludeReferenceValue",t}({}),p=i.markEnum("SeriesVisibleRangeMode","Auto,0|ValuesOnly,1|IncludeReferenceValue,2"),f=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.BrightenSpecific=2]="BrightenSpecific",t[t.Brighten=3]="Brighten",t[t.FadeOthersSpecific=4]="FadeOthersSpecific",t[t.FadeOthers=5]="FadeOthers",t}({}),d=i.markEnum("SeriesHighlightingMode","Auto,0|None,1|BrightenSpecific,2|Brighten,3|FadeOthersSpecific,4|FadeOthers,5"),y=function(t){return t[t.Auto=0]="Auto",t[t.Visible=1]="Visible",t[t.Collapsed=2]="Collapsed",t}({}),g=i.markEnum("SeriesOutlineMode","Auto,0|Visible,1|Collapsed,2"),m=function(t){return t[t.Auto=0]="Auto",t[t.Minimum=1]="Minimum",t[t.Maximum=2]="Maximum",t[t.Average=3]="Average",t[t.GlobalMinimum=4]="GlobalMinimum",t[t.GlobalMaximum=5]="GlobalMaximum",t[t.GlobalAverage=6]="GlobalAverage",t}({}),b=i.markEnum("ValueLayerValueMode","Auto,0|Minimum,1|Maximum,2|Average,3|GlobalMinimum,4|GlobalMaximum,5|GlobalAverage,6"),v=function(t){return t[t.Auto=0]="Auto",t[t.LeftMarginRightMargin=1]="LeftMarginRightMargin",t[t.LeftBufferRightBuffer=2]="LeftBufferRightBuffer",t[t.LeftMarginRightBuffer=3]="LeftMarginRightBuffer",t[t.LeftBufferRightMargin=4]="LeftBufferRightMargin",t[t.None=5]="None",t}({}),x=i.markEnum("SeriesPlotAreaMarginHorizontalMode","Auto,0|LeftMarginRightMargin,1|LeftBufferRightBuffer,2|LeftMarginRightBuffer,3|LeftBufferRightMargin,4|None,5"),w=function(t){return t[t.Auto=0]="Auto",t[t.BottomMarginTopMargin=1]="BottomMarginTopMargin",t[t.BottomBufferTopBuffer=2]="BottomBufferTopBuffer",t[t.BottomMarginTopBuffer=3]="BottomMarginTopBuffer",t[t.BottomBufferTopMargin=4]="BottomBufferTopMargin",t[t.None=5]="None",t}({}),_=i.markEnum("SeriesPlotAreaMarginVerticalMode","Auto,0|BottomMarginTopMargin,1|BottomBufferTopBuffer,2|BottomMarginTopBuffer,3|BottomBufferTopMargin,4|None,5"),C=function(t){return t[t.None=0]="None",t[t.Fading=1]="Fading",t[t.FadeToLine=2]="FadeToLine",t[t.Persistent=3]="Persistent",t}({}),P=i.markEnum("SeriesViewerScrollbarMode","None,0|Fading,1|FadeToLine,2|Persistent,3"),I=function(t){return t[t.CircleSmart=0]="CircleSmart",t[t.None=1]="None",t[t.SmartIndexed=2]="SmartIndexed",t[t.Indexed=3]="Indexed",t[t.Circle=4]="Circle",t[t.Triangle=5]="Triangle",t[t.Pyramid=6]="Pyramid",t[t.Square=7]="Square",t[t.Diamond=8]="Diamond",t[t.Pentagon=9]="Pentagon",t[t.Hexagon=10]="Hexagon",t[t.Tetragram=11]="Tetragram",t[t.Pentagram=12]="Pentagram",t[t.Hexagram=13]="Hexagram",t}({}),k=i.markEnum("MarkerAutomaticBehavior","CircleSmart,0|None,1|SmartIndexed,2|Indexed,3|Circle,4|Triangle,5|Pyramid,6|Square,7|Diamond,8|Pentagon,9|Hexagon,10|Tetragram,11|Pentagram,12|Hexagram,13"),M=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.Brighten=2]="Brighten",t[t.FadeOthers=3]="FadeOthers",t[t.GrayscaleOthers=4]="GrayscaleOthers",t[t.FocusColorThickOutline=5]="FocusColorThickOutline",t[t.FocusColorOutline=6]="FocusColorOutline",t[t.SelectionColorThickOutline=7]="SelectionColorThickOutline",t[t.SelectionColorOutline=8]="SelectionColorOutline",t[t.FocusColorFill=9]="FocusColorFill",t[t.SelectionColorFill=10]="SelectionColorFill",t[t.ThickOutline=11]="ThickOutline",t}({}),S=i.markEnum("SeriesSelectionMode","Auto,0|None,1|Brighten,2|FadeOthers,3|GrayscaleOthers,4|FocusColorThickOutline,5|FocusColorOutline,6|SelectionColorThickOutline,7|SelectionColorOutline,8|FocusColorFill,9|SelectionColorFill,10|ThickOutline,11"),j=function(t){return t[t.Auto=0]="Auto",t[t.PerDataItemMultiSelect=1]="PerDataItemMultiSelect",t[t.PerDataItemSingleSelect=2]="PerDataItemSingleSelect",t[t.PerSeriesAndDataItemMultiSelect=3]="PerSeriesAndDataItemMultiSelect",t[t.PerSeriesAndDataItemSingleSelect=4]="PerSeriesAndDataItemSingleSelect",t[t.PerSeriesAndDataItemGlobalSingleSelect=5]="PerSeriesAndDataItemGlobalSingleSelect",t[t.PerSeriesMultiSelect=6]="PerSeriesMultiSelect",t[t.PerSeriesSingleSelect=7]="PerSeriesSingleSelect",t}({}),T=i.markEnum("SeriesSelectionBehavior","Auto,0|PerDataItemMultiSelect,1|PerDataItemSingleSelect,2|PerSeriesAndDataItemMultiSelect,3|PerSeriesAndDataItemSingleSelect,4|PerSeriesAndDataItemGlobalSingleSelect,5|PerSeriesMultiSelect,6|PerSeriesSingleSelect,7"),$=function(t){return t[t.Auto=0]="Auto",t[t.InsideBottom=1]="InsideBottom",t[t.InsideTop=2]="InsideTop",t}({}),O=i.markEnum("SeriesViewerHorizontalScrollbarPosition","Auto,0|InsideBottom,1|InsideTop,2"),A=function(t){return t[t.Auto=0]="Auto",t[t.InsideLeft=1]="InsideLeft",t[t.InsideRight=2]="InsideRight",t}({}),L=i.markEnum("SeriesViewerVerticalScrollbarPosition","Auto,0|InsideLeft,1|InsideRight,2"),D=function(t){return t[t.Auto=0]="Auto",t[t.DirectlyOver=1]="DirectlyOver",t[t.NearestItems=2]="NearestItems",t[t.NearestItemsRetainMainShapes=3]="NearestItemsRetainMainShapes",t[t.NearestItemsAndSeries=4]="NearestItemsAndSeries",t}({}),V=i.markEnum("SeriesHighlightingBehavior","Auto,0|DirectlyOver,1|NearestItems,2|NearestItemsRetainMainShapes,3|NearestItemsAndSeries,4"),N=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.MatchSeries=2]="MatchSeries",t}({}),z=i.markEnum("LegendHighlightingMode","Auto,0|None,1|MatchSeries,2"),B=function(t){return t[t.Auto=0]="Auto",t[t.Computational=1]="Computational",t[t.ColorEncoded=2]="ColorEncoded",t[t.Mixed=3]="Mixed",t[t.MixedFavoringComputational=4]="MixedFavoringComputational",t}({}),R=i.markEnum("ChartHitTestMode","Auto,0|Computational,1|ColorEncoded,2|Mixed,3|MixedFavoringComputational,4"),E=function(t){return t[t.Deferred=0]="Deferred",t[t.Immediate=1]="Immediate",t}({}),F=i.markEnum("WindowResponse","Deferred,0|Immediate,1"),q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"SeriesViewerComponentsFromView"),n}(i.Base),U=function(t){return t[t.Auto=0]="Auto",t[t.AxisConstrained=1]="AxisConstrained",t[t.Unconstrained=2]="Unconstrained",t}({}),H=i.markEnum("ZoomCoercionMode","Auto,0|AxisConstrained,1|Unconstrained,2"),G=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.prototype.ai=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n))},n.$t=i.markType(n,"SyncSettings",i.FrameworkElement.$,[i.INotifyPropertyChanged_$type]),n.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,n,"ai",["SyncChannel",[2,null],"SynchronizeHorizontally",[0,!0],"SynchronizeVertically",[0,!0]]),n}(i.FrameworkElement),X=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"SeriesViewerComponentsForView"),n}(i.Base),Y=function(t){function n(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=t.call(this)||this;switch(o.e=null,o.d=null,o.c=null,o.a=!1,o.b=0,e=null==e?0:e){case 0:var a=n[0],s=n[1],l=n[2],u=n[3];o.e=a,o.d=s,o.c=u,o.a=l,o.b=NaN;break;case 1:var c=(u=[a=n[0],s=n[1],l=n[2],i.Rect.empty])[0],h=u[1],p=u[2],f=u[3];o.e=c,o.d=h,o.c=f,o.a=p,o.b=NaN}return o}return e.__extends(n,t),n.$t=i.markType(n,"ScalerParams"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._isZoomPan=!1,e._isDragZoom=!1,e._isDragSelect=!1,e._dragSelectRectangle=null,e._isDragSelectCancelled=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"isZoomPan",{get:function(){return this._isZoomPan},set:function(t){this._isZoomPan=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDragZoom",{get:function(){return this._isDragZoom},set:function(t){this._isDragZoom=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDragSelect",{get:function(){return this._isDragSelect},set:function(t){this._isDragSelect=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dragSelectRectangle",{get:function(){return this._dragSelectRectangle},set:function(t){this._dragSelectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDragSelectCancelled",{get:function(){return this._isDragSelectCancelled},set:function(t){this._isDragSelectCancelled=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"SeriesViewerManipulationEventArgs",i.EventArgs.$),n}(i.EventArgs),Z=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ChartResizeIdleEventArgs",i.EventArgs.$),n}(i.EventArgs),K=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"RefreshCompletedEventArgs",i.EventArgs.$),n}(i.EventArgs),J=function(t){return t[t.Auto=0]="Auto",t[t.Left=1]="Left",t[t.Right=2]="Right",t[t.Top=3]="Top",t[t.Bottom=4]="Bottom",t}({}),Q=i.markEnum("AxisTitlePosition","Auto,0|Left,1|Right,2|Top,3|Bottom,4"),tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"CoercionInfo"),n}(i.Base),et=i.markEnum("ChartContentType","Series,0|Axis,1|Background,2"),nt=i.markEnum("AutomaticSeriesPurpose","ToolbarCrosshairs,0|ToolbarMaxValueLayer,1|ToolbarMinValueLayer,2|ToolbarAvgValueLayer,3|ToolbarSeriesAvgLayer,4|ToolbarCallouts,5|ToolbarFinalValue,6|ToolbarTrendLineLayerExponential,7|ToolbarTrendLineLayerLinear,8|ToolbarTrendLineLayerLogarithmic,9|UserAnnotationLayer,10|UserAnnotationToolTipLayer,11|UserSliceAnnotationLayer,12|UserStripAnnotationLayer,13|UserPointAnnotationLayer,14"),it=new i.Type(null,"ITileZoomTile"),rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"RenderSurface"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.h=0,e.b=0,e.e=0,e.f=0,e.g=0,e.c=0,e.d=0,e}return e.__extends(n,t),n.$t=i.markType(n,"LabelPanelsArrangeState"),n}(i.Base),at=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.n=function(t,e,n){t.beginPath();var r=e.actualItemBrush;e.outline;if(null!=r)if(r.isGradient){var o=n.availableWidth/2,a=(n.availableHeight,n.xPosition-o),s=n.yPosition-o;a+=n.renderOffsetX,s+=n.renderOffsetY;var l=i.CanvasViewRenderer.k(t,r,a,s,a+n.availableWidth,s+n.availableHeight,e.thickness,!1);t.fillStyle=l}else t.fillStyle!=r._fill&&(t.fillStyle=r._fill);if(null!=e.outline){if(e.outline.isGradient){var u=n.availableWidth/2,c=(n.availableHeight,n.xPosition-u),h=n.yPosition-u;c+=n.renderOffsetX,h+=n.renderOffsetY;var p=i.CanvasViewRenderer.k(t,e.outline,c,h,c+n.availableWidth,h+n.availableHeight,e.thickness,!0);t.strokeStyle=p}else t.strokeStyle!=e.outline._fill&&(t.strokeStyle=e.outline._fill);t.lineWidth=e.thickness}},n.a=function(t,e){t.closePath(),null!=e.actualItemBrush&&t.fill(),null!=e.outline&&t.stroke()},n.b=function(t){t.isConstant=!0,t.width=8,t.height=8},n.d=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=Math.min(t.availableWidth,t.availableHeight)/2;e.arc(t.xPosition,t.yPosition,r,0,2*Math.PI,!1),n.a(e,i)},n.m=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a,s),e.lineTo(a+o,s+t.availableHeight),e.lineTo(a+t.availableWidth,s+0),e.lineTo(a,s),n.a(e,i)},n.j=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a,s+t.availableHeight),e.lineTo(a+o,s+0),e.lineTo(a+t.availableWidth,s+t.availableHeight),e.lineTo(a,s+t.availableHeight),n.a(e,i)},n.k=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.rect(a,s,t.availableWidth,t.availableHeight),n.a(e,i)},n.c=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.rect(0|a,0|s,t.availableWidth,t.availableHeight),n.a(e,i)},n.e=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+0,s+r),e.lineTo(a+o,s+t.availableHeight),e.lineTo(a+t.availableWidth,s+r),e.lineTo(a+o,s+0),e.lineTo(a+0,s+r),n.a(e,i)},n.h=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+.5*t.availableWidth,s+0),e.lineTo(a+.024450000375509262*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(a+.20624999701976776*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(a+.793749988079071*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(a+.9755499958992004*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+0),n.a(e,i)},n.f=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+.5*t.availableWidth,s+0),e.lineTo(a+.04450000077486038*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(a+.04450000077486038*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+t.availableHeight),e.lineTo(a+.9330000281333923*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(a+.9330000281333923*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+0),n.a(e,i)},n.l=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+.5*t.availableWidth,s+0),e.lineTo(a+.323199987411499*t.availableWidth,s+.3232*t.availableHeight),e.lineTo(a+0*t.availableWidth,s+.5*t.availableHeight),e.lineTo(a+.323199987411499*t.availableWidth,s+.676800012588501*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+1*t.availableHeight),e.lineTo(a+.676800012588501*t.availableWidth,s+.676800012588501*t.availableHeight),e.lineTo(a+1*t.availableWidth,s+.5*t.availableHeight),e.lineTo(a+.676800012588501*t.availableWidth,s+.323199987411499*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+0),n.a(e,i)},n.i=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+.5*t.availableWidth,s+0),e.lineTo(a+.35304999351501465*t.availableWidth,s+.29775*t.availableHeight),e.lineTo(a+.02445*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(a+.26225000619888306*t.availableWidth,s+.5772500038146973*t.availableHeight),e.lineTo(a+.2061000019311905*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(a+.7939*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(a+.7377499938011169*t.availableWidth,s+.5772500038146973*t.availableHeight),e.lineTo(a+.9755499958992004*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(a+.6469500064849854*t.availableWidth,s+.29774999618530273*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+0),n.a(e,i)},n.g=function(t){var e=t.context,i=t.data;n.n(e,i,t);var r=t.availableHeight/2,o=t.availableWidth/2,a=t.xPosition-o,s=t.yPosition-r;e.moveTo(a+.5*t.availableWidth,s+0),e.lineTo(a+3/8*t.availableWidth,s+.2835*t.availableHeight),e.lineTo(a+.067*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(a+2/8*t.availableWidth,s+.5*t.availableHeight),e.lineTo(a+.067*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(a+3/8*t.availableWidth,s+.7164999842643738*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+1*t.availableHeight),e.lineTo(a+5/8*t.availableWidth,s+.7164999842643738*t.availableHeight),e.lineTo(a+.9330000281333923*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(a+6/8*t.availableWidth,s+.5*t.availableHeight),e.lineTo(a+.9330000281333923*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(a+5/8*t.availableWidth,s+.28349998593330383*t.availableHeight),e.lineTo(a+.5*t.availableWidth,s+0),n.a(e,i)},n.$t=i.markType(n,"MarkerTemplates"),n}(i.Base),st=function(t){return t[t.OutsideTop=0]="OutsideTop",t[t.OutsideBottom=1]="OutsideBottom",t[t.OutsideLeft=2]="OutsideLeft",t[t.OutsideRight=3]="OutsideRight",t[t.InsideTop=4]="InsideTop",t[t.InsideBottom=5]="InsideBottom",t[t.InsideLeft=6]="InsideLeft",t[t.InsideRight=7]="InsideRight",t}({}),lt=i.markEnum("AxisLabelsLocation","OutsideTop,0|OutsideBottom,1|OutsideLeft,2|OutsideRight,3|InsideTop,4|InsideBottom,5|InsideLeft,6|InsideRight,7"),ut=new i.Type(null,"IProvidesViewport"),ct=i.markEnum("ActualLegendItemBadgeShape","CircleShape,0|LineWithMarker,1|LineMarkerless,2|BarShape,3|ColumnShape,4|SquareShape,5|SquareFinancial,6|SquareIndicator,7|MarkerShape,8|HiddenShape,9"),ht=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"Defaults"),n.crosshairLineBrush=i.BrushUtil.j(255,187,187,187),n.crosshairLineThickness=i.DeviceUtils.g(1),n.crosshairXAxisAnnotationTextColor=i.BrushUtil.j(255,255,255,255),n.crosshairXAxisAnnotationBackground=i.BrushUtil.j(255,0,0,0),n.legendBadge_ShapeThickness=i.DeviceUtils.g(2),n.legendBadge_ShapeWidth=8,n.legendBadge_ShapeHeight=8,n.legendBadge_OverlaidMarkerPadding=0,n.legendBadge_ContainerWidth=i.DeviceUtils.g(12),n.legendBadge_ContainerHeight=i.DeviceUtils.g(12),n.series_MarkerThickness=i.DeviceUtils.g(2),n.series_Thickness=i.DeviceUtils.g(2),n.series_Resolution=i.DeviceUtils.g(1),n.financialSeries_NegativeBrush=i.BrushUtil.j(255,238,88,121),n.financialSeries_NegativeOutline=i.BrushUtil.j(255,238,88,121),n.financialSeries_Thickness=i.DeviceUtils.g(1),n.financialSeries_Resolution=i.DeviceUtils.g(5),n.g=1,n.i=i.DeviceUtils.g(1),n.h=i.DeviceUtils.g(4),n.c=1,n.e=2,n.bf=i.ColorUtil.u("#000000"),n.be=i.ColorUtil.u("#ee5879"),n.ba=i.BrushUtil.j(255,0,0,0),n.a9=i.BrushUtil.j(255,238,88,121),n.ad=i.DeviceUtils.g(4),n.ak=i.DeviceUtils.g(5),n.an=i.DeviceUtils.g(2),n.bb=i.BrushUtil.j(255,0,0,0),n.am=i.DeviceUtils.g(2),n.al=i.DeviceUtils.g(2),n.f=1,n.b=1,n.a8=i.BrushUtil.j(255,0,0,0),n.ac=i.DeviceUtils.g(1),n.ab=i.DeviceUtils.g(2),n.d=1,n.a=1,n.aa=i.DeviceUtils.g(2),n.z=i.DeviceUtils.g(2),n.tileSeries_Outline=i.BrushUtil.j(255,170,211,223),n.tileSeries_Brush=i.BrushUtil.j(255,255,255,255),n.dataAnnotationShapeFillOpacity=.15,n.dataAnnotationShapeThickness=i.DeviceUtils.g(1.5),n.dataAnnotationLabelThickness=i.DeviceUtils.g(1),n.dataAnnotationOverlayBackground=i.BrushUtil.j(0,0,0,0),n.dataAnnotationOverlayBorderStroke=i.BrushUtil.j(0,0,0,0),n.dataAnnotationOverlayBorderThickness=0,n.dataAnnotationOverlayBorderCorner=0,n.dataAnnotationOverlayVerticalMargin=5,n.dataAnnotationOverlayHorizontalMargin=5,n.dataAnnotationOverlayVerticalPadding=5,n.dataAnnotationOverlayHorizontalPadding=5,n.dataAnnotationOverlayFontBrush=i.BrushUtil.j(255,37,37,37),n.dataAnnotationOverlayFontSizeConst=15,n.dataAnnotationOverlayFontSize=i.DeviceUtils.f(15),n.dataAnnotationOverlayFontFamilyConst="Verdana",n.dataAnnotationOverlayFontFamily=i.FontDefaults.a7("Verdana"),n.dataAnnotationOverlayFontWeight="400",n.dataAnnotationOverlayFontStyle="Normal",n.dataAnnotationOverlayFontStretch="Normal",n.dataAnnotationOverlayFontVariant="Normal",n.dataAnnotationLabelBackground=i.BrushUtil.j(255,0,0,0),n.dataAnnotationLabelBorderStroke=i.BrushUtil.j(255,0,0,0),n.dataAnnotationLabelBorderThickness=2,n.dataAnnotationLabelBorderRadius=2,n.dataAnnotationLabelFontBrush=i.BrushUtil.j(255,255,255,255),n}(i.Base),pt=function(t){function n(){var e=t.call(this)||this;return e.b=0,e.a=0,e.d=null,e.c=null,e.b=NaN,e.a=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"PointerTooltipStyle"),n}(i.Base),ft=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.f=null,e.b=null,e.c=null,e.g=null,e.d=null,e.e=null,e.k=null,e.j=null,e.h=null,e.i=null,e}return e.__extends(n,t),n.$t=i.markType(n,"DefaultPaletteInfo"),n}(i.Base),dt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"AxisDefaults"),n.axis_LineStroke=i.DeviceUtils.g(1),n.axis_MinorStroke=i.DeviceUtils.g(1),n.axis_MajorStroke=i.DeviceUtils.g(1),n.axis_TickStroke=i.DeviceUtils.g(1),n.axis_TickLength=i.DeviceUtils.g(0),n.categoryAxis_TickLength=i.DeviceUtils.g(8),n.axis_LineBrush=i.BrushUtil.j(255,158,158,158),n.axis_MinorBrush=null,n.axis_MajorBrush=i.BrushUtil.j(255,196,196,196),n.axis_TickBrush=i.BrushUtil.j(255,158,158,158),n}(i.Base),yt=function(t){function n(e,n){var i=t.call(this)||this;return i.c=0,i.b=0,i.c=e,i.b=n,i}return e.__extends(n,t),n.prototype.equals=function(t){return null!=t&&this.c==t.c&&this.b==t.b},n.prototype.equals1=function(t){return this.equals(i.typeCast(n.$,t))},n.prototype.getHashCode=function(){return t.prototype.getHashCode.call(this)},n.$t=i.markType(n,"AxisRange",i.Base.$,[i.IEquatable$1_$type.specialize(-1)]).initSelfReferences(),n}(i.Base),gt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=7,e.a=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"f",{get:function(){return this.c},set:function(t){this.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),n.d=function(t,e){var n=1;if(e>0)for(;e>0;--e)n*=t;else for(;e<0;++e)n/=t;return n},n.e=function(t,e){var n=i.truncate(Math.floor(i.log10(t))),r=t/Math.pow(10,n);return e?(r<1.5?1:r<3?2:r<7?5:10)*Math.pow(10,n):(r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},n.$t=i.markType(n,"Snapper"),n}(i.Base),mt=function(t){function n(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=t.call(this)||this;switch(r.i=0,r.g=0,r.k=0,r.j=0,e=null==e?0:e){case 0:var o=n[0],a=n[1],s=n[2],l=n[3],u=n[4];r.i=u,l>0&&(r.f=l,r.b=!0),r.l(o,a,s,10);break;case 1:o=n[0],a=n[1],s=n[2],l=n[3],u=n[4];var c=n[5];r.i=c,u>0&&(r.f=u,r.b=!0),r.l(o,a,s,l)}return r}return e.__extends(n,t),n.prototype.l=function(t,e,n,r){this.g=NaN,this.k=0,this.j=0;var o=0;if(n<100&&!this.b?o=4:(o=Math.min(r,i.truncate(n/this.f)),!this.b||i.isInfinity(this.f)||i.isNaN_(this.f)||0==(o=Math.min(r+1,i.truncate((n+this.f)/this.f)))&&(o=1)),o>0){var a=this.h(t,e,o,!0);this.b&&a+1>o&&(this.g=NaN,a=this.h(t,e,o-1,!0),this.b&&a+1>o&&(this.g=NaN,a=this.h(t,e,o-1,!1))),n/(o=a)>10*this.f?this.j=10:n/o>5*this.f?this.j=5:n/o>2*this.f&&(this.j=2),this.k=Math.max(-i.truncate(Math.floor(i.log10(this.g))),0)}},n.prototype.h=function(t,e,n,r){var o=gt.e(e-t,!1),a=Math.max(1,n-1);if((this.g=gt.e(o/a,r),this.i>=0)&&Math.max(-i.truncate(Math.floor(i.log10(this.g))),0)>this.i){var s=Math.pow(10,this.i),l=this.g*s;l=Math.ceil(l),this.g=l/s,0==this.i&&0==this.g&&(this.g=1)}var u=Math.floor(t/this.g)*this.g,c=Math.ceil(e/this.g)*this.g;return i.truncate(Math.round((c-u)/this.g))},n.$t=i.markType(n,"LinearNumericSnapper",gt.$),n}(gt),bt=new i.Type(null,"IAxisAnnotation"),vt=function(t){function n(){var e=t.call(this,bt,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"AxisAnnotationCollection",i.ObservableCollection$1.$.specialize(bt)),n}(i.ObservableCollection$1),xt=function(t){function n(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=t.call(this)||this;switch(r.h=0,r.f=0,r.b=!1,r.i=null,r.d=!1,r.a=!1,r.e=0,r.g=0,r.c=!1,e=null==e?0:e){case 0:var o=n[0];r.h=o,r.f=o;break;case 1:o=n[0];var a=n[1];r.h=o,r.f=a}return r}return e.__extends(n,t),n.$t=i.markType(n,"LabelPosition"),n}(i.Base),wt=function(t){function n(){var e=t.call(this)||this;return e.b=0,e.e=0,e.c=0,e.d=0,e.a=!1,e.b=NaN,e.e=NaN,e.c=NaN,e.d=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"LabelFontHeuristics"),n}(i.Base),_t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.e=0,e.f=0,e.c=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.prototype.a=function(t){return t.x>=this.d&&t.x-this.f<=this.d&&t.y>=this.e&&t.y-this.c<=this.e},n.$t=i.markType(n,"AnnotationBackingArrangedSize"),n}(i.Base),Ct=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e.d=null,e.c=null,e}return e.__extends(n,t),n.$t=i.markType(n,"AxisComponentsFromView"),n}(i.Base),Pt=function(t){function n(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=this;switch(e=null==e?0:e){case 0:var o=n[0],a=n[1],s=n[2],l=n[3];(r=t.call(this)||this)._oldMinimumValue=0,r._minimumValue=0,r._oldMaximumValue=0,r._maximumValue=0,r.oldMinimumValue=o,r.minimumValue=a,r.oldMaximumValue=s,r.maximumValue=l;break;case 1:(r=t.call(this)||this)._oldMinimumValue=0,r._minimumValue=0,r._oldMaximumValue=0,r._maximumValue=0}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldMinimumValue",{get:function(){return this._oldMinimumValue},set:function(t){this._oldMinimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(t){this._minimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldMaximumValue",{get:function(){return this._oldMaximumValue},set:function(t){this._oldMaximumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(t){this._maximumValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"AxisRangeChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.e=null,e.d=null,e.f=null,e.a=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"c",{get:function(){return this.b},set:function(t){this.b=t<0?-1*t:t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PathRenderingInfo"),n}(i.Base),kt=function(t){function n(){var e=t.call(this)||this;return e.___mustPassByValue=!0,e.i=null,e.j=null,e.d=0,e.h=null,e.g=null,e.f=null,e.e=0,e.d=-1,e.e=-1,e}return e.__extends(n,t),n.prototype.b=function(){var t,e=this,n=new i.JsonDictionaryObject;return null!=this.i&&n.item("name",((t=new i.JsonDictionaryValue).e=2,t.value=e.i,t)),null!=this.j&&n.item("title",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.j,t}()),-1!=this.d&&n.item("index",function(){var t=new i.JsonDictionaryValue;return t.e=0,t.value=e.d,t}()),null!=this.h&&n.item("memberPathType",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.h,t}()),null!=this.g&&n.item("memberPath",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.g,t}()),null!=this.f&&n.item("axisType",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.f,t}()),-1!=this.e&&n.item("typedIndex",function(){var t=new i.JsonDictionaryValue;return t.e=0,t.value=e.e,t}()),n},n.a=function(t){var e=new n;if(t.g("name")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("name"))&&(e.i=i.typeCast(i.String_$type,t.item("name").value)),t.g("title")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("title"))&&(e.j=i.typeCast(i.String_$type,t.item("title").value)),t.g("index")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("index"))){var r=t.item("index");if("number"==typeof r.value){var o=r.value;e.d=i.truncate(o)}}if(t.g("memberPathType")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("memberPathType"))&&(e.j=i.typeCast(i.String_$type,t.item("memberPathType").value)),t.g("memberPath")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("memberPath"))&&(e.j=i.typeCast(i.String_$type,t.item("memberPath").value)),t.g("axisType")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("axisType"))&&(e.f=i.typeCast(i.String_$type,t.item("axisType").value)),t.g("typedIndex")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("typedIndex"))){var a=t.item("typedIndex");if("number"==typeof a.value){var s=a.value;e.e=i.truncate(s)}}return e},n.$t=i.markType(n,"AxisMatcher"),n}(i.Base),Mt=i.markEnum("CategoryMode","Mode0,0|Mode1,1|Mode2,2"),St=function(t){return t[t.None=0]="None",t[t.BeforeSeries=1]="BeforeSeries",t[t.BehindSeries=2]="BehindSeries",t}({}),jt=i.markEnum("GridMode","None,0|BeforeSeries,1|BehindSeries,2"),Tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.o=0,e.m=0,e.n=0,e.l=0,e.p=0,e.q=0,e.r=0,e}return e.__extends(n,t),n.prototype.s=function(t){this.o=t.m},n.$t=i.markType(n,"TickmarkValues",i.DependencyObject.$),n}(i.DependencyObject),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"TrimmedTextInfo"),n}(i.Base),Ot=new i.Type(null,"IScaler"),At=new i.Type(null,"ICategoryScaler",null,[Ot]),Lt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.c=0,e.d=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return this.a?Math.min(this.c,this.e):this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.e!=this.d||this.c!=this.d},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"OverlayCollisionInfo"),n}(i.Base),Dt=function(t){return t[t.Auto=0]="Auto",t[t.Series=1]="Series",t[t.SeriesMinimum=2]="SeriesMinimum",t[t.SeriesMaximum=3]="SeriesMaximum",t[t.None=4]="None",t}({}),Vt=i.markEnum("AxisRangeBufferMode","Auto,0|Series,1|SeriesMinimum,2|SeriesMaximum,3|None,4"),Nt=function(t){function n(){var e=t.call(this)||this;return e.d=0,e.c=0,e.a=0,e.b=0,e.e=0,e.a=-1,e.e=-1,e}return e.__extends(n,t),n.$t=i.markType(n,"RangeInfo"),n}(i.Base),zt=function(t){function n(){var e=t.call(this)||this;return e.o=0,e.aa=null,e.ab=null,e.z=null,e.y=null,e.k=null,e.e=null,e.f=null,e.x=null,e.v=null,e.w=null,e.u=null,e.m=0,e.l=0,e.n=0,e.r=0,e.t=null,e.p=0,e.g=!1,e.h=!1,e.j=!1,e.b=null,e.a=null,e.c=null,e.d=null,e.q=0,e.s=0,e.s=-1,e.k=new i.List$1(Nt.$,0),e}return e.__extends(n,t),n.prototype.i=function(){return!1},n.$t=i.markType(n,"AxisRenderingParametersBase"),n}(i.Base),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ac=!1,e}return e.__extends(n,t),n.prototype.i=function(){return!0},n.$t=i.markType(n,"NumericAxisRenderingParameters",zt.$),n}(zt),Rt=function(t){function n(e,n,i,r){var o=t.call(this)||this;return o.g=0,o.h=0,o.g=1,o.h=i,o}return e.__extends(n,t),n.$t=i.markType(n,"LogarithmicNumericSnapper",gt.$),n}(gt),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.t=null,e.u=null,e}return e.__extends(n,t),n.prototype.s=function(e){t.prototype.s.call(this,e);var n=new Rt(e.n,e.m,this.x,e.k);this.m=1,this.r=i.truncate(n.h),this.p=i.truncate(Math.floor(i.logBase(Math.max(5e-324,e.n),this.x))),this.q=i.truncate(Math.ceil(i.logBase(Math.max(5e-324,e.m),this.x)))},Object.defineProperty(n.prototype,"x",{get:function(){return i.typeGetValue(this.c(n.z))},set:function(t){this.h(n.z,t)},enumerable:!1,configurable:!0}),n.prototype.v=function(t){var e=t*this.m;return Math.pow(this.x,e)},n.prototype.j=function(){for(var t=this.p,e=this.q,n=this.o,i=0,r=t;r<=e;++r){this.v(r)<=n&&i++}null!=this.t&&this.t.length==i||(this.t=new Array(i));for(var o=this.t,a=0,s=t;s<=e;++s){var l=this.v(s);l<=n&&(o[a]=l,a++)}return o},n.prototype.k=function(){for(var t=this.p,e=this.q,n=this.x,i=(this.r,this.o),r=0,o=t;o<=e;++o)for(var a=this.v(o),s=Math.pow(n,o),l=1;l<this.r-1;++l){a+l*s<=i&&r++}null!=this.u&&this.u.length==r||(this.u=new Array(r));for(var u=this.u,c=0,h=t;h<=e;++h)for(var p=this.v(h),f=Math.pow(n,h),d=1;d<this.r-1;++d){var y=p+d*f;y<=i&&(u[c]=y,c++)}return u},n.$t=i.markType(n,"LogarithmicTickmarkValues",Tt.$),n.z=i.DependencyProperty.i("LogarithmBase",i.Number_$type,n.$,new i.PropertyMetadata(2,10,(function(t,e){}))),n}(Tt),Ft=function(t){function n(){var e=t.call(this)||this;return e.y=0,e.x=0,e.t=null,e.u=null,e.y=0,e}return e.__extends(n,t),n.prototype.s=function(e){var n;t.prototype.s.call(this,e),n=0!=this.y?new mt(1,e.n,e.m,e.k,this.y,e.h,e.p):new mt(0,e.n,e.m,e.k,e.h,e.p),this.m=n.g,e.d&&e.l>0&&(e.m-e.n)/e.l<1e3&&(this.m=e.l),-1!=e.i&&(this.m=e.i),0==this.m?(this.p=0,this.q=0):(this.p=i.truncate(Math.floor((e.n-e.g)/this.m)),this.q=i.truncate(Math.ceil((e.m-e.g)/this.m))),this.r=n.j,-1!=e.q&&(this.r=e.q),this.n=e.j,this.x=e.g},n.prototype.j=function(){var t=0,e=this.p;i.isNaN_(this.m)||(t=this.q-e+1)<0&&(t=0),null!=this.t&&this.t.length==t||(this.t=new Array(t));for(var n=this.t,r=0;r<t;++r){var o=this.x+(r+e)*this.m;n[r]=o}return n},n.prototype.k=function(){return this.n>0?this.w():this.v()},n.prototype.v=function(){for(var t=this.p,e=this.q,n=this.r,i=this.m,r=this.x,o=this.o,a=i/n,s=0,l=t;l<e;++l)if(n>0)for(var u=1;u<n;++u){r+l*i+u*a<=o&&s++}null!=this.u&&this.u.length==s||(this.u=new Array(s));for(var c=this.u,h=0,p=t;p<e;++p)if(n>0)for(var f=1;f<n;++f){var d=r+p*i+f*a;d<=this.o&&(c[h]=d,h++)}return c},n.prototype.w=function(){for(var t=this.p,e=this.q,n=(this.r,this.m,this.x),i=(this.o,0),r=t;r<e;++r){var o=n+r*this.m,a=this.o;for(r+1<=this.q&&(a=this.x+(r+1)*this.m),a>this.o&&(a=this.o);o<a;)(o+=this.n)<a&&i++}null!=this.u&&this.u.length==i||(this.u=new Array(i));for(var s=this.u,l=0,u=t;u<e;++u){var c=n+u*this.m,h=this.o;for(u+1<=this.q&&(h=this.x+(u+1)*this.m),h>this.o&&(h=this.o);c<h;)(c+=this.n)<h&&(s[l]=c,l++)}return s},n.$t=i.markType(n,"LinearTickmarkValues",Tt.$),n}(Tt),qt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=0,e.ac=0,e.ae=!1,e.ag=0,e.ad=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"CategoryAxisRenderingParameters",zt.$),n}(zt),Ut=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.n=0,e.m=0,e.g=0,e.f=0,e.k=0,e.d=!1,e.l=0,e.i=0,e.q=0,e.a=0,e.r=0,e.s=null,e.t=null,e.e=!1,e.o=null,e.b=null,e.c=null,e.j=0,e.h=0,e.p=0,e}return e.__extends(n,t),n.$t=i.markType(n,"TickmarkValuesInitializationParameters"),n}(i.Base),Ht=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return i.TypeRegistrar.isRegistered("NumberAbbreviator")?i.TypeRegistrar.create("NumberAbbreviator"):null},n.$t=i.markType(n,"NumberAbbreviatorFactory"),n}(i.Base),Gt=i.markEnum("AutomaticAxisPurpose","CustomAxis,0|CompanionAxis,1"),Xt=function(t){function n(){var e=t.call(this)||this;return e.___mustPassByValue=!0,e.g=null,e.h=null,e.d=0,e.f=null,e.e=null,e.d=-1,e}return e.__extends(n,t),n.prototype.b=function(){var t,e=this,n=new i.JsonDictionaryObject;return null!=this.g&&n.item("name",((t=new i.JsonDictionaryValue).e=2,t.value=e.g,t)),null!=this.h&&n.item("title",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.h,t}()),-1!=this.d&&n.item("index",function(){var t=new i.JsonDictionaryValue;return t.e=0,t.value=e.d,t}()),null!=this.f&&n.item("memberPathType",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.f,t}()),null!=this.e&&n.item("memberPath",function(){var t=new i.JsonDictionaryValue;return t.e=2,t.value=e.e,t}()),n},n.a=function(t){var e=new n;if(t.g("name")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("name"))&&(e.g=i.typeCast(i.String_$type,t.item("name").value)),t.g("title")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("title"))&&(e.h=i.typeCast(i.String_$type,t.item("title").value)),t.g("index")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("index"))){var r=t.item("index");if("number"==typeof r.value){var o=r.value;e.d=i.truncate(o)}}return t.g("memberPathType")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("memberPathType"))&&(e.h=i.typeCast(i.String_$type,t.item("memberPathType").value)),t.g("memberPath")&&null!==i.typeCast(i.JsonDictionaryValue.$,t.item("memberPath"))&&(e.h=i.typeCast(i.String_$type,t.item("memberPath").value)),e},n.$t=i.markType(n,"SeriesMatcher"),n}(i.Base),Yt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"RenderValidEventArgs",i.EventArgs.$),n}(i.EventArgs),Wt=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.b=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.c},set:function(t){this.b=!0,this.c=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"SeriesLayerPropertyOverlayValueResolvingEventArgs",i.EventArgs.$),n}(i.EventArgs),Zt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.am=null,e.an=null,e.ak=0,e.al=0,e.ai=0,e.aj=0,e}return e.__extends(n,t),n.$t=i.markType(n,"Marker",i.ContentControl.$),n}(i.ContentControl),Kt=function(t){return t[t.None=0]="None",t[t.SizeChanging=1]="SizeChanging",t[t.SizeChangingAndZoom=2]="SizeChangingAndZoom",t}({}),Jt=i.markEnum("AutoMarginsAndAngleUpdateMode","None,0|SizeChanging,1|SizeChangingAndZoom,2"),Qt=function(t){return t[t.Auto=0]="Auto",t[t.Series=1]="Series",t[t.None=2]="None",t}({}),te=i.markEnum("ComputedPlotAreaMarginMode","Auto,0|Series,1|None,2"),ee=function(t){return t[t.Auto=0]="Auto",t[t.Normal=1]="Normal",t[t.ValueScaled=2]="ValueScaled",t[t.IndexScaled=3]="IndexScaled",t[t.Random=4]="Random",t}({}),ne=i.markEnum("TransitionOutSpeedType","Auto,0|Normal,1|ValueScaled,2|IndexScaled,3|Random,4"),ie=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"SeriesComponentsForView"),n}(i.Base),re=function(t){return t[t.Auto=0]="Auto",t[t.Normal=1]="Normal",t[t.MatchMarkerBrush=2]="MatchMarkerBrush",t}({}),oe=i.markEnum("MarkerOutlineMode","Auto,0|Normal,1|MatchMarkerBrush,2"),ae=function(t){return t[t.Auto=0]="Auto",t[t.Normal=1]="Normal",t[t.MatchMarkerOutline=2]="MatchMarkerOutline",t}({}),se=i.markEnum("MarkerFillMode","Auto,0|Normal,1|MatchMarkerOutline,2"),le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.d=null,e.e=null,e.b=null,e.f=null,e.g=null,e.c=0,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"SeriesPointOfInterest"),n}(i.Base),ue=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"TransitionOutCompletedEventArgs",i.EventArgs.$),n}(i.EventArgs),ce=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"SeriesComponentsFromView"),n}(i.Base),he=function(t){return t[t.Unset=0]="Unset",t[t.None=1]="None",t[t.Automatic=2]="Automatic",t[t.Circle=3]="Circle",t[t.Triangle=4]="Triangle",t[t.Pyramid=5]="Pyramid",t[t.Square=6]="Square",t[t.Diamond=7]="Diamond",t[t.Pentagon=8]="Pentagon",t[t.Hexagon=9]="Hexagon",t[t.Tetragram=10]="Tetragram",t[t.Pentagram=11]="Pentagram",t[t.Hexagram=12]="Hexagram",t[t.Hidden=13]="Hidden",t}({}),pe=i.markEnum("MarkerType","Unset,0|None,1|Automatic,2|Circle,3|Triangle,4|Pyramid,5|Square,6|Diamond,7|Pentagon,8|Hexagon,9|Tetragram,10|Pentagram,11|Hexagram,12|Hidden,13"),fe=function(t){function n(){var e,r=t.call(this)||this;r._widget=null,r.dw=null,r.ee=null,r.an=null,r.userAnnotationInformationRequested=null,r.userAnnotationToolTipContentUpdating=null,r.hm=new i.List$1(i.ICommandStateChangedListener_$type,0),r._commandCompleted=null,r._invalidateActions=null,r.hi=null,r.bn=null,r.bp=null,r.e0=!1,r.ez=!1,r.dn=null,r.b7=new Pn,r.b8=new Pn,r.j1=0,r.ch=0,r.cj=0,r._skipDataCleanup=!1,r.dy=null,r.d0=null,r.dx=null,r.dz=null,r.a3=null,r.yh=null,r.plotAreaMouseLeftButtonDown=null,r.plotAreaMouseLeftButtonUp=null,r.plotAreaClicked=null,r.plotAreaMouseEnter=null,r.plotAreaMouseLeave=null,r.plotAreaMouseOver=null,r.axisLabelMouseDown=null,r.axisLabelMouseUp=null,r.axisLabelMouseEnter=null,r.axisLabelMouseLeave=null,r.axisLabelMouseOver=null,r.axisLabelMouseClick=null,r.axisPanelMouseDown=null,r.axisPanelMouseUp=null,r.axisPanelMouseEnter=null,r.axisPanelMouseLeave=null,r.axisPanelMouseOver=null,r.axisPanelMouseClick=null,r.cx=0,r.cy=0,r.cc=1,r.cp=1,r.cl=3,r.propertyChanged=null,r.propertyUpdated=null,r.kh=null,r.hj=new i.HashSet$1(i.IChartLegend_$type,0),r.ev=!1,r.seriesCursorMouseMove=null,r.seriesMouseLeftButtonDown=null,r.seriesMouseLeftButtonUp=null,r.seriesClick=null,r.seriesMouseMove=null,r.seriesMouseEnter=null,r.seriesMouseLeave=null,r.em=!1,r.el=!1,r.yq=i.Rect.empty,r.yo=i.Rect.empty,r.ej=!0,r.yn=null,r.e5=!1,r.j0=30,r.resizeIdle=null,r.gl=!1,r.e7=!1,r.cu=new X,r.es=!1,r.a5=0,r.a4=1,r.seriesAnimating=null,r.eg=new i.VersionQueueHelper,r.ep=!1,r.en=!1,r.dh=0,r.ex=!1,r.ff=!1,r.ek=!1,r.ns=null,r.viewerManipulationStarting=null,r.viewerManipulationEnding=null,r.e3=!1,r.ey=!1,r.windowRectChanged=null,r.sizeChanged=null,r.fr=!1,r.actualWindowRectChanged=null,r.gridAreaRectChanged=null,r.fh=!1,r.h0=1e-4,r.hz=1e-4,r._syncChannel=null,r.c4=null,r.g7=!1,r.e2=!1,r.fq=!1,r.hd=!1,r.da=1,r.zb=null,r.j3=0,r.b5=null,r.e1=!1,r.g8=!1,r.yp=i.Rect.empty,r._selectedSeriesItems=null,r._focusedSeriesItems=null,r.selectedSeriesItemsChanged=null,r.focusedSeriesItemsChanged=null,r.hu=new Date,r.hg=!1,r.refreshCompleted=null,r.km=null,r.kl=null,r.xs=null,r.xr=null,r.ig=NaN,r.id=NaN,r.ie=NaN,r.ic=NaN,r.ib=NaN,r.h9=NaN,r.ia=NaN,r.h8=NaN,r.kj=null,r.al=null,r.am=null,r.ak=null,r.ew=!1,r.ei=!1,r._syncSettings=null,r.destroyed=!1,r.kg=null,r.hh=new i.Dictionary$2(i.String_$type,i.Base.$,0),r.gj=!1,r.ih=NaN,r.h5=NaN,r.h7=NaN,r.h3=NaN,r.h2=30,r.h1=NaN,r.eo=!0,r.h6=NaN,r.h4=NaN,r.kk=null,r.hw=1,r.hv=NaN,r.ym=null,r.fp=!1,r.hx=0,r.hy=0,r.ur=null,r.bc=null,r.fv=!1,r.fw=!1,r.ft=!1,r.et=!1,r.j2=0,r.fd=!1,r.fz=!1,r.seriesDataUpdated=null,r.hn=new i.List$1(i.IDataLegend_$type,0),r.eh=null,r.seriesDataChanged=null,r.hq=null,r.imageCaptured=null,r.df=null,r.ht=i.dateMinValue(),r.eu=!1,r.bk=null,r.eq=!1,r.er=!1,i.DVContainer.instance.registerIfLoaded("AnnotationFactoryManager"),i.DVContainer.instance.registerIfLoaded("InteractivityFactoryManager"),i.DVContainer.instance.registerIfLoaded("DataChartToolbarFactoryManager"),i.DVContainer.instance.registerIfLoaded("VisualDataFactoryManager"),r.ym=i.Rect.empty,r.yh={$type:i.Point_$type,x:NaN,y:NaN},r.hu=i.dateNow(),r.fv=!1,r.fw=!1,r.al=new i.CanvasRenderScheduler,r.al.a=i.runOn(r,r.ow),r.am=new i.CanvasRenderScheduler,r.ak=new i.CanvasRenderScheduler,n.y4=new i.Rect(0,0,0,1,1),r.syncSettings=((e=new G).synchronizeHorizontally=!0,e.synchronizeVertically=!0,e),r.dw=r.dv(),r.rw(r.dw),r.dw.c7(),r.t0(),r.pn(),r.actualSyncLink=new vn,r.t7(null,r.actualSyncLink),r.a3=new yn(r),r.propertyUpdated=i.delegateCombine(r.propertyUpdated,(function(t,e){return r.r8(t,e.propertyName,e.oldValue,e.newValue)})),r.selectedSeriesItems=new We;var o=r.selectedSeriesItems;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(r,r.rh));var a=r.selectedSeriesItems;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(r,r.tg)),r.focusedSeriesItems=new We;var s=r.focusedSeriesItems;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(r,r.qu));var l=r.focusedSeriesItems;l.collectionResetting=i.delegateCombine(l.collectionResetting,i.runOn(r,r.pg));var u=r.series;u.collectionChanged=i.delegateCombine(u.collectionChanged,i.runOn(r,r.sa));var c=r.series;c.collectionResetting=i.delegateCombine(c.collectionResetting,i.runOn(r,r.sb));var h=r.b9;h.collectionChanged=i.delegateCombine(h.collectionChanged,i.runOn(r,r.ti));var p=r.b9;p.collectionResetting=i.delegateCombine(p.collectionResetting,i.runOn(r,r.tj)),r.dz=new i.DoubleAnimator(0,1,r.kc),r.dy=new i.DoubleAnimator(0,1,r.ka);var f=r.dy;f.propertyChanged=i.delegateCombine(f.propertyChanged,i.runOn(r,r.pm)),r.d0=new i.DoubleAnimator(0,1,r.ke),r.dx=new i.DoubleAnimator(0,1,r.j7);var d=r.d0;d.propertyChanged=i.delegateCombine(d.propertyChanged,i.runOn(r,r.th));var y=r.dx;return y.propertyChanged=i.delegateCombine(y.propertyChanged,i.runOn(r,r.ph)),r.dw.b0(),r.pp(),r.po(),r}return e.__extends(n,t),Object.defineProperty(n.prototype,"widget",{get:function(){return this._widget},set:function(t){this._widget=t},enumerable:!1,configurable:!0}),n.staticInit=function(){n.y4=new i.Rect(0,0,0,1,1)},Object.defineProperty(n.prototype,"ef",{get:function(){return null==this.ee&&(this.ee=new i.SRProvider(this.dw.j.ae)),this.ee},enumerable:!1,configurable:!0}),n.prototype.ao=function(t){return null==this.an&&(this.an=new He(this,this.series,this.b9)),this.an},n.prototype.getDesiredToolbarActions=function(){return this.gc?this.bo.getDesiredToolbarActions(this):null},n.prototype.ru=function(t,e){null!=this.userAnnotationInformationRequested&&this.userAnnotationInformationRequested(t,e)},n.prototype.rv=function(t,e){null!=this.userAnnotationToolTipContentUpdating&&this.userAnnotationToolTipContentUpdating(t,e)},n.prototype.op=function(t){if(this.fs)for(var e=0;e<this.b9.count;e++){var n=this.b9._inner[e];n.f9&&this.bl.cancelAnnotationFlow(n,t)}},n.prototype.pb=function(t){if(this.fs)for(var e=0;e<this.b9.count;e++){var n=this.b9._inner[e];n.f9&&this.bl.finishAnnotationFlow(n,t)}},n.prototype.onToolCommandExecuting=function(t){return this.gc?this.bo.onToolCommandExecuting(this,t):1},n.prototype.addCommandAvailabilityListener=function(t){},n.prototype.removeCommandAvailabilityListener=function(t){},n.prototype.addCommandStateChangedListener=function(t){this.hm.contains(t)||this.hm.add(t)},n.prototype.removeCommandStateChangedListener=function(t){this.hm.contains(t)&&this.hm.remove(t)},Object.defineProperty(n.prototype,"commandCompleted",{get:function(){return this._commandCompleted},set:function(t){this._commandCompleted=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"invalidateActions",{get:function(){return this._invalidateActions},set:function(t){this._invalidateActions=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.hi},enumerable:!1,configurable:!0}),n.prototype.provideContextAccessor=function(t){null==this.hi&&(this.hi=new i.HashSet$1(i.IToolbarContextAccessor_$type,0)),this.hi.add_1(t)},n.prototype.dismissContextAccessor=function(t){null!=this.hi&&this.hi.remove(t)},n.prototype.ps=function(){null!=this.invalidateActions&&this.invalidateActions()},Object.defineProperty(n.prototype,"bo",{get:function(){var t=this;return null==this.bn&&(this.bn=i.DVContainer.instance.createInstance(on,(function(){return t.ef.n})),this.bn.container=this.dw.bl),this.bn},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gc",{get:function(){return i.DVContainer.instance.checkLoaded("DataChartToolbarFactoryManager")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){var t=this;return null==this.bp&&(this.bp=i.DVContainer.instance.createInstance(un,(function(){return t.ef.n}))),this.bp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f3",{get:function(){return i.DVContainer.instance.checkLoaded("InteractivityFactoryManager")},enumerable:!1,configurable:!0}),n.prototype.sb=function(t,e){null!=this.an?this.an.o(t,e):this.b9.clear()},n.prototype.sa=function(t,n){var r,o;if(null!=this.an)this.an.n(t,n);else switch(n.action){case 0:if(null!=n.newItems)for(var a=0;a<n.newItems.count;a++){var s=n.newItems.item(a);this.b9.insert(a+n.newStartingIndex,s)}break;case 1:if(null!=n.oldItems)for(var l=0;l<n.oldItems.count;l++)this.b9.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.b9.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var c=0;c<n.newItems.count;c++){var h=n.newItems.item(c);this.b9.insert(c+n.newStartingIndex,h)}break;case 4:this.b9.clear();try{for(var p=e.__values(i.fromEnum(this.series)),f=p.next();!f.done;f=p.next()){var d=f.value;this.b9.add(d)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=