scichart 2.2.2417 → 3.0.0-beta.230

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 (394) hide show
  1. package/Builder/buildDataSeries.d.ts +16 -1
  2. package/Builder/buildDataSeries.js +24 -1
  3. package/Builder/buildSeries.d.ts +60 -3
  4. package/Builder/buildSeries.js +28 -1
  5. package/Builder/buildSurface.d.ts +28 -2
  6. package/Builder/buildSurface.js +53 -31
  7. package/Builder/chartBuilder.d.ts +20 -7
  8. package/Builder/chartBuilder.js +37 -3
  9. package/Charting/ChartModifiers/ChartModifierBase.d.ts +21 -0
  10. package/Charting/ChartModifiers/ChartModifierBase.js +12 -0
  11. package/Charting/ChartModifiers/ChartModifierBase2D.js +2 -1
  12. package/Charting/ChartModifiers/CursorModifier.d.ts +92 -19
  13. package/Charting/ChartModifiers/CursorModifier.js +147 -58
  14. package/Charting/ChartModifiers/DataPointSelectionModifier.js +2 -1
  15. package/Charting/ChartModifiers/LegendModifier.js +2 -1
  16. package/Charting/ChartModifiers/ModifierMouseArgs.d.ts +6 -1
  17. package/Charting/ChartModifiers/ModifierMouseArgs.js +13 -3
  18. package/Charting/ChartModifiers/MouseWheelZoomModifier.d.ts +2 -2
  19. package/Charting/ChartModifiers/MouseWheelZoomModifier.js +16 -4
  20. package/Charting/ChartModifiers/OverviewRangeSelectionModifier.d.ts +2 -1
  21. package/Charting/ChartModifiers/OverviewRangeSelectionModifier.js +8 -4
  22. package/Charting/ChartModifiers/PinchZoomModifier.js +2 -1
  23. package/Charting/ChartModifiers/RolloverModifier.d.ts +43 -21
  24. package/Charting/ChartModifiers/RolloverModifier.js +48 -29
  25. package/Charting/ChartModifiers/RubberBandXyZoomModifier.d.ts +9 -6
  26. package/Charting/ChartModifiers/RubberBandXyZoomModifier.js +10 -8
  27. package/Charting/ChartModifiers/SeriesSelectionModifier.js +2 -1
  28. package/Charting/ChartModifiers/XAxisDragModifier.d.ts +1 -1
  29. package/Charting/ChartModifiers/XAxisDragModifier.js +2 -1
  30. package/Charting/ChartModifiers/YAxisDragModifier.d.ts +1 -1
  31. package/Charting/ChartModifiers/YAxisDragModifier.js +2 -1
  32. package/Charting/ChartModifiers/ZoomExtentsModifier.js +2 -1
  33. package/Charting/ChartModifiers/ZoomPanModifier.js +2 -1
  34. package/Charting/ChartModifiers/constants.d.ts +3 -1
  35. package/Charting/ChartModifiers/constants.js +2 -0
  36. package/Charting/Drawing/BatchRenderContext.d.ts +6 -0
  37. package/Charting/Drawing/BatchRenderContext.js +40 -0
  38. package/Charting/Drawing/RenderSurface.d.ts +2 -1
  39. package/Charting/Drawing/RenderSurface.js +3 -2
  40. package/Charting/Drawing/WebGlRenderContext2D.d.ts +19 -4
  41. package/Charting/Drawing/WebGlRenderContext2D.js +70 -41
  42. package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.js +2 -1
  43. package/Charting/LayoutManager/BottomAlignedInnerAxisLayoutStrategy.js +1 -1
  44. package/Charting/LayoutManager/CentralAxesLayoutManager.js +2 -1
  45. package/Charting/LayoutManager/LayoutManager.d.ts +2 -1
  46. package/Charting/LayoutManager/LayoutManager.js +6 -5
  47. package/Charting/LayoutManager/LeftAlignedInnerAxisLayoutStrategy.js +1 -1
  48. package/Charting/LayoutManager/RightAlignedInnerAxisLayoutStrategy.js +1 -1
  49. package/Charting/LayoutManager/TopAlignedInnerAxisLayoutStrategy.js +1 -1
  50. package/Charting/Model/BaseDataSeries.d.ts +10 -1
  51. package/Charting/Model/BaseDataSeries.js +9 -8
  52. package/Charting/Model/BaseHeatmapDataSeries.d.ts +18 -5
  53. package/Charting/Model/BaseHeatmapDataSeries.js +21 -13
  54. package/Charting/Model/ChartData/SeriesInfo.d.ts +6 -0
  55. package/Charting/Model/ChartData/SeriesInfo.js +5 -0
  56. package/Charting/Model/ChartData/XyySeriesInfo.d.ts +2 -0
  57. package/Charting/Model/ChartData/XyySeriesInfo.js +2 -0
  58. package/Charting/Model/DataDistributionCalculator/DataDistributionCalculator.js +4 -3
  59. package/Charting/Model/Filters/HlcCustomFilter.js +12 -9
  60. package/Charting/Model/Filters/HlcFilterBase.js +2 -1
  61. package/Charting/Model/Filters/HlcScaleOffsetFilter.js +2 -1
  62. package/Charting/Model/Filters/OhlcCustomFilter.js +12 -9
  63. package/Charting/Model/Filters/OhlcScaleOffsetFilter.js +2 -1
  64. package/Charting/Model/Filters/XyCustomFilter.js +12 -9
  65. package/Charting/Model/Filters/XyFilterBase.d.ts +14 -5
  66. package/Charting/Model/Filters/XyFilterBase.js +47 -15
  67. package/Charting/Model/Filters/XyMovingAverageFilter.js +2 -1
  68. package/Charting/Model/Filters/XyRatioFilter.js +2 -1
  69. package/Charting/Model/Filters/XyScaleOffsetFilter.js +2 -1
  70. package/Charting/Model/Filters/XyyCustomFilter.js +12 -9
  71. package/Charting/Model/Filters/XyyFilterBase.js +2 -1
  72. package/Charting/Model/Filters/XyyScaleOffsetFilter.js +2 -1
  73. package/Charting/Model/Filters/XyzCustomFilter.js +12 -9
  74. package/Charting/Model/Filters/XyzFilterBase.js +2 -1
  75. package/Charting/Model/Filters/XyzScaleOffsetFilter.js +2 -1
  76. package/Charting/Model/IDataSeries.d.ts +9 -1
  77. package/Charting/Model/IDataSeries.js +8 -0
  78. package/Charting/Model/NonUniformHeatmapDataSeries.d.ts +112 -0
  79. package/Charting/Model/NonUniformHeatmapDataSeries.js +261 -0
  80. package/Charting/Model/PaletteFactory.d.ts +40 -4
  81. package/Charting/Model/PaletteFactory.js +37 -11
  82. package/Charting/Model/XyTextDataSeries.d.ts +121 -0
  83. package/Charting/Model/XyTextDataSeries.js +274 -0
  84. package/Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase.d.ts +1 -1
  85. package/Charting/Numerics/Resamplers/ExtremeResamplerHelper.js +1 -1
  86. package/Charting/Services/RenderPassData.d.ts +15 -5
  87. package/Charting/Services/RenderPassData.js +27 -5
  88. package/Charting/Services/SciChartRenderer.d.ts +2 -1
  89. package/Charting/Services/SciChartRenderer.js +91 -29
  90. package/Charting/Themes/IThemeProvider.d.ts +61 -0
  91. package/Charting/Themes/IThemeProvider.js +67 -1
  92. package/Charting/Themes/SciChartJSDarkTheme.d.ts +4 -0
  93. package/Charting/Themes/SciChartJSDarkTheme.js +6 -2
  94. package/Charting/Themes/SciChartJSDarkv2Theme.js +3 -0
  95. package/Charting/Themes/SciChartJSLightTheme.d.ts +8 -0
  96. package/Charting/Themes/SciChartJSLightTheme.js +8 -0
  97. package/Charting/Themes/SciChartJsNavyTheme.d.ts +10 -0
  98. package/Charting/Themes/SciChartJsNavyTheme.js +49 -0
  99. package/Charting/Visuals/Annotations/AdornerLayer.js +4 -8
  100. package/Charting/Visuals/Annotations/AnnotationBase.d.ts +80 -7
  101. package/Charting/Visuals/Annotations/AnnotationBase.js +238 -28
  102. package/Charting/Visuals/Annotations/AnnotationClickEventArgs.d.ts +11 -0
  103. package/Charting/Visuals/Annotations/AnnotationClickEventArgs.js +12 -0
  104. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +1 -0
  105. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +18 -19
  106. package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -0
  107. package/Charting/Visuals/Annotations/BoxAnnotation.js +69 -67
  108. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +2 -2
  109. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +20 -20
  110. package/Charting/Visuals/Annotations/CustomAnnotation.d.ts +1 -1
  111. package/Charting/Visuals/Annotations/CustomAnnotation.js +3 -2
  112. package/Charting/Visuals/Annotations/HorizontalLineAnnotation.js +6 -3
  113. package/Charting/Visuals/Annotations/IAdornerProvider.d.ts +12 -0
  114. package/Charting/Visuals/Annotations/IAnnotation.d.ts +9 -0
  115. package/Charting/Visuals/Annotations/IAnnotation.js +9 -0
  116. package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -0
  117. package/Charting/Visuals/Annotations/LineAnnotation.js +29 -35
  118. package/Charting/Visuals/Annotations/NativeTextAnnotation.d.ts +193 -0
  119. package/Charting/Visuals/Annotations/NativeTextAnnotation.js +536 -0
  120. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.d.ts +4 -2
  121. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +19 -14
  122. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.d.ts +2 -2
  123. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.js +9 -8
  124. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.d.ts +2 -2
  125. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +6 -6
  126. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.d.ts +2 -2
  127. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +20 -21
  128. package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +13 -2
  129. package/Charting/Visuals/Annotations/SvgAnnotationBase.js +34 -42
  130. package/Charting/Visuals/Annotations/TextAnnotation.d.ts +2 -2
  131. package/Charting/Visuals/Annotations/TextAnnotation.js +41 -22
  132. package/Charting/Visuals/Annotations/VerticalLineAnnotation.js +6 -3
  133. package/Charting/Visuals/Annotations/annotationHelpers.d.ts +6 -6
  134. package/Charting/Visuals/Annotations/annotationHelpers.js +7 -6
  135. package/Charting/Visuals/Annotations/constants.d.ts +13 -1
  136. package/Charting/Visuals/Annotations/constants.js +12 -0
  137. package/Charting/Visuals/Axis/AxisBase2D.d.ts +24 -4
  138. package/Charting/Visuals/Axis/AxisBase2D.js +115 -38
  139. package/Charting/Visuals/Axis/AxisCore.d.ts +10 -5
  140. package/Charting/Visuals/Axis/AxisCore.js +11 -10
  141. package/Charting/Visuals/Axis/AxisRenderer.js +114 -20
  142. package/Charting/Visuals/Axis/CategoryAxis.js +2 -1
  143. package/Charting/Visuals/Axis/CategoryAxisBase.d.ts +15 -15
  144. package/Charting/Visuals/Axis/CategoryAxisBase.js +14 -12
  145. package/Charting/Visuals/Axis/DateTimeNumericAxis.js +2 -1
  146. package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +2 -1
  147. package/Charting/Visuals/Axis/LabelProvider/DateLabelProvider.js +2 -1
  148. package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +2 -0
  149. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +14 -0
  150. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +140 -33
  151. package/Charting/Visuals/Axis/LabelProvider/LogarithmicLabelProvider.js +2 -1
  152. package/Charting/Visuals/Axis/LabelProvider/NumericLabelProvider.js +2 -1
  153. package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.js +2 -1
  154. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.d.ts +31 -1
  155. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +64 -42
  156. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.d.ts +2 -2
  157. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.js +16 -19
  158. package/Charting/Visuals/Axis/LogarithmicAxis.js +9 -6
  159. package/Charting/Visuals/Axis/NumericAxis.js +3 -3
  160. package/Charting/Visuals/Axis/constants.d.ts +1 -0
  161. package/Charting/Visuals/Axis/constants.js +1 -0
  162. package/Charting/Visuals/HeatmapLegend.d.ts +95 -0
  163. package/Charting/Visuals/HeatmapLegend.js +192 -0
  164. package/Charting/Visuals/Helpers/NativeObject.d.ts +15 -2
  165. package/Charting/Visuals/Helpers/NativeObject.js +72 -6
  166. package/Charting/Visuals/I2DSurfaceOptions.d.ts +46 -0
  167. package/Charting/Visuals/PointMarkers/BasePointMarker.d.ts +5 -0
  168. package/Charting/Visuals/PointMarkers/BasePointMarker.js +28 -0
  169. package/Charting/Visuals/PointMarkers/IPointMarker.d.ts +8 -0
  170. package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +2 -1
  171. package/Charting/Visuals/RenderableSeries/Animations/BandAnimationStyle.js +2 -1
  172. package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +2 -1
  173. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.js +2 -1
  174. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimationStyle.js +2 -1
  175. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +2 -1
  176. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimationStyle.js +2 -1
  177. package/Charting/Visuals/RenderableSeries/Animations/CustomPointMarkerStyle.js +2 -1
  178. package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +2 -1
  179. package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +2 -1
  180. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +2 -1
  181. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimationStyle.js +2 -1
  182. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +2 -1
  183. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimationStyle.js +2 -1
  184. package/Charting/Visuals/RenderableSeries/Animations/PointMarkerStyle.js +2 -1
  185. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +2 -1
  186. package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +2 -1
  187. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.d.ts +8 -2
  188. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +3 -3
  189. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +2 -1
  190. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.d.ts +7 -0
  191. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +42 -10
  192. package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.d.ts +128 -0
  193. package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.js +201 -0
  194. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.d.ts +26 -0
  195. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.js +39 -3
  196. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.d.ts +7 -0
  197. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.js +17 -2
  198. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.d.ts +2 -0
  199. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +15 -2
  200. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +10 -0
  201. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +93 -17
  202. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.d.ts +8 -1
  203. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +21 -1
  204. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.d.ts +1 -0
  205. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +4 -0
  206. package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.d.ts +43 -0
  207. package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.js +142 -0
  208. package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.d.ts +92 -0
  209. package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.js +129 -0
  210. package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.d.ts +17 -0
  211. package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.js +62 -0
  212. package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.d.ts +47 -0
  213. package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.js +125 -0
  214. package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.d.ts +71 -0
  215. package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.js +221 -0
  216. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.d.ts +5 -0
  217. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.js +2 -0
  218. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.d.ts +208 -0
  219. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.js +410 -0
  220. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.d.ts +40 -0
  221. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +141 -0
  222. package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.d.ts +63 -0
  223. package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.js +198 -0
  224. package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.d.ts +35 -0
  225. package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.js +92 -0
  226. package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.d.ts +12 -0
  227. package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.js +134 -0
  228. package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.d.ts +56 -0
  229. package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.js +167 -0
  230. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.d.ts +0 -1
  231. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +1 -2
  232. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.d.ts +5 -2
  233. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +47 -40
  234. package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +1 -1
  235. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.d.ts +1 -0
  236. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +18 -5
  237. package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.d.ts +0 -1
  238. package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.js +14 -27
  239. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.d.ts +17 -4
  240. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +34 -11
  241. package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.d.ts +36 -0
  242. package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.js +493 -0
  243. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.d.ts +5 -2
  244. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +8 -5
  245. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +4 -4
  246. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.d.ts +3 -0
  247. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +15 -4
  248. package/Charting/Visuals/RenderableSeries/FastBandRenderableSeries.js +2 -1
  249. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.d.ts +21 -0
  250. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +40 -4
  251. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.d.ts +2 -0
  252. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.js +18 -3
  253. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.d.ts +36 -2
  254. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.js +77 -8
  255. package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.js +2 -1
  256. package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.d.ts +7 -0
  257. package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.js +16 -4
  258. package/Charting/Visuals/RenderableSeries/FastLineRenderableSeries.js +2 -1
  259. package/Charting/Visuals/RenderableSeries/FastMountainRenderableSeries.js +2 -1
  260. package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.js +2 -1
  261. package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.d.ts +17 -0
  262. package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.js +45 -0
  263. package/Charting/Visuals/RenderableSeries/HeatmapColorMap.js +3 -2
  264. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +35 -5
  265. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +17 -1
  266. package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +8 -0
  267. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +7 -1
  268. package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.d.ts +20 -0
  269. package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.js +86 -0
  270. package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.d.ts +6 -0
  271. package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.js +56 -0
  272. package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +1 -1
  273. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +7 -1
  274. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +34 -2
  275. package/Charting/Visuals/RenderableSeries/IBaseRenderableSeriesOptions.d.ts +6 -1
  276. package/Charting/Visuals/RenderableSeries/IRenderableSeries.d.ts +12 -0
  277. package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.d.ts +74 -0
  278. package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.js +99 -0
  279. package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.d.ts +7 -2
  280. package/Charting/Visuals/RenderableSeries/ShaderEffect.js +2 -2
  281. package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +2 -1
  282. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.d.ts +2 -3
  283. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +2 -1
  284. package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +2 -1
  285. package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +2 -1
  286. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.d.ts +3 -0
  287. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +13 -2
  288. package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +4 -1
  289. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.d.ts +7 -0
  290. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +33 -9
  291. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.d.ts +5 -0
  292. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.js +7 -1
  293. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.d.ts +2 -75
  294. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +8 -130
  295. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.d.ts +5 -0
  296. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +7 -1
  297. package/Charting/Visuals/RenderableSeries/constants.d.ts +5 -1
  298. package/Charting/Visuals/RenderableSeries/constants.js +4 -0
  299. package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +3 -3
  300. package/Charting/Visuals/SciChartDefaults.d.ts +4 -0
  301. package/Charting/Visuals/SciChartDefaults.js +4 -0
  302. package/Charting/Visuals/SciChartOverview.js +5 -3
  303. package/Charting/Visuals/SciChartPieSurface/PieSegment/IPieSegment.d.ts +4 -0
  304. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.d.ts +13 -0
  305. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +22 -4
  306. package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.d.ts +2 -1
  307. package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.js +1 -0
  308. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.d.ts +5 -0
  309. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +17 -19
  310. package/Charting/Visuals/SciChartSurface.d.ts +238 -7
  311. package/Charting/Visuals/SciChartSurface.js +800 -28
  312. package/Charting/Visuals/SciChartSurfaceBase.d.ts +16 -1
  313. package/Charting/Visuals/SciChartSurfaceBase.js +34 -2
  314. package/Charting/Visuals/TextureManager/CanvasTexture.js +1 -1
  315. package/Charting/Visuals/TextureManager/DpiHelper.js +3 -7
  316. package/Charting/Visuals/TextureManager/TextureManager.d.ts +11 -0
  317. package/Charting/Visuals/TextureManager/TextureManager.js +37 -1
  318. package/Charting/Visuals/createMaster.js +7 -10
  319. package/Charting/Visuals/createSingle.js +2 -0
  320. package/Charting/Visuals/licenseManager2D.js +9 -9
  321. package/Charting/Visuals/sciChartInitCommon.js +16 -12
  322. package/Charting3D/CameraController.d.ts +5 -0
  323. package/Charting3D/CameraController.js +6 -0
  324. package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +2 -1
  325. package/Charting3D/Visuals/Axis/AxisBase3D.js +7 -5
  326. package/Charting3D/Visuals/Axis/NumericAxis3D.js +2 -1
  327. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.d.ts +4 -0
  328. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +7 -0
  329. package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +6 -4
  330. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.d.ts +7 -2
  331. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +3 -2
  332. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.d.ts +0 -5
  333. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.js +12 -11
  334. package/Charting3D/Visuals/SciChart3DSurface.d.ts +2 -2
  335. package/Charting3D/Visuals/SciChart3DSurface.js +18 -11
  336. package/Charting3D/Visuals/createMaster3d.js +10 -18
  337. package/Charting3D/Visuals/createSingle3d.js +12 -10
  338. package/Core/Animations/GenericAnimation.d.ts +2 -0
  339. package/Core/Animations/GenericAnimation.js +3 -0
  340. package/Core/Animations/NumberRangeAnimator.js +7 -2
  341. package/Core/BuildStamp.d.ts +1 -1
  342. package/Core/BuildStamp.js +2 -2
  343. package/Core/Mouse/MouseManager.d.ts +20 -0
  344. package/Core/Mouse/MouseManager.js +201 -30
  345. package/Core/Telemetry.js +1 -1
  346. package/README.md +91 -403
  347. package/_wasm/scichart.browser.js +1 -1
  348. package/_wasm/scichart2d.data +0 -0
  349. package/_wasm/scichart2d.js +280 -267
  350. package/_wasm/scichart2d.wasm +0 -0
  351. package/_wasm/scichart3d.data +0 -0
  352. package/_wasm/scichart3d.js +280 -268
  353. package/_wasm/scichart3d.wasm +0 -0
  354. package/constants/performanceWarnings.d.ts +2 -0
  355. package/constants/performanceWarnings.js +3 -1
  356. package/package.json +2 -2
  357. package/types/AutoColorMode.d.ts +9 -0
  358. package/types/AutoColorMode.js +13 -0
  359. package/types/BaseType.d.ts +3 -1
  360. package/types/BaseType.js +2 -0
  361. package/types/DataLabelProviderType.d.ts +15 -0
  362. package/types/DataLabelProviderType.js +19 -0
  363. package/types/DataLabelSkipMode.d.ts +21 -0
  364. package/types/DataLabelSkipMode.js +25 -0
  365. package/types/DefaultRenderLayer.d.ts +10 -0
  366. package/types/DefaultRenderLayer.js +14 -0
  367. package/types/MousePosition.d.ts +1 -1
  368. package/types/MousePosition.js +1 -1
  369. package/types/SeriesType.d.ts +7 -1
  370. package/types/SeriesType.js +6 -0
  371. package/types/SvgClippingMode.d.ts +17 -0
  372. package/types/SvgClippingMode.js +21 -0
  373. package/types/TDataLabelStyle.d.ts +16 -0
  374. package/types/TDataLabelStyle.js +2 -0
  375. package/types/TSciChart.d.ts +214 -118
  376. package/types/TSciChart3D.d.ts +104 -70
  377. package/types/TextPosition.d.ts +17 -0
  378. package/types/TextPosition.js +39 -0
  379. package/types/ThemeProviderType.d.ts +3 -1
  380. package/types/ThemeProviderType.js +2 -0
  381. package/utils/ccall/appendDoubleVectorFromJsArray.d.ts +10 -1
  382. package/utils/ccall/appendDoubleVectorFromJsArray.js +24 -1
  383. package/utils/memoize.d.ts +1 -0
  384. package/utils/memoize.js +26 -0
  385. package/utils/number.d.ts +1 -0
  386. package/utils/number.js +5 -1
  387. package/utils/parseColor.d.ts +2 -0
  388. package/utils/parseColor.js +3 -3
  389. package/utils/text.d.ts +5 -0
  390. package/utils/text.js +48 -0
  391. package/utils/translate.d.ts +12 -2
  392. package/utils/translate.js +67 -11
  393. package/utils/zeroArray2D.d.ts +5 -0
  394. package/utils/zeroArray2D.js +5 -0
@@ -28,6 +28,11 @@ export declare type TSciChartConfig = {
28
28
  testWasm?: TSciChart | TSciChart3D;
29
29
  };
30
30
  export interface ISurfaceOptionsBase {
31
+ /**
32
+ * Allows you to set custom Id for the surface;
33
+ * @remarks If skipped the Id will be auto-generated
34
+ */
35
+ id?: string;
31
36
  /**
32
37
  * Optional - The theme applied to the {@link SciChartSurface} on startup
33
38
  * @remarks see {@link IThemeProvider} for properties which can affect SciChart theme. Two default
@@ -124,7 +129,6 @@ export declare abstract class SciChartSurfaceBase implements ISciChartSurfaceBas
124
129
  */
125
130
  static setLicenseCallback(callback: (queryString: string) => Promise<Response>): void;
126
131
  static resolveOptions(options: ISurfaceOptionsBase): ISurfaceOptionsBase;
127
- readonly id: string;
128
132
  /**
129
133
  * A propertyChanged EventHandler. See {@link EventHandler} for how to subscribe to and be
130
134
  * notified when a property changes on the {@link SciChartSurfaceBase}
@@ -176,8 +180,10 @@ export declare abstract class SciChartSurfaceBase implements ISciChartSurfaceBas
176
180
  protected isInitializedProperty: boolean;
177
181
  protected isDeletedProperty: boolean;
178
182
  protected backgroundProperty: string;
183
+ protected idProperty: string;
179
184
  protected widthAspect: number;
180
185
  protected heightAspect: number;
186
+ protected disableAspect: boolean;
181
187
  protected loaderJson: any;
182
188
  private readonly sharedWasmContext;
183
189
  private readonly suspendableIdProperty;
@@ -191,6 +197,14 @@ export declare abstract class SciChartSurfaceBase implements ISciChartSurfaceBas
191
197
  * @param canvases A list of {@link TSciChartSurfaceCanvases} to draw to
192
198
  */
193
199
  protected constructor(webAssemblyContext: TSciChart | TSciChart3D, canvases?: TSciChartSurfaceCanvases);
200
+ /**
201
+ * Gets or sets the SciChartSurface Id
202
+ */
203
+ get id(): string;
204
+ /**
205
+ * Gets or sets the SciChartSurface Id
206
+ */
207
+ set id(value: string);
194
208
  /**
195
209
  * Gets or sets the SciChartSurface Background as an HTML color code
196
210
  */
@@ -294,6 +308,7 @@ export declare abstract class SciChartSurfaceBase implements ISciChartSurfaceBas
294
308
  * @inheritDoc
295
309
  */
296
310
  onDpiChanged(args: TDpiChangedEventArgs): void;
311
+ get chartModifierGroups(): string[];
297
312
  protected applyOptions(options: I2DSurfaceOptions): void;
298
313
  /**
299
314
  * Detaches a {@link ChartModifierBase2D} from the {@link SciChartSurfaceBase}
@@ -11,6 +11,7 @@ var ObservableArray_1 = require("../../Core/ObservableArray");
11
11
  var PropertyChangedEventArgs_1 = require("../../Core/PropertyChangedEventArgs");
12
12
  var WebGlHelper_1 = require("../../Core/WebGlHelper");
13
13
  var BaseType_1 = require("../../types/BaseType");
14
+ var array_1 = require("../../utils/array");
14
15
  var guid_1 = require("../../utils/guid");
15
16
  var ChartModifierBase_1 = require("../ChartModifiers/ChartModifierBase");
16
17
  var SciChartJSDarkv2Theme_1 = require("../Themes/SciChartJSDarkv2Theme");
@@ -46,13 +47,14 @@ var SciChartSurfaceBase = /** @class */ (function () {
46
47
  * @param canvases A list of {@link TSciChartSurfaceCanvases} to draw to
47
48
  */
48
49
  function SciChartSurfaceBase(webAssemblyContext, canvases) {
49
- var _this = this;
50
50
  if (canvases === void 0) { canvases = {}; }
51
- this.id = (0, guid_1.generateGuid)();
51
+ var _this = this;
52
52
  this.themeProviderProperty = SciChartSurfaceBase.DEFAULT_THEME;
53
53
  this.previousThemeProviderProperty = SciChartSurfaceBase.DEFAULT_THEME;
54
54
  this.isInitializedProperty = false;
55
55
  this.isDeletedProperty = false;
56
+ this.backgroundProperty = SciChartSurfaceBase.DEFAULT_THEME.sciChartBackground;
57
+ this.idProperty = (0, guid_1.generateGuid)();
56
58
  this.suspendableIdProperty = (0, guid_1.generateGuid)();
57
59
  this.isAlphaEnabledProperty = true;
58
60
  this.deletables = [];
@@ -140,6 +142,22 @@ var SciChartSurfaceBase = /** @class */ (function () {
140
142
  }
141
143
  return options;
142
144
  };
145
+ Object.defineProperty(SciChartSurfaceBase.prototype, "id", {
146
+ /**
147
+ * Gets or sets the SciChartSurface Id
148
+ */
149
+ get: function () {
150
+ return this.idProperty;
151
+ },
152
+ /**
153
+ * Gets or sets the SciChartSurface Id
154
+ */
155
+ set: function (value) {
156
+ this.idProperty = value;
157
+ },
158
+ enumerable: false,
159
+ configurable: true
160
+ });
143
161
  Object.defineProperty(SciChartSurfaceBase.prototype, "background", {
144
162
  /**
145
163
  * Gets or sets the SciChartSurface Background as an HTML color code
@@ -334,9 +352,23 @@ var SciChartSurfaceBase = /** @class */ (function () {
334
352
  SciChartSurfaceBase.prototype.onDpiChanged = function (args) {
335
353
  this.invalidateElement();
336
354
  };
355
+ Object.defineProperty(SciChartSurfaceBase.prototype, "chartModifierGroups", {
356
+ get: function () {
357
+ var arr = this.chartModifiers
358
+ .asArray()
359
+ .filter(function (cm) { return cm.modifierGroup !== undefined; })
360
+ .map(function (el) { return el.modifierGroup; });
361
+ return (0, array_1.getUniqueValues)(arr);
362
+ },
363
+ enumerable: false,
364
+ configurable: true
365
+ });
337
366
  SciChartSurfaceBase.prototype.applyOptions = function (options) {
367
+ var _a;
368
+ this.idProperty = (_a = options === null || options === void 0 ? void 0 : options.id) !== null && _a !== void 0 ? _a : this.idProperty;
338
369
  this.widthAspect = options === null || options === void 0 ? void 0 : options.widthAspect;
339
370
  this.heightAspect = options === null || options === void 0 ? void 0 : options.heightAspect;
371
+ this.disableAspect = options === null || options === void 0 ? void 0 : options.disableAspect;
340
372
  };
341
373
  /**
342
374
  * Detaches a {@link ChartModifierBase2D} from the {@link SciChartSurfaceBase}
@@ -68,7 +68,7 @@ var CanvasTexture = /** @class */ (function () {
68
68
  * Get an HTML5 {@link CanvasRenderingContext2D} to draw on.
69
69
  */
70
70
  CanvasTexture.prototype.getContext = function () {
71
- return this.canvas.getContext("2d");
71
+ return this.canvas.getContext("2d", { willReadFrequently: true });
72
72
  };
73
73
  /**
74
74
  * Get the SciChart WebAssembly / WebGL {@link TSRTexture | Texture}
@@ -84,9 +84,6 @@ var DpiHelper = /** @class */ (function () {
84
84
  console.log("setWidth ".concat(canvas.id, " backBuffer=").concat(desiredWidth * DpiHelper.PIXEL_RATIO, " display=").concat(desiredWidth));
85
85
  }
86
86
  // https://www.khronos.org/webgl/wiki/HandlingHighDPI
87
- //
88
- // Display size set by style
89
- canvas.style.width = desiredWidth + "px";
90
87
  // Size of drawingbuffer is set by width, height
91
88
  canvas.width = desiredWidth * DpiHelper.PIXEL_RATIO;
92
89
  };
@@ -100,9 +97,6 @@ var DpiHelper = /** @class */ (function () {
100
97
  console.log("setHeight ".concat(canvas.id, " backBuffer=").concat(desiredHeight * DpiHelper.PIXEL_RATIO, " display=").concat(desiredHeight));
101
98
  }
102
99
  // https://www.khronos.org/webgl/wiki/HandlingHighDPI
103
- //
104
- // Display size set by style
105
- canvas.style.height = desiredHeight + "px";
106
100
  // Size of drawingbuffer is set by width, height
107
101
  canvas.height = desiredHeight * DpiHelper.PIXEL_RATIO;
108
102
  };
@@ -118,7 +112,9 @@ var DpiHelper = /** @class */ (function () {
118
112
  if (dpiScale === void 0) { dpiScale = DpiHelper.PIXEL_RATIO; }
119
113
  var dpiAdjusted = __assign({}, textStyle);
120
114
  dpiAdjusted.fontSize = Math.round(dpiAdjusted.fontSize * dpiScale);
121
- dpiAdjusted.padding = DpiHelper.adjustThickness(textStyle.padding, dpiScale);
115
+ if (textStyle.padding) {
116
+ dpiAdjusted.padding = DpiHelper.adjustThickness(textStyle.padding, dpiScale);
117
+ }
122
118
  return dpiAdjusted;
123
119
  };
124
120
  DpiHelper.adjustStrokeSize = function (gridLineStyle, dpiScale) {
@@ -14,6 +14,17 @@ export declare class TextureManager implements IDeletable {
14
14
  private ctx;
15
15
  constructor(webAssemblyContext: TSciChart);
16
16
  createSimpleTextTexture(text: string, textStyle: TTextStyle, backgroundColor?: string, displayVertically?: boolean, displayMirrored?: boolean, opacity?: number): TTextureObject;
17
+ /**
18
+ * Create a text texture supporting multiline and arbitrary rotation
19
+ * @param text
20
+ * @param textStyle
21
+ * @param rotation
22
+ * @param lineSpacing Expressed as a fraction of the font size. Default 1.1
23
+ * @param backgroundColor
24
+ * @param opacity
25
+ * @returns
26
+ */
27
+ createTextTextureNative(text: string[], textStyle: TTextStyle, rotation?: number, lineSpacing?: number, backgroundColor?: string, opacity?: number): TTextureObject;
17
28
  /**
18
29
  * Create a text texture supporting multiline and arbitrary rotation
19
30
  * @param text
@@ -5,6 +5,8 @@ var app_1 = require("../../../constants/app");
5
5
  var AxisAlignment_1 = require("../../../types/AxisAlignment");
6
6
  var LabelAlignment_1 = require("../../../types/LabelAlignment");
7
7
  var font_1 = require("../../../utils/font");
8
+ var parseColor_1 = require("../../../utils/parseColor");
9
+ var NativeObject_1 = require("../Helpers/NativeObject");
8
10
  var DpiHelper_1 = require("./DpiHelper");
9
11
  /** @ignore */
10
12
  var DEFAULT_HEIGHT = 1080;
@@ -21,7 +23,7 @@ var TextureManager = /** @class */ (function () {
21
23
  this.canvas = document.createElement("canvas");
22
24
  this.canvas.width = DEFAULT_WIDTH;
23
25
  this.canvas.height = DEFAULT_HEIGHT;
24
- this.ctx = this.canvas.getContext("2d");
26
+ this.ctx = this.canvas.getContext("2d", { willReadFrequently: true });
25
27
  }
26
28
  }
27
29
  TextureManager.prototype.createSimpleTextTexture = function (text, textStyle, backgroundColor, displayVertically, displayMirrored, opacity) {
@@ -36,6 +38,32 @@ var TextureManager = /** @class */ (function () {
36
38
  }
37
39
  return this.createTextTexture([text], textStyle, rotation, undefined, backgroundColor, opacity);
38
40
  };
41
+ /**
42
+ * Create a text texture supporting multiline and arbitrary rotation
43
+ * @param text
44
+ * @param textStyle
45
+ * @param rotation
46
+ * @param lineSpacing Expressed as a fraction of the font size. Default 1.1
47
+ * @param backgroundColor
48
+ * @param opacity
49
+ * @returns
50
+ */
51
+ TextureManager.prototype.createTextTextureNative = function (text, textStyle, rotation, lineSpacing, backgroundColor, opacity) {
52
+ var fontStyle = textStyle.fontStyle, fontWeight = textStyle.fontWeight, fontFamily = textStyle.fontFamily, fontSizePx = textStyle.fontSize, padding = textStyle.padding, alignment = textStyle.alignment, color = textStyle.color;
53
+ var nativeContext = this.webAssemblyContext.SCRTGetMainRenderContext2D();
54
+ // TODO support rotation, spacing and alignment
55
+ var fontKey = (0, NativeObject_1.getFontKey)(this.webAssemblyContext, { fontFamily: fontFamily, fontSize: fontSizePx !== null && fontSizePx !== void 0 ? fontSizePx : 12 });
56
+ var bgColor = backgroundColor ? (0, parseColor_1.parseColorToUIntArgb)(backgroundColor) : 0;
57
+ var bitmapTexture = nativeContext.CreateTextTextureColored(fontKey, text.join("\n"), (0, parseColor_1.parseColorToUIntArgb)(color), bgColor);
58
+ this.webAssemblyContext.SCRTSetTextureLinearSamplerEnabled(bitmapTexture, false);
59
+ var textureWidth = bitmapTexture.GetWidth();
60
+ var textureHeight = bitmapTexture.GetHeight();
61
+ return {
62
+ bitmapTexture: bitmapTexture,
63
+ textureWidth: textureWidth,
64
+ textureHeight: textureHeight
65
+ };
66
+ };
39
67
  /**
40
68
  * Create a text texture supporting multiline and arbitrary rotation
41
69
  * @param text
@@ -47,6 +75,9 @@ var TextureManager = /** @class */ (function () {
47
75
  * @returns
48
76
  */
49
77
  TextureManager.prototype.createTextTexture = function (text, textStyle, rotation, lineSpacing, backgroundColor, opacity) {
78
+ if (app_1.IS_TEST_ENV) {
79
+ return { bitmapTexture: undefined, textureWidth: 1, textureHeight: 1 };
80
+ }
50
81
  var fontStyle = textStyle.fontStyle, fontWeight = textStyle.fontWeight, fontFamily = textStyle.fontFamily, fontSizePx = textStyle.fontSize, padding = textStyle.padding, alignment = textStyle.alignment, color = textStyle.color;
51
82
  this.ctx.globalAlpha = opacity !== null && opacity !== void 0 ? opacity : 1;
52
83
  this.ctx.textBaseline = "top";
@@ -168,12 +199,15 @@ var TextureManager = /** @class */ (function () {
168
199
  return this.createTextureFromCtxBuffer(width, height);
169
200
  };
170
201
  TextureManager.prototype.getTextureContext = function (width, height) {
202
+ if (app_1.IS_TEST_ENV)
203
+ return undefined;
171
204
  if (width > this.canvas.width) {
172
205
  this.canvas.width = width;
173
206
  }
174
207
  if (height > this.canvas.height) {
175
208
  this.canvas.height = height;
176
209
  }
210
+ // TODO it's not clear if this is actually required, and it's slow.
177
211
  this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
178
212
  return this.ctx;
179
213
  };
@@ -263,6 +297,8 @@ exports.TextureManager = TextureManager;
263
297
  var measureTextHeight = function (fontSizePx) { return fontSizePx; };
264
298
  exports.measureTextHeight = measureTextHeight;
265
299
  var measureTextWidth = function (ctx, text) {
300
+ if (app_1.IS_TEST_ENV)
301
+ return 1;
266
302
  var textMeasure = ctx.measureText(text);
267
303
  return Math.ceil(textMeasure.width);
268
304
  };
@@ -195,16 +195,6 @@ var createMaster = function () {
195
195
  if (dest) {
196
196
  dest.sciChartSurface.renderSurface.onRenderTimeElapsed();
197
197
  }
198
- // sciChartDestinations.forEach((dest, index) => {
199
- // const { canvasElementId, sciChartSurface } = dest;
200
- // const chart = wasmContext.SCRTGetGlobalSampleChartInterface();
201
- // if (chart.GetCurrentDestination()) {
202
- // const currDestID = chart.GetCurrentDestination().GetID();
203
- // if (currDestID === canvasElementId) {
204
- // (sciChartSurface as SciChartSurface).renderSurface.onRenderTimeElapsed();
205
- // }
206
- // }
207
- // });
208
198
  },
209
199
  Update: function (deltaTime) {
210
200
  // Logger.log("sciChartInitCommon.ts Update");
@@ -214,6 +204,8 @@ var createMaster = function () {
214
204
  }
215
205
  };
216
206
  var chartInitObj = wasmContext.SCRTSampleChartInterface.implement(chartInitializer);
207
+ var frameRenderer2D = new wasmContext.SCRTFrameRenderer2D();
208
+ chartInitObj.SetFrameRenderer(frameRenderer2D);
217
209
  wasmContext.SCRTSetGlobalSampleChartInterface(chartInitObj);
218
210
  /// create an object that native side can trigger the copy to from...
219
211
  var canvasCopyObj = wasmContext.SCRTCopyToDestinationInterface.implement({
@@ -221,6 +213,11 @@ var createMaster = function () {
221
213
  });
222
214
  wasmContext.SCRTSetGlobalCopyToDestinationInterface(canvasCopyObj);
223
215
  wasmContext.TSRSetDrawRequestsEnabled(true);
216
+ // SCJS-1321 fixes cutting 3d chart issue. 3D wasm and vice versa doesn't know about domMasterCanvas width/height
217
+ // when creating one 3d chart and one 2d chart on the same screen. So we tell the other wasm about existing master canvas size
218
+ if (SciChartSurfaceBase_1.SciChartSurfaceBase.domMasterCanvas) {
219
+ wasmContext.TSRSetMainWindowSize(SciChartSurfaceBase_1.SciChartSurfaceBase.domMasterCanvas.width, SciChartSurfaceBase_1.SciChartSurfaceBase.domMasterCanvas.height);
220
+ }
224
221
  // @ts-ignore
225
222
  wasmContext.callMain();
226
223
  })
@@ -86,6 +86,8 @@ var initDrawEngineSingleChart = function (wasmContext, canvases, resolve, theme)
86
86
  }
87
87
  };
88
88
  var chartInitObj = wasmContext.SCRTSampleChartInterface.implement(chartInitializer);
89
+ var frameRenderer2D = new wasmContext.SCRTFrameRenderer2D();
90
+ chartInitObj.SetFrameRenderer(frameRenderer2D);
89
91
  chartInitObj.SetFPSCounterEnabled(false);
90
92
  wasmContext.SCRTSetGlobalSampleChartInterface(chartInitObj);
91
93
  // @ts-ignore
@@ -311,6 +311,8 @@ var dolicenseChallenge = function (licenseContext, sciChartSurface) { return __a
311
311
  expirySeconds = setChallengeResponse(token, licenseContext);
312
312
  if (expirySeconds > 0) {
313
313
  key = (0, exports.getLicenseCookie)().key;
314
+ if (!key)
315
+ key = getRuntimeLicenseKey();
314
316
  timeNow = Math.floor(new Date().getTime() / 1000);
315
317
  setLicenseCookie(key, token, expirySeconds, timeNow);
316
318
  debug("License validated");
@@ -352,14 +354,13 @@ var dolicenseChallenge = function (licenseContext, sciChartSurface) { return __a
352
354
  checkStatus = licensingClasses_1.LicenseCheckStatus.NoLicense;
353
355
  licenseContext.SCRTCredentials.ResetRuntimeLicense();
354
356
  isRuntimeKey = false;
355
- (0, exports.applyLicense)(licenseContext, sciChartSurface);
356
- // licenseManager2dState.setIsDev(true);
357
- // checkStatus = LicenseCheckStatus.LookingForLicenseWizard;
358
- // getlicenseFromWizard();
359
- // if (licenseContext2D !== undefined) {
360
- // updateLicenseDisplay(getLicenseInfo(licenseContext2D), sciChartSurface2D, true, false);
361
- // }
362
- // callbacks3D.updateLicenseDisplay3D();
357
+ licenseManager2dState_1.licenseManager2dState.setIsDev(true);
358
+ checkStatus = licensingClasses_1.LicenseCheckStatus.LookingForLicenseWizard;
359
+ getlicenseFromWizard(licenseContext, sciChartSurface);
360
+ if (licenseContext2D !== undefined) {
361
+ (0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, false);
362
+ }
363
+ callbacks3D.updateLicenseDisplay3D();
363
364
  return [2 /*return*/];
364
365
  }
365
366
  // Failed to connect. Retry
@@ -528,7 +529,6 @@ var applyLicense = function (licenseContext, sciChartSurface) {
528
529
  }
529
530
  else if (checkStatus === licensingClasses_1.LicenseCheckStatus.NoLicense) {
530
531
  checkStatus = licensingClasses_1.LicenseCheckStatus.ValidatingDeveloperLicense;
531
- setLicenseCookie(licenseKey, "", 0, 0);
532
532
  dolicenseChallenge(licenseContext, sciChartSurface);
533
533
  }
534
534
  }
@@ -9,6 +9,7 @@ var ECanvasType;
9
9
  ECanvasType[ECanvasType["canvas2D"] = 1] = "canvas2D";
10
10
  ECanvasType[ECanvasType["svg"] = 2] = "svg";
11
11
  })(ECanvasType || (ECanvasType = {}));
12
+ var DEFAULT_ASPECT_RATIO = 1.5;
12
13
  var getCanvas2dId = function (divElementId) { return "".concat(divElementId, "_2D"); };
13
14
  var getCanvasSizes = function (divWidth, divHeight, maxHeight, aspectWidth, aspectHeight) {
14
15
  if (aspectWidth === void 0) { aspectWidth = 0; }
@@ -22,7 +23,7 @@ var getCanvasSizes = function (divWidth, divHeight, maxHeight, aspectWidth, aspe
22
23
  aspectRatio = undefined;
23
24
  }
24
25
  else {
25
- aspectRatio = 3 / 2;
26
+ aspectRatio = DEFAULT_ASPECT_RATIO;
26
27
  }
27
28
  var width = Math.round(divWidth || 600);
28
29
  if (aspectRatio) {
@@ -82,6 +83,11 @@ var initCanvas = function (divElement, aspectWidth, aspectHeight, activeCanvas,
82
83
  var divWidth = chartRoot.offsetWidth, divHeight = chartRoot.offsetHeight;
83
84
  var maxHeight = getMaxHeight(chartRoot);
84
85
  var _a = getCanvasSizes(divWidth, divHeight, maxHeight, aspectWidth, aspectHeight), width = _a.width, height = _a.height, aspectRatio = _a.aspectRatio;
86
+ // if aspect ration is defined we use is to calc height
87
+ if (!disableAspect && aspectRatio) {
88
+ // @ts-ignore
89
+ chartRoot.style.aspectRatio = "".concat(aspectRatio);
90
+ }
85
91
  // set canvasSize for parent div because of all children in absolute
86
92
  var canvasWebGL;
87
93
  if (activeCanvas === ECanvasType.canvasWebGL) {
@@ -90,6 +96,8 @@ var initCanvas = function (divElement, aspectWidth, aspectHeight, activeCanvas,
90
96
  canvasWebGL.id = "".concat(divElementId, "_WebGL");
91
97
  canvasWebGL.style.position = "absolute";
92
98
  canvasWebGL.style.display = "block";
99
+ canvasWebGL.style.width = "100%";
100
+ canvasWebGL.style.height = "100%";
93
101
  var gl = WebGlHelper_1.WebGlHelper.getContext(canvasWebGL, {
94
102
  premultipliedAlpha: true,
95
103
  antialias: SciChartSurfaceBase_1.SciChartSurfaceBase.AntiAliasWebGlBackbuffer
@@ -99,6 +107,8 @@ var initCanvas = function (divElement, aspectWidth, aspectHeight, activeCanvas,
99
107
  // 2D Canvas
100
108
  var canvas2D = document.createElement("canvas");
101
109
  canvas2D.id = getCanvas2dId(divElementId);
110
+ canvas2D.style.width = "100%";
111
+ canvas2D.style.height = "100%";
102
112
  DpiHelper_1.DpiHelper.setSize(canvas2D, width, height);
103
113
  canvas2D.style.position = "absolute";
104
114
  if (activeCanvas !== ECanvasType.canvas2D) {
@@ -121,6 +131,8 @@ var initCanvas = function (divElement, aspectWidth, aspectHeight, activeCanvas,
121
131
  svgRootElement.setAttribute("xmlns", "http://www.w3.org/2000/svg");
122
132
  svgRootElement.style.position = "absolute";
123
133
  svgRootElement.style.display = "block";
134
+ svgRootElement.style.width = "100%";
135
+ svgRootElement.style.height = "100%";
124
136
  if (activeCanvas !== ECanvasType.svg) {
125
137
  svgRootElement.style.pointerEvents = "none";
126
138
  }
@@ -135,12 +147,14 @@ var initCanvas = function (divElement, aspectWidth, aspectHeight, activeCanvas,
135
147
  svgAdornerLayer.style.position = "absolute";
136
148
  svgAdornerLayer.style.display = "block";
137
149
  svgAdornerLayer.style.pointerEvents = "none";
150
+ svgAdornerLayer.style.width = "100%";
151
+ svgAdornerLayer.style.height = "100%";
138
152
  chartRoot.appendChild(svgAdornerLayer);
139
153
  // Root Div Element
140
154
  var divRootElement = document.createElement("div");
141
155
  divRootElement.id = "".concat(divElementId, "_div");
142
156
  divRootElement.style.width = "100%";
143
- divRootElement.style.height = "".concat(height, "px");
157
+ divRootElement.style.height = "100%";
144
158
  divRootElement.style.position = "relative";
145
159
  divRootElement.style.pointerEvents = "none";
146
160
  divRootElement.style.textAlign = "center";
@@ -186,16 +200,6 @@ var subscribeToResize = function (chartRoot, aspect, sciChartSurface, disableAsp
186
200
  console.error("ResizeObserver is not supported");
187
201
  newWidth = 900;
188
202
  }
189
- // if aspect ration is defined we use is to calc height
190
- if (!disableAspect) {
191
- if (aspect) {
192
- newHeight = Math.round(newWidth / aspect);
193
- }
194
- else if (!newHeight) {
195
- // hardcoded aspect ration if newHeight is not defined
196
- newHeight = (newWidth * 2) / 3;
197
- }
198
- }
199
203
  // check max-height
200
204
  var maxHeight = getMaxHeight(chartRoot);
201
205
  if (maxHeight && newHeight > maxHeight) {
@@ -32,6 +32,10 @@ export interface ICameraOptions {
32
32
  * Gets or sets the camera target (Look-at) as a {@link Vector3} in World Space
33
33
  */
34
34
  target?: Vector3;
35
+ /**
36
+ * When true, will output position, target to console
37
+ */
38
+ debugPositions?: boolean;
35
39
  }
36
40
  /**
37
41
  * Defines the interface to a {@link CameraController} - a Class which manipulates and manages
@@ -169,6 +173,7 @@ export declare class CameraController implements ICameraController {
169
173
  private projectionModeProperty;
170
174
  private targetProperty;
171
175
  private readonly webAssemblyContext;
176
+ private debugPositionsProperty;
172
177
  /**
173
178
  * Creates an instance of the {@link CameraController}
174
179
  * @param webAssemblyContext The {@link TSciChart3D | SciChart 3D WebAssembly Context}
@@ -29,6 +29,7 @@ var CameraController = /** @class */ (function () {
29
29
  * @param options optional parameters of type {@link ICameraOptions} passed to the constructor
30
30
  */
31
31
  function CameraController(webAssemblyContext, options) {
32
+ var _a;
32
33
  this.aspectRatioProperty = 1.5;
33
34
  this.farClipProperty = 4000;
34
35
  this.fieldOfViewProperty = 60;
@@ -46,6 +47,7 @@ var CameraController = /** @class */ (function () {
46
47
  this.position = (options === null || options === void 0 ? void 0 : options.position) || this.position;
47
48
  this.target = (options === null || options === void 0 ? void 0 : options.target) || this.target;
48
49
  this.id = (options === null || options === void 0 ? void 0 : options.id) || this.id;
50
+ this.debugPositionsProperty = (_a = options === null || options === void 0 ? void 0 : options.debugPositions) !== null && _a !== void 0 ? _a : false;
49
51
  }
50
52
  Object.defineProperty(CameraController.prototype, "id", {
51
53
  /**
@@ -496,6 +498,10 @@ var CameraController = /** @class */ (function () {
496
498
  */
497
499
  CameraController.prototype.notifyPropertyChanged = function (propertyName) {
498
500
  var _a;
501
+ if (this.debugPositionsProperty &&
502
+ (propertyName === Constants_1.PROPERTY.CAMERA_POSITION || propertyName === Constants_1.PROPERTY.CAMERA_TARGET)) {
503
+ console.log("SciChart.js Camera P=".concat(this.position.toString(), ", T=").concat(this.target.toString()));
504
+ }
499
505
  (_a = this.propertyChanged) === null || _a === void 0 ? void 0 : _a.raiseEvent(new PropertyChangedEventArgs_1.PropertyChangedEventArgs(propertyName));
500
506
  };
501
507
  /**
@@ -43,8 +43,9 @@ var ResetCamera3DModifier = /** @class */ (function (_super) {
43
43
  * @param options optional parameters of type {@link IResetCamera3DOptions} used to configure the modifier
44
44
  */
45
45
  function ResetCamera3DModifier(options) {
46
+ var _this = this;
46
47
  var _a, _b, _c;
47
- var _this = _super.call(this, options) || this;
48
+ _this = _super.call(this, options) || this;
48
49
  /**
49
50
  * When true, the Zoom operations are animated. See also {@link animationDuration} and {@link easingFunction}
50
51
  */
@@ -425,11 +425,13 @@ var AxisBase3D = /** @class */ (function (_super) {
425
425
  };
426
426
  AxisBase3D.prototype.getTicks = function () {
427
427
  var maxAutoTicks = this.getMaxAutoTicks();
428
- var delta = this.deltaCalculator.getDeltaFromRange(this.visibleRange.min, this.visibleRange.max, this.minorsPerMajor, maxAutoTicks);
429
- this.minorDeltaProperty = delta.min;
430
- this.majorDeltaProperty = delta.max;
431
- var majorTicks = this.tickProvider.getMajorTicks(delta.min, delta.max, this.visibleRange);
432
- var minorTicks = this.tickProvider.getMinorTicks(delta.min, delta.max, this.visibleRange);
428
+ if (this.autoTicks) {
429
+ var delta = this.deltaCalculator.getDeltaFromRange(this.visibleRange.min, this.visibleRange.max, this.minorsPerMajor, maxAutoTicks);
430
+ this.minorDeltaProperty = delta.min;
431
+ this.majorDeltaProperty = delta.max;
432
+ }
433
+ var majorTicks = this.tickProvider.getMajorTicks(this.minorDeltaProperty, this.majorDeltaProperty, this.visibleRange);
434
+ var minorTicks = this.tickProvider.getMinorTicks(this.minorDeltaProperty, this.majorDeltaProperty, this.visibleRange);
433
435
  return {
434
436
  majorTicks: majorTicks,
435
437
  minorTicks: minorTicks
@@ -43,8 +43,9 @@ var NumericAxis3D = /** @class */ (function (_super) {
43
43
  * @param options optional parameters of type {@link INumericAxis3dOptions} to configure the axis
44
44
  */
45
45
  function NumericAxis3D(webAssemblyContext, options) {
46
+ var _this = this;
46
47
  var _a, _b;
47
- var _this = _super.call(this, webAssemblyContext, options) || this;
48
+ _this = _super.call(this, webAssemblyContext, options) || this;
48
49
  /**
49
50
  * @inheritDoc
50
51
  */
@@ -27,6 +27,10 @@ export declare class ScatterPointsSceneEntity extends RenderableSeriesSceneEntit
27
27
  * @inheritDoc
28
28
  */
29
29
  delete(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ Render(): void;
30
34
  /**
31
35
  * @inheritDoc
32
36
  */
@@ -54,6 +54,13 @@ var ScatterPointsSceneEntity = /** @class */ (function (_super) {
54
54
  this.pointScales = (0, Deleter_1.deleteSafe)(this.pointScales);
55
55
  _super.prototype.delete.call(this);
56
56
  };
57
+ /**
58
+ * @inheritDoc
59
+ */
60
+ ScatterPointsSceneEntity.prototype.Render = function () {
61
+ this.nativeEntity.SetOpacity(this.parentSeries.opacity);
62
+ _super.prototype.Render.call(this);
63
+ };
57
64
  /**
58
65
  * @inheritDoc
59
66
  */
@@ -50,8 +50,8 @@ function debugProps(props) {
50
50
  // console.log(` m_fShininess ${props.m_fShininess}`);
51
51
  // console.log(` m_fHighlight ${props.m_fHighlight}`);
52
52
  // console.log(` m_fHardNormals ${props.m_fHardNormals}`);
53
- // console.log(` m_vContourColor ${toString(props.m_vContourColor)}`);
54
- // console.log(` m_vWireframeStroke ${toString(props.m_vWireframeStroke)}`);
53
+ // // console.log(` m_vContourColor ${toString(props.m_vContourColor)}`);
54
+ // // console.log(` m_vWireframeStroke ${toString(props.m_vWireframeStroke)}`);
55
55
  // console.log(` m_fContourOffset ${props.m_fContourOffset}`);
56
56
  // console.log(` m_fContourInterval ${props.m_fContourInterval}`);
57
57
  // console.log(` m_fContourThickness ${props.m_fContourThickness}`);
@@ -116,8 +116,9 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
116
116
  * @param parentSeries The parent {@link BaseRenderableSeries3D} which this entity maps to
117
117
  */
118
118
  function SurfaceMeshSceneEntity(webAssemblyContext, parentSeries) {
119
+ var _this = this;
119
120
  var _a;
120
- var _this = _super.call(this, webAssemblyContext, parentSeries, new SurfaceMeshSceneEntityState()) || this;
121
+ _this = _super.call(this, webAssemblyContext, parentSeries, new SurfaceMeshSceneEntityState()) || this;
121
122
  /**
122
123
  * @inheritDoc
123
124
  */
@@ -157,6 +158,8 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
157
158
  console.log("Cannot draw a SurfaceMeshRenderableSeries3D without a meshColorPalette or dataSeries!");
158
159
  return;
159
160
  }
161
+ // Set opacity
162
+ this.nativeEntity.SetOpacity(this.parentSeries.opacity);
160
163
  // Setup Properties for grid mesh
161
164
  //
162
165
  var props;
@@ -215,7 +218,6 @@ var SurfaceMeshSceneEntity = /** @class */ (function (_super) {
215
218
  props.m_fHighlight = this.parentSeries.highlight;
216
219
  props.m_fShininess = this.parentSeries.shininess;
217
220
  props.m_fLightingAmount = this.parentSeries.lightingFactor;
218
- // console.log("..setting GridDrawingProps");
219
221
  debugProps(props);
220
222
  this.nativeEntity.SetGridDrawingProperties(props);
221
223
  }
@@ -91,7 +91,7 @@ export interface IBaseRenderableSeries3DOptions {
91
91
  */
92
92
  readonly id?: string;
93
93
  /**
94
- * The {@link BaseDataSeries3D | DataSeries} which provides a datasource for this {@link BaseRenderableSeries3D} to draw
94
+ * The {@link BaseDataSeries3D | DataSeries} which provides a datasource for this {@link IRenderableSeries3D} to draw
95
95
  */
96
96
  dataSeries?: BaseDataSeries3D;
97
97
  /**
@@ -100,7 +100,7 @@ export interface IBaseRenderableSeries3DOptions {
100
100
  */
101
101
  pointMarker?: BasePointMarker3D;
102
102
  /**
103
- * Gets or sets whether the {@link BaseDataSeries3D} is visible or not
103
+ * Gets or sets whether the {@link IRenderableSeries3D} is visible or not
104
104
  */
105
105
  isVisible?: boolean;
106
106
  /**
@@ -111,6 +111,11 @@ export interface IBaseRenderableSeries3DOptions {
111
111
  * Gets or sets an optional Shininess factor, passed to 3D rendering shaders to make shiny objects
112
112
  */
113
113
  shininess?: number;
114
+ /**
115
+ * Gets or sets the opacity of the {@link IRenderableSeries3D}
116
+ * @remarks Value range 0.0 to 1.0. Default = 1.
117
+ */
118
+ opacity?: number;
114
119
  }
115
120
  /**
116
121
  * @summary Defines the base class to a 3D Render Series (or 3D Chart Type) in SciChart's High Performance Real-time
@@ -23,14 +23,15 @@ var BaseRenderableSeries3D = /** @class */ (function () {
23
23
  * @protected
24
24
  */
25
25
  function BaseRenderableSeries3D(webAssemblyContext, options) {
26
- var _a;
26
+ var _a, _b;
27
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;
31
31
  this.pointMarkerProperty = (options === null || options === void 0 ? void 0 : options.pointMarker) || undefined;
32
32
  this.strokeProperty = (options === null || options === void 0 ? void 0 : options.stroke) || "#FFFFFF";
33
- this.shininessProperty = (options === null || options === void 0 ? void 0 : options.shininess) || 64;
33
+ this.shininessProperty = (options === null || options === void 0 ? void 0 : options.shininess) === undefined ? 64 : options.shininess;
34
+ this.opacityProperty = (_b = options === null || options === void 0 ? void 0 : options.opacity) !== null && _b !== void 0 ? _b : 1;
34
35
  this.pointMarkerPropertyChanged = this.pointMarkerPropertyChanged.bind(this);
35
36
  this.onDpiChanged = this.onDpiChanged.bind(this);
36
37
  }