scichart 2.2.2417 → 3.0.0-beta.224

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 (389) 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 +83 -10
  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 +40 -0
  24. package/Charting/ChartModifiers/RolloverModifier.js +40 -3
  25. package/Charting/ChartModifiers/RubberBandXyZoomModifier.js +2 -1
  26. package/Charting/ChartModifiers/SeriesSelectionModifier.js +2 -1
  27. package/Charting/ChartModifiers/XAxisDragModifier.d.ts +1 -1
  28. package/Charting/ChartModifiers/XAxisDragModifier.js +2 -1
  29. package/Charting/ChartModifiers/YAxisDragModifier.d.ts +1 -1
  30. package/Charting/ChartModifiers/YAxisDragModifier.js +2 -1
  31. package/Charting/ChartModifiers/ZoomExtentsModifier.js +2 -1
  32. package/Charting/ChartModifiers/ZoomPanModifier.js +2 -1
  33. package/Charting/ChartModifiers/constants.d.ts +3 -1
  34. package/Charting/ChartModifiers/constants.js +2 -0
  35. package/Charting/Drawing/BatchRenderContext.d.ts +6 -0
  36. package/Charting/Drawing/BatchRenderContext.js +40 -0
  37. package/Charting/Drawing/RenderSurface.d.ts +2 -1
  38. package/Charting/Drawing/RenderSurface.js +3 -2
  39. package/Charting/Drawing/WebGlRenderContext2D.d.ts +19 -4
  40. package/Charting/Drawing/WebGlRenderContext2D.js +70 -41
  41. package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.js +2 -1
  42. package/Charting/LayoutManager/BottomAlignedInnerAxisLayoutStrategy.js +1 -1
  43. package/Charting/LayoutManager/CentralAxesLayoutManager.js +2 -1
  44. package/Charting/LayoutManager/LayoutManager.d.ts +2 -1
  45. package/Charting/LayoutManager/LayoutManager.js +6 -5
  46. package/Charting/LayoutManager/LeftAlignedInnerAxisLayoutStrategy.js +1 -1
  47. package/Charting/LayoutManager/RightAlignedInnerAxisLayoutStrategy.js +1 -1
  48. package/Charting/LayoutManager/TopAlignedInnerAxisLayoutStrategy.js +1 -1
  49. package/Charting/Model/BaseDataSeries.d.ts +10 -1
  50. package/Charting/Model/BaseDataSeries.js +9 -8
  51. package/Charting/Model/BaseHeatmapDataSeries.d.ts +18 -5
  52. package/Charting/Model/BaseHeatmapDataSeries.js +21 -13
  53. package/Charting/Model/ChartData/SeriesInfo.d.ts +6 -0
  54. package/Charting/Model/ChartData/SeriesInfo.js +5 -0
  55. package/Charting/Model/ChartData/XyySeriesInfo.d.ts +2 -0
  56. package/Charting/Model/ChartData/XyySeriesInfo.js +2 -0
  57. package/Charting/Model/DataDistributionCalculator/DataDistributionCalculator.js +4 -3
  58. package/Charting/Model/Filters/HlcCustomFilter.js +12 -9
  59. package/Charting/Model/Filters/HlcFilterBase.js +2 -1
  60. package/Charting/Model/Filters/HlcScaleOffsetFilter.js +2 -1
  61. package/Charting/Model/Filters/OhlcCustomFilter.js +12 -9
  62. package/Charting/Model/Filters/OhlcScaleOffsetFilter.js +2 -1
  63. package/Charting/Model/Filters/XyCustomFilter.js +12 -9
  64. package/Charting/Model/Filters/XyFilterBase.d.ts +14 -5
  65. package/Charting/Model/Filters/XyFilterBase.js +47 -15
  66. package/Charting/Model/Filters/XyMovingAverageFilter.js +2 -1
  67. package/Charting/Model/Filters/XyRatioFilter.js +2 -1
  68. package/Charting/Model/Filters/XyScaleOffsetFilter.js +2 -1
  69. package/Charting/Model/Filters/XyyCustomFilter.js +12 -9
  70. package/Charting/Model/Filters/XyyFilterBase.js +2 -1
  71. package/Charting/Model/Filters/XyyScaleOffsetFilter.js +2 -1
  72. package/Charting/Model/Filters/XyzCustomFilter.js +12 -9
  73. package/Charting/Model/Filters/XyzFilterBase.js +2 -1
  74. package/Charting/Model/Filters/XyzScaleOffsetFilter.js +2 -1
  75. package/Charting/Model/IDataSeries.d.ts +9 -1
  76. package/Charting/Model/IDataSeries.js +8 -0
  77. package/Charting/Model/NonUniformHeatmapDataSeries.d.ts +112 -0
  78. package/Charting/Model/NonUniformHeatmapDataSeries.js +261 -0
  79. package/Charting/Model/PaletteFactory.d.ts +40 -4
  80. package/Charting/Model/PaletteFactory.js +37 -11
  81. package/Charting/Model/XyTextDataSeries.d.ts +121 -0
  82. package/Charting/Model/XyTextDataSeries.js +274 -0
  83. package/Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase.d.ts +1 -1
  84. package/Charting/Numerics/Resamplers/ExtremeResamplerHelper.js +1 -1
  85. package/Charting/Services/RenderPassData.d.ts +15 -5
  86. package/Charting/Services/RenderPassData.js +27 -5
  87. package/Charting/Services/SciChartRenderer.d.ts +2 -1
  88. package/Charting/Services/SciChartRenderer.js +92 -29
  89. package/Charting/Themes/IThemeProvider.d.ts +61 -0
  90. package/Charting/Themes/IThemeProvider.js +67 -1
  91. package/Charting/Themes/SciChartJSDarkTheme.d.ts +4 -0
  92. package/Charting/Themes/SciChartJSDarkTheme.js +6 -2
  93. package/Charting/Themes/SciChartJSDarkv2Theme.js +3 -0
  94. package/Charting/Themes/SciChartJSLightTheme.d.ts +8 -0
  95. package/Charting/Themes/SciChartJSLightTheme.js +8 -0
  96. package/Charting/Themes/SciChartJsNavyTheme.d.ts +10 -0
  97. package/Charting/Themes/SciChartJsNavyTheme.js +49 -0
  98. package/Charting/Visuals/Annotations/AdornerLayer.js +4 -8
  99. package/Charting/Visuals/Annotations/AnnotationBase.d.ts +80 -7
  100. package/Charting/Visuals/Annotations/AnnotationBase.js +238 -28
  101. package/Charting/Visuals/Annotations/AnnotationClickEventArgs.d.ts +11 -0
  102. package/Charting/Visuals/Annotations/AnnotationClickEventArgs.js +12 -0
  103. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +1 -0
  104. package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +18 -19
  105. package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -0
  106. package/Charting/Visuals/Annotations/BoxAnnotation.js +69 -67
  107. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +2 -2
  108. package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +20 -20
  109. package/Charting/Visuals/Annotations/CustomAnnotation.d.ts +1 -1
  110. package/Charting/Visuals/Annotations/CustomAnnotation.js +3 -2
  111. package/Charting/Visuals/Annotations/HorizontalLineAnnotation.js +6 -3
  112. package/Charting/Visuals/Annotations/IAdornerProvider.d.ts +12 -0
  113. package/Charting/Visuals/Annotations/IAnnotation.d.ts +9 -0
  114. package/Charting/Visuals/Annotations/IAnnotation.js +9 -0
  115. package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -0
  116. package/Charting/Visuals/Annotations/LineAnnotation.js +29 -35
  117. package/Charting/Visuals/Annotations/NativeTextAnnotation.d.ts +193 -0
  118. package/Charting/Visuals/Annotations/NativeTextAnnotation.js +536 -0
  119. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.d.ts +4 -2
  120. package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +19 -14
  121. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.d.ts +2 -2
  122. package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.js +9 -8
  123. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.d.ts +2 -2
  124. package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +6 -6
  125. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.d.ts +2 -2
  126. package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +16 -17
  127. package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +13 -2
  128. package/Charting/Visuals/Annotations/SvgAnnotationBase.js +34 -42
  129. package/Charting/Visuals/Annotations/TextAnnotation.d.ts +2 -2
  130. package/Charting/Visuals/Annotations/TextAnnotation.js +41 -22
  131. package/Charting/Visuals/Annotations/VerticalLineAnnotation.js +6 -3
  132. package/Charting/Visuals/Annotations/annotationHelpers.d.ts +6 -6
  133. package/Charting/Visuals/Annotations/annotationHelpers.js +7 -6
  134. package/Charting/Visuals/Annotations/constants.d.ts +13 -1
  135. package/Charting/Visuals/Annotations/constants.js +12 -0
  136. package/Charting/Visuals/Axis/AxisBase2D.d.ts +24 -4
  137. package/Charting/Visuals/Axis/AxisBase2D.js +115 -38
  138. package/Charting/Visuals/Axis/AxisCore.d.ts +10 -5
  139. package/Charting/Visuals/Axis/AxisCore.js +11 -10
  140. package/Charting/Visuals/Axis/AxisRenderer.js +114 -20
  141. package/Charting/Visuals/Axis/CategoryAxis.js +2 -1
  142. package/Charting/Visuals/Axis/CategoryAxisBase.d.ts +15 -15
  143. package/Charting/Visuals/Axis/CategoryAxisBase.js +14 -12
  144. package/Charting/Visuals/Axis/DateTimeNumericAxis.js +2 -1
  145. package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +2 -1
  146. package/Charting/Visuals/Axis/LabelProvider/DateLabelProvider.js +2 -1
  147. package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +2 -0
  148. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +14 -0
  149. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +140 -33
  150. package/Charting/Visuals/Axis/LabelProvider/LogarithmicLabelProvider.js +2 -1
  151. package/Charting/Visuals/Axis/LabelProvider/NumericLabelProvider.js +2 -1
  152. package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.js +2 -1
  153. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.d.ts +31 -1
  154. package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +64 -42
  155. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.d.ts +2 -2
  156. package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.js +16 -19
  157. package/Charting/Visuals/Axis/LogarithmicAxis.js +9 -6
  158. package/Charting/Visuals/Axis/NumericAxis.js +3 -3
  159. package/Charting/Visuals/Axis/constants.d.ts +1 -0
  160. package/Charting/Visuals/Axis/constants.js +1 -0
  161. package/Charting/Visuals/HeatmapLegend.d.ts +95 -0
  162. package/Charting/Visuals/HeatmapLegend.js +192 -0
  163. package/Charting/Visuals/Helpers/NativeObject.d.ts +15 -2
  164. package/Charting/Visuals/Helpers/NativeObject.js +72 -6
  165. package/Charting/Visuals/I2DSurfaceOptions.d.ts +46 -0
  166. package/Charting/Visuals/PointMarkers/BasePointMarker.d.ts +5 -0
  167. package/Charting/Visuals/PointMarkers/BasePointMarker.js +28 -0
  168. package/Charting/Visuals/PointMarkers/IPointMarker.d.ts +8 -0
  169. package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +2 -1
  170. package/Charting/Visuals/RenderableSeries/Animations/BandAnimationStyle.js +2 -1
  171. package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +2 -1
  172. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.js +2 -1
  173. package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimationStyle.js +2 -1
  174. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +2 -1
  175. package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimationStyle.js +2 -1
  176. package/Charting/Visuals/RenderableSeries/Animations/CustomPointMarkerStyle.js +2 -1
  177. package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +2 -1
  178. package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +2 -1
  179. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +2 -1
  180. package/Charting/Visuals/RenderableSeries/Animations/MountainAnimationStyle.js +2 -1
  181. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +2 -1
  182. package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimationStyle.js +2 -1
  183. package/Charting/Visuals/RenderableSeries/Animations/PointMarkerStyle.js +2 -1
  184. package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +2 -1
  185. package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +2 -1
  186. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.d.ts +8 -2
  187. package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +3 -3
  188. package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +2 -1
  189. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.d.ts +7 -0
  190. package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +42 -10
  191. package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.d.ts +128 -0
  192. package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.js +201 -0
  193. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.d.ts +26 -0
  194. package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.js +39 -3
  195. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.d.ts +7 -0
  196. package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.js +17 -2
  197. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.d.ts +2 -0
  198. package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +15 -2
  199. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +10 -0
  200. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +93 -17
  201. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.d.ts +8 -1
  202. package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +21 -1
  203. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.d.ts +1 -0
  204. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +4 -0
  205. package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.d.ts +43 -0
  206. package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.js +142 -0
  207. package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.d.ts +92 -0
  208. package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.js +129 -0
  209. package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.d.ts +17 -0
  210. package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.js +62 -0
  211. package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.d.ts +47 -0
  212. package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.js +125 -0
  213. package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.d.ts +71 -0
  214. package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.js +221 -0
  215. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.d.ts +5 -0
  216. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.js +2 -0
  217. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.d.ts +208 -0
  218. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.js +410 -0
  219. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.d.ts +40 -0
  220. package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +141 -0
  221. package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.d.ts +63 -0
  222. package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.js +198 -0
  223. package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.d.ts +35 -0
  224. package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.js +92 -0
  225. package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.d.ts +12 -0
  226. package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.js +134 -0
  227. package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.d.ts +56 -0
  228. package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.js +167 -0
  229. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.d.ts +0 -1
  230. package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +1 -2
  231. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.d.ts +5 -2
  232. package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +47 -40
  233. package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +1 -1
  234. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.d.ts +1 -0
  235. package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +18 -5
  236. package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.d.ts +0 -1
  237. package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.js +14 -27
  238. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.d.ts +17 -4
  239. package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +34 -11
  240. package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.d.ts +36 -0
  241. package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.js +493 -0
  242. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.d.ts +5 -2
  243. package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +8 -5
  244. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +4 -4
  245. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.d.ts +3 -0
  246. package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +15 -4
  247. package/Charting/Visuals/RenderableSeries/FastBandRenderableSeries.js +2 -1
  248. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.d.ts +21 -0
  249. package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +40 -4
  250. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.d.ts +2 -0
  251. package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.js +18 -3
  252. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.d.ts +36 -2
  253. package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.js +77 -8
  254. package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.js +2 -1
  255. package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.d.ts +7 -0
  256. package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.js +16 -4
  257. package/Charting/Visuals/RenderableSeries/FastLineRenderableSeries.js +2 -1
  258. package/Charting/Visuals/RenderableSeries/FastMountainRenderableSeries.js +2 -1
  259. package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.js +2 -1
  260. package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.d.ts +17 -0
  261. package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.js +45 -0
  262. package/Charting/Visuals/RenderableSeries/HeatmapColorMap.js +3 -2
  263. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +35 -5
  264. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +17 -1
  265. package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +8 -0
  266. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +7 -1
  267. package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.d.ts +20 -0
  268. package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.js +86 -0
  269. package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.d.ts +6 -0
  270. package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.js +56 -0
  271. package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +1 -1
  272. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +7 -1
  273. package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +34 -2
  274. package/Charting/Visuals/RenderableSeries/IBaseRenderableSeriesOptions.d.ts +6 -1
  275. package/Charting/Visuals/RenderableSeries/IRenderableSeries.d.ts +12 -0
  276. package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.d.ts +74 -0
  277. package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.js +99 -0
  278. package/Charting/Visuals/RenderableSeries/ShaderEffect.js +2 -2
  279. package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +2 -1
  280. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.d.ts +2 -3
  281. package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +2 -1
  282. package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +2 -1
  283. package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +2 -1
  284. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.d.ts +3 -0
  285. package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +13 -2
  286. package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +4 -1
  287. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.d.ts +7 -0
  288. package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +33 -9
  289. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.d.ts +5 -0
  290. package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.js +7 -1
  291. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.d.ts +2 -75
  292. package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +8 -130
  293. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.d.ts +5 -0
  294. package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +7 -1
  295. package/Charting/Visuals/RenderableSeries/constants.d.ts +5 -1
  296. package/Charting/Visuals/RenderableSeries/constants.js +4 -0
  297. package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +3 -3
  298. package/Charting/Visuals/SciChartDefaults.d.ts +4 -0
  299. package/Charting/Visuals/SciChartDefaults.js +4 -0
  300. package/Charting/Visuals/SciChartOverview.js +5 -3
  301. package/Charting/Visuals/SciChartPieSurface/PieSegment/IPieSegment.d.ts +4 -0
  302. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.d.ts +13 -0
  303. package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +22 -4
  304. package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.d.ts +2 -1
  305. package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.js +1 -0
  306. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.d.ts +5 -0
  307. package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +17 -19
  308. package/Charting/Visuals/SciChartSurface.d.ts +225 -7
  309. package/Charting/Visuals/SciChartSurface.js +782 -28
  310. package/Charting/Visuals/SciChartSurfaceBase.d.ts +16 -1
  311. package/Charting/Visuals/SciChartSurfaceBase.js +34 -2
  312. package/Charting/Visuals/TextureManager/CanvasTexture.js +1 -1
  313. package/Charting/Visuals/TextureManager/DpiHelper.js +3 -7
  314. package/Charting/Visuals/TextureManager/TextureManager.d.ts +11 -0
  315. package/Charting/Visuals/TextureManager/TextureManager.js +37 -1
  316. package/Charting/Visuals/createMaster.js +7 -10
  317. package/Charting/Visuals/createSingle.js +2 -0
  318. package/Charting/Visuals/licenseManager2D.js +9 -9
  319. package/Charting/Visuals/sciChartInitCommon.js +16 -12
  320. package/Charting3D/CameraController.d.ts +5 -0
  321. package/Charting3D/CameraController.js +6 -0
  322. package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +2 -1
  323. package/Charting3D/Visuals/Axis/AxisBase3D.js +7 -5
  324. package/Charting3D/Visuals/Axis/NumericAxis3D.js +2 -1
  325. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.d.ts +4 -0
  326. package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +7 -0
  327. package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +6 -4
  328. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.d.ts +7 -2
  329. package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +3 -2
  330. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.d.ts +0 -5
  331. package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.js +12 -11
  332. package/Charting3D/Visuals/SciChart3DSurface.d.ts +2 -2
  333. package/Charting3D/Visuals/SciChart3DSurface.js +18 -11
  334. package/Charting3D/Visuals/createMaster3d.js +10 -18
  335. package/Charting3D/Visuals/createSingle3d.js +12 -10
  336. package/Core/Animations/GenericAnimation.d.ts +2 -0
  337. package/Core/Animations/GenericAnimation.js +3 -0
  338. package/Core/Animations/NumberRangeAnimator.js +7 -2
  339. package/Core/BuildStamp.d.ts +1 -1
  340. package/Core/BuildStamp.js +2 -2
  341. package/Core/Mouse/MouseManager.d.ts +20 -0
  342. package/Core/Mouse/MouseManager.js +199 -30
  343. package/README.md +91 -403
  344. package/_wasm/scichart.browser.js +1 -1
  345. package/_wasm/scichart2d.data +0 -0
  346. package/_wasm/scichart2d.js +280 -267
  347. package/_wasm/scichart2d.wasm +0 -0
  348. package/_wasm/scichart3d.data +0 -0
  349. package/_wasm/scichart3d.js +280 -268
  350. package/_wasm/scichart3d.wasm +0 -0
  351. package/constants/performanceWarnings.d.ts +2 -0
  352. package/constants/performanceWarnings.js +3 -1
  353. package/package.json +2 -2
  354. package/types/AutoColorMode.d.ts +9 -0
  355. package/types/AutoColorMode.js +13 -0
  356. package/types/BaseType.d.ts +3 -1
  357. package/types/BaseType.js +2 -0
  358. package/types/DataLabelProviderType.d.ts +15 -0
  359. package/types/DataLabelProviderType.js +19 -0
  360. package/types/DataLabelSkipMode.d.ts +21 -0
  361. package/types/DataLabelSkipMode.js +25 -0
  362. package/types/DefaultRenderLayer.d.ts +10 -0
  363. package/types/DefaultRenderLayer.js +14 -0
  364. package/types/SeriesType.d.ts +7 -1
  365. package/types/SeriesType.js +6 -0
  366. package/types/SvgClippingMode.d.ts +17 -0
  367. package/types/SvgClippingMode.js +21 -0
  368. package/types/TDataLabelStyle.d.ts +16 -0
  369. package/types/TDataLabelStyle.js +2 -0
  370. package/types/TSciChart.d.ts +214 -118
  371. package/types/TSciChart3D.d.ts +104 -70
  372. package/types/TextPosition.d.ts +17 -0
  373. package/types/TextPosition.js +39 -0
  374. package/types/ThemeProviderType.d.ts +3 -1
  375. package/types/ThemeProviderType.js +2 -0
  376. package/utils/ccall/appendDoubleVectorFromJsArray.d.ts +10 -1
  377. package/utils/ccall/appendDoubleVectorFromJsArray.js +24 -1
  378. package/utils/memoize.d.ts +1 -0
  379. package/utils/memoize.js +26 -0
  380. package/utils/number.d.ts +1 -0
  381. package/utils/number.js +5 -1
  382. package/utils/parseColor.d.ts +2 -0
  383. package/utils/parseColor.js +3 -3
  384. package/utils/text.d.ts +5 -0
  385. package/utils/text.js +48 -0
  386. package/utils/translate.d.ts +8 -0
  387. package/utils/translate.js +27 -5
  388. package/utils/zeroArray2D.d.ts +5 -0
  389. package/utils/zeroArray2D.js +5 -0
@@ -1,38 +1,7 @@
1
- import { PropertyChangedEventArgs } from "../../../Core/PropertyChangedEventArgs";
2
1
  import { ESeriesType } from "../../../types/SeriesType";
3
2
  import { TSciChart } from "../../../types/TSciChart";
4
- import { IPointSeries } from "../../Model/PointSeries/IPointSeries";
5
- import { UniformHeatmapDataSeries } from "../../Model/UniformHeatmapDataSeries";
6
- import { ResamplingParams } from "../../Numerics/Resamplers/ResamplingParams";
7
- import { LabelProvider } from "../Axis/LabelProvider/LabelProvider";
8
- import { BaseRenderableSeries } from "./BaseRenderableSeries";
9
- import { HeatmapColorMap, IHeatmapColorMapOptions } from "./HeatmapColorMap";
3
+ import { BaseHeatmapRenderableSeries, IHeatmapRenderableSeriesOptions } from "./BaseHeatmapRenderableSeries";
10
4
  import { IHitTestProvider } from "./HitTest/IHitTestProvider";
11
- import { IBaseRenderableSeriesOptions } from "./IBaseRenderableSeriesOptions";
12
- /**
13
- * Optional parameters passed to {@link UniformHeatmapRenderableSeries} constructor
14
- */
15
- export interface IHeatmapRenderableSeriesOptions extends IBaseRenderableSeriesOptions {
16
- /**
17
- * The {@link HeatmapColorMap} instance, which maps heatmap z-values to colors
18
- * or an {@link IHeatmapColorMapOptions} object which will be used to build a HeatmapColorMap
19
- */
20
- colorMap?: HeatmapColorMap | IHeatmapColorMapOptions;
21
- /**
22
- * The {@link UniformHeatmapDataSeries} instance containing 2-dimensional heatmap data
23
- */
24
- dataSeries?: UniformHeatmapDataSeries;
25
- /**
26
- * The flag whether to make the heatmap linearly interpolated or smoothed between cells
27
- */
28
- useLinearTextureFiltering?: boolean;
29
- /**
30
- * The flag whether to fill cells with edge color if its value is outside of {@link colorMap.minimum} to {@link colorMap.maximum} range
31
- */
32
- fillValuesOutOfRange?: boolean;
33
- }
34
- /** @ignore */
35
- export declare const COLOR_MAP_PREFIX = "colorMap.";
36
5
  /**
37
6
  * @summary A JavaScript Heatmap chart type rendering a 2-dimensional array of data as color values between X,Y bounds in
38
7
  * SciChart's High Performance Real-time {@link https://www.scichart.com/javascript-chart-features | JavaScript Chart Library}
@@ -72,12 +41,8 @@ export declare const COLOR_MAP_PREFIX = "colorMap.";
72
41
  * sciChartSurface.renderableSeries.add(heatmapSeries);
73
42
  * ```
74
43
  */
75
- export declare class UniformHeatmapRenderableSeries extends BaseRenderableSeries {
44
+ export declare class UniformHeatmapRenderableSeries extends BaseHeatmapRenderableSeries {
76
45
  readonly type: ESeriesType;
77
- private colorMapProperty;
78
- private useLinearTextureFilteringProperty;
79
- private fillValuesOutOfRangeProperty;
80
- private zLabelProviderProperty;
81
46
  /**
82
47
  * Creates an instance of the {@link UniformHeatmapRenderableSeries}
83
48
  * @param webAssemblyContext The {@link TSciChart | SciChart WebAssembly Context} containing
@@ -85,44 +50,6 @@ export declare class UniformHeatmapRenderableSeries extends BaseRenderableSeries
85
50
  * @param options optional parameters of type {@link IHeatmapRenderableSeriesOptions} applied when constructing the series type
86
51
  */
87
52
  constructor(webAssemblyContext: TSciChart, options?: IHeatmapRenderableSeriesOptions);
88
- /**
89
- * Gets or sets the {@link HeatmapColorMap}, which maps heatmap z-values to colors
90
- */
91
- get colorMap(): HeatmapColorMap;
92
- /**
93
- * Gets or sets the {@link HeatmapColorMap}, which maps heatmap z-values to colors
94
- */
95
- set colorMap(colorMap: HeatmapColorMap);
96
- /**
97
- * Gets or sets whether to make the heatmap linearly interpolated or smoothed between cells
98
- */
99
- get useLinearTextureFiltering(): boolean;
100
- /**
101
- * Gets or sets whether to make the heatmap linearly interpolated or smoothed between cells
102
- */
103
- set useLinearTextureFiltering(value: boolean);
104
- /** @inheritDoc */
105
- checkIsOutOfDataRange(xValue: number, yValue: number): boolean;
106
- get zLabelProvider(): LabelProvider;
107
- set zLabelProvider(labelProvider: LabelProvider);
108
- /**
109
- * Gets or sets whether to fill cells with edge color if its value is outside of {@link colorMap.minimum} to {@link colorMap.maximum} range
110
- */
111
- get fillValuesOutOfRange(): boolean;
112
- /**
113
- * Gets or sets whether to fill cells with edge color if its value is outside of {@link colorMap.minimum} to {@link colorMap.maximum} range
114
- */
115
- set fillValuesOutOfRange(value: boolean);
116
- /** @inheritDoc */
117
- toPointSeries(resamplingParams?: ResamplingParams): IPointSeries;
118
- /** @inheritDoc */
119
- toJSON(excludeData?: boolean): import("../../../Builder/buildSeries").TSeriesDefinition;
120
- /**
121
- * Called when a property changes on {@link HeatmapColorMap}, and notifies the parent {@link SciChartSurface}
122
- * that a redraw is required.
123
- * @param args
124
- */
125
- protected colorMapPropertyChanged(args: PropertyChangedEventArgs): void;
126
53
  /**
127
54
  * @inheritDoc
128
55
  */
@@ -15,18 +15,13 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.UniformHeatmapRenderableSeries = exports.COLOR_MAP_PREFIX = void 0;
18
+ exports.UniformHeatmapRenderableSeries = void 0;
19
19
  var app_1 = require("../../../constants/app");
20
20
  var SeriesType_1 = require("../../../types/SeriesType");
21
- var AxisCore_1 = require("../Axis/AxisCore");
22
- var NumericLabelProvider_1 = require("../Axis/LabelProvider/NumericLabelProvider");
23
- var BaseRenderableSeries_1 = require("./BaseRenderableSeries");
24
- var constants_1 = require("./constants");
21
+ var BaseHeatmapRenderableSeries_1 = require("./BaseHeatmapRenderableSeries");
22
+ var HeatMapDataLabelProvider_1 = require("./DataLabels/HeatMapDataLabelProvider");
25
23
  var UniformHeatmapDrawingProvider_1 = require("./DrawingProviders/UniformHeatmapDrawingProvider");
26
- var HeatmapColorMap_1 = require("./HeatmapColorMap");
27
24
  var UniformHeatmapHitTestProvider_1 = require("./HitTest/UniformHeatmapHitTestProvider");
28
- /** @ignore */
29
- exports.COLOR_MAP_PREFIX = "colorMap.";
30
25
  /**
31
26
  * @summary A JavaScript Heatmap chart type rendering a 2-dimensional array of data as color values between X,Y bounds in
32
27
  * SciChart's High Performance Real-time {@link https://www.scichart.com/javascript-chart-features | JavaScript Chart Library}
@@ -75,135 +70,18 @@ var UniformHeatmapRenderableSeries = /** @class */ (function (_super) {
75
70
  * @param options optional parameters of type {@link IHeatmapRenderableSeriesOptions} applied when constructing the series type
76
71
  */
77
72
  function UniformHeatmapRenderableSeries(webAssemblyContext, options) {
78
- var _a, _b, _c, _d, _e, _f;
79
73
  var _this = _super.call(this, webAssemblyContext, options) || this;
80
74
  _this.type = SeriesType_1.ESeriesType.UniformHeatmapSeries;
81
- _this.useLinearTextureFilteringProperty = false;
82
- _this.fillValuesOutOfRangeProperty = true;
83
- _this.colorMapPropertyChanged = _this.colorMapPropertyChanged.bind(_this);
84
- if (options === null || options === void 0 ? void 0 : options.colorMap) {
85
- if (!("toJSON" in options.colorMap)) {
86
- options.colorMap = new HeatmapColorMap_1.HeatmapColorMap(options.colorMap);
87
- }
88
- }
89
- _this.colorMap = options === null || options === void 0 ? void 0 : options.colorMap;
90
- _this.dataSeries = options === null || options === void 0 ? void 0 : options.dataSeries;
91
- _this.xAxisId = (_a = options === null || options === void 0 ? void 0 : options.xAxisId) !== null && _a !== void 0 ? _a : AxisCore_1.AxisCore.DEFAULT_AXIS_ID;
92
- _this.xAxisId = (_b = options === null || options === void 0 ? void 0 : options.yAxisId) !== null && _b !== void 0 ? _b : AxisCore_1.AxisCore.DEFAULT_AXIS_ID;
93
- _this.useLinearTextureFilteringProperty =
94
- (_c = options === null || options === void 0 ? void 0 : options.useLinearTextureFiltering) !== null && _c !== void 0 ? _c : _this.useLinearTextureFilteringProperty;
95
- _this.fillValuesOutOfRangeProperty = (_d = options === null || options === void 0 ? void 0 : options.fillValuesOutOfRange) !== null && _d !== void 0 ? _d : _this.fillValuesOutOfRangeProperty;
96
- // Must be called here for the series type to be available
97
- if ((_e = _this.paletteProvider) === null || _e === void 0 ? void 0 : _e.onAttached) {
98
- (_f = _this.paletteProvider) === null || _f === void 0 ? void 0 : _f.onAttached(_this);
99
- }
100
75
  _this.drawingProviders = [];
101
76
  if (!app_1.IS_TEST_ENV) {
102
77
  _this.drawingProviders.push(new UniformHeatmapDrawingProvider_1.UniformHeatmapDrawingProvider(webAssemblyContext, _this));
103
78
  }
104
- _this.zLabelProviderProperty = new NumericLabelProvider_1.NumericLabelProvider({ labelPrecision: 2 });
79
+ if (!_this.dataLabelProviderProperty) {
80
+ _this.dataLabelProviderProperty = new HeatMapDataLabelProvider_1.HeatMapDataLabelProvider(options === null || options === void 0 ? void 0 : options.dataLabels);
81
+ _this.dataLabelProviderProperty.onAttach(_this.webAssemblyContext, _this);
82
+ }
105
83
  return _this;
106
84
  }
107
- Object.defineProperty(UniformHeatmapRenderableSeries.prototype, "colorMap", {
108
- /**
109
- * Gets or sets the {@link HeatmapColorMap}, which maps heatmap z-values to colors
110
- */
111
- get: function () {
112
- return this.colorMapProperty;
113
- },
114
- /**
115
- * Gets or sets the {@link HeatmapColorMap}, which maps heatmap z-values to colors
116
- */
117
- set: function (colorMap) {
118
- var _a, _b;
119
- (_a = this.colorMapProperty) === null || _a === void 0 ? void 0 : _a.propertyChanged.unsubscribe(this.colorMapPropertyChanged);
120
- this.colorMapProperty = colorMap;
121
- (_b = this.colorMapProperty) === null || _b === void 0 ? void 0 : _b.propertyChanged.subscribe(this.colorMapPropertyChanged);
122
- this.notifyPropertyChanged(constants_1.PROPERTY.COLOR_MAP);
123
- },
124
- enumerable: false,
125
- configurable: true
126
- });
127
- Object.defineProperty(UniformHeatmapRenderableSeries.prototype, "useLinearTextureFiltering", {
128
- /**
129
- * Gets or sets whether to make the heatmap linearly interpolated or smoothed between cells
130
- */
131
- get: function () {
132
- return this.useLinearTextureFilteringProperty;
133
- },
134
- /**
135
- * Gets or sets whether to make the heatmap linearly interpolated or smoothed between cells
136
- */
137
- set: function (value) {
138
- this.useLinearTextureFilteringProperty = value;
139
- this.notifyPropertyChanged(constants_1.PROPERTY.USE_LINEAR_TEXTURE_FILTERING);
140
- },
141
- enumerable: false,
142
- configurable: true
143
- });
144
- /** @inheritDoc */
145
- UniformHeatmapRenderableSeries.prototype.checkIsOutOfDataRange = function (xValue, yValue) {
146
- var dataSeries = this.dataSeries;
147
- return (!dataSeries ||
148
- xValue <= dataSeries.xRange.min ||
149
- xValue >= dataSeries.xRange.max ||
150
- yValue <= dataSeries.yRange.min ||
151
- yValue >= dataSeries.yRange.max);
152
- };
153
- Object.defineProperty(UniformHeatmapRenderableSeries.prototype, "zLabelProvider", {
154
- get: function () {
155
- return this.zLabelProviderProperty;
156
- },
157
- set: function (labelProvider) {
158
- this.zLabelProviderProperty = labelProvider;
159
- this.notifyPropertyChanged(constants_1.PROPERTY.Z_LABEL_PROVIDER);
160
- },
161
- enumerable: false,
162
- configurable: true
163
- });
164
- Object.defineProperty(UniformHeatmapRenderableSeries.prototype, "fillValuesOutOfRange", {
165
- /**
166
- * Gets or sets whether to fill cells with edge color if its value is outside of {@link colorMap.minimum} to {@link colorMap.maximum} range
167
- */
168
- get: function () {
169
- return this.fillValuesOutOfRangeProperty;
170
- },
171
- /**
172
- * Gets or sets whether to fill cells with edge color if its value is outside of {@link colorMap.minimum} to {@link colorMap.maximum} range
173
- */
174
- set: function (value) {
175
- this.fillValuesOutOfRangeProperty = value;
176
- this.notifyPropertyChanged(constants_1.PROPERTY.FILL_VALUES_OUT_OF_RANGE);
177
- },
178
- enumerable: false,
179
- configurable: true
180
- });
181
- /** @inheritDoc */
182
- UniformHeatmapRenderableSeries.prototype.toPointSeries = function (resamplingParams) {
183
- // not used for Heatmap
184
- return undefined;
185
- };
186
- /** @inheritDoc */
187
- UniformHeatmapRenderableSeries.prototype.toJSON = function (excludeData) {
188
- var _a;
189
- if (excludeData === void 0) { excludeData = false; }
190
- var json = _super.prototype.toJSON.call(this, excludeData);
191
- var options = {
192
- colorMap: (_a = this.colorMap) === null || _a === void 0 ? void 0 : _a.toJSON(),
193
- fillValuesOutOfRange: this.fillValuesOutOfRange,
194
- useLinearTextureFiltering: this.useLinearTextureFiltering
195
- };
196
- Object.assign(json.options, options);
197
- return json;
198
- };
199
- /**
200
- * Called when a property changes on {@link HeatmapColorMap}, and notifies the parent {@link SciChartSurface}
201
- * that a redraw is required.
202
- * @param args
203
- */
204
- UniformHeatmapRenderableSeries.prototype.colorMapPropertyChanged = function (args) {
205
- this.notifyPropertyChanged(exports.COLOR_MAP_PREFIX + args.propertyName);
206
- };
207
85
  /**
208
86
  * @inheritDoc
209
87
  */
@@ -211,5 +89,5 @@ var UniformHeatmapRenderableSeries = /** @class */ (function (_super) {
211
89
  return new UniformHeatmapHitTestProvider_1.UniformHeatmapHitTestProvider(this, this.webAssemblyContext);
212
90
  };
213
91
  return UniformHeatmapRenderableSeries;
214
- }(BaseRenderableSeries_1.BaseRenderableSeries));
92
+ }(BaseHeatmapRenderableSeries_1.BaseHeatmapRenderableSeries));
215
93
  exports.UniformHeatmapRenderableSeries = UniformHeatmapRenderableSeries;
@@ -3,12 +3,17 @@ import { TSciChart } from "../../../types/TSciChart";
3
3
  import { IPointSeries } from "../../Model/PointSeries/IPointSeries";
4
4
  import { ResamplingParams } from "../../Numerics/Resamplers/ResamplingParams";
5
5
  import { BaseRenderableSeries } from "./BaseRenderableSeries";
6
+ import { IDataLabelProviderOptions } from "./DataLabels/DataLabelProvider";
6
7
  import { IHitTestProvider } from "./HitTest/IHitTestProvider";
7
8
  import { IBaseRenderableSeriesOptions } from "./IBaseRenderableSeriesOptions";
8
9
  /**
9
10
  * Optional parameters passed to the constructor of {@link XyScatterRenderableSeries}
10
11
  */
11
12
  export interface IXyScatterRenderableSeriesOptions extends IBaseRenderableSeriesOptions {
13
+ /**
14
+ * Options to pass to the DataLabelProvider. Set a style with font and size to enable per-point text for this series.
15
+ */
16
+ dataLabels?: IDataLabelProviderOptions;
12
17
  }
13
18
  /**
14
19
  * Defines a scatter-series or scatter chart type in the SciChart's High Performance Real-time
@@ -21,6 +21,7 @@ var XyPointSeriesWrapped_1 = require("../../Model/PointSeries/XyPointSeriesWrapp
21
21
  var EllipsePointMarker_1 = require("../PointMarkers/EllipsePointMarker");
22
22
  var BaseRenderableSeries_1 = require("./BaseRenderableSeries");
23
23
  var constants_1 = require("./constants");
24
+ var DataLabelProvider_1 = require("./DataLabels/DataLabelProvider");
24
25
  var PointMarkerDrawingProvider_1 = require("./DrawingProviders/PointMarkerDrawingProvider");
25
26
  var ScatterSeriesHitTestProvider_1 = require("./HitTest/ScatterSeriesHitTestProvider");
26
27
  /**
@@ -60,8 +61,9 @@ var XyScatterRenderableSeries = /** @class */ (function (_super) {
60
61
  * @param options Optional parameters of type {@link IBaseRenderableSeriesOptions} to configure the series
61
62
  */
62
63
  function XyScatterRenderableSeries(webAssemblyContext, options) {
64
+ var _this = this;
63
65
  var _a, _b, _c;
64
- var _this = _super.call(this, webAssemblyContext, options) || this;
66
+ _this = _super.call(this, webAssemblyContext, options) || this;
65
67
  _this.type = SeriesType_1.ESeriesType.ScatterSeries;
66
68
  _this.scatterOpacityProperty = 1;
67
69
  if (!_this.pointMarker) {
@@ -72,6 +74,10 @@ var XyScatterRenderableSeries = /** @class */ (function (_super) {
72
74
  if (options === null || options === void 0 ? void 0 : options.animation) {
73
75
  _this.animationQueue.push(options.animation);
74
76
  }
77
+ if (!_this.dataLabelProviderProperty) {
78
+ _this.dataLabelProviderProperty = new DataLabelProvider_1.DataLabelProvider(options === null || options === void 0 ? void 0 : options.dataLabels);
79
+ _this.dataLabelProviderProperty.onAttach(_this.webAssemblyContext, _this);
80
+ }
75
81
  // Must be called here for the series type to be available
76
82
  if ((_a = _this.paletteProvider) === null || _a === void 0 ? void 0 : _a.onAttached) {
77
83
  (_b = _this.paletteProvider) === null || _b === void 0 ? void 0 : _b.onAttached(_this);
@@ -8,6 +8,7 @@ export declare enum PROPERTY {
8
8
  CONTOUR_MINOR_LINE_STYLE = "CONTOUR_MINOR_LINE_STYLE",
9
9
  CONTOUR_MAJOR_LINE_STYLE = "CONTOUR_MAJOR_LINE_STYLE",
10
10
  CONTOUR_COLOR_MAP_MODE = "CONTOUR_COLOR_MAP_MODE",
11
+ CORNER_RADIUS = "CORNER_RADIUS",
11
12
  DATA_POINT_WIDTH = "dataPointWidth",
12
13
  DATA_POINT_WIDTH_MODE = "DATA_POINT_WIDTH_MODE",
13
14
  DATA_SERIES = "dataSeries",
@@ -31,6 +32,7 @@ export declare enum PROPERTY {
31
32
  IS_SELECTED = "IS_SELECTED",
32
33
  IS_VISIBLE = "IS_VISIBLE",
33
34
  INTENSITY = "INTENSITY",
35
+ LINE_TYPE = "LINE_TYPE",
34
36
  MAXIMUM = "MAXIMUM",
35
37
  MINIMUM = "MINIMUM",
36
38
  OFFSET = "OFFSET",
@@ -57,5 +59,7 @@ export declare enum PROPERTY {
57
59
  Z_STEP = "Z_STEP",
58
60
  Z_MAX = "Z_MAX",
59
61
  Z_MIN = "Z_MIN",
60
- Z_LABEL_PROVIDER = "Z_LABEL_PROVIDER"
62
+ Z_MULTIPLIER = "Z_MULTIPLIER",
63
+ Z_LABEL_PROVIDER = "Z_LABEL_PROVIDER",
64
+ SERIES_TEXT_PROVIDER = "SERIES_TEXT_PROVIDER"
61
65
  }
@@ -12,6 +12,7 @@ var PROPERTY;
12
12
  PROPERTY["CONTOUR_MINOR_LINE_STYLE"] = "CONTOUR_MINOR_LINE_STYLE";
13
13
  PROPERTY["CONTOUR_MAJOR_LINE_STYLE"] = "CONTOUR_MAJOR_LINE_STYLE";
14
14
  PROPERTY["CONTOUR_COLOR_MAP_MODE"] = "CONTOUR_COLOR_MAP_MODE";
15
+ PROPERTY["CORNER_RADIUS"] = "CORNER_RADIUS";
15
16
  PROPERTY["DATA_POINT_WIDTH"] = "dataPointWidth";
16
17
  PROPERTY["DATA_POINT_WIDTH_MODE"] = "DATA_POINT_WIDTH_MODE";
17
18
  PROPERTY["DATA_SERIES"] = "dataSeries";
@@ -35,6 +36,7 @@ var PROPERTY;
35
36
  PROPERTY["IS_SELECTED"] = "IS_SELECTED";
36
37
  PROPERTY["IS_VISIBLE"] = "IS_VISIBLE";
37
38
  PROPERTY["INTENSITY"] = "INTENSITY";
39
+ PROPERTY["LINE_TYPE"] = "LINE_TYPE";
38
40
  PROPERTY["MAXIMUM"] = "MAXIMUM";
39
41
  PROPERTY["MINIMUM"] = "MINIMUM";
40
42
  PROPERTY["OFFSET"] = "OFFSET";
@@ -61,5 +63,7 @@ var PROPERTY;
61
63
  PROPERTY["Z_STEP"] = "Z_STEP";
62
64
  PROPERTY["Z_MAX"] = "Z_MAX";
63
65
  PROPERTY["Z_MIN"] = "Z_MIN";
66
+ PROPERTY["Z_MULTIPLIER"] = "Z_MULTIPLIER";
64
67
  PROPERTY["Z_LABEL_PROVIDER"] = "Z_LABEL_PROVIDER";
68
+ PROPERTY["SERIES_TEXT_PROVIDER"] = "SERIES_TEXT_PROVIDER";
65
69
  })(PROPERTY = exports.PROPERTY || (exports.PROPERTY = {}));
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RubberBandSvgRect = void 0;
4
+ var annotationHelpers_1 = require("../Annotations/annotationHelpers");
4
5
  var constants_1 = require("./constants");
5
6
  /**
6
7
  * Used by the {@link RubberBandXyZoomModifier} to draw an {@link SVGSVGElement | SVGElement} rectangle over the chart.
@@ -113,9 +114,8 @@ var RubberBandSvgRect = /** @class */ (function () {
113
114
  }
114
115
  if (this.svgRoot) {
115
116
  var svgString = svgTemplate(fill, stroke, strokeThickness);
116
- var svgNode = document.createRange().createContextualFragment(svgString);
117
- this.svgRoot.appendChild(svgNode);
118
- this.svg = this.svgRoot.lastChild;
117
+ var svgNode = annotationHelpers_1.annotationHelpers.createSvg(svgString, this.svgRoot);
118
+ this.svg = svgNode;
119
119
  this.svg.setAttribute("x", "100px");
120
120
  this.svg.setAttribute("y", "100px");
121
121
  }
@@ -16,4 +16,8 @@ export declare class SciChartDefaults {
16
16
  * Turn on/off warnings to optimize performance
17
17
  */
18
18
  static performanceWarnings: boolean;
19
+ /**
20
+ * Experimental - set true to use native text for axes. Not all text features currently supported
21
+ */
22
+ static useNativeText: boolean;
19
23
  }
@@ -21,6 +21,10 @@ var SciChartDefaults = /** @class */ (function () {
21
21
  * Turn on/off warnings to optimize performance
22
22
  */
23
23
  SciChartDefaults.performanceWarnings = true;
24
+ /**
25
+ * Experimental - set true to use native text for axes. Not all text features currently supported
26
+ */
27
+ SciChartDefaults.useNativeText = false;
24
28
  return SciChartDefaults;
25
29
  }());
26
30
  exports.SciChartDefaults = SciChartDefaults;
@@ -227,9 +227,11 @@ var createSciChartOverview = function (originalSciChartSurface, overviewRootElem
227
227
  }
228
228
  originalMainAxis.visibleRangeChanged.subscribe(function (_a) {
229
229
  var visibleRange = _a.visibleRange;
230
- var min = visibleRange.min > mainOverviewAxis.visibleRange.min ? visibleRange.min : mainOverviewAxis.visibleRange.min;
231
- var max = visibleRange.max < mainOverviewAxis.visibleRange.max ? visibleRange.max : mainOverviewAxis.visibleRange.max;
232
- var updatedSelectedRange = new NumberRange_1.NumberRange(min, max);
230
+ if (visibleRange.min < mainOverviewAxis.visibleRange.min ||
231
+ visibleRange.max > mainOverviewAxis.visibleRange.max) {
232
+ mainOverviewAxis.visibleRange = new NumberRange_1.NumberRange(Math.min(visibleRange.min, mainOverviewAxis.visibleRange.min), Math.max(visibleRange.max, mainOverviewAxis.visibleRange.max));
233
+ }
234
+ var updatedSelectedRange = visibleRange.clip(mainOverviewAxis.visibleRange);
233
235
  var shouldUpdateSelectedRange = !updatedSelectedRange.equals(rangeSelectionModifier.selectedArea);
234
236
  if (shouldUpdateSelectedRange) {
235
237
  rangeSelectionModifier.selectedArea = updatedSelectedRange;
@@ -16,6 +16,10 @@ export interface IPieSegment {
16
16
  labelStyle: TTextStyle;
17
17
  labelOffset: Point;
18
18
  radiusAdjustment: number;
19
+ /**
20
+ * When true (default value = true) a label is shown, else false
21
+ */
22
+ showLabel: boolean;
19
23
  onAttach(scs: SciChartPieSurface): void;
20
24
  onDetach(): void;
21
25
  toJSON(): IPieSegmentOptions;
@@ -44,6 +44,10 @@ export interface IPieSegmentOptions {
44
44
  * An x, y offset for the label position
45
45
  */
46
46
  labelOffset?: Point;
47
+ /**
48
+ * When true, labels are shown, else hidden. Default value true
49
+ */
50
+ showLabel?: boolean;
47
51
  /**
48
52
  * A relative adjustment of the radius for this segment. eg 1.5 will be 50% larger than normal
49
53
  */
@@ -56,6 +60,7 @@ export declare class PieSegment implements IPieSegment {
56
60
  private isSelectedProperty;
57
61
  private textProperty;
58
62
  private valueProperty;
63
+ private showLabelProperty;
59
64
  private oldValueProperty;
60
65
  private deltaProperty;
61
66
  private shiftProperty;
@@ -68,6 +73,14 @@ export declare class PieSegment implements IPieSegment {
68
73
  constructor(options?: IPieSegmentOptions);
69
74
  onAttach(scps: SciChartPieSurface): void;
70
75
  onDetach(): void;
76
+ /**
77
+ * When true, show the label on this pie segment, else false
78
+ */
79
+ get showLabel(): boolean;
80
+ /**
81
+ * When true, show the label on this pie segment, else false
82
+ */
83
+ set showLabel(value: boolean);
71
84
  /**
72
85
  * An optional color gradient
73
86
  */
@@ -20,7 +20,7 @@ var PieLabelProvider_1 = require("../../Axis/LabelProvider/PieLabelProvider");
20
20
  var constants_1 = require("./constants");
21
21
  var PieSegment = /** @class */ (function () {
22
22
  function PieSegment(options) {
23
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
23
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
24
24
  this.colorProperty = "grey";
25
25
  this.isSelectedProperty = false;
26
26
  this.textProperty = "";
@@ -35,15 +35,16 @@ var PieSegment = /** @class */ (function () {
35
35
  this.textProperty = (_e = options === null || options === void 0 ? void 0 : options.text) !== null && _e !== void 0 ? _e : this.textProperty;
36
36
  this.valueProperty = (_f = options === null || options === void 0 ? void 0 : options.value) !== null && _f !== void 0 ? _f : this.valueProperty;
37
37
  this.deltaProperty = (_g = options === null || options === void 0 ? void 0 : options.delta) !== null && _g !== void 0 ? _g : this.deltaProperty;
38
+ this.showLabelProperty = (_h = options === null || options === void 0 ? void 0 : options.showLabel) !== null && _h !== void 0 ? _h : true;
38
39
  if (options === null || options === void 0 ? void 0 : options.labelProvider) {
39
40
  if (!("getSegmentText" in (options === null || options === void 0 ? void 0 : options.labelProvider))) {
40
41
  options.labelProvider = (0, classFactory_1.createType)(BaseType_1.EBaseType.LabelProvider, options.labelProvider.type, undefined, options.labelProvider.options);
41
42
  }
42
43
  }
43
44
  this.labelProviderProperty = options === null || options === void 0 ? void 0 : options.labelProvider; // No default here as we default to labelprovider on parent surface
44
- this.labelOffsetProperty = (_h = options === null || options === void 0 ? void 0 : options.labelOffset) !== null && _h !== void 0 ? _h : this.labelOffsetProperty;
45
+ this.labelOffsetProperty = (_j = options === null || options === void 0 ? void 0 : options.labelOffset) !== null && _j !== void 0 ? _j : this.labelOffsetProperty;
45
46
  this.labelStyleProperty = options === null || options === void 0 ? void 0 : options.labelStyle;
46
- this.radiusAdjustmentProperty = (_j = options === null || options === void 0 ? void 0 : options.radiusAdjustment) !== null && _j !== void 0 ? _j : this.radiusAdjustmentProperty;
47
+ this.radiusAdjustmentProperty = (_k = options === null || options === void 0 ? void 0 : options.radiusAdjustment) !== null && _k !== void 0 ? _k : this.radiusAdjustmentProperty;
47
48
  }
48
49
  PieSegment.prototype.onAttach = function (scps) {
49
50
  this.parentSurface = scps;
@@ -55,8 +56,25 @@ var PieSegment = /** @class */ (function () {
55
56
  PieSegment.prototype.onDetach = function () {
56
57
  this.invalidateParentCallback = undefined;
57
58
  };
58
- Object.defineProperty(PieSegment.prototype, "colorLinearGradient", {
59
+ Object.defineProperty(PieSegment.prototype, "showLabel", {
59
60
  // GETTERS AND SETTERS FOR PROPERTIES
61
+ /**
62
+ * When true, show the label on this pie segment, else false
63
+ */
64
+ get: function () {
65
+ return this.showLabelProperty;
66
+ },
67
+ /**
68
+ * When true, show the label on this pie segment, else false
69
+ */
70
+ set: function (value) {
71
+ this.showLabelProperty = value;
72
+ this.notifyPropertyChanged(constants_1.PROPERTY.SHOW_LABEL);
73
+ },
74
+ enumerable: false,
75
+ configurable: true
76
+ });
77
+ Object.defineProperty(PieSegment.prototype, "colorLinearGradient", {
60
78
  /**
61
79
  * An optional color gradient
62
80
  */
@@ -10,5 +10,6 @@ export declare enum PROPERTY {
10
10
  LABEL_PROVIDER = "LABEL_PROVIDER",
11
11
  LABEL_STYLE = "LABEL_STYLE",
12
12
  LABEL_OFFSET = "LABEL_OFFSET",
13
- RADIUS_ADJUSTMENT = "RADIUS_ADJUSTMENT"
13
+ RADIUS_ADJUSTMENT = "RADIUS_ADJUSTMENT",
14
+ SHOW_LABEL = "SHOW_LABEL"
14
15
  }
@@ -15,4 +15,5 @@ var PROPERTY;
15
15
  PROPERTY["LABEL_STYLE"] = "LABEL_STYLE";
16
16
  PROPERTY["LABEL_OFFSET"] = "LABEL_OFFSET";
17
17
  PROPERTY["RADIUS_ADJUSTMENT"] = "RADIUS_ADJUSTMENT";
18
+ PROPERTY["SHOW_LABEL"] = "SHOW_LABEL";
18
19
  })(PROPERTY = exports.PROPERTY || (exports.PROPERTY = {}));
@@ -95,6 +95,7 @@ export declare class SciChartPieSurface implements ISciChartSurfaceBase {
95
95
  private canvasBorderProperty?;
96
96
  private valueModeProperty;
97
97
  private labelStyleProperty;
98
+ private resizeSubscriptionToken;
98
99
  constructor(canvases?: TSciChartSurfaceCanvases, options?: IPieSurfaceOptions);
99
100
  /**
100
101
  * Gets or sets a {@link LabelProvider} - a class which is responsible for formatting axis labels and cursor labels from numeric values
@@ -137,6 +138,10 @@ export declare class SciChartPieSurface implements ISciChartSurfaceBase {
137
138
  * @inheritDoc
138
139
  */
139
140
  delete(isAnimationProgress?: boolean): void;
141
+ /**
142
+ * Used Internally. Cleans up the chart internal parts, subscriptions, etc.
143
+ */
144
+ protected deleteInternals(isAnimationProgress?: boolean): void;
140
145
  /**
141
146
  * @inheritDoc
142
147
  */