scichart 2.0.2144 → 2.0.2186

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/Builder/buildAnnotations.js +11 -10
  2. package/Builder/buildAxis.js +7 -6
  3. package/Builder/buildDataSeries.js +3 -6
  4. package/Builder/buildModifiers.js +17 -16
  5. package/Builder/buildSeries.js +21 -20
  6. package/Builder/buildSurface.js +29 -27
  7. package/Builder/chartBuilder.d.ts +10 -162
  8. package/Builder/chartBuilder.js +9 -6
  9. package/Builder/classFactory.js +12 -6
  10. package/Charting/ChartModifiers/ChartModifierBase.js +1 -1
  11. package/Charting/ChartModifiers/ChartModifierBase2D.d.ts +1 -1
  12. package/Charting/ChartModifiers/ChartModifierBase2D.js +11 -6
  13. package/Charting/ChartModifiers/CursorModifier.d.ts +23 -3
  14. package/Charting/ChartModifiers/CursorModifier.js +72 -40
  15. package/Charting/ChartModifiers/DataPointSelectionModifier.d.ts +1 -1
  16. package/Charting/ChartModifiers/DataPointSelectionModifier.js +18 -16
  17. package/Charting/ChartModifiers/LegendModifier.d.ts +1 -1
  18. package/Charting/ChartModifiers/LegendModifier.js +3 -1
  19. package/Charting/ChartModifiers/ModifierMouseArgs.js +4 -3
  20. package/Charting/ChartModifiers/MouseWheelZoomModifier.d.ts +52 -2
  21. package/Charting/ChartModifiers/MouseWheelZoomModifier.js +105 -10
  22. package/Charting/ChartModifiers/OverviewRangeSelectionModifier.js +10 -8
  23. package/Charting/ChartModifiers/PinchZoomModifier.d.ts +1 -1
  24. package/Charting/ChartModifiers/PinchZoomModifier.js +4 -2
  25. package/Charting/ChartModifiers/RolloverModifier.d.ts +1 -1
  26. package/Charting/ChartModifiers/RolloverModifier.js +27 -20
  27. package/Charting/ChartModifiers/RubberBandXyZoomModifier.d.ts +1 -1
  28. package/Charting/ChartModifiers/RubberBandXyZoomModifier.js +11 -9
  29. package/Charting/ChartModifiers/SeriesSelectionModifier.d.ts +1 -1
  30. package/Charting/ChartModifiers/SeriesSelectionModifier.js +9 -7
  31. package/Charting/ChartModifiers/XAxisDragModifier.d.ts +1 -1
  32. package/Charting/ChartModifiers/XAxisDragModifier.js +12 -10
  33. package/Charting/ChartModifiers/YAxisDragModifier.d.ts +1 -1
  34. package/Charting/ChartModifiers/YAxisDragModifier.js +12 -10
  35. package/Charting/ChartModifiers/ZoomExtentsModifier.d.ts +17 -1
  36. package/Charting/ChartModifiers/ZoomExtentsModifier.js +65 -10
  37. package/Charting/ChartModifiers/ZoomPanModifier.d.ts +4 -2
  38. package/Charting/ChartModifiers/ZoomPanModifier.js +25 -21
  39. package/Charting/Drawing/BaseCache.js +2 -2
  40. package/Charting/Drawing/BrushCache.js +12 -7
  41. package/Charting/Drawing/PaletteCache.js +4 -2
  42. package/Charting/Drawing/Pen2DCache.js +14 -9
  43. package/Charting/Drawing/SolidBrushCache.js +2 -2
  44. package/Charting/Drawing/TextureCache.js +4 -2
  45. package/Charting/Drawing/WebGlBrush.js +1 -1
  46. package/Charting/Drawing/WebGlPen.js +2 -2
  47. package/Charting/Drawing/WebGlRenderContext2D.js +5 -5
  48. package/Charting/LayoutManager/AxisLayoutHelpers.js +6 -4
  49. package/Charting/LayoutManager/BaseAxisLayoutStrategy.js +4 -4
  50. package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.d.ts +1 -1
  51. package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.js +3 -1
  52. package/Charting/LayoutManager/BottomAlignedInnerAxisLayoutStrategy.js +6 -4
  53. package/Charting/LayoutManager/BottomAlignedOuterAxisLayoutStrategy.js +6 -4
  54. package/Charting/LayoutManager/BottomAlignedOuterHorizontallyStackedAxisLayoutStrategy.js +7 -5
  55. package/Charting/LayoutManager/CentralAxesLayoutManager.js +7 -3
  56. package/Charting/LayoutManager/LayoutManager.js +2 -2
  57. package/Charting/LayoutManager/LeftAlignedInnerAxisLayoutStrategy.js +6 -4
  58. package/Charting/LayoutManager/LeftAlignedOuterAxisLayoutStrategy.js +6 -4
  59. package/Charting/LayoutManager/LeftAlignedOuterVerticallyStackedAxisLayoutStrategy.js +7 -5
  60. package/Charting/LayoutManager/RightAlignedInnerAxisLayoutStrategy.js +6 -4
  61. package/Charting/LayoutManager/RightAlignedOuterAxisLayoutStrategy.js +6 -4
  62. package/Charting/LayoutManager/RightAlignedOuterVerticallyStackedAxisLayoutStrategy.js +7 -5
  63. package/Charting/LayoutManager/SynchronizedLayoutManager.js +4 -2
  64. package/Charting/LayoutManager/TopAlignedInnerAxisLayoutStrategy.js +6 -4
  65. package/Charting/LayoutManager/TopAlignedOuterAxisLayoutStrategy.js +6 -4
  66. package/Charting/LayoutManager/TopAlignedOuterHorizontallyStackedAxisLayoutStrategy.js +7 -5
  67. package/Charting/Model/BaseDataSeries.js +23 -20
  68. package/Charting/Model/BaseHeatmapDataSeries.js +5 -5
  69. package/Charting/Model/ChartData/HeatmapSeriesInfo.js +4 -2
  70. package/Charting/Model/ChartData/OhlcSeriesInfo.js +3 -1
  71. package/Charting/Model/ChartData/SeriesInfo.d.ts +1 -0
  72. package/Charting/Model/ChartData/SeriesInfo.js +15 -0
  73. package/Charting/Model/ChartData/StackedXySeriesInfo.js +3 -1
  74. package/Charting/Model/ChartData/XySeriesInfo.js +3 -1
  75. package/Charting/Model/ChartData/XyySeriesInfo.js +3 -1
  76. package/Charting/Model/DataPointSelectionPaletteProvider.js +2 -2
  77. package/Charting/Model/Filters/OhlcCustomFilter.js +7 -2
  78. package/Charting/Model/Filters/OhlcFilterBase.js +3 -1
  79. package/Charting/Model/Filters/OhlcScaleOffsetFilter.js +3 -1
  80. package/Charting/Model/Filters/XyCustomFilter.js +3 -1
  81. package/Charting/Model/Filters/XyFilterBase.js +9 -6
  82. package/Charting/Model/Filters/XyLinearTrendFilter.js +3 -1
  83. package/Charting/Model/Filters/XyMovingAverageFilter.js +3 -1
  84. package/Charting/Model/Filters/XyRatioFilter.js +6 -4
  85. package/Charting/Model/Filters/XyScaleOffsetFilter.js +3 -1
  86. package/Charting/Model/Filters/XyyCustomFilter.js +3 -1
  87. package/Charting/Model/Filters/XyyFilterBase.js +7 -5
  88. package/Charting/Model/Filters/XyyScaleOffsetFilter.js +3 -1
  89. package/Charting/Model/Filters/XyzCustomFilter.js +3 -1
  90. package/Charting/Model/Filters/XyzFilterBase.js +7 -5
  91. package/Charting/Model/Filters/XyzScaleOffsetFilter.js +3 -1
  92. package/Charting/Model/OhlcDataSeries.js +27 -25
  93. package/Charting/Model/PaletteFactory.js +3 -3
  94. package/Charting/Model/UniformHeatmapDataSeries.js +3 -1
  95. package/Charting/Model/XyDataSeries.js +9 -7
  96. package/Charting/Model/XyyDataSeries.js +15 -13
  97. package/Charting/Model/XyzDataSeries.js +15 -13
  98. package/Charting/Numerics/CoordinateCalculators/CategoryCoordinateCalculator.js +3 -1
  99. package/Charting/Numerics/CoordinateCalculators/FlippedCategoryCoordinateCalculator.js +3 -1
  100. package/Charting/Numerics/CoordinateCalculators/FlippedNumericCoordinateCalculator.js +3 -1
  101. package/Charting/Numerics/CoordinateCalculators/LogarithmicCoordinateCalculator.js +3 -1
  102. package/Charting/Numerics/CoordinateCalculators/NumericCoordinateCalculator.js +3 -1
  103. package/Charting/Numerics/TickCoordinateProviders/DefaultTickCoordinatesProvider.js +3 -1
  104. package/Charting/Numerics/TickProviders/LogarithmicTickProvider.js +7 -5
  105. package/Charting/Numerics/TickProviders/NumericTickProvider.js +4 -2
  106. package/Charting/Services/SciChartRenderer.d.ts +1 -0
  107. package/Charting/Services/SciChartRenderer.js +29 -20
  108. package/Charting/Services/Workers/TextureWorker.d.ts +16 -0
  109. package/Charting/Services/Workers/TextureWorker.js +138 -0
  110. package/Charting/Services/Workers/TextureWorkerSource.d.ts +1 -0
  111. package/Charting/Services/Workers/TextureWorkerSource.js +133 -0
  112. package/Charting/Themes/SciChartJSDarkTheme.js +3 -1
  113. package/Charting/Themes/SciChartJSDarkv2Theme.js +3 -1
  114. package/Charting/Themes/SciChartJSLightTheme.js +3 -1
  115. package/Charting/Visuals/Annotations/AnnotationBase.d.ts +1 -1
  116. package/Charting/Visuals/Annotations/AnnotationBase.js +71 -41
  117. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +28 -1
  118. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +11 -9
  119. package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -1
  120. package/Charting/Visuals/Annotations/BoxAnnotation.js +18 -16
  121. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +1 -1
  122. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +36 -14
  123. package/Charting/Visuals/Annotations/CustomAnnotation.d.ts +1 -1
  124. package/Charting/Visuals/Annotations/CustomAnnotation.js +3 -1
  125. package/Charting/Visuals/Annotations/HorizontalLineAnnotation.js +8 -6
  126. package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -1
  127. package/Charting/Visuals/Annotations/LineAnnotation.js +21 -17
  128. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +20 -17
  129. package/Charting/Visuals/Annotations/RenderContextAnnotationBase.js +3 -1
  130. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.js +3 -1
  131. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +4 -2
  132. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +17 -15
  133. package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +1 -1
  134. package/Charting/Visuals/Annotations/SvgAnnotationBase.js +23 -13
  135. package/Charting/Visuals/Annotations/TextAnnotation.d.ts +1 -1
  136. package/Charting/Visuals/Annotations/TextAnnotation.js +4 -2
  137. package/Charting/Visuals/Annotations/VerticalLineAnnotation.js +8 -6
  138. package/Charting/Visuals/Axis/AxisBase2D.d.ts +16 -8
  139. package/Charting/Visuals/Axis/AxisBase2D.js +70 -37
  140. package/Charting/Visuals/Axis/AxisCore.d.ts +1 -1
  141. package/Charting/Visuals/Axis/AxisCore.js +3 -33
  142. package/Charting/Visuals/Axis/AxisRenderer.d.ts +63 -0
  143. package/Charting/Visuals/Axis/AxisRenderer.js +92 -16
  144. package/Charting/Visuals/Axis/AxisTitleRenderer.js +7 -3
  145. package/Charting/Visuals/Axis/CategoryAxis.js +5 -2
  146. package/Charting/Visuals/Axis/CategoryAxisBase.js +10 -8
  147. package/Charting/Visuals/Axis/DeltaCalculator/CategoryDeltaCalculator.js +3 -1
  148. package/Charting/Visuals/Axis/DeltaCalculator/LogarithmicDeltaCalculator.js +3 -1
  149. package/Charting/Visuals/Axis/DeltaCalculator/NumericDeltaCalculator.js +3 -1
  150. package/Charting/Visuals/Axis/LabelProvider/DateLabelProvider.js +5 -3
  151. package/Charting/Visuals/Axis/LabelProvider/LabelCache.d.ts +41 -0
  152. package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +164 -0
  153. package/Charting/Visuals/Axis/LabelProvider/LabelProvider.d.ts +1 -1
  154. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +57 -7
  155. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +171 -74
  156. package/Charting/Visuals/Axis/LabelProvider/LogarithmicLabelProvider.js +5 -3
  157. package/Charting/Visuals/Axis/LabelProvider/NumericLabelProvider.js +5 -3
  158. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +30 -37
  159. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.d.ts +5 -2
  160. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.js +86 -5
  161. package/Charting/Visuals/Axis/LogarithmicAxis.js +10 -3
  162. package/Charting/Visuals/Axis/NumericAxis.js +5 -2
  163. package/Charting/Visuals/Axis/getAxisById.js +1 -1
  164. package/Charting/Visuals/Helpers/createNativeRect.js +2 -1
  165. package/Charting/Visuals/Helpers/createPen.js +4 -3
  166. package/Charting/Visuals/Helpers/createSolidBrush.js +5 -4
  167. package/Charting/Visuals/Helpers/drawBorder.js +6 -5
  168. package/Charting/Visuals/Helpers/drawLabel.js +10 -6
  169. package/Charting/Visuals/Legend/SciChartLegend.js +4 -2
  170. package/Charting/Visuals/Legend/SciChartLegendBase.js +16 -14
  171. package/Charting/Visuals/Legend/SciChartPieLegend.js +6 -4
  172. package/Charting/Visuals/PointMarkers/BasePointMarker.js +3 -3
  173. package/Charting/Visuals/PointMarkers/CrossPointMarker.js +3 -1
  174. package/Charting/Visuals/PointMarkers/EllipsePointMarker.js +3 -1
  175. package/Charting/Visuals/PointMarkers/SpritePointMarker.js +3 -1
  176. package/Charting/Visuals/PointMarkers/SquarePointMarker.js +3 -1
  177. package/Charting/Visuals/PointMarkers/TrianglePointMarker.js +3 -1
  178. package/Charting/Visuals/PointMarkers/XPointMarker.js +3 -1
  179. package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +6 -4
  180. package/Charting/Visuals/RenderableSeries/Animations/BandAnimationStyle.js +6 -4
  181. package/Charting/Visuals/RenderableSeries/Animations/BaseAnimationStyle.js +1 -1
  182. package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +3 -1
  183. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.js +5 -3
  184. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimationStyle.js +5 -3
  185. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +4 -2
  186. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimationStyle.js +4 -2
  187. package/Charting/Visuals/RenderableSeries/Animations/CustomPointMarkerStyle.js +3 -1
  188. package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +3 -1
  189. package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +3 -1
  190. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +4 -2
  191. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimationStyle.js +4 -2
  192. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +5 -3
  193. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimationStyle.js +5 -3
  194. package/Charting/Visuals/RenderableSeries/Animations/PointMarkerStyle.js +5 -3
  195. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.d.ts +1 -1
  196. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +3 -1
  197. package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +3 -1
  198. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.d.ts +1 -1
  199. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +3 -3
  200. package/Charting/Visuals/RenderableSeries/Animations/SweepAnimation.js +3 -1
  201. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.d.ts +1 -1
  202. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +3 -1
  203. package/Charting/Visuals/RenderableSeries/Animations/animationHelpers.js +2 -2
  204. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +3 -1
  205. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.js +3 -1
  206. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.js +3 -1
  207. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +3 -1
  208. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +15 -14
  209. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +7 -5
  210. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +3 -3
  211. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +20 -18
  212. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +12 -12
  213. package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +4 -2
  214. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +12 -10
  215. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +9 -7
  216. package/Charting/Visuals/RenderableSeries/DrawingProviders/MountainSeriesDrawingProvider.js +10 -8
  217. package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.js +20 -18
  218. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +6 -4
  219. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +9 -7
  220. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +6 -4
  221. package/Charting/Visuals/RenderableSeries/FastBandRenderableSeries.js +3 -1
  222. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +3 -1
  223. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.js +3 -1
  224. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.js +6 -3
  225. package/Charting/Visuals/RenderableSeries/FastLineRenderableSeries.js +3 -1
  226. package/Charting/Visuals/RenderableSeries/FastMountainRenderableSeries.js +3 -1
  227. package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.js +3 -1
  228. package/Charting/Visuals/RenderableSeries/GlowEffect.js +3 -1
  229. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +3 -1
  230. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +1 -1
  231. package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.js +4 -2
  232. package/Charting/Visuals/RenderableSeries/HitTest/ColumnSeriesHitTestProvider.js +4 -2
  233. package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +8 -6
  234. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +3 -1
  235. package/Charting/Visuals/RenderableSeries/HitTest/OhlcSeriesHitTestProvider.js +4 -2
  236. package/Charting/Visuals/RenderableSeries/HitTest/ScatterSeriesHitTestProvider.js +6 -4
  237. package/Charting/Visuals/RenderableSeries/HitTest/StackedColumnSeriesHitTestProvider.js +7 -5
  238. package/Charting/Visuals/RenderableSeries/HitTest/StackedMountainSeriesHitTestProvider.js +3 -1
  239. package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +3 -1
  240. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +12 -12
  241. package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +2 -2
  242. package/Charting/Visuals/RenderableSeries/ShaderEffect.js +4 -4
  243. package/Charting/Visuals/RenderableSeries/ShadowEffect.js +4 -2
  244. package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +6 -4
  245. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +5 -3
  246. package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +5 -3
  247. package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +6 -4
  248. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +11 -9
  249. package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +7 -5
  250. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +11 -9
  251. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.js +6 -4
  252. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +5 -2
  253. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +3 -1
  254. package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +3 -3
  255. package/Charting/Visuals/SciChartDefaults.d.ts +11 -0
  256. package/Charting/Visuals/SciChartDefaults.js +18 -0
  257. package/Charting/Visuals/SciChartOverview.js +13 -7
  258. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +1 -1
  259. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +27 -24
  260. package/Charting/Visuals/SciChartSurface.js +20 -17
  261. package/Charting/Visuals/SciChartSurfaceBase.js +15 -11
  262. package/Charting/Visuals/TextureManager/CanvasTexture.js +5 -5
  263. package/Charting/Visuals/TextureManager/DpiHelper.js +3 -3
  264. package/Charting/Visuals/TextureManager/TextureManager.d.ts +1 -0
  265. package/Charting/Visuals/TextureManager/TextureManager.js +16 -12
  266. package/Charting/Visuals/createMaster.js +6 -5
  267. package/Charting/Visuals/createSingle.js +6 -4
  268. package/Charting/Visuals/licenseManager2D.js +65 -48
  269. package/Charting/Visuals/loader.js +1 -1
  270. package/Charting/Visuals/sciChartInitCommon.js +12 -12
  271. package/Charting3D/CameraController.js +6 -6
  272. package/Charting3D/ChartModifiers/ChartModifierBase3D.js +3 -1
  273. package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.js +3 -1
  274. package/Charting3D/ChartModifiers/OrbitModifier3D.js +3 -1
  275. package/Charting3D/ChartModifiers/ResetCamera3DModifier.d.ts +79 -0
  276. package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +143 -0
  277. package/Charting3D/Model/DataSeries/BaseGridDataSeries3D.js +4 -2
  278. package/Charting3D/Model/DataSeries/UniformGridDataSeries3D.js +3 -1
  279. package/Charting3D/Model/DataSeries/XyzDataSeries3D.js +6 -4
  280. package/Charting3D/Vector3.js +1 -1
  281. package/Charting3D/Visuals/Axis/AxisBase3D.js +9 -7
  282. package/Charting3D/Visuals/Axis/AxisCubeEntity.js +20 -15
  283. package/Charting3D/Visuals/Axis/NumericAxis3D.d.ts +5 -0
  284. package/Charting3D/Visuals/Axis/NumericAxis3D.js +29 -1
  285. package/Charting3D/Visuals/DefaultViewportManager3D.js +3 -1
  286. package/Charting3D/Visuals/GizmoEntity.js +3 -1
  287. package/Charting3D/Visuals/PointMarkers/BaseMeshPointMarker3D.js +3 -1
  288. package/Charting3D/Visuals/PointMarkers/BaseTexturePointMarker3D.js +3 -1
  289. package/Charting3D/Visuals/PointMarkers/DefaultPointMarkers.js +3 -1
  290. package/Charting3D/Visuals/Primitives/BaseSceneEntity3D.js +2 -2
  291. package/Charting3D/Visuals/Primitives/RenderableSeriesSceneEntity.js +3 -1
  292. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +7 -5
  293. package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +22 -20
  294. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +3 -3
  295. package/Charting3D/Visuals/RenderableSeries/ScatterRenderableSeries3D.js +3 -1
  296. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/GradientColorPalette.js +3 -1
  297. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SolidColorBrushPalette.js +5 -3
  298. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.js +3 -1
  299. package/Charting3D/Visuals/RootSceneEntity.js +3 -1
  300. package/Charting3D/Visuals/SciChart3DRenderer.d.ts +1 -0
  301. package/Charting3D/Visuals/SciChart3DRenderer.js +10 -2
  302. package/Charting3D/Visuals/SciChart3DSurface.d.ts +22 -0
  303. package/Charting3D/Visuals/SciChart3DSurface.js +64 -11
  304. package/Charting3D/Visuals/createMaster3d.js +8 -7
  305. package/Charting3D/Visuals/createSingle3d.js +5 -4
  306. package/Charting3D/Visuals/licenseManager3D.js +7 -6
  307. package/Core/Animations/AnimationFiniteStateMachine.js +4 -2
  308. package/Core/Animations/DoubleAnimator.js +1 -1
  309. package/Core/Animations/GenericAnimation.js +1 -1
  310. package/Core/Guard.js +4 -4
  311. package/Core/Mouse/MouseManager.js +1 -1
  312. package/Core/NumberRange.js +4 -4
  313. package/Core/Point.js +1 -1
  314. package/_wasm/scichart.browser.js +1 -1
  315. package/_wasm/scichart2d.js +1 -1
  316. package/_wasm/scichart2d.wasm +0 -0
  317. package/_wasm/scichart3d.js +95 -95
  318. package/_wasm/scichart3d.wasm +0 -0
  319. package/index.js +1 -0
  320. package/package.json +2 -2
  321. package/types/AxisAlignment.js +6 -4
  322. package/types/ChartModifierType.d.ts +2 -1
  323. package/types/ChartModifierType.js +1 -0
  324. package/utils/array.js +2 -1
  325. package/utils/calcAverage.js +4 -2
  326. package/utils/colorUtil.js +4 -4
  327. package/utils/convertColor.js +6 -4
  328. package/utils/convertToPixel.js +2 -1
  329. package/utils/date.js +26 -17
  330. package/utils/font.js +4 -3
  331. package/utils/guid.js +2 -1
  332. package/utils/hasAllProperties.js +2 -1
  333. package/utils/includedAxis.d.ts +3 -0
  334. package/utils/includedAxis.js +23 -0
  335. package/utils/math.js +6 -3
  336. package/utils/number.js +18 -13
  337. package/utils/parseColor.js +7 -5
  338. package/utils/pointUtil.js +24 -15
  339. package/utils/random.js +2 -1
  340. package/utils/randomPricesDataSource.js +7 -5
  341. package/utils/svgString.js +2 -1
  342. package/utils/translate.js +10 -5
  343. package/utils/tsrExtensions.js +4 -2
  344. package/utils/zeroArray2D.js +3 -2
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -20,6 +22,8 @@ var NumericCoordinateCalculator_1 = require("../../../Charting/Numerics/Coordina
20
22
  var NumericTickProvider_1 = require("../../../Charting/Numerics/TickProviders/NumericTickProvider");
21
23
  var NumericDeltaCalculator_1 = require("../../../Charting/Visuals/Axis/DeltaCalculator/NumericDeltaCalculator");
22
24
  var NumericLabelProvider_1 = require("../../../Charting/Visuals/Axis/LabelProvider/NumericLabelProvider");
25
+ var EasingFunctions_1 = require("../../../Core/Animations/EasingFunctions");
26
+ var NumberRangeAnimator_1 = require("../../../Core/Animations/NumberRangeAnimator");
23
27
  var NumberRange_1 = require("../../../Core/NumberRange");
24
28
  var AxisType_1 = require("../../../types/AxisType");
25
29
  var AxisBase3D_1 = require("./AxisBase3D");
@@ -58,6 +62,30 @@ var NumericAxis3D = /** @class */ (function (_super) {
58
62
  NumericAxis3D.prototype.getDefaultNonZeroRange = function () {
59
63
  return new NumberRange_1.NumberRange(0, 10);
60
64
  };
65
+ /**
66
+ * @inheritDoc
67
+ */
68
+ NumericAxis3D.prototype.animateVisibleRange = function (visibleRange, durationMs, easingFunction, onCompleted) {
69
+ var _this = this;
70
+ var _a;
71
+ if (easingFunction === void 0) { easingFunction = EasingFunctions_1.easing.outCubic; }
72
+ if (onCompleted === void 0) { onCompleted = function () { }; }
73
+ if (durationMs <= 0) {
74
+ // Don't allow setting visibleRange to undefined if there is no data
75
+ this.visibleRange = visibleRange || this.visibleRange;
76
+ onCompleted();
77
+ return undefined;
78
+ }
79
+ (_a = this.visibleRangeAnimationToken) === null || _a === void 0 ? void 0 : _a.cancel();
80
+ this.visibleRangeAnimationToken = NumberRangeAnimator_1.NumberRangeAnimator.animate(this.visibleRange, visibleRange, durationMs, function (range) {
81
+ _this.visibleRangeProperty = range;
82
+ }, function () {
83
+ _this.visibleRangeAnimationToken = undefined;
84
+ onCompleted();
85
+ }, easingFunction);
86
+ this.parentSurface.addAnimation(this.visibleRangeAnimationToken);
87
+ return this.visibleRangeAnimationToken;
88
+ };
61
89
  /**
62
90
  * @inheritDoc
63
91
  */
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -22,7 +22,7 @@ var BaseSceneEntity3D = /** @class */ (function () {
22
22
  function BaseSceneEntity3D(webAssemblyContext) {
23
23
  var _this = this;
24
24
  /** @inheritDoc */
25
- this.id = guid_1.generateGuid();
25
+ this.id = (0, guid_1.generateGuid)();
26
26
  /**
27
27
  * When true, the entity and all its children are visible
28
28
  */
@@ -59,7 +59,7 @@ var BaseSceneEntity3D = /** @class */ (function () {
59
59
  if (this.nativeEntity) {
60
60
  this.world.RemoveEntity(this.nativeEntity);
61
61
  }
62
- this.nativeEntityProperty = Deleter_1.deleteSafe(this.nativeEntityProperty);
62
+ this.nativeEntityProperty = (0, Deleter_1.deleteSafe)(this.nativeEntityProperty);
63
63
  };
64
64
  /**
65
65
  * Update method called from WebAssembly engine. Use this to update meshes, properties, geometry before draw.
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -48,8 +50,8 @@ var ScatterPointsSceneEntity = /** @class */ (function (_super) {
48
50
  * @inheritDoc
49
51
  */
50
52
  ScatterPointsSceneEntity.prototype.delete = function () {
51
- this.pointColors = Deleter_1.deleteSafe(this.pointColors);
52
- this.pointScales = Deleter_1.deleteSafe(this.pointScales);
53
+ this.pointColors = (0, Deleter_1.deleteSafe)(this.pointColors);
54
+ this.pointScales = (0, Deleter_1.deleteSafe)(this.pointScales);
53
55
  _super.prototype.delete.call(this);
54
56
  };
55
57
  /**
@@ -68,7 +70,7 @@ var ScatterPointsSceneEntity = /** @class */ (function (_super) {
68
70
  throw new Error("To render 3D Scatter, bubble or point-clouds, you must provider a PointMarker on BaseRenderableSeries3D");
69
71
  }
70
72
  var eSCRTPointMarkerType = this.webAssemblyContext.eSCRT_POINT_MARKER_TYPE;
71
- var defaultColor = parseColor_1.parseColorToUIntArgb(pointMarker.fill);
73
+ var defaultColor = (0, parseColor_1.parseColorToUIntArgb)(pointMarker.fill);
72
74
  switch (pointMarker.markerType) {
73
75
  case BasePointMarker3D_1.EMarkerType.Pixel:
74
76
  this.nativeEntity.SetPointMarkerType(eSCRTPointMarkerType.SCRT_POINT_MARKER_TYPE_PIXEL);
@@ -113,7 +115,7 @@ var ScatterPointsSceneEntity = /** @class */ (function (_super) {
113
115
  this.nativeEntity.UpdateMeshesVec(xValues, yValues, zValues, colors, scales, args);
114
116
  }
115
117
  finally {
116
- Deleter_1.deleteSafe(args);
118
+ (0, Deleter_1.deleteSafe)(args);
117
119
  }
118
120
  };
119
121
  ScatterPointsSceneEntity.prototype.rebuildPointMetadata = function (metadata, count, defaultColor) {
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -36,11 +38,11 @@ var EGridDrawingFeatures;
36
38
  })(EGridDrawingFeatures || (EGridDrawingFeatures = {}));
37
39
  /** @ignore */
38
40
  function toString(tsrVector) {
39
- return "xyzw= (" + tsrVector.x + " " + tsrVector.y + " " + tsrVector.z + " " + tsrVector.w + ")";
41
+ return "xyzw= (".concat(tsrVector.x, " ").concat(tsrVector.y, " ").concat(tsrVector.z, " ").concat(tsrVector.w, ")");
40
42
  }
41
43
  /** @ignore */
42
44
  function toStringRange(r) {
43
- return "(min=" + r.m_fMin.toFixed(2) + ", max=" + r.m_fMax.toFixed(2) + ")";
45
+ return "(min=".concat(r.m_fMin.toFixed(2), ", max=").concat(r.m_fMax.toFixed(2), ")");
44
46
  }
45
47
  /** @ignore */
46
48
  function debugProps(props) {
@@ -121,7 +123,7 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
121
123
  */
122
124
  _this.type = SceneEntityType_1.ESceneEntityType.SurfaceMeshSceneEntity;
123
125
  _this.setNativeEntity(webAssemblyContext.SCRTGridMeshEntity.implement(_this));
124
- _this.colorMapTexture = Deleter_1.deleteSafe(_this.colorMapTexture);
126
+ _this.colorMapTexture = (0, Deleter_1.deleteSafe)(_this.colorMapTexture);
125
127
  _this.colorMapTexture = (_a = _this.parentSeries.meshColorPalette) === null || _a === void 0 ? void 0 : _a.getTexture(_this.parentSeries.colorMapTextureSize);
126
128
  return _this;
127
129
  }
@@ -142,7 +144,7 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
142
144
  */
143
145
  SurfaceMeshSceneEntity.prototype.delete = function () {
144
146
  _super.prototype.delete.call(this);
145
- this.colorMapTexture = Deleter_1.deleteSafe(this.colorMapTexture);
147
+ this.colorMapTexture = (0, Deleter_1.deleteSafe)(this.colorMapTexture);
146
148
  };
147
149
  /**
148
150
  * @inheritDoc
@@ -203,11 +205,11 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
203
205
  props.m_fContourInterval = this.parentSeries.contourInterval;
204
206
  props.m_fContourOffset = this.parentSeries.contourOffset;
205
207
  if (this.parentSeries.stroke) {
206
- var sc = parseColor_1.parseColorToTArgb(this.parentSeries.stroke);
207
- tsrExtensions_1.updateTsrVector4(sc, props.GetWireframeStrokePtr());
208
+ var sc = (0, parseColor_1.parseColorToTArgb)(this.parentSeries.stroke);
209
+ (0, tsrExtensions_1.updateTsrVector4)(sc, props.GetWireframeStrokePtr());
208
210
  }
209
211
  if (this.parentSeries.contourStroke) {
210
- tsrExtensions_1.updateTsrVector4(parseColor_1.parseColorToTArgb(this.parentSeries.contourStroke), props.GetContourColorPtr());
212
+ (0, tsrExtensions_1.updateTsrVector4)((0, parseColor_1.parseColorToTArgb)(this.parentSeries.contourStroke), props.GetContourColorPtr());
211
213
  }
212
214
  props.m_fHardNormals = this.parentSeries.cellHardnessFactor;
213
215
  props.m_fHighlight = this.parentSeries.highlight;
@@ -218,7 +220,7 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
218
220
  this.nativeEntity.SetGridDrawingProperties(props);
219
221
  }
220
222
  finally {
221
- Deleter_1.deleteSafe(props);
223
+ (0, Deleter_1.deleteSafe)(props);
222
224
  }
223
225
  // Setup Range and Offset
224
226
  var xCalc = this.currentRenderPassData.xCalc;
@@ -255,12 +257,12 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
255
257
  this.nativeEntity.SetVisibleRange(visibleRangeX, visibleRangeY, visibleRangeZ);
256
258
  }
257
259
  finally {
258
- Deleter_1.deleteSafe(meshRangeX);
259
- Deleter_1.deleteSafe(meshRangeY);
260
- Deleter_1.deleteSafe(meshRangeZ);
261
- Deleter_1.deleteSafe(visibleRangeX);
262
- Deleter_1.deleteSafe(visibleRangeY);
263
- Deleter_1.deleteSafe(visibleRangeZ);
260
+ (0, Deleter_1.deleteSafe)(meshRangeX);
261
+ (0, Deleter_1.deleteSafe)(meshRangeY);
262
+ (0, Deleter_1.deleteSafe)(meshRangeZ);
263
+ (0, Deleter_1.deleteSafe)(visibleRangeX);
264
+ (0, Deleter_1.deleteSafe)(visibleRangeY);
265
+ (0, Deleter_1.deleteSafe)(visibleRangeZ);
264
266
  }
265
267
  var yOffset = this.parentSeries.yOffset ? yCalc.getCoordinate(this.parentSeries.yOffset) : 0;
266
268
  // console.log(`heightScaleFactor, yOffset ${this.parentSeries.heightScaleFactor} ${yOffset}`);
@@ -282,7 +284,7 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
282
284
  var gridHeight = gridDataSeries.zSize;
283
285
  Guard_1.Guard.notNull(this.currentRenderPassData, "SurfaceMeshSceneEntity.currentRenderPassData");
284
286
  if (this.state.setColorMapTextureInvalid) {
285
- this.colorMapTexture = Deleter_1.deleteSafe(this.colorMapTexture);
287
+ this.colorMapTexture = (0, Deleter_1.deleteSafe)(this.colorMapTexture);
286
288
  this.colorMapTexture = (_a = this.parentSeries.meshColorPalette) === null || _a === void 0 ? void 0 : _a.getTexture(this.parentSeries.colorMapTextureSize);
287
289
  }
288
290
  var needUpdateMesh = this.state.isInitialState;
@@ -310,9 +312,9 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
310
312
  cellColors.resize(gridWidth * gridHeight, 0);
311
313
  // console.log(`UpdateMeshesVec ${gridWidth} ${gridHeight}`);
312
314
  this.nativeEntity.UpdateMeshesVec(heightCoords, zOffsets, cellColors, gridWidth, gridHeight, scrtMeshRes);
313
- Deleter_1.deleteSafe(heightCoords);
314
- Deleter_1.deleteSafe(zOffsets);
315
- Deleter_1.deleteSafe(cellColors);
315
+ (0, Deleter_1.deleteSafe)(heightCoords);
316
+ (0, Deleter_1.deleteSafe)(zOffsets);
317
+ (0, Deleter_1.deleteSafe)(cellColors);
316
318
  }
317
319
  if (needUpdateHeights) {
318
320
  // console.log(`UpdateHeightCoordinatesVec ${gridWidth} ${gridHeight}`);
@@ -327,7 +329,7 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
327
329
  }
328
330
  }
329
331
  this.nativeEntity.UpdateHeightCoordinatesVec(heightCoords, gridWidth, gridHeight);
330
- Deleter_1.deleteSafe(heightCoords);
332
+ (0, Deleter_1.deleteSafe)(heightCoords);
331
333
  }
332
334
  }
333
335
  };
@@ -24,7 +24,7 @@ var BaseRenderableSeries3D = /** @class */ (function () {
24
24
  */
25
25
  function BaseRenderableSeries3D(webAssemblyContext, options) {
26
26
  var _a;
27
- this.id = (_a = options === null || options === void 0 ? void 0 : options.id) !== null && _a !== void 0 ? _a : guid_1.generateGuid();
27
+ this.id = (_a = options === null || options === void 0 ? void 0 : options.id) !== null && _a !== void 0 ? _a : (0, guid_1.generateGuid)();
28
28
  this.webAssemblyContext = webAssemblyContext;
29
29
  this.dataSeriesProperty = (options === null || options === void 0 ? void 0 : options.dataSeries) || undefined;
30
30
  this.isVisibleProperty = (options === null || options === void 0 ? void 0 : options.isVisible) !== undefined ? options === null || options === void 0 ? void 0 : options.isVisible : true;
@@ -170,8 +170,8 @@ var BaseRenderableSeries3D = /** @class */ (function () {
170
170
  };
171
171
  /** @inheritDoc */
172
172
  BaseRenderableSeries3D.prototype.delete = function () {
173
- this.sceneEntityProperty = Deleter_1.deleteSafe(this.sceneEntityProperty);
174
- this.dataSeries = Deleter_1.deleteSafe(this.dataSeries);
173
+ this.sceneEntityProperty = (0, Deleter_1.deleteSafe)(this.sceneEntityProperty);
174
+ this.dataSeries = (0, Deleter_1.deleteSafe)(this.dataSeries);
175
175
  };
176
176
  /** @inheritDoc */
177
177
  BaseRenderableSeries3D.prototype.onDpiChanged = function (args) {
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -64,9 +66,9 @@ var SolidColorBrushPalette = /** @class */ (function (_super) {
64
66
  if (app_1.IS_TEST_ENV) {
65
67
  return undefined;
66
68
  }
67
- var color = parseColor_1.parseColorToUIntArgb(this.fill);
69
+ var color = (0, parseColor_1.parseColorToUIntArgb)(this.fill);
68
70
  if (isNaN(color)) {
69
- throw Error("SolidColorBrushPalette.fill " + this.fill + " cannot be converted to an ABGR color");
71
+ throw Error("SolidColorBrushPalette.fill ".concat(this.fill, " cannot be converted to an ABGR color"));
70
72
  }
71
73
  var canvasTexture = new CanvasTexture_1.CanvasTexture(this.webAssemblyContext, size.width, size.height);
72
74
  canvasTexture.clear();
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -25,6 +25,7 @@ export declare class SciChart3DRenderer {
25
25
  static tryPerformAutoRangeOn(axis: AxisBase3D, scs: SciChart3DSurface): void;
26
26
  private readonly scs;
27
27
  private wasmContext;
28
+ private previousTime;
28
29
  constructor(scs: SciChart3DSurface, wasmContext: TSciChart3D);
29
30
  /**
30
31
  * The main render loop
@@ -82,6 +82,10 @@ var SciChart3DRenderer = /** @class */ (function () {
82
82
  var tsrCamera = sceneWorld.GetMainCamera();
83
83
  var typescriptCamera = this.scs.camera;
84
84
  typescriptCamera.updateEngineCamera(tsrCamera);
85
+ // Animation Step
86
+ var timeElapsed = this.previousTime ? Date.now() - this.previousTime : undefined;
87
+ this.previousTime = Date.now();
88
+ this.scs.onAnimate(timeElapsed);
85
89
  // Step 2: Update background of the chart
86
90
  this.scs.updateBackground();
87
91
  // Step 3: Prepare the Axes
@@ -95,6 +99,10 @@ var SciChart3DRenderer = /** @class */ (function () {
95
99
  this.scs.updateWatermark(6, 6);
96
100
  // Step 6: Notify that scene is about to be drawn
97
101
  this.scs.onSciChartRendered();
102
+ // Invalidate for the animations
103
+ if (this.scs.isRunningAnimation) {
104
+ setTimeout(this.scs.invalidateElement, 0);
105
+ }
98
106
  };
99
107
  SciChart3DRenderer.prototype.isSurfaceValid = function (sciChartSurface, viewportSize) {
100
108
  if (!sciChartSurface.xAxis) {
@@ -128,7 +136,7 @@ var SciChart3DRenderer = /** @class */ (function () {
128
136
  sceneWorld.SetWorldDimensions(worldDimensionsVector4);
129
137
  }
130
138
  finally {
131
- Deleter_1.deleteSafe(worldDimensionsVector4);
139
+ (0, Deleter_1.deleteSafe)(worldDimensionsVector4);
132
140
  }
133
141
  };
134
142
  return SciChart3DRenderer;
@@ -136,5 +144,5 @@ var SciChart3DRenderer = /** @class */ (function () {
136
144
  exports.SciChart3DRenderer = SciChart3DRenderer;
137
145
  /** @ignore */
138
146
  var toString = function (vector) {
139
- return "TSRVector3 (" + vector.x.toFixed(2) + ", " + vector.y.toFixed(2) + ", " + vector.z.toFixed(2) + ")";
147
+ return "TSRVector3 (".concat(vector.x.toFixed(2), ", ").concat(vector.y.toFixed(2), ", ").concat(vector.z.toFixed(2), ")");
140
148
  };
@@ -3,6 +3,7 @@ import { IThemeProvider } from "../../Charting/Themes/IThemeProvider";
3
3
  import { I2DSurfaceOptions } from "../../Charting/Visuals/I2DSurfaceOptions";
4
4
  import { ESurfaceType, SciChartSurfaceBase, TSciChartConfig } from "../../Charting/Visuals/SciChartSurfaceBase";
5
5
  import { TDpiChangedEventArgs } from "../../Charting/Visuals/TextureManager/DpiHelper";
6
+ import { IGenericAnimation } from "../../Core/Animations/GenericAnimation";
6
7
  import { ObservableArray } from "../../Core/ObservableArray";
7
8
  import { SCRTSceneWorld, TSciChart3D } from "../../types/TSciChart3D";
8
9
  import { TSciChartSurfaceCanvases } from "../../types/TSciChartSurfaceCanvases";
@@ -114,6 +115,7 @@ export declare class SciChart3DSurface extends SciChartSurfaceBase {
114
115
  * access to our WebGL2 Engine and WebAssembly numerical methods
115
116
  */
116
117
  readonly webAssemblyContext3D: TSciChart3D;
118
+ protected animationList: IGenericAnimation[];
117
119
  private xAxisProperty;
118
120
  private yAxisProperty;
119
121
  private zAxisProperty;
@@ -251,6 +253,26 @@ export declare class SciChart3DSurface extends SciChartSurfaceBase {
251
253
  * @inheritDoc
252
254
  */
253
255
  changeViewportSize(pixelWidth: number, pixelHeight: number): void;
256
+ /**
257
+ * Gets the generic animations currently on the surface. Do not manipulate this array directly.
258
+ * To add, use addAnimation. To remove, find an animation and call .cancel() on it.
259
+ */
260
+ getAnimations(): ReadonlyArray<IGenericAnimation>;
261
+ /**
262
+ * Add a {@link GenericAnimation} to the surface.
263
+ * Multiple animations will be run in parallel, so if you want to run one after another, use the onCompleted callback
264
+ * to add another animation after the first completes
265
+ */
266
+ addAnimation(animation: IGenericAnimation): void;
267
+ /**
268
+ * Returns true if an animation is running
269
+ */
270
+ get isRunningAnimation(): boolean;
271
+ /**
272
+ * Is being called on each render, to run animations
273
+ * @param timeElapsed
274
+ */
275
+ onAnimate(timeElapsed: number): void;
254
276
  /**
255
277
  * @inheritDoc
256
278
  */