scichart 2.0.2146 → 2.0.2194

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 (347) 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 +27 -4
  14. package/Charting/ChartModifiers/CursorModifier.js +76 -41
  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.js +20 -17
  107. package/Charting/Services/Workers/TextureWorker.d.ts +16 -0
  108. package/Charting/Services/Workers/TextureWorker.js +142 -0
  109. package/Charting/Services/Workers/TextureWorkerSource.d.ts +1 -0
  110. package/Charting/Services/Workers/TextureWorkerSource.js +133 -0
  111. package/Charting/Themes/SciChartJSDarkTheme.js +3 -1
  112. package/Charting/Themes/SciChartJSDarkv2Theme.js +3 -1
  113. package/Charting/Themes/SciChartJSLightTheme.js +3 -1
  114. package/Charting/Visuals/Annotations/AnnotationBase.d.ts +1 -1
  115. package/Charting/Visuals/Annotations/AnnotationBase.js +71 -41
  116. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +28 -1
  117. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +11 -9
  118. package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -1
  119. package/Charting/Visuals/Annotations/BoxAnnotation.js +18 -16
  120. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +1 -1
  121. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +36 -14
  122. package/Charting/Visuals/Annotations/CustomAnnotation.d.ts +1 -1
  123. package/Charting/Visuals/Annotations/CustomAnnotation.js +3 -1
  124. package/Charting/Visuals/Annotations/HorizontalLineAnnotation.js +8 -6
  125. package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -1
  126. package/Charting/Visuals/Annotations/LineAnnotation.js +21 -17
  127. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +20 -17
  128. package/Charting/Visuals/Annotations/RenderContextAnnotationBase.js +3 -1
  129. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.js +3 -1
  130. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +4 -2
  131. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +17 -15
  132. package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +1 -1
  133. package/Charting/Visuals/Annotations/SvgAnnotationBase.js +23 -13
  134. package/Charting/Visuals/Annotations/TextAnnotation.d.ts +1 -1
  135. package/Charting/Visuals/Annotations/TextAnnotation.js +4 -2
  136. package/Charting/Visuals/Annotations/VerticalLineAnnotation.js +8 -6
  137. package/Charting/Visuals/Axis/AxisBase2D.d.ts +16 -8
  138. package/Charting/Visuals/Axis/AxisBase2D.js +70 -37
  139. package/Charting/Visuals/Axis/AxisCore.d.ts +1 -1
  140. package/Charting/Visuals/Axis/AxisCore.js +3 -33
  141. package/Charting/Visuals/Axis/AxisRenderer.d.ts +63 -0
  142. package/Charting/Visuals/Axis/AxisRenderer.js +92 -16
  143. package/Charting/Visuals/Axis/AxisTitleRenderer.js +7 -3
  144. package/Charting/Visuals/Axis/CategoryAxis.js +5 -2
  145. package/Charting/Visuals/Axis/CategoryAxisBase.js +10 -8
  146. package/Charting/Visuals/Axis/DeltaCalculator/CategoryDeltaCalculator.js +3 -1
  147. package/Charting/Visuals/Axis/DeltaCalculator/LogarithmicDeltaCalculator.js +3 -1
  148. package/Charting/Visuals/Axis/DeltaCalculator/NumericDeltaCalculator.js +3 -1
  149. package/Charting/Visuals/Axis/LabelProvider/DateLabelProvider.js +5 -3
  150. package/Charting/Visuals/Axis/LabelProvider/LabelCache.d.ts +41 -0
  151. package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +164 -0
  152. package/Charting/Visuals/Axis/LabelProvider/LabelProvider.d.ts +1 -1
  153. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +57 -7
  154. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +171 -74
  155. package/Charting/Visuals/Axis/LabelProvider/LogarithmicLabelProvider.js +5 -3
  156. package/Charting/Visuals/Axis/LabelProvider/NumericLabelProvider.js +5 -3
  157. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +30 -37
  158. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.d.ts +5 -2
  159. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.js +86 -5
  160. package/Charting/Visuals/Axis/LogarithmicAxis.js +10 -3
  161. package/Charting/Visuals/Axis/NumericAxis.js +5 -2
  162. package/Charting/Visuals/Axis/getAxisById.js +1 -1
  163. package/Charting/Visuals/Helpers/createNativeRect.js +2 -1
  164. package/Charting/Visuals/Helpers/createPen.js +4 -3
  165. package/Charting/Visuals/Helpers/createSolidBrush.js +5 -4
  166. package/Charting/Visuals/Helpers/drawBorder.js +6 -5
  167. package/Charting/Visuals/Helpers/drawLabel.js +10 -6
  168. package/Charting/Visuals/Legend/SciChartLegend.js +4 -2
  169. package/Charting/Visuals/Legend/SciChartLegendBase.js +16 -14
  170. package/Charting/Visuals/Legend/SciChartPieLegend.js +6 -4
  171. package/Charting/Visuals/PointMarkers/BasePointMarker.js +3 -3
  172. package/Charting/Visuals/PointMarkers/CrossPointMarker.js +3 -1
  173. package/Charting/Visuals/PointMarkers/EllipsePointMarker.js +3 -1
  174. package/Charting/Visuals/PointMarkers/SpritePointMarker.js +3 -1
  175. package/Charting/Visuals/PointMarkers/SquarePointMarker.js +3 -1
  176. package/Charting/Visuals/PointMarkers/TrianglePointMarker.js +3 -1
  177. package/Charting/Visuals/PointMarkers/XPointMarker.js +3 -1
  178. package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +6 -4
  179. package/Charting/Visuals/RenderableSeries/Animations/BandAnimationStyle.js +6 -4
  180. package/Charting/Visuals/RenderableSeries/Animations/BaseAnimationStyle.js +1 -1
  181. package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +3 -1
  182. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.js +5 -3
  183. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimationStyle.js +5 -3
  184. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +4 -2
  185. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimationStyle.js +4 -2
  186. package/Charting/Visuals/RenderableSeries/Animations/CustomPointMarkerStyle.js +3 -1
  187. package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +3 -1
  188. package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +3 -1
  189. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +4 -2
  190. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimationStyle.js +4 -2
  191. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +5 -3
  192. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimationStyle.js +5 -3
  193. package/Charting/Visuals/RenderableSeries/Animations/PointMarkerStyle.js +5 -3
  194. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.d.ts +1 -1
  195. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +3 -1
  196. package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +3 -1
  197. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.d.ts +1 -1
  198. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +3 -3
  199. package/Charting/Visuals/RenderableSeries/Animations/SweepAnimation.js +3 -1
  200. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.d.ts +1 -1
  201. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +3 -1
  202. package/Charting/Visuals/RenderableSeries/Animations/animationHelpers.js +2 -2
  203. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +3 -1
  204. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.js +3 -1
  205. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.js +3 -1
  206. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +3 -1
  207. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +15 -14
  208. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +7 -5
  209. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +3 -3
  210. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +20 -18
  211. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +12 -12
  212. package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +4 -2
  213. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +12 -10
  214. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +9 -7
  215. package/Charting/Visuals/RenderableSeries/DrawingProviders/MountainSeriesDrawingProvider.js +10 -8
  216. package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.js +20 -18
  217. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +6 -4
  218. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +9 -7
  219. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +6 -4
  220. package/Charting/Visuals/RenderableSeries/FastBandRenderableSeries.js +3 -1
  221. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +3 -1
  222. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.js +3 -1
  223. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.js +6 -3
  224. package/Charting/Visuals/RenderableSeries/FastLineRenderableSeries.js +3 -1
  225. package/Charting/Visuals/RenderableSeries/FastMountainRenderableSeries.js +3 -1
  226. package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.js +3 -1
  227. package/Charting/Visuals/RenderableSeries/GlowEffect.js +3 -1
  228. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +3 -1
  229. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +1 -1
  230. package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.js +4 -2
  231. package/Charting/Visuals/RenderableSeries/HitTest/ColumnSeriesHitTestProvider.js +4 -2
  232. package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +8 -6
  233. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +3 -1
  234. package/Charting/Visuals/RenderableSeries/HitTest/OhlcSeriesHitTestProvider.js +4 -2
  235. package/Charting/Visuals/RenderableSeries/HitTest/ScatterSeriesHitTestProvider.js +6 -4
  236. package/Charting/Visuals/RenderableSeries/HitTest/StackedColumnSeriesHitTestProvider.js +7 -5
  237. package/Charting/Visuals/RenderableSeries/HitTest/StackedMountainSeriesHitTestProvider.js +3 -1
  238. package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +3 -1
  239. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +12 -12
  240. package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +2 -2
  241. package/Charting/Visuals/RenderableSeries/ShaderEffect.js +4 -4
  242. package/Charting/Visuals/RenderableSeries/ShadowEffect.js +4 -2
  243. package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +6 -4
  244. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +5 -3
  245. package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +5 -3
  246. package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +6 -4
  247. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +11 -9
  248. package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +7 -5
  249. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +11 -9
  250. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.js +6 -4
  251. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +5 -2
  252. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +3 -1
  253. package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +3 -3
  254. package/Charting/Visuals/SciChartDefaults.d.ts +11 -0
  255. package/Charting/Visuals/SciChartDefaults.js +18 -0
  256. package/Charting/Visuals/SciChartOverview.js +13 -7
  257. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +1 -1
  258. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +27 -24
  259. package/Charting/Visuals/SciChartSurface.js +20 -19
  260. package/Charting/Visuals/SciChartSurfaceBase.js +15 -11
  261. package/Charting/Visuals/TextureManager/CanvasTexture.js +5 -5
  262. package/Charting/Visuals/TextureManager/DpiHelper.js +3 -3
  263. package/Charting/Visuals/TextureManager/TextureManager.d.ts +1 -0
  264. package/Charting/Visuals/TextureManager/TextureManager.js +16 -12
  265. package/Charting/Visuals/createMaster.js +32 -15
  266. package/Charting/Visuals/createSingle.js +15 -6
  267. package/Charting/Visuals/licenseManager2D.js +67 -48
  268. package/Charting/Visuals/loader.js +1 -1
  269. package/Charting/Visuals/sciChartInitCommon.js +12 -12
  270. package/Charting3D/CameraController.js +6 -6
  271. package/Charting3D/ChartModifiers/ChartModifierBase3D.js +3 -1
  272. package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.js +3 -1
  273. package/Charting3D/ChartModifiers/OrbitModifier3D.js +3 -1
  274. package/Charting3D/ChartModifiers/ResetCamera3DModifier.d.ts +79 -0
  275. package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +143 -0
  276. package/Charting3D/Model/DataSeries/BaseGridDataSeries3D.js +4 -2
  277. package/Charting3D/Model/DataSeries/UniformGridDataSeries3D.js +3 -1
  278. package/Charting3D/Model/DataSeries/XyzDataSeries3D.js +6 -4
  279. package/Charting3D/Vector3.js +1 -1
  280. package/Charting3D/Visuals/Axis/AxisBase3D.js +9 -7
  281. package/Charting3D/Visuals/Axis/AxisCubeEntity.js +20 -15
  282. package/Charting3D/Visuals/Axis/NumericAxis3D.d.ts +5 -0
  283. package/Charting3D/Visuals/Axis/NumericAxis3D.js +29 -1
  284. package/Charting3D/Visuals/DefaultViewportManager3D.js +3 -1
  285. package/Charting3D/Visuals/GizmoEntity.js +3 -1
  286. package/Charting3D/Visuals/PointMarkers/BaseMeshPointMarker3D.js +3 -1
  287. package/Charting3D/Visuals/PointMarkers/BaseTexturePointMarker3D.js +3 -1
  288. package/Charting3D/Visuals/PointMarkers/DefaultPointMarkers.js +3 -1
  289. package/Charting3D/Visuals/Primitives/BaseSceneEntity3D.js +2 -2
  290. package/Charting3D/Visuals/Primitives/RenderableSeriesSceneEntity.js +3 -1
  291. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +7 -5
  292. package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +22 -20
  293. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +3 -3
  294. package/Charting3D/Visuals/RenderableSeries/ScatterRenderableSeries3D.js +3 -1
  295. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/GradientColorPalette.js +3 -1
  296. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SolidColorBrushPalette.js +5 -3
  297. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.js +3 -1
  298. package/Charting3D/Visuals/RootSceneEntity.js +3 -1
  299. package/Charting3D/Visuals/SciChart3DRenderer.d.ts +1 -0
  300. package/Charting3D/Visuals/SciChart3DRenderer.js +10 -2
  301. package/Charting3D/Visuals/SciChart3DSurface.d.ts +22 -0
  302. package/Charting3D/Visuals/SciChart3DSurface.js +64 -11
  303. package/Charting3D/Visuals/createMaster3d.js +40 -21
  304. package/Charting3D/Visuals/createSingle3d.js +15 -7
  305. package/Charting3D/Visuals/licenseManager3D.js +7 -6
  306. package/Core/Animations/AnimationFiniteStateMachine.js +4 -2
  307. package/Core/Animations/DoubleAnimator.js +1 -1
  308. package/Core/Animations/GenericAnimation.js +1 -1
  309. package/Core/BuildStamp.d.ts +4 -0
  310. package/Core/BuildStamp.js +23 -0
  311. package/Core/Guard.js +4 -4
  312. package/Core/Mouse/MouseManager.js +1 -1
  313. package/Core/NumberRange.js +4 -4
  314. package/Core/Point.js +1 -1
  315. package/_wasm/scichart.browser.js +1 -1
  316. package/_wasm/scichart2d.js +10 -10
  317. package/_wasm/scichart2d.wasm +0 -0
  318. package/_wasm/scichart3d.js +12 -12
  319. package/_wasm/scichart3d.wasm +0 -0
  320. package/index.js +1 -0
  321. package/package.json +2 -2
  322. package/types/AxisAlignment.js +6 -4
  323. package/types/ChartModifierType.d.ts +2 -1
  324. package/types/ChartModifierType.js +1 -0
  325. package/types/TSciChart.d.ts +1 -0
  326. package/types/TSciChart3D.d.ts +1 -0
  327. package/utils/array.js +2 -1
  328. package/utils/calcAverage.js +4 -2
  329. package/utils/colorUtil.js +4 -4
  330. package/utils/convertColor.js +6 -4
  331. package/utils/convertToPixel.js +2 -1
  332. package/utils/date.js +26 -17
  333. package/utils/font.js +4 -3
  334. package/utils/guid.js +2 -1
  335. package/utils/hasAllProperties.js +2 -1
  336. package/utils/includedAxis.d.ts +3 -0
  337. package/utils/includedAxis.js +23 -0
  338. package/utils/math.js +6 -3
  339. package/utils/number.js +18 -13
  340. package/utils/parseColor.js +7 -5
  341. package/utils/pointUtil.js +24 -15
  342. package/utils/random.js +2 -1
  343. package/utils/randomPricesDataSource.js +7 -5
  344. package/utils/svgString.js +2 -1
  345. package/utils/translate.js +10 -5
  346. package/utils/tsrExtensions.js +4 -2
  347. package/utils/zeroArray2D.js +3 -2
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.sciChartDestinations = exports.createMultichart = void 0;
40
40
  // @ts-ignore
41
41
  var WasmModule2D = require("../../_wasm/scichart2d");
42
+ var BuildStamp_1 = require("../../Core/BuildStamp");
42
43
  var Guard_1 = require("../../Core/Guard");
43
44
  var WebGlRenderContext2D_1 = require("../Drawing/WebGlRenderContext2D");
44
45
  var licenseManager2D_1 = require("./licenseManager2D");
@@ -56,8 +57,8 @@ var sciChartMaster = {
56
57
  /** @ignore */
57
58
  var sciChartMasterPromise;
58
59
  /** @ignore */
59
- exports.createMultichart = function (divElementId, options) { return __awaiter(void 0, void 0, void 0, function () {
60
- var canvases, loader, loaderDiv, master, createChildSurface, wasmContext, sciChartSurface;
60
+ var createMultichart = function (divElementId, options) { return __awaiter(void 0, void 0, void 0, function () {
61
+ var canvases, loader, loaderDiv, master, createChildSurface, wasmContext_1, sciChartSurface_1, err_1;
61
62
  var _a, _b, _c;
62
63
  return __generator(this, function (_d) {
63
64
  switch (_d.label) {
@@ -66,30 +67,42 @@ exports.createMultichart = function (divElementId, options) { return __awaiter(v
66
67
  canvases = sciChartInitCommon_1.default.initCanvas(divElementId, (_a = options === null || options === void 0 ? void 0 : options.widthAspect) !== null && _a !== void 0 ? _a : 0, (_b = options === null || options === void 0 ? void 0 : options.heightAspect) !== null && _b !== void 0 ? _b : 0, sciChartInitCommon_1.default.ECanvasType.canvas2D);
67
68
  loader = (_c = options === null || options === void 0 ? void 0 : options.loader) !== null && _c !== void 0 ? _c : new loader_1.DefaultSciChartLoader();
68
69
  loaderDiv = loader.addChartLoader(canvases.domDivContainer, options === null || options === void 0 ? void 0 : options.theme);
69
- if (!(!sciChartMaster.wasmContext || !sciChartMaster.createChildSurface || !sciChartMaster.getChildSurfaces)) return [3 /*break*/, 2];
70
+ _d.label = 1;
71
+ case 1:
72
+ _d.trys.push([1, 4, , 5]);
73
+ if (!(!sciChartMaster.wasmContext || !sciChartMaster.createChildSurface || !sciChartMaster.getChildSurfaces)) return [3 /*break*/, 3];
70
74
  if (!sciChartMasterPromise) {
71
75
  sciChartMasterPromise = createMaster();
72
76
  }
73
77
  return [4 /*yield*/, sciChartMasterPromise];
74
- case 1:
78
+ case 2:
75
79
  master = _d.sent();
76
80
  sciChartMaster.wasmContext = master.wasmContext;
81
+ (0, BuildStamp_1.checkBuildStamp)(master.wasmContext);
77
82
  sciChartMaster.createChildSurface = master.createChildSurface;
78
83
  sciChartMaster.getChildSurfaces = master.getChildSurfaces;
79
84
  monitorWebGL(sciChartMaster);
80
- _d.label = 2;
81
- case 2:
82
- createChildSurface = sciChartMaster.createChildSurface, wasmContext = sciChartMaster.wasmContext;
83
- sciChartSurface = createChildSurface(divElementId, canvases, options === null || options === void 0 ? void 0 : options.theme);
85
+ _d.label = 3;
86
+ case 3:
87
+ createChildSurface = sciChartMaster.createChildSurface, wasmContext_1 = sciChartMaster.wasmContext;
88
+ sciChartSurface_1 = createChildSurface(divElementId, canvases, options === null || options === void 0 ? void 0 : options.theme);
84
89
  return [2 /*return*/, new Promise(function (resolve) {
85
90
  setTimeout(function () {
86
91
  loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
87
- resolve({ wasmContext: wasmContext, sciChartSurface: sciChartSurface });
92
+ resolve({ wasmContext: wasmContext_1, sciChartSurface: sciChartSurface_1 });
88
93
  }, 0);
89
94
  })];
95
+ case 4:
96
+ err_1 = _d.sent();
97
+ console.error(err_1);
98
+ // replace with div with error message
99
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
100
+ return [2 /*return*/, Promise.reject(err_1)];
101
+ case 5: return [2 /*return*/];
90
102
  }
91
103
  });
92
104
  }); };
105
+ exports.createMultichart = createMultichart;
93
106
  /** @ignore */
94
107
  var monitorWebGL = function (master) {
95
108
  var wasmContext = sciChartMaster.wasmContext, getChildSurfaces = sciChartMaster.getChildSurfaces;
@@ -134,7 +147,7 @@ var createMaster = function () {
134
147
  return sciChartSurface;
135
148
  };
136
149
  var addDestination = function (wasmContext, canvasElementId, sciChartSurface, width, height, chartInitObj) {
137
- var newDestination = SciChartSurfaceBase_1.createChartDestination(canvasElementId);
150
+ var newDestination = (0, SciChartSurfaceBase_1.createChartDestination)(canvasElementId);
138
151
  if (!newDestination) {
139
152
  sciChartSurface.delete();
140
153
  return;
@@ -144,12 +157,13 @@ var createMaster = function () {
144
157
  chartInitObj.SetFPSCounterEnabled(false);
145
158
  exports.sciChartDestinations.push({ canvasElementId: canvasElementId, sciChartSurface: sciChartSurface, width: width, height: height });
146
159
  };
147
- return new Promise(function (resolve) {
160
+ return new Promise(function (resolve, reject) {
148
161
  // make sure canvas has event listener for context creation error
149
- var canvas = SciChartSurfaceBase_1.getMasterCanvas();
150
- var locateFile = SciChartSurfaceBase_1.getLocateFile(SciChartSurface_1.sciChartConfig);
162
+ var canvas = (0, SciChartSurfaceBase_1.getMasterCanvas)();
163
+ var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChartSurface_1.sciChartConfig);
151
164
  // @ts-ignore
152
- new WasmModule2D({ locateFile: locateFile, noInitialRun: true }).then(function (wasmContext) {
165
+ new WasmModule2D({ locateFile: locateFile, noInitialRun: true })
166
+ .then(function (wasmContext) {
153
167
  var getChildSurfaces = function () { return exports.sciChartDestinations.map(function (el) { return el.sciChartSurface; }); };
154
168
  // Create of replace child surface
155
169
  var createChildSurface = function (divElementId, canvases, theme) {
@@ -198,12 +212,15 @@ var createMaster = function () {
198
212
  wasmContext.SCRTSetGlobalSampleChartInterface(chartInitObj);
199
213
  /// create an object that native side can trigger the copy to from...
200
214
  var canvasCopyObj = wasmContext.SCRTCopyToDestinationInterface.implement({
201
- CopyToDestination: SciChartSurfaceBase_1.copyToCanvas(SciChartSurfaceBase_1.SciChartSurfaceBase.domMasterCanvas)
215
+ CopyToDestination: (0, SciChartSurfaceBase_1.copyToCanvas)(SciChartSurfaceBase_1.SciChartSurfaceBase.domMasterCanvas)
202
216
  });
203
217
  wasmContext.SCRTSetGlobalCopyToDestinationInterface(canvasCopyObj);
204
218
  wasmContext.TSRSetDrawRequestsEnabled(true);
205
219
  // @ts-ignore
206
220
  wasmContext.callMain();
221
+ })
222
+ .catch(function () {
223
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version");
207
224
  });
208
225
  });
209
226
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.initDrawEngineSingleChart = exports.createSingleInternal = exports.sciChartSingleDestinations = void 0;
4
4
  // @ts-ignore
5
5
  var WasmModule2D = require("../../_wasm/scichart2d");
6
+ var BuildStamp_1 = require("../../Core/BuildStamp");
6
7
  var Guard_1 = require("../../Core/Guard");
7
8
  var WebGlHelper_1 = require("../../Core/WebGlHelper");
8
9
  var logger_1 = require("../../utils/logger");
@@ -14,8 +15,8 @@ var SciChartSurfaceBase_1 = require("./SciChartSurfaceBase");
14
15
  // Global variables
15
16
  exports.sciChartSingleDestinations = [];
16
17
  /** @ignore */
17
- exports.createSingleInternal = function (divElementId, options) {
18
- return new Promise(function (resolve) {
18
+ var createSingleInternal = function (divElementId, options) {
19
+ return new Promise(function (resolve, reject) {
19
20
  var _a;
20
21
  var canvases = sciChartInitCommon_1.default.initCanvas(divElementId, options === null || options === void 0 ? void 0 : options.widthAspect, options === null || options === void 0 ? void 0 : options.heightAspect);
21
22
  var loader = (_a = options === null || options === void 0 ? void 0 : options.loader) !== null && _a !== void 0 ? _a : new loader_1.DefaultSciChartLoader();
@@ -23,13 +24,19 @@ exports.createSingleInternal = function (divElementId, options) {
23
24
  var webGLSupport = WebGlHelper_1.WebGlHelper.getWebGlSupport();
24
25
  // console.log("webGLSupport", webGLSupport);
25
26
  if (webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL2 || webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL1) {
26
- var locateFile = SciChartSurfaceBase_1.getLocateFile(SciChartSurface_1.sciChartConfig);
27
+ var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChartSurface_1.sciChartConfig);
27
28
  // @ts-ignore
28
- new WasmModule2D({ locateFile: locateFile, noInitialRun: true }).then(function (wasmContext) {
29
+ new WasmModule2D({ locateFile: locateFile, noInitialRun: true })
30
+ .then(function (wasmContext) {
29
31
  loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
30
32
  // @ts-ignore
31
33
  wasmContext.doNotCaptureKeyboard = true;
32
- exports.initDrawEngineSingleChart(wasmContext, canvases, resolve, options === null || options === void 0 ? void 0 : options.theme);
34
+ (0, exports.initDrawEngineSingleChart)(wasmContext, canvases, resolve, options === null || options === void 0 ? void 0 : options.theme);
35
+ (0, BuildStamp_1.checkBuildStamp)(wasmContext);
36
+ })
37
+ .catch(function () {
38
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
39
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version");
33
40
  });
34
41
  }
35
42
  else {
@@ -37,8 +44,9 @@ exports.createSingleInternal = function (divElementId, options) {
37
44
  }
38
45
  });
39
46
  };
47
+ exports.createSingleInternal = createSingleInternal;
40
48
  /** @ignore */
41
- exports.initDrawEngineSingleChart = function (wasmContext, canvases, resolve, theme) {
49
+ var initDrawEngineSingleChart = function (wasmContext, canvases, resolve, theme) {
42
50
  Guard_1.Guard.notNull(theme, "theme");
43
51
  var width = canvases.domCanvas2D.width;
44
52
  var height = canvases.domCanvas2D.height;
@@ -81,3 +89,4 @@ exports.initDrawEngineSingleChart = function (wasmContext, canvases, resolve, th
81
89
  // @ts-ignore
82
90
  wasmContext.callMain();
83
91
  };
92
+ exports.initDrawEngineSingleChart = initDrawEngineSingleChart;
@@ -38,6 +38,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.licenseManager = exports.updateLicenseDisplay = exports.getLicenseInfo = exports.applyLicense = exports.getLicenseCookie = exports.setCallbacks3D = exports.setUseLicenseWizard = exports.setRuntimeLicenseKey = exports.setLicenseCallback = exports.setDependencies = void 0;
40
40
  var app_1 = require("../../constants/app");
41
+ var BuildStamp_1 = require("../../Core/BuildStamp");
41
42
  var Dictionary_1 = require("../../Core/Dictionary");
42
43
  var Color_1 = require("../../types/Color");
43
44
  var licensingClasses_1 = require("../../types/licensingClasses");
@@ -93,13 +94,14 @@ var fetchFromWizard = function (path) { return __awaiter(void 0, void 0, void 0,
93
94
  }); };
94
95
  var licenseDependencies = {
95
96
  fetchFromWizard: function (url) { return fetchFromWizard(url); },
96
- setCookie: function (name, val, validDays) { return cookie_1.setCookie(name, val, validDays); },
97
- getCookie: function (name) { return cookie_1.getCookie(name); },
97
+ setCookie: function (name, val, validDays) { return (0, cookie_1.setCookie)(name, val, validDays); },
98
+ getCookie: function (name) { return (0, cookie_1.getCookie)(name); },
98
99
  fetchForChallenge: function (url) { return fetch(url); },
99
100
  updateLicenseDisplay: function (licenseInfo, sciChartSurface, is2D, applyToOther) { return updateLicenseDisplayInternal(licenseInfo, sciChartSurface, is2D, applyToOther); },
100
101
  debug: function (message) { return console.log(message); }
101
102
  };
102
- exports.setDependencies = function (dependencies) { return (licenseDependencies = dependencies); };
103
+ var setDependencies = function (dependencies) { return (licenseDependencies = dependencies); };
104
+ exports.setDependencies = setDependencies;
103
105
  var isDebug = null;
104
106
  var debug = function (message) {
105
107
  if (isDebug === null) {
@@ -109,26 +111,30 @@ var debug = function (message) {
109
111
  licenseDependencies.debug(message);
110
112
  }
111
113
  };
114
+ debug("SciChart version " + BuildStamp_1.libraryVersion);
112
115
  // tslint:disable: no-console
113
116
  var licenseCallback;
114
- exports.setLicenseCallback = function (callback) {
117
+ var setLicenseCallback = function (callback) {
115
118
  licenseCallback = callback;
116
119
  };
120
+ exports.setLicenseCallback = setLicenseCallback;
117
121
  var runtimeLicenseKey = "";
118
122
  var getRuntimeLicenseKey = function () { return runtimeLicenseKey; };
119
- exports.setRuntimeLicenseKey = function (value) {
123
+ var setRuntimeLicenseKey = function (value) {
120
124
  var prev = runtimeLicenseKey;
121
125
  runtimeLicenseKey = value;
122
126
  if (runtimeLicenseKey !== prev && runtimeLicenseKey !== "") {
123
127
  if (licenseContext2D !== undefined) {
124
- exports.applyLicense(licenseContext2D);
128
+ (0, exports.applyLicense)(licenseContext2D);
125
129
  }
126
130
  }
127
131
  };
132
+ exports.setRuntimeLicenseKey = setRuntimeLicenseKey;
128
133
  var useLicenseWizard = true;
129
- exports.setUseLicenseWizard = function (value) {
134
+ var setUseLicenseWizard = function (value) {
130
135
  useLicenseWizard = value;
131
136
  };
137
+ exports.setUseLicenseWizard = setUseLicenseWizard;
132
138
  var retryTime = app_1.IS_TEST_ENV ? 0.1 : 5;
133
139
  var maxretries = app_1.IS_TEST_ENV ? 12 : 10;
134
140
  var serverLicenseEndpoint = "api/license";
@@ -144,7 +150,8 @@ var callbacks3D = {
144
150
  setNewLicense3D: function (keyCode) { return undefined; },
145
151
  updateLicenseDisplay3D: function () { return undefined; }
146
152
  };
147
- exports.setCallbacks3D = function (callbacks) { return (callbacks3D = callbacks); };
153
+ var setCallbacks3D = function (callbacks) { return (callbacks3D = callbacks); };
154
+ exports.setCallbacks3D = setCallbacks3D;
148
155
  var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0, function () {
149
156
  var response, keyCode, _a, requiresValidation, trialExpired, err_3;
150
157
  return __generator(this, function (_b) {
@@ -170,7 +177,7 @@ var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0
170
177
  }
171
178
  else if (trialExpired) {
172
179
  checkStatus = licensingClasses_1.LicenseCheckStatus.NoLicenseInWizard;
173
- debug("No valid license available in licensing wizard. Trying again in " + retryTime + " seconds");
180
+ debug("No valid license available in licensing wizard. Trying again in ".concat(retryTime, " seconds"));
174
181
  wizardTimer = setTimeout(function () { return getlicenseFromWizard(); }, retryTime * 1000);
175
182
  }
176
183
  else {
@@ -179,7 +186,7 @@ var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0
179
186
  return [3 /*break*/, 4];
180
187
  case 3:
181
188
  checkStatus = licensingClasses_1.LicenseCheckStatus.NoLicenseInWizard;
182
- debug("No license available in licensing wizard. Trying again in " + retryTime + " seconds");
189
+ debug("No license available in licensing wizard. Trying again in ".concat(retryTime, " seconds"));
183
190
  wizardTimer = setTimeout(function () { return getlicenseFromWizard(); }, retryTime * 1000);
184
191
  _b.label = 4;
185
192
  case 4: return [3 /*break*/, 6];
@@ -188,7 +195,7 @@ var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0
188
195
  // Failed to connect. Retry
189
196
  getLicenseFailCounts += 1;
190
197
  if (getLicenseFailCounts < maxretries) {
191
- debug("Could not find licensing wizard. Trying again in " + retryTime + " seconds");
198
+ debug("Could not find licensing wizard. Trying again in ".concat(retryTime, " seconds"));
192
199
  setTimeout(function () { return getlicenseFromWizard(); }, retryTime * 1000);
193
200
  }
194
201
  else {
@@ -200,7 +207,7 @@ var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0
200
207
  return [3 /*break*/, 6];
201
208
  case 6:
202
209
  if (licenseContext2D !== undefined) {
203
- exports.updateLicenseDisplay(exports.getLicenseInfo(licenseContext2D), sciChartSurface2D, true, true);
210
+ (0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, true);
204
211
  }
205
212
  callbacks3D.updateLicenseDisplay3D();
206
213
  return [2 /*return*/];
@@ -208,10 +215,10 @@ var getlicenseFromWizard = function () { return __awaiter(void 0, void 0, void 0
208
215
  });
209
216
  }); };
210
217
  var setLicenseCookie = function (key, token, expirySeconds, lastValidated) {
211
- var cookieVal = key + "," + token + "," + expirySeconds + "," + lastValidated;
218
+ var cookieVal = "".concat(key, ",").concat(token, ",").concat(expirySeconds, ",").concat(lastValidated);
212
219
  return licenseDependencies.setCookie("scLicense", cookieVal, 365);
213
220
  };
214
- exports.getLicenseCookie = function () {
221
+ var getLicenseCookie = function () {
215
222
  var cookie;
216
223
  cookie = licenseDependencies.getCookie("scLicense");
217
224
  var parts = cookie.split(",");
@@ -226,9 +233,10 @@ exports.getLicenseCookie = function () {
226
233
  else
227
234
  return { key: parts[0], token: null, expiry: null, lastValidated: null };
228
235
  };
236
+ exports.getLicenseCookie = getLicenseCookie;
229
237
  var refreshLicense = function () {
230
- cookie_1.deleteCookie("scLicense");
231
- exports.applyLicense(licenseContext2D);
238
+ (0, cookie_1.deleteCookie)("scLicense");
239
+ (0, exports.applyLicense)(licenseContext2D);
232
240
  };
233
241
  var setChallengeResponse = function (token) {
234
242
  var expirySeconds = -1;
@@ -253,7 +261,7 @@ var dolicenseChallenge = function () { return __awaiter(void 0, void 0, void 0,
253
261
  _b.trys.push([1, 11, , 12]);
254
262
  if (checkStatus !== licensingClasses_1.LicenseCheckStatus.ValidatingDeveloperLicense)
255
263
  return [2 /*return*/];
256
- debug("Attempting to validate license with " + server);
264
+ debug("Attempting to validate license with ".concat(server));
257
265
  challenge = void 0;
258
266
  orderId = void 0;
259
267
  if (licenseContext2D !== undefined) {
@@ -264,9 +272,9 @@ var dolicenseChallenge = function () { return __awaiter(void 0, void 0, void 0,
264
272
  (_a = callbacks3D.getLicenseChallenge3D(), challenge = _a.challenge, orderId = _a.orderId);
265
273
  }
266
274
  response = void 0;
267
- queryString = "orderid=" + orderId + "&challenge=" + challenge;
275
+ queryString = "orderid=".concat(orderId, "&challenge=").concat(challenge);
268
276
  if (!isDev) return [3 /*break*/, 3];
269
- url = "/validate?" + queryString;
277
+ url = "/validate?".concat(queryString);
270
278
  return [4 /*yield*/, licenseDependencies.fetchFromWizard(url)];
271
279
  case 2:
272
280
  response = _b.sent();
@@ -291,7 +299,7 @@ var dolicenseChallenge = function () { return __awaiter(void 0, void 0, void 0,
291
299
  if (!token.startsWith("Error")) {
292
300
  expirySeconds = setChallengeResponse(token);
293
301
  if (expirySeconds > 0) {
294
- key = exports.getLicenseCookie().key;
302
+ key = (0, exports.getLicenseCookie)().key;
295
303
  timeNow = Math.floor(new Date().getTime() / 1000);
296
304
  setLicenseCookie(key, token, expirySeconds, timeNow);
297
305
  checkStatus = licensingClasses_1.LicenseCheckStatus.LicenseOK;
@@ -322,15 +330,15 @@ var dolicenseChallenge = function () { return __awaiter(void 0, void 0, void 0,
322
330
  // Failed to connect. Retry
323
331
  challengeFailCounts += 1;
324
332
  if (challengeFailCounts < maxretries) {
325
- debug("Could not find " + server + "/" + serverLicenseEndpoint + ". Trying again in " + retryTime + " seconds");
333
+ debug("Could not find ".concat(server, "/").concat(serverLicenseEndpoint, ". Trying again in ").concat(retryTime, " seconds"));
326
334
  setTimeout(function () { return dolicenseChallenge(); }, retryTime * 1000);
327
335
  }
328
336
  else {
329
- expiry = exports.getLicenseCookie().expiry;
337
+ expiry = (0, exports.getLicenseCookie)().expiry;
330
338
  msg = isDev
331
339
  ? "Please run the license wizard, ensure your license is activated, then refresh page to retry."
332
340
  : "Please check that the endpoint is configured correctly.";
333
- console.error("Failed to connect to " + server + "/" + serverLicenseEndpoint + ". License must be revalidated before " + expiry.toLocaleString() + ". " + msg);
341
+ console.error("Failed to connect to ".concat(server, "/").concat(serverLicenseEndpoint, ". License must be revalidated before ").concat(expiry.toLocaleString(), ". ").concat(msg));
334
342
  challengeFailCounts = 0;
335
343
  // Only actually show failure message if token has expired
336
344
  if (new Date() > expiry)
@@ -339,7 +347,7 @@ var dolicenseChallenge = function () { return __awaiter(void 0, void 0, void 0,
339
347
  return [3 /*break*/, 12];
340
348
  case 12:
341
349
  if (licenseContext2D !== undefined) {
342
- exports.updateLicenseDisplay(exports.getLicenseInfo(licenseContext2D), sciChartSurface2D, true, true);
350
+ (0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, true);
343
351
  }
344
352
  callbacks3D.updateLicenseDisplay3D();
345
353
  return [2 /*return*/];
@@ -357,12 +365,12 @@ var applyLicense2D = function (licenseContext, sciChartSurface, isSingle) {
357
365
  if (isSingle || shouldApplyLicense2D) {
358
366
  licenseContext2D = licenseContext;
359
367
  sciChartSurface2D = sciChartSurface;
360
- exports.applyLicense(licenseContext);
368
+ (0, exports.applyLicense)(licenseContext);
361
369
  }
362
370
  if (!isSingle)
363
371
  shouldApplyLicense2D = false;
364
372
  };
365
- exports.applyLicense = function (licenseContext) {
373
+ var applyLicense = function (licenseContext) {
366
374
  debug("applyLicense running");
367
375
  var licenseKey = "";
368
376
  var lt = licenseContext.SCRTCredentials.GetLicenseType();
@@ -396,7 +404,7 @@ exports.applyLicense = function (licenseContext) {
396
404
  }
397
405
  }
398
406
  // Get from cookie store
399
- var licenseCookie = exports.getLicenseCookie();
407
+ var licenseCookie = (0, exports.getLicenseCookie)();
400
408
  if (licenseKey === "" && licenseCookie && licenseCookie.key !== "") {
401
409
  debug("Found license in cookie.");
402
410
  licenseKey = licenseCookie.key;
@@ -407,7 +415,7 @@ exports.applyLicense = function (licenseContext) {
407
415
  lt === licenseContext.SCRTLicenseType.LICENSE_TYPE_TRIAL ||
408
416
  lt === licenseContext.SCRTLicenseType.LICENSE_TYPE_REQUIRES_VALIDATION)) {
409
417
  debug("License cookie is invalid. Removing");
410
- cookie_1.deleteCookie("scLicense");
418
+ (0, cookie_1.deleteCookie)("scLicense");
411
419
  licenseKey = "";
412
420
  lt = licenseContext.SCRTLicenseType.LICENSE_TYPE_NO_LICENSE;
413
421
  }
@@ -432,7 +440,7 @@ exports.applyLicense = function (licenseContext) {
432
440
  if (isRuntimeKey && isDev) {
433
441
  // clear key
434
442
  licenseContext.SCRTCredentials.ResetRuntimeLicense();
435
- cookie_1.deleteCookie("scLicense");
443
+ (0, cookie_1.deleteCookie)("scLicense");
436
444
  checkStatus = licensingClasses_1.LicenseCheckStatus.DevKeyInRuntimeKey;
437
445
  }
438
446
  else if (licenseCookie.expiry > new Date()) {
@@ -449,7 +457,7 @@ exports.applyLicense = function (licenseContext) {
449
457
  }
450
458
  var validationInterval = 60 * 60 * 24; // Once a day
451
459
  var secondsSinceValidated = (new Date().getTime() - licenseCookie.lastValidated.getTime()) / 1000;
452
- debug("License expires in " + (expirySeconds - timeNow) + " seconds. Last validated " + secondsSinceValidated + " seconds ago");
460
+ debug("License expires in ".concat(expirySeconds - timeNow, " seconds. Last validated ").concat(secondsSinceValidated, " seconds ago"));
453
461
  if (secondsSinceValidated > validationInterval &&
454
462
  checkStatus !== licensingClasses_1.LicenseCheckStatus.ValidatingDeveloperLicense) {
455
463
  checkStatus = licensingClasses_1.LicenseCheckStatus.ValidatingDeveloperLicense;
@@ -474,10 +482,11 @@ exports.applyLicense = function (licenseContext) {
474
482
  }
475
483
  }
476
484
  if (licenseContext2D !== undefined) {
477
- exports.updateLicenseDisplay(exports.getLicenseInfo(licenseContext2D), sciChartSurface2D, true, false);
485
+ (0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, false);
478
486
  }
479
487
  callbacks3D.updateLicenseDisplay3D();
480
488
  };
489
+ exports.applyLicense = applyLicense;
481
490
  var licenseModal;
482
491
  var openLicenseModal = function () {
483
492
  console.error("Modal not initialized");
@@ -494,7 +503,7 @@ var setNewLicense = function (keyCode) {
494
503
  trialExpired =
495
504
  licenseContext2D.SCRTCredentials.GetLicenseType() ===
496
505
  licenseContext2D.SCRTLicenseType.LICENSE_TYPE_TRIAL_EXPIRED;
497
- exports.updateLicenseDisplay(exports.getLicenseInfo(licenseContext2D), sciChartSurface2D, true, true);
506
+ (0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, true);
498
507
  }
499
508
  var result3D = callbacks3D.setNewLicense3D(keyCode);
500
509
  if (result3D !== undefined) {
@@ -658,14 +667,17 @@ var convertLicenseType = function (sclt, licenseContext) {
658
667
  }
659
668
  return licenseType;
660
669
  };
661
- exports.getLicenseInfo = function (licenseContext) {
670
+ var getLicenseInfo = function (licenseContext) {
662
671
  var sclt = licenseContext.SCRTCredentials.GetLicenseType();
663
672
  var licenseType = convertLicenseType(sclt, licenseContext);
664
673
  var daysRemaining = licenseContext.SCRTCredentials.GetLicenseDaysRemaining();
665
- debug(licenseContext.SCRTCredentials.Dump());
674
+ if (isDebug) {
675
+ debug(licenseContext.SCRTCredentials.Dump());
676
+ }
666
677
  var error = licenseContext.SCRTCredentials.GetLicenseErrors();
667
678
  return { licenseType: licenseType, daysRemaining: daysRemaining, error: error };
668
679
  };
680
+ exports.getLicenseInfo = getLicenseInfo;
669
681
  var licenseType2D;
670
682
  var licenseType3D;
671
683
  var previousCheckStatus;
@@ -692,7 +704,7 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
692
704
  licenseType3D = licenseType;
693
705
  // if (licenseType === LicenseType.Trial || licenseType === LicenseType.Full)
694
706
  // checkStatus = LicenseCheckStatus.LicenseOK;
695
- debug((is2D ? "2D" : "3D") + " license status changed");
707
+ debug("".concat(is2D ? "2D" : "3D", " license status changed"));
696
708
  sciChartSurface.invalidateElement();
697
709
  sciChartSurface.otherSurfaces.map(function (s) { return s.invalidateElement(); });
698
710
  // Update license message text
@@ -700,18 +712,18 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
700
712
  var contactSupportLink = "<a href=\"https://www.scichart.com/contact-us/\" target=\"_blank\" style=\"color: orange\">contact support</a>";
701
713
  if (licenseType === licensingClasses_1.LicenseType.NoLicense) {
702
714
  premsg = "You need to have a license to use SciChart. ";
703
- postMsg = "Instructions can be seen at " + licensingLink;
715
+ postMsg = "Instructions can be seen at ".concat(licensingLink);
704
716
  }
705
717
  else if (licenseType === licensingClasses_1.LicenseType.Invalid) {
706
718
  if (error.startsWith("License is not valid for this domain"))
707
- premsg = "Sorry! Your license key is invalid for this domain</br>Please " + contactSupportLink + " with your OrderID if you believe this to be incorrect.";
719
+ premsg = "Sorry! Your license key is invalid for this domain</br>Please ".concat(contactSupportLink, " with your OrderID if you believe this to be incorrect.");
708
720
  else
709
- premsg = "Sorry! Your license key appears to be invalid</br>Please " + contactSupportLink + " with your OrderID if you believe this to be incorrect.";
710
- postMsg = "Instructions can be seen at " + licensingLink;
721
+ premsg = "Sorry! Your license key appears to be invalid</br>Please ".concat(contactSupportLink, " with your OrderID if you believe this to be incorrect.");
722
+ postMsg = "Instructions can be seen at ".concat(licensingLink);
711
723
  }
712
724
  else if (licenseType === licensingClasses_1.LicenseType.Invalid_Developer) {
713
725
  premsg = "Sorry! You need a developer license to use SciChart on a domain not included in your runtime key.";
714
- postMsg = "Instructions can be seen at " + licensingLink + "</br>\n Please " + contactSupportLink + " with your OrderID if you are experiencing issues.";
726
+ postMsg = "Instructions can be seen at ".concat(licensingLink, "</br>\n Please ").concat(contactSupportLink, " with your OrderID if you are experiencing issues.");
715
727
  }
716
728
  else if (licenseType === licensingClasses_1.LicenseType.Requres_Validation) {
717
729
  if (isDev) {
@@ -720,18 +732,22 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
720
732
  else {
721
733
  premsg = "This runtime key must be validated by a server side key.";
722
734
  }
723
- postMsg = "Instructions can be seen at " + licensingLink + "</br>\n Please " + contactSupportLink + " with your OrderID if you are experiencing issues.";
735
+ postMsg = "Instructions can be seen at ".concat(licensingLink, "</br>\n Please ").concat(contactSupportLink, " with your OrderID if you are experiencing issues.");
724
736
  }
725
737
  else if (licenseType === licensingClasses_1.LicenseType.Subscription_Expired) {
726
738
  premsg = "Sorry! Your support subscription has expired.<br>";
727
- postMsg = "Please " + contactSupportLink + " us if you would like to renew your subscription.";
739
+ postMsg = "Please ".concat(contactSupportLink, " us if you would like to renew your subscription.");
728
740
  }
729
- else if (licenseType === licensingClasses_1.LicenseType.Trial_Expired) {
741
+ else if (licenseType === licensingClasses_1.LicenseType.Trial_Expired && daysRemaining < 1) {
730
742
  premsg = "Sorry! Your trial has expired.";
731
- postMsg = "Please " + contactSupportLink + " if you require an extension.";
743
+ postMsg = "Please ".concat(contactSupportLink, " if you require an extension.");
744
+ }
745
+ else if (licenseType === licensingClasses_1.LicenseType.Trial_Expired && daysRemaining > 1) {
746
+ premsg = "This version is too old to trial.";
747
+ postMsg = "Please ".concat(contactSupportLink, " if you require an extension.");
732
748
  }
733
749
  else if (licenseType === licensingClasses_1.LicenseType.Trial && daysRemaining <= 7) {
734
- premsg = "You have " + daysRemaining + " day" + (daysRemaining === 1 ? "" : "s") + " remaining of the trial.";
750
+ premsg = "You have ".concat(daysRemaining, " day").concat(daysRemaining === 1 ? "" : "s", " remaining of the trial.");
735
751
  }
736
752
  else if (licenseType === licensingClasses_1.LicenseType.Full || (licenseType === licensingClasses_1.LicenseType.Trial && daysRemaining > 7)) {
737
753
  licenseMessageDiv.style.display = "none";
@@ -768,6 +784,8 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
768
784
  else if (checkStatus === licensingClasses_1.LicenseCheckStatus.DevKeyInRuntimeKey)
769
785
  chartmsg = "<br><u>You have set a developer key as a runtime key, which will not work on any other machine. Click for more information</u>";
770
786
  // tslint:disable-next-line: max-line-length
787
+ else if (licenseType === licensingClasses_1.LicenseType.Trial_Expired && daysRemaining > 1)
788
+ chartmsg = "<br><u>Please update to the latest version of SciChart. Click for more information</u>.";
771
789
  else if (checkStatus === licensingClasses_1.LicenseCheckStatus.NoLicenseInWizard &&
772
790
  licenseType === licensingClasses_1.LicenseType.Trial_Expired) {
773
791
  chartmsg = "<br><u>Please activate a serial key in the Licensing Wizard, or contact sales for an extension. Click for more information</u>.";
@@ -808,10 +826,11 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
808
826
  });
809
827
  }
810
828
  };
811
- exports.updateLicenseDisplay = function (licenseInfo, sciChartSurface, is2D, applyToOther) { return licenseDependencies.updateLicenseDisplay(licenseInfo, sciChartSurface, is2D, applyToOther); };
829
+ var updateLicenseDisplay = function (licenseInfo, sciChartSurface, is2D, applyToOther) { return licenseDependencies.updateLicenseDisplay(licenseInfo, sciChartSurface, is2D, applyToOther); };
830
+ exports.updateLicenseDisplay = updateLicenseDisplay;
812
831
  exports.licenseManager = {
813
- setRuntimeLicenseKey: function (value) { return exports.setRuntimeLicenseKey(value); },
814
- setLicenseCallback: function (callback) { return exports.setLicenseCallback(callback); },
832
+ setRuntimeLicenseKey: function (value) { return (0, exports.setRuntimeLicenseKey)(value); },
833
+ setLicenseCallback: function (callback) { return (0, exports.setLicenseCallback)(callback); },
815
834
  setServerLicenseEndpoint: function (value) { return setServerLicenseEndpoint(value); },
816
835
  applyLicense2D: function (licenseContext, sciChartSurface, isSingle) {
817
836
  return applyLicense2D(licenseContext, sciChartSurface, isSingle);
@@ -27,7 +27,7 @@ var DefaultSciChartLoader = /** @class */ (function () {
27
27
  loaderContainerDiv.style.height = "100%";
28
28
  loaderContainerDiv.style.width = "100%";
29
29
  var loaderDiv = document.createElement("div");
30
- var spinnerChunk = "<div><span style=\"background: " + theme.loadingAnimationForeground + "\"/></div>";
30
+ var spinnerChunk = "<div><span style=\"background: ".concat(theme.loadingAnimationForeground, "\"/></div>");
31
31
  loaderDiv.innerHTML = spinnerChunk.repeat(8);
32
32
  loaderDiv.classList.add("scichart_loader");
33
33
  loaderContainerDiv.appendChild(loaderDiv);
@@ -9,7 +9,7 @@ var ECanvasType;
9
9
  ECanvasType[ECanvasType["canvas2D"] = 1] = "canvas2D";
10
10
  ECanvasType[ECanvasType["svg"] = 2] = "svg";
11
11
  })(ECanvasType || (ECanvasType = {}));
12
- var getCanvas2dId = function (divElementId) { return divElementId + "_2D"; };
12
+ var getCanvas2dId = function (divElementId) { return "".concat(divElementId, "_2D"); };
13
13
  var getCanvasSizes = function (divWidth, divHeight, maxHeight, aspectWidth, aspectHeight) {
14
14
  if (aspectWidth === void 0) { aspectWidth = 0; }
15
15
  if (aspectHeight === void 0) { aspectHeight = 0; }
@@ -38,12 +38,12 @@ var getCanvasSizes = function (divWidth, divHeight, maxHeight, aspectWidth, aspe
38
38
  }
39
39
  };
40
40
  var getChartRootDomElement = function (divElementId) {
41
- var chartRoot = document.querySelector("#" + divElementId);
41
+ var chartRoot = document.querySelector("#".concat(divElementId));
42
42
  if (!chartRoot) {
43
- throw new Error("Check div element with id \"" + divElementId + "\" exists");
43
+ throw new Error("Check div element with id \"".concat(divElementId, "\" exists"));
44
44
  }
45
45
  if (chartRoot.nodeName.toLowerCase() !== "div") {
46
- throw new Error("Element with id \"" + divElementId + "\" should be of type div");
46
+ throw new Error("Element with id \"".concat(divElementId, "\" should be of type div"));
47
47
  }
48
48
  return chartRoot;
49
49
  };
@@ -81,7 +81,7 @@ var initCanvas = function (divElementId, aspectWidth, aspectHeight, activeCanvas
81
81
  if (activeCanvas === ECanvasType.canvasWebGL) {
82
82
  // WebGL Canvas
83
83
  canvasWebGL = document.createElement("canvas");
84
- canvasWebGL.id = divElementId + "_WebGL";
84
+ canvasWebGL.id = "".concat(divElementId, "_WebGL");
85
85
  canvasWebGL.style.position = "absolute";
86
86
  canvasWebGL.style.display = "block";
87
87
  var gl = WebGlHelper_1.WebGlHelper.getContext(canvasWebGL, {
@@ -108,7 +108,7 @@ var initCanvas = function (divElementId, aspectWidth, aspectHeight, activeCanvas
108
108
  canvas2D.onselectstart = function () { return false; };
109
109
  // SVG Root Element
110
110
  var svgRootElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
111
- svgRootElement.id = divElementId + "_SVG";
111
+ svgRootElement.id = "".concat(divElementId, "_SVG");
112
112
  svgRootElement.setAttribute("width", width.toString());
113
113
  svgRootElement.setAttribute("height", height.toString());
114
114
  svgRootElement.setAttribute("role", "img");
@@ -121,7 +121,7 @@ var initCanvas = function (divElementId, aspectWidth, aspectHeight, activeCanvas
121
121
  chartRoot.appendChild(svgRootElement);
122
122
  // SVG Adorner Layer
123
123
  var svgAdornerLayer = document.createElementNS("http://www.w3.org/2000/svg", "svg");
124
- svgAdornerLayer.id = divElementId + "_Adorner";
124
+ svgAdornerLayer.id = "".concat(divElementId, "_Adorner");
125
125
  svgAdornerLayer.setAttribute("width", width.toString());
126
126
  svgAdornerLayer.setAttribute("height", height.toString());
127
127
  svgAdornerLayer.setAttribute("role", "img");
@@ -132,9 +132,9 @@ var initCanvas = function (divElementId, aspectWidth, aspectHeight, activeCanvas
132
132
  chartRoot.appendChild(svgAdornerLayer);
133
133
  // Root Div Element
134
134
  var divRootElement = document.createElement("div");
135
- divRootElement.id = divElementId + "_div";
135
+ divRootElement.id = "".concat(divElementId, "_div");
136
136
  divRootElement.style.width = "100%";
137
- divRootElement.style.height = height + "px";
137
+ divRootElement.style.height = "".concat(height, "px");
138
138
  divRootElement.style.position = "relative";
139
139
  divRootElement.style.pointerEvents = "none";
140
140
  divRootElement.style.textAlign = "center";
@@ -216,12 +216,12 @@ var subscribeToResize = function (chartRoot, aspect, sciChartSurface) {
216
216
  * @param divElementId
217
217
  */
218
218
  var checkChartDivExists = function (divElementId) {
219
- var numberOfElements = document.querySelectorAll("[id=" + divElementId + "]").length;
219
+ var numberOfElements = document.querySelectorAll("[id=".concat(divElementId, "]")).length;
220
220
  if (numberOfElements > 1) {
221
- console.error("Please provide a unique ID for each chart div element, \"" + divElementId + "\" it is not a unique identifier");
221
+ console.error("Please provide a unique ID for each chart div element, \"".concat(divElementId, "\" it is not a unique identifier"));
222
222
  }
223
223
  else if (numberOfElements === 0) {
224
- console.error("Chart div element with the ID \"" + divElementId + "\" is not present in the DOM");
224
+ console.error("Chart div element with the ID \"".concat(divElementId, "\" is not present in the DOM"));
225
225
  }
226
226
  };
227
227
  var sciChartInitCommon = {