UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

7 lines 4.24 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("igniteui-react-core"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-react-core","react","react-dom"],e):e((t=t||self)["igniteui-react-charts"]={},t.tslib,t.igniteuiReactCore,t.React,t.ReactDOM)}(this,(function(t,e,i,n,r){"use strict";var a=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}({}),o=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}({}),u=i.markEnum("SeriesHitTestMode","Auto,0|Computational,1|ColorEncoded,2"),l=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i._animate=!1,i}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),h=function(){function t(){this.mounted=!1,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new l},Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this._implementation.nativeElement},enumerable:!1,configurable:!0}),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(),this._initializeAdapters&&this._initializeAdapters()},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}(),c=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}({}),y=i.markEnum("SeriesHighlightingMode","Auto,0|None,1|BrightenSpecific,2|Brighten,3|FadeOthersSpecific,4|FadeOthers,5"),d=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"),b=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}({}),m=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}({}),_=i.markEnum("SeriesPlotAreaMarginHorizontalMode","Auto,0|LeftMarginRightMargin,1|LeftBufferRightBuffer,2|LeftMarginRightBuffer,3|LeftBufferRightMargin,4|None,5"),x=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}({}),w=i.markEnum("SeriesPlotAreaMarginVerticalMode","Auto,0|BottomMarginTopMargin,1|BottomBufferTopBuffer,2|BottomMarginTopBuffer,3|BottomBufferTopMargin,4|None,5"),P=function(t){return t[t.None=0]="None",t[t.Fading=1]="Fading",t[t.FadeToLine=2]="FadeToLine",t[t.Persistent=3]="Persistent",t}({}),k=i.markEnum("SeriesViewerScrollbarMode","None,0|Fading,1|FadeToLine,2|Persistent,3"),j=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}({}),C=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"),$=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"),O=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"),A=function(t){return t[t.Auto=0]="Auto",t[t.InsideBottom=1]="InsideBottom",t[t.InsideTop=2]="InsideTop",t}({}),M=i.markEnum("SeriesViewerHorizontalScrollbarPosition","Auto,0|InsideBottom,1|InsideTop,2"),I=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"),z=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}({}),N=i.markEnum("SeriesHighlightingBehavior","Auto,0|DirectlyOver,1|NearestItems,2|NearestItemsRetainMainShapes,3|NearestItemsAndSeries,4"),B=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.MatchSeries=2]="MatchSeries",t}({}),V=i.markEnum("LegendHighlightingMode","Auto,0|None,1|MatchSeries,2"),E=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"),D=function(t){return t[t.Deferred=0]="Deferred",t[t.Immediate=1]="Immediate",t}({}),q=i.markEnum("WindowResponse","Deferred,0|Immediate,1"),F=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.a=null,i}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 i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.propertyChanged=null,i.propertyUpdated=null,i}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),W=function(t){function n(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var a=t.call(this)||this;switch(a.e=null,a.d=null,a.c=null,a.a=!1,a.b=0,e=null==e?0:e){case 0:var o=n[0],s=n[1],u=n[2],l=n[3];a.e=o,a.d=s,a.c=l,a.a=u,a.b=NaN;break;case 1:var h=(l=[o=n[0],s=n[1],u=n[2],i.Rect.empty])[0],c=l[1],p=l[2],f=l[3];a.e=h,a.d=c,a.c=f,a.a=p,a.b=NaN}return a}return e.__extends(n,t),n.$t=i.markType(n,"ScalerParams"),n}(i.Base),Y=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i._isZoomPan=!1,i._isDragZoom=!1,i._isDragSelect=!1,i._dragSelectRectangle=null,i._isDragSelectCancelled=!1,i}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 i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.b=null,i.a=null,i}return e.__extends(n,t),n.$t=i.markType(n,"CoercionInfo"),n}(i.Base),et=i.markEnum("ChartContentType","Series,0|Axis,1|Background,2"),it=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"),nt=new i.Type(null,"ITileZoomTile"),rt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.a=null,i}return e.__extends(n,t),n.$t=i.markType(n,"RenderSurface"),n}(i.Base),at=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.a=0,i.h=0,i.b=0,i.e=0,i.f=0,i.g=0,i.c=0,i.d=0,i}return e.__extends(n,t),n.$t=i.markType(n,"LabelPanelsArrangeState"),n}(i.Base),ot=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 a=n.availableWidth/2,o=(n.availableHeight,n.xPosition-a),s=n.yPosition-a;o+=n.renderOffsetX,s+=n.renderOffsetY;var u=i.CanvasViewRenderer.k(t,r,o,s,o+n.availableWidth,s+n.availableHeight,e.thickness,!1);t.fillStyle=u}else t.fillStyle!=r._fill&&(t.fillStyle=r._fill);if(null!=e.outline){if(e.outline.isGradient){var l=n.availableWidth/2,h=(n.availableHeight,n.xPosition-l),c=n.yPosition-l;h+=n.renderOffsetX,c+=n.renderOffsetY;var p=i.CanvasViewRenderer.k(t,e.outline,h,c,h+n.availableWidth,c+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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o,s),e.lineTo(o+a,s+t.availableHeight),e.lineTo(o+t.availableWidth,s+0),e.lineTo(o,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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o,s+t.availableHeight),e.lineTo(o+a,s+0),e.lineTo(o+t.availableWidth,s+t.availableHeight),e.lineTo(o,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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.rect(o,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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.rect(0|o,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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+0,s+r),e.lineTo(o+a,s+t.availableHeight),e.lineTo(o+t.availableWidth,s+r),e.lineTo(o+a,s+0),e.lineTo(o+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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+.5*t.availableWidth,s+0),e.lineTo(o+.024450000375509262*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(o+.20624999701976776*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(o+.793749988079071*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(o+.9755499958992004*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(o+.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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+.5*t.availableWidth,s+0),e.lineTo(o+.04450000077486038*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(o+.04450000077486038*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(o+.5*t.availableWidth,s+t.availableHeight),e.lineTo(o+.9330000281333923*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(o+.9330000281333923*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(o+.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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+.5*t.availableWidth,s+0),e.lineTo(o+.323199987411499*t.availableWidth,s+.3232*t.availableHeight),e.lineTo(o+0*t.availableWidth,s+.5*t.availableHeight),e.lineTo(o+.323199987411499*t.availableWidth,s+.676800012588501*t.availableHeight),e.lineTo(o+.5*t.availableWidth,s+1*t.availableHeight),e.lineTo(o+.676800012588501*t.availableWidth,s+.676800012588501*t.availableHeight),e.lineTo(o+1*t.availableWidth,s+.5*t.availableHeight),e.lineTo(o+.676800012588501*t.availableWidth,s+.323199987411499*t.availableHeight),e.lineTo(o+.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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+.5*t.availableWidth,s+0),e.lineTo(o+.35304999351501465*t.availableWidth,s+.29775*t.availableHeight),e.lineTo(o+.02445*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(o+.26225000619888306*t.availableWidth,s+.5772500038146973*t.availableHeight),e.lineTo(o+.2061000019311905*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(o+.5*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(o+.7939*t.availableWidth,s+.9045000076293945*t.availableHeight),e.lineTo(o+.7377499938011169*t.availableWidth,s+.5772500038146973*t.availableHeight),e.lineTo(o+.9755499958992004*t.availableWidth,s+.34549999237060547*t.availableHeight),e.lineTo(o+.6469500064849854*t.availableWidth,s+.29774999618530273*t.availableHeight),e.lineTo(o+.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,a=t.availableWidth/2,o=t.xPosition-a,s=t.yPosition-r;e.moveTo(o+.5*t.availableWidth,s+0),e.lineTo(o+3/8*t.availableWidth,s+.2835*t.availableHeight),e.lineTo(o+.067*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(o+2/8*t.availableWidth,s+.5*t.availableHeight),e.lineTo(o+.067*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(o+3/8*t.availableWidth,s+.7164999842643738*t.availableHeight),e.lineTo(o+.5*t.availableWidth,s+1*t.availableHeight),e.lineTo(o+5/8*t.availableWidth,s+.7164999842643738*t.availableHeight),e.lineTo(o+.9330000281333923*t.availableWidth,s+6/8*t.availableHeight),e.lineTo(o+6/8*t.availableWidth,s+.5*t.availableHeight),e.lineTo(o+.9330000281333923*t.availableWidth,s+2/8*t.availableHeight),e.lineTo(o+5/8*t.availableWidth,s+.28349998593330383*t.availableHeight),e.lineTo(o+.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}({}),ut=i.markEnum("AxisLabelsLocation","OutsideTop,0|OutsideBottom,1|OutsideLeft,2|OutsideRight,3|InsideTop,4|InsideBottom,5|InsideLeft,6|InsideRight,7"),lt=new i.Type(null,"IProvidesViewport"),ht=i.markEnum("ActualLegendItemBadgeShape","CircleShape,0|LineWithMarker,1|LineMarkerless,2|BarShape,3|ColumnShape,4|SquareShape,5|SquareFinancial,6|SquareIndicator,7|MarkerShape,8|HiddenShape,9"),ct=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 i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.a=null,i.f=null,i.b=null,i.c=null,i.g=null,i.d=null,i.e=null,i.k=null,i.j=null,i.h=null,i.i=null,i}return e.__extends(n,t),n.$t=i.markType(n,"DefaultPaletteInfo"),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,"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),dt=function(t){function n(e,i){var n=t.call(this)||this;return n.c=0,n.b=0,n.c=e,n.b=i,n}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 i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.c=7,i.a=!1,i}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 i=1;if(e>0)for(;e>0;--e)i*=t;else for(;e<0;++e)i/=t;return i},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),bt=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];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 a=i[0],o=i[1],s=i[2],u=i[3],l=i[4];r.i=l,u>0&&(r.f=u,r.b=!0),r.l(a,o,s,10);break;case 1:a=i[0],o=i[1],s=i[2],u=i[3],l=i[4];var h=i[5];r.i=h,l>0&&(r.f=l,r.b=!0),r.l(a,o,s,u)}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 a=0;if(n<100&&!this.b?a=4:(a=Math.min(r,i.truncate(n/this.f)),!this.b||i.isInfinity(this.f)||i.isNaN_(this.f)||0==(a=Math.min(r+1,i.truncate((n+this.f)/this.f)))&&(a=1)),a>0){var o=this.h(t,e,a,!0);this.b&&o+1>a&&(this.g=NaN,o=this.h(t,e,a-1,!0),this.b&&o+1>a&&(this.g=NaN,o=this.h(t,e,a-1,!1))),n/(a=o)>10*this.f?this.j=10:n/a>5*this.f?this.j=5:n/a>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 a=gt.e(e-t,!1),o=Math.max(1,n-1);if((this.g=gt.e(a/o,r),this.i>=0)&&Math.max(-i.truncate(Math.floor(i.log10(this.g))),0)>this.i){var s=Math.pow(10,this.i),u=this.g*s;u=Math.ceil(u),this.g=u/s,0==this.i&&0==this.g&&(this.g=1)}var l=Math.floor(t/this.g)*this.g,h=Math.ceil(e/this.g)*this.g;return i.truncate(Math.round((h-l)/this.g))},n.$t=i.markType(n,"LinearNumericSnapper",gt.$),n}(gt),mt=new i.Type(null,"IAxisAnnotation"),vt=function(t){function n(){var e=t.call(this,mt,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(mt)),n}(i.ObservableCollection$1),_t=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];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 a=i[0];r.h=a,r.f=a;break;case 1:a=i[0];var o=i[1];r.h=a,r.f=o}return r}return e.__extends(n,t),n.$t=i.markType(n,"LabelPosition"),n}(i.Base),xt=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),wt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.b=0,i.e=0,i.f=0,i.c=0,i}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),Pt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.a=null,i.b=null,i.d=null,i.c=null,i}return e.__extends(n,t),n.$t=i.markType(n,"AxisComponentsFromView"),n}(i.Base),kt=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=this;switch(e=null==e?0:e){case 0:var a=i[0],o=i[1],s=i[2],u=i[3];(r=t.call(this)||this)._oldMinimumValue=0,r._minimumValue=0,r._oldMaximumValue=0,r._maximumValue=0,r.oldMinimumValue=a,r.minimumValue=o,r.oldMaximumValue=s,r.maximumValue=u;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),jt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.b=0,i.e=null,i.d=null,i.f=null,i.a=!1,i}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),Ct=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 a=r.value;e.d=i.truncate(a)}}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 o=t.item("typedIndex");if("number"==typeof o.value){var s=o.value;e.e=i.truncate(s)}}return e},n.$t=i.markType(n,"AxisMatcher"),n}(i.Base),$t=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}({}),Ot=i.markEnum("GridMode","None,0|BeforeSeries,1|BehindSeries,2"),Tt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.o=0,i.m=0,i.n=0,i.l=0,i.p=0,i.q=0,i.r=0,i}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),At=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.b=null,i.a=0,i}return e.__extends(n,t),n.$t=i.markType(n,"TrimmedTextInfo"),n}(i.Base),Mt=new i.Type(null,"IScaler"),It=new i.Type(null,"ICategoryScaler",null,[Mt]),Lt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.e=0,i.c=0,i.d=0,i}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),zt=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}({}),Nt=i.markEnum("AxisRangeBufferMode","Auto,0|Series,1|SeriesMinimum,2|SeriesMaximum,3|None,4"),Bt=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),Vt=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(Bt.$,0),e}return e.__extends(n,t),n.prototype.i=function(){return!1},n.$t=i.markType(n,"AxisRenderingParametersBase"),n}(i.Base),Et=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.ac=!1,i}return e.__extends(n,t),n.prototype.i=function(){return!0},n.$t=i.markType(n,"NumericAxisRenderingParameters",Vt.$),n}(Vt),Rt=function(t){function n(e,i,n,r){var a=t.call(this)||this;return a.g=0,a.h=0,a.g=1,a.h=n,a}return e.__extends(n,t),n.$t=i.markType(n,"LogarithmicNumericSnapper",gt.$),n}(gt),Dt=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.t=null,i.u=null,i}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,i=this.o,n=0,r=t;r<=e;++r){this.v(r)<=i&&n++}null!=this.t&&this.t.length==n||(this.t=new Array(n));for(var a=this.t,o=0,s=t;s<=e;++s){var u=this.v(s);u<=i&&(a[o]=u,o++)}return a},n.prototype.k=function(){for(var t=this.p,e=this.q,i=this.x,n=(this.r,this.o),r=0,a=t;a<=e;++a)for(var o=this.v(a),s=Math.pow(i,a),u=1;u<this.r-1;++u){o+u*s<=n&&r++}null!=this.u&&this.u.length==r||(this.u=new Array(r));for(var l=this.u,h=0,c=t;c<=e;++c)for(var p=this.v(c),f=Math.pow(i,c),y=1;y<this.r-1;++y){var d=p+y*f;d<=n&&(l[h]=d,h++)}return l},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),qt=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 bt(1,e.n,e.m,e.k,this.y,e.h,e.p):new bt(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 a=this.x+(r+e)*this.m;n[r]=a}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,i=this.r,n=this.m,r=this.x,a=this.o,o=n/i,s=0,u=t;u<e;++u)if(i>0)for(var l=1;l<i;++l){r+u*n+l*o<=a&&s++}null!=this.u&&this.u.length==s||(this.u=new Array(s));for(var h=this.u,c=0,p=t;p<e;++p)if(i>0)for(var f=1;f<i;++f){var y=r+p*n+f*o;y<=this.o&&(h[c]=y,c++)}return h},n.prototype.w=function(){for(var t=this.p,e=this.q,i=(this.r,this.m,this.x),n=(this.o,0),r=t;r<e;++r){var a=i+r*this.m,o=this.o;for(r+1<=this.q&&(o=this.x+(r+1)*this.m),o>this.o&&(o=this.o);a<o;)(a+=this.n)<o&&n++}null!=this.u&&this.u.length==n||(this.u=new Array(n));for(var s=this.u,u=0,l=t;l<e;++l){var h=i+l*this.m,c=this.o;for(l+1<=this.q&&(c=this.x+(l+1)*this.m),c>this.o&&(c=this.o);h<c;)(h+=this.n)<c&&(s[u]=h,u++)}return s},n.$t=i.markType(n,"LinearTickmarkValues",Tt.$),n}(Tt),Ft=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.af=0,i.ac=0,i.ae=!1,i.ag=0,i.ad=!1,i}return e.__extends(n,t),n.$t=i.markType(n,"CategoryAxisRenderingParameters",Vt.$),n}(Vt),Ut=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.n=0,i.m=0,i.g=0,i.f=0,i.k=0,i.d=!1,i.l=0,i.i=0,i.q=0,i.a=0,i.r=0,i.s=null,i.t=null,i.e=!1,i.o=null,i.b=null,i.c=null,i.j=0,i.h=0,i.p=0,i}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 a=r.value;e.d=i.truncate(a)}}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),Wt=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),Yt=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 i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.am=null,i.an=null,i.ak=0,i.al=0,i.ai=0,i.aj=0,i}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}({}),ie=i.markEnum("TransitionOutSpeedType","Auto,0|Normal,1|ValueScaled,2|IndexScaled,3|Random,4"),ne=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}({}),ae=i.markEnum("MarkerOutlineMode","Auto,0|Normal,1|MatchMarkerBrush,2"),oe=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"),ue=function(t){function n(){var i=t.apply(this,e.__spreadArray([],e.__read(arguments),!1))||this;return i.d=null,i.e=null,i.b=null,i.f=null,i.g=null,i.c=0,i.a=null,i}return e.__extends(n,t),n.$t=i.markType(n,"SeriesPointOfInterest"),n}(i.Base),le=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),he=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),ce=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 Pi,r.b8=new Pi,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 mi,r.t7(null,r.actualSyncLink),r.a3=new yi(r),r.propertyUpdated=i.delegateCombine(r.propertyUpdated,(function(t,e){return r.r8(t,e.propertyName,e.oldValue,e.newValue)})),r.selectedSeriesItems=new Ye;var a=r.selectedSeriesItems;a.collectionChanged=i.delegateCombine(a.collectionChanged,i.runOn(r,r.rh));var o=r.selectedSeriesItems;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(r,r.tg)),r.focusedSeriesItems=new Ye;var s=r.focusedSeriesItems;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(r,r.qu));var u=r.focusedSeriesItems;u.collectionResetting=i.delegateCombine(u.collectionResetting,i.runOn(r,r.pg));var l=r.series;l.collectionChanged=i.delegateCombine(l.collectionChanged,i.runOn(r,r.sa));var h=r.series;h.collectionResetting=i.delegateCombine(h.collectionResetting,i.runOn(r,r.sb));var c=r.b9;c.collectionChanged=i.delegateCombine(c.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 y=r.d0;y.propertyChanged=i.delegateCombine(y.propertyChanged,i.runOn(r,r.th));var d=r.dx;return d.propertyChanged=i.delegateCombine(d.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 i=this.b9._inner[e];i.f9&&this.bl.cancelAnnotationFlow(i,t)}},n.prototype.pb=function(t){if(this.fs)for(var e=0;e<this.b9.count;e++){var i=this.b9._inner[e];i.f9&&this.bl.finishAnnotationFlow(i,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(ri,(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(ui,(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,a;if(null!=this.an