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
package/README.md CHANGED
@@ -1,154 +1,76 @@
1
- # SciChart.js: Ultra High Performance Realtime JavaScript Chart Library
1
+ # SciChart.js: High Performance JavaScript Chart Library
2
2
 
3
- [![SciChart.js Ultra High Performance Realtime JavaScript Chart library](https://www.scichart.com/wp-content/uploads/2022/05/scichart-js-oil-gas-demo-release-22-1.jpg)](https://www.scichart.com/javascript-chart-features)
3
+ [SciChart.js](https://www.scichart.com) is a High Performance JavaScript & TypeScript Charting library
4
+ which WebGL and WebAssembly to achieve incredible real-time and big-data performance. Fast and able to draw millions of datapoints in realtime, our charts will never cause your app to slow down again!
4
5
 
5
- [SciChart](https://www.scichart.com) provides a High Performance JavaScript & TypeScript Chart library which uses WebGL and WebAssembly to achieve incredible real-time and big-data performance.
6
+ > SciChart has an extremely configurable and extensible API and is
7
+ > **perfect for scientific, financial, medical, engineering and enterprise applications**,
8
+ > apps with demanding performance requirements or complex and mission critical charting.
6
9
 
7
- Open the link to find out [SciChart.js performance compared to other libraries like Chart.js, Highcharts, etc](https://www.scichart.com/javascript-chart-performance-comparison/).
10
+ [![SciChart.js 2D 3D hart types](https://www.scichart.com/wp-content/uploads/2022/12/sc-home-collage.png)](https://www.scichart.com/javascript-chart-features)
8
11
 
9
- SciChart is the _**only viable solution for mission-critical data visualization applications**_, where high quality, fast, and feature-rich charts & graphs are a large part of the application.
12
+ ## License
10
13
 
11
- Whether you are building Dashboards for business, stock-chart or trading apps, scientific or medical apps, or building a kiosk application on custom hardware with Electron, SciChart's ultra-fast 2D/3D WebGL rendering technology codenamed _Visual Xccelerator®_ will let you build apps, services and dashboards with rich charts & graphs that will delight your users.
12
-
13
- [![SciChart.js Ultra High Performance Realtime JavaScript Chart library](Sandbox/scichart-js-javascript-chart-collage-1485.jpg)](https://www.scichart.com/javascript-chart-features)
14
-
15
- # What's New!
16
-
17
- Check out what's new in SciChart.js at the below pages:
18
-
19
- - [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
20
- - [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
21
- - [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
22
-
23
- See more at the Release Notes section at bottom of the page.
14
+ > SciChart.js is commercial software with a free trial, but we are planning a free community edition soon!
15
+ >
16
+ > **Licensing Links**
17
+ >
18
+ > - [Read about our **license terms** here](https://www.scichart.com/scichart-eula)
19
+ > - [**Start a trial** by following steps here](https://scichart.com/getting-started/scichart-javascript)
20
+ > - [**Purchase commercial licenses** here](https://store.scichart.com)
21
+ > - Academic usage, universities and schools qualify for a free for a free license. Read more about this [here](https://www.scichart.com/educational-discount-programme).
22
+
23
+ ## Demo Application
24
+
25
+ - We've published a **live demo app** at [demo.scichart.com](https://demo.scichart.com) with 85 examples you can try in browser.
26
+ - You can clone the repo for the demo app at Github: [github.com/abtsoftware/scichart.js.examples](https://github.com/abtsoftware/scichart.js.examples)
27
+ - Or, checkout our boilerplates for various popular Js frameworks:
28
+ - [React](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-react-scichart) + SciChart boilerplate
29
+ - [Vue.js](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-vue-scichart)
30
+ - [Angular](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-angular-scichart)
31
+ - [NextJs](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-nextjs)
32
+ - [Nuxt.js](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-nuxtjs)
33
+ - [Electron](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-electron)
24
34
 
25
35
  # Getting Started
26
36
 
27
- > We've prepared a short [Getting Started guide here](https://www.scichart.com/getting-started-scichart-js).
37
+ > We've prepared a short [Getting Started guide here](https://scichart.com/getting-started/scichart-javascript).
28
38
  >
29
39
  > This will walk you through the entire process of starting a trial and show you where tutorials and documentation are and examples.
30
40
 
31
- ## Quick Start with Browser Bundle
41
+ ## Useful Links
32
42
 
33
- 1. **Make sure you downloaded [the Licensing Wizard](https://www.scichart.com/getting-started-scichart-js) and started trial**
43
+ ### Features & benefits
34
44
 
35
- Leave the Licensing Wizard running, it is used to validate licenses.
45
+ - Learn about [features of SciChart.js](https://scichart.com/javascript-chart-features) here
36
46
 
37
- 2. **Create scichart-example.js file with a simple chart**
47
+ ### Onboarding
38
48
 
39
- ```javascript
40
- async function initSciChart() {
41
- // See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
42
- // call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
43
- SciChart.SciChartSurface.useWasmFromCDN();
44
-
45
- // Create a chart using the json builder api
46
- await SciChart.chartBuilder.buildChart("scichart-root", {
47
- series: {
48
- type: "LineSeries",
49
- options: { stroke: "steelblue" },
50
- xyData: {
51
- xValues: [1, 2, 5, 8, 10],
52
- yValues: [3, 1, 7, 5, 8]
53
- }
54
- }
55
- });
56
- }
49
+ - [Tutorials](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Setting%20up%20a%20Project%20with%20SciChart.js.html)
50
+ - [Getting Started Guide](https://scichart.com/getting-started/scichart-javascript/)
51
+ - [Documentation](https://www.scichart.com/documentation/js/current/webframe.html)
57
52
 
58
- initSciChart();
59
- ```
53
+ ### Support
60
54
 
61
- See the documentation for [IScichart2Ddefinition](https://www.scichart.com/documentation/js/current/typedoc/interfaces/iscichart2ddefinition.html) for all the options available.
55
+ - [Community forums](https://scichart.com/questions)
56
+ - [Stackoverflow tag](https://stackoverflow.com/tags/scichart)
57
+ - [Contact Us (Technical support or sales)](https://scichart.com/contact-us)
62
58
 
63
- 3. **Create html file**
59
+ ### Purchasing
64
60
 
65
- The file should include **scichart.browser.js** the same version as in the code snippet above, **div element with id "scichart-root"** and deferred **scichart-example.js** script which is executed after the page is loaded.
66
-
67
- ```html
68
- <!DOCTYPE html>
69
- <html lang="en">
70
- <head>
71
- <meta charset="utf-8" />
72
- <meta name="viewport" content="width=device-width, initial-scale=1" />
73
- <!-- Include SciChart.js -->
74
- <script
75
- src="https://cdn.jsdelivr.net/npm/scichart@2.2.2401/_wasm/scichart.browser.js"
76
- crossorigin="anonymous"
77
- ></script>
78
- <script src="scichart-example.js" defer></script>
79
- <title>Hello, SciChart.js world!</title>
80
- </head>
81
- <body>
82
- <div id="scichart-root" style="width: 800px; height: 600px;"></div>
83
- </body>
84
- </html>
85
- ```
86
-
87
- 4. **Host both files** on any web server. As a result you will see a simple line chart. Please note because we are using WebAssembly just opening the HTML file without a server will not work.
88
-
89
- Follow [the link](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-browser-global-module) to find source code for this example.
61
+ - [Pricing](https://store.scichart.com)
90
62
 
91
63
  ## Quick Start with NPM and Webpack
92
64
 
93
65
  SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
94
66
 
95
- 1. **Make sure you downloaded [the Licensing Wizard](https://www.scichart.com/getting-started-scichart-js) and started trial**
96
-
97
- Leave the Licensing Wizard running, it is used to validate licenses.
98
-
99
- 2. **Create a new Webpack project** or use an existing one.
100
-
101
- ```shell
102
- npm init -y
103
- npm install webpack webpack-cli webpack-dev-server copy-webpack-plugin --save-dev
104
- ```
105
-
106
- add start script to package.json
107
-
108
- ```
109
- "scripts": {
110
- "start": "webpack serve"
111
- },
112
- ```
113
-
114
- 3. **Install SciChart.js**
67
+ 1. **Install SciChart.js**
115
68
 
116
69
  ```shell
117
70
  npm i scichart
118
71
  ```
119
72
 
120
- 4. **Add webpack.config.js file**
121
-
122
- Use CopyPlugin to copy wasm and data files and serve them by webpack-dev-server. SciChart.js uses WebAssembly and those files must be loaded. You can avoid this by using SciChart.SciChartSurface.useWasmFromCDN() as noted below,
123
- but in many scenarios it will be important to be able to serve the webassembly files directly.
124
-
125
- ```
126
- const path = require('path');
127
- const CopyPlugin = require("copy-webpack-plugin");
128
-
129
- module.exports = {
130
- mode: 'development',
131
- entry: "./src/index.js",
132
- performance: {
133
- hints: false
134
- },
135
- output: {
136
- path: path.resolve(__dirname, 'build'),
137
- filename: 'bundle.js',
138
- },
139
- plugins: [
140
- new CopyPlugin({
141
- patterns: [
142
- { from: "src/index.html", to: "" },
143
- { from: "node_modules/scichart/_wasm/scichart2d.data", to: "" },
144
- { from: "node_modules/scichart/_wasm/scichart2d.wasm", to: "" }
145
- ]
146
- })
147
- ]
148
- };
149
- ```
150
-
151
- 5. **Create a simple chart** by putting this into `src/index.js` file
73
+ 2 **Create a simple chart** by putting this into `src/index.js` file
152
74
 
153
75
  ```javascript
154
76
  import { SciChartSurface } from "scichart/Charting/Visuals/SciChartSurface";
@@ -156,23 +78,22 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
156
78
  import { XyDataSeries } from "scichart/Charting/Model/XyDataSeries";
157
79
  import { FastLineRenderableSeries } from "scichart/Charting/Visuals/RenderableSeries/FastLineRenderableSeries";
158
80
 
159
- // Optional:
160
- // call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
161
- // Alternatively, you can package wasm with webpack or load from URL
162
- SciChart.SciChartSurface.useWasmFromCDN();
163
- // See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
81
+ // Call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
82
+ // Alternative methods for serving wasm from webpack or offline are available on our website
83
+ SciChartSurface.useWasmFromCDN();
84
+
85
+ // Apply your licese key once before startup
86
+ SciChartSurface.setRuntimeLicenseKey("--YOUR_KEY_HERE--");
164
87
 
165
88
  async function initSciChart() {
166
89
  // Create the SciChartSurface in the div 'scichart-root'
167
- // The SciChartSurface, and webassembly context 'wasmContext' are paired. This wasmContext
168
- // instance must be passed to other types that exist on the same surface.
169
90
  const { sciChartSurface, wasmContext } = await SciChartSurface.create("scichart-root");
170
91
 
171
92
  // Create an X,Y Axis and add to the chart
172
- const yAxis = new NumericAxis(wasmContext);
173
- sciChartSurface.xAxes.add(xAxis);
174
- sciChartSurface.yAxes.add(yAxis);
93
+ sciChartSurface.xAxes.add(new NumericAxis(wasmContext));
94
+ sciChartSurface.yAxes.add(new NumericAxis(wasmContext));
175
95
 
96
+ // Create a line series with some data
176
97
  const dataSeries = new XyDataSeries(wasmContext, {
177
98
  xValues: [1, 2, 5, 8, 10],
178
99
  yValues: [3, 1, 7, 5, 8]
@@ -187,7 +108,7 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
187
108
  initSciChart();
188
109
  ```
189
110
 
190
- 6. **Create src/index.html file**
111
+ 3 **Create src/index.html file**
191
112
 
192
113
  ```html
193
114
  <html lang="en-us">
@@ -204,285 +125,52 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
204
125
  </html>
205
126
  ```
206
127
 
207
- 7. **Run it `npm start`**. As a result you will see a simple line chart.
208
-
209
- Follow [the link](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-simple-chart) to find source code for this example.
210
-
211
- ## Documentation & Tutorials
212
-
213
- We've taken the time to create hundreds of documentation pages and video tutorials for our JavaScript Charts, which you can find over at https://www.scichart.com/javascript-chart-documentation. Take a look here for tutorials, getting-started guides, API Docs (TypeDoc) and more.
214
-
215
- [![JavaScript Chart Documentation](Sandbox/scichart-js-javascript-chart-documentation.PNG)](https://www.scichart.com/javascript-chart-documentation)
216
-
217
- ## Online Demo
218
-
219
- An online demo version of scichart.js.examples can be seen at https://demo.scichart.com. Get the source for the demos and examples at https://github.com/abtsoftware/scichart.js.examples
220
-
221
- # Release Notes
222
-
223
- ## Version 2.2 with new Chart Types
224
-
225
- See [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
226
-
227
- **New Features**
228
-
229
- - Added an Oil & gas Showcase demo
230
- - Added a Lollipop (Impulse / Stem) Chart Type
231
- - Added Error Bars (horizontal & vertical error bars) chart types
232
- - Added multiple new enhancements to Pie / Donut Chart, including
233
- - Animated Updates on Pie chart segments
234
- - Ability to format, hide or change the HTML content of pie chart labels
235
- - Added multiple styling & configuration improvements to pie charts
236
- - Added Axis configuration options
237
- - Ability to draw series behind axis (axis inside chart)
238
- - You can now set the Axis Background and Border
239
- -
240
-
241
- ## Version 2.1 with Major Performance Improvements
242
-
243
- See [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
244
-
245
- We’ve used our expertise high performance computing in other platforms of SciChart to make massive improvements to chart rendering, updating and startup speed in SciChart.js v2.1.
246
-
247
- **Performance improvements**:
248
-
249
- - Smart Data-point Resampling was implemented. Datapoint resampling ensures the minimum viable data-set is displayed on the screen. Resampling is intended to be visually lossless, and automatic.
250
- - Improved raw drawing speed of our underlying graphics engine by over 100%
251
- - Added Async Label Creation option with global application or per-chart caching
252
- - Optimised data transfers from JavaScript to WebAssembly
253
- - Improved chart performance when using RolloverModifier and CursorModifier
254
- - Implementation of Auto-detecting data distribution flags in DataSeries (flags dataSeries.isSorted, dataSeries.containsNaN). Specifying these flags gives better performance in big-data scenarios.
255
- - Optimizations for Annotation notifyPropertyChange method not to be called if the property has not changed
256
- - Display performance warnings in dev environment
257
- - Optimisation getXRange() algorithm for unsorted data
258
-
259
- **Documentation**:
260
-
261
- - Added Documentation of how to use SciChart.js in vannilla HTML/Js (without npm) using our Browser Bundle served by CDN
262
- - Added Documentation for Performance Tips & Tricks
263
- - Added Documentation for new Data-point Resampling features
264
- - Added Documentation & Examples for new Generic Animations API
265
-
266
- **Live demo demo.scichart.com**:
267
-
268
- - Added Generic Animations example to the Demo app
269
-
270
- **Other improvements**:
271
-
272
- - Added labels support outside of a Pie Chart
273
- - Better error message if wasm cannot be loaded, or the wrong version loaded
274
- - Add a property to configure stacked axis length
275
- - Allow passing div element reference into SciChartSurface.create to make SciChart.js possible to use in shadow DOM
276
- - Improve guard checks for data series creation
277
- - Snap RolloverModifier vertical line to data points
278
- - Add explanation error message for trial expired on old version
279
- - Add AxisRenderer.axisSize property which allows setting axis label width
280
- - Add includeAxis property to MouseWheelZoomModifier
281
- - Add AxisRenderer.axisThickness
282
- - Prevent CursorModifier axis labels to be cut out of the chart
283
-
284
- See all the details at [SciChart.js v2.1 release](https://www.scichart.com/scichart-js-v2-1-released/).
285
-
286
- ## Version 2.0
287
-
288
- See [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
289
-
290
- SciChart.js v2 is a huge release with many new features, improvements and fixes including:
291
-
292
- - New pure-json builder api
293
- - Data and Style Animations
294
- - Logarithmic Axis, Inner Axis, Stacked Axis
295
- - Datapoint and Series Selection
296
- - Data filters and transformations
297
- - Retina / High DPI Display / Browser Zoom Support
298
- - Axis label customization, rotated and multiline text and images
299
- - Transparent/image backgrounds
300
- - Loader customization
301
- - And many more!
302
-
303
- See all the details at [SciChart.js v2 release](https://www.scichart.com/scichart-js-v2-beta-released/).
304
-
305
- # Our Chart Features
128
+ 4 **Run it `npm start`**. As a result you will see a simple line chart.
306
129
 
307
- An up to date list of features can be found at [scichart.com/javascript-chart-features](https://scichart.com/javascript-chart-features).
308
-
309
- ## JavaScript Chart Types
310
-
311
- Supports many 2D & 3D Chart types including:
312
-
313
- - [Line Chart](https://demo.scichart.com/javascript-line-chart)
314
- - [Digital (Step) Line Chart](https://demo.scichart.com/javascript-digital-line-chart)
315
- - [Area / Mountain Chart](https://demo.scichart.com/javascript-mountain-chart)
316
- - [Digital (Step) Area / Mountain Chart](https://demo.scichart.com/javascript-mountain-chart)
317
- - [Column Chart](https://demo.scichart.com/javascript-column-chart)
318
- - [Stacked Column Chart](https://demo.scichart.com/javascript-stacked-column-chart)
319
- - [100% Stacked Column Chart](https://demo.scichart.com/javascript-stacked-column-chart)
320
- - [Scatter Chart](https://demo.scichart.com/javascript-scatter-chart)
321
- - [Bubble Chart](https://demo.scichart.com/javascript-bubble-chart)
322
- - [Pie Chart](https://demo.scichart.com/javascript-pie-chart)
323
- - [Donut Chart](https://demo.scichart.com/javascript-donut-chart)
324
- - [Candlestick Chart](https://demo.scichart.com/javascript-candlestick-chart)
325
- - [Ohlc Chart](https://demo.scichart.com/javascript-ohlc-chart)
326
- - [Band (High low Fill) Chart](https://demo.scichart.com/javascript-band-chart)
327
- - [Digital (Step) Band Chart](https://demo.scichart.com/javascript-digital-band-chart)
328
- - [Heatmap or Spectrogram Chart](https://demo.scichart.com/javascript-heatmap-chart)
329
- - [Fan Chart](https://demo.scichart.com/javascript-fan-chart)
330
- - [Contours Chart](https://demo.scichart.com/javascript-heatmap-chart-with-contours)
331
- - [Stacked Mountain Chart](https://demo.scichart.com/javascript-stacked-mountain-chart)
332
- - [3D Surface Mesh or 3D Area Chart](https://demo.scichart.com/javascript-3d-surface-mesh-chart)
333
- - [3D Bubble Chart](https://demo.scichart.com/javascript-3d-bubble-chart)
334
- - [3D Point Cloud Chart](https://demo.scichart.com/javascript-fan-chart)
335
-
336
- ## Insane Realtime performance
337
-
338
- [SciChart's](https://www.scichart.com) Ultra High performance [JavaScript Charts](https://www.scichart.com/javascript-chart-features/) can draw many millions of data-points, allowing you to zoom, pan, or browse big-data sets with ease. [SciChart](https://www.scichart.com) enables next-generation JavaScript &amp; TypeScript chart applications by allowing previously impossible datarates and update-rates. After all, we make 'Impossible projects possible'!
339
-
340
- ![SciChart.js Chart Performance](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-performance-loading-millions-datapoints-instantly.jpg)
341
-
342
- ## Rich Interactive Charts
343
-
344
- Drag to zoom, pan, mousewheel zoom, drag axis to zoom, zoom extents or touch behaviour is all supported out of the box.
345
-
346
- ![SciChart.js Chart Interactivity](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/Scichart-js-rich-interactive-javascript-chart.jpg)
347
-
348
- ## Chart Animations
349
-
350
- SciChart.js supports multiple types of animations to make impressive dashboards and browser applications which will delight your users.
351
-
352
- Add series animations which execute when a chart type is shown. Data animations morph or animate from one dataset to another. Style Animations - allow you to animate style (line/fill colour, line thickness) from one set of properties to another.
353
-
354
- ## Cursors & Tooltips
355
-
356
- Our JavaScript Chart library features rich cursors & tooltips out of the box, which are built on our powerful ChartModifier API
357
-
358
- Choose from built-in Cursors, Crosshairs, Tooltips on mouse/touch or Rollover (showing vertical lines) as well as Legends. Decide what information is presented in a tooltip. Style tooltips to fit your application.
359
-
360
- ![SciChart.js Chart Cursors](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/Scichart-js-javascript-chart-tooltips-cursors-rollovers.jpg)
361
-
362
- ## Annotations & Markers
363
-
364
- Our JavaScript Chart library features a powerful Annotations API which allows you to overlay Line, Text, Boxes, Shapes or Watermarks over the chart, at specific X/Y data locations. Annotations update position as you zoom or pan the chart.
365
-
366
- ![SciChart.js Chart Annotations](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-javascript-chart-annotations-markers-text-lines-boxes-1.jpg)
367
-
368
- ## Styling & Theming
369
-
370
- SciChart.js features several themes out of the box, including Light Theme and Dark Theme. SciChart supports building Custom Themes either inheriting our own or completely bespoke.
371
-
372
- Our charts support transparent background, image background, blurred or glass effect background. Style SciChart to fit your application and delight your users!
373
-
374
- ![SciChart.js Chart Styling and Theming](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-theme-javascript-chart-background-image-transparent-background.jpg)
375
-
376
- ## Many Axis Types and Options
377
-
378
- SciChart.js features multiple axis types out of the box, including Numeric Axis, Category Axis (Stock Chart axis) and Logarithmic Axis.
379
-
380
- Format labels as Dates, numbers, strings (text) or images. Multi-line text labels and rotated axis labels are supported. Full control over axis label format, label style and label / gridline interval is possible with SciChart.js. The flexibility of our JavaScript charts are second to none.
381
-
382
- Unlike other JavaScript Charts that only support a single X and Y axis, SciChart.js supports unlimited, multiple X & Y Axis.
383
-
384
- You can scale series independently, have left, right, top or bottom axis. You can scale axis independently.
385
-
386
- ![SciChart.js Chart Axis](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/javascript-chart-with-multiple-x-axis.jpg)
387
-
388
- ## Vertical Charts
389
-
390
- SciChart.js supports vertical or rotated charts. Set a YAxis alignment to the left, and XAxis alignment to the top, and this will rotate a chart 90 degrees.
391
-
392
- ![SciChart.js Vertical Charts](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-vertical-rotated-javascript-chart.jpg)
393
-
394
- ## Chart Series Selection
395
-
396
- SciChart.js features serles selection and hover events on click. We've also packaged a Chart Modifier which will apply selected or hovered series styling to the chart.
397
-
398
- Get notified when a user clicks on a chart series. Use this to perform visual-feedback of selection or chart drill-down, making for compelling interactive browser apps.
399
-
400
- ![SciChart.js Chart Series Selection](https://www.scichart.com/wp-content/uploads/2021/10/scichart-js-javascript-chart-series-selection.jpg%22)
401
-
402
- ## Chart Data point selection
403
-
404
- SciChart.js also supports data-point selection by clicking or dragging a rectangle on the chart.
405
-
406
- Get notified when a user clicks a data-point by events and callbacks. Use this to update the selection visual and create an extra layer of interaction to data-driven apps.
407
-
408
- ![SciChart.js Chart Datapoint Selection](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-select-datapoints-javascript-chart.jpg)
409
-
410
- ## Per-Point Colouring
411
-
412
- With SciChart.js you can colour data-points based on a rule e.g. would you like all data-points with value > 10 to be coloured red? With our PaletteProvider API you can do this.
413
-
414
- Colour volume bars in a stock chart red or green based on up or down, dynamically style data-points or sections of the chart based on thresholds, custom objects and more.
415
-
416
- ![SciChart.js Chart Per-Point Coloring](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-color-points-individually-in-javascript.jpg)
417
-
418
- ## Financial Stock Charts
419
-
420
- SciChart.js supports dynamic, real-time Candlestick and Ohlc charts. Connect our charts to real-time exchange data and they can tick & update in real-time. Our performance is second-to-none making SciChart.js perfect for financial stock chart apps.
421
-
422
- ![SciChart.js Financial Stock Charts](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-candletick-financial-charts-javascript.jpg)
423
-
424
- ## Scrolling Overview
425
-
426
- Another stock-chart related feature, we've added a Scrolling Overview control to the SciChart.js library. This allows you to see a history of the entire chart data and scroll back & forth instantly. Perfect for financial & stock chart apps!
427
-
428
- ![SciChart.js Scrolling Overview](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-scroll-javascript-chart-overview-control.jpg)
429
-
430
- ## Link Multiple Charts
431
-
432
- With SciChart.js you can link multiple charts. Synchronize Zooming and Panning across charts. Have a single tooltip shared across chart surfaces. Create multi-pane stock charts with technical indicators.
433
-
434
- Plus, with support for hundreds of WebGL powered charts on a single webpage, you won't get caught short running out of WebGL contexts or experience slow performance with SciChart.
435
-
436
- ![SciChart.js Link Multiple Charts](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichart-js-multi-panel-stock-chart-javascript.jpg)
437
-
438
- ## Filters and Data Transforms
439
-
440
- SciChart.js features a filters and data-transforms API. Add moving averages, linear trendlines to a chart. Scale and Offset a series. Calculate the ratio between two series.
441
-
442
- All SciChart's filters update dynamically as the underlying data updates. What's more, you can create custom filters to transform your data dynamically and on the fly.
443
-
444
- ![SciChart.js Filters and Data Transforms](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichartjs-javascript-chart-trendline-moving-average-filters-data-transforms.jpg)
445
-
446
- ## Builder API & JSON Serialization
447
-
448
- The Builder API - allows you to create chart definitions with JSON or JavaScript objects. It's never before been easier to create JavaScript charts with SciChart.js. Define your charts on the server, or in a re-usable React component and share them throughout your app.
449
-
450
- With SciChart.js every type is JSON Serializable, so you can now create entire chart definitions server-side out of JSON objects and rehydrate them on the client. Save/load chart settings to JSON, allowing rich, dynamic apps with our powerful JavaScript Chart library.
451
-
452
- ![SciChart.js Builder API and JSON Serialization](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichartjs-builder-api.jpg)
453
-
454
- ## Accessibility
455
-
456
- We've build Accessibility hooks into SciChart.js making it suitable for enterprise-grade applications.
457
-
458
- Accessibility features include Voiceover (text to speech for chart parts), Theming, Scaling of fonts with Browser zoom / DPI. color and contrast, and keyboard interaction on the chart.
459
-
460
- ## Plot 3D Scientific Charts
461
-
462
- With SciChart.js you can plot 3D Scientific Charts such as this 3D Surface Mesh (3D Mountain or Area chart), 3D Bubble, Scatter or point-cloud.
463
-
464
- With the help of our cross-platform Visual Xccelerator 3D engine you can plot scientific surface mesh charts in real-time with tens of thousands of cells JavaScript and TypeScript applications.
465
-
466
- ![SciChart.js Plot 3D Scientific Charts](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichartjs-javascript-3d-mountain-surface-chart.jpg)
130
+ > Further reading:
131
+ >
132
+ > - See the [Getting Started Page](https://scichart.com/getting-started/scichart-javascript/) as well as our [Tutorials](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Setting%20up%20a%20Project%20with%20SciChart.js.html) for more information on creating your first chart
467
133
 
468
- ## Plot 3D Point Clouds
134
+ ## Quick Start with vanilla JS
469
135
 
470
- Our 3D Scatter / Bubble and Point-cloud chart types allow you to plot 3-dimensional data with XYZ points.
136
+ If your environment does not include a bundler like Parcel or Webpack, you can still load SciChart.js using the browser bundle module.
471
137
 
472
- For the first time you can use our powerful JavaScript 3D Chart library to visualise point-cloud outputs from LIDAR, UAV, self-driving car sensors, or plot the relationship between values in scientific, machine learning or statistical data with 3 or 4 (XYZ, Color) or 5 (XYZ, Color, Size) dimensions.
138
+ 1.**Create scichart-example.js file with a simple chart**
473
139
 
474
- ![SciChart.js Plot 3D Point Clouds](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichartjs-javascript-3d-point-cloud-scatter-bubble-chart-2.jpg)
140
+ ```javascript
141
+ async function initSciChart() {
142
+ // See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
143
+ // call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
144
+ SciChart.SciChartSurface.useWasmFromCDN();
475
145
 
476
- ## Heatmaps and Spectrograms
146
+ // Apply your licese key once before startup
147
+ SciChart, SciChartSurface.setRuntimeLicenseKey("--YOUR_KEY_HERE--");
148
+
149
+ // Create a chart using the json builder api
150
+ await SciChart.chartBuilder.buildChart("scichart-root", {
151
+ series: {
152
+ type: "LineSeries",
153
+ options: { stroke: "steelblue" },
154
+ xyData: {
155
+ xValues: [1, 2, 5, 8, 10],
156
+ yValues: [3, 1, 7, 5, 8]
157
+ }
158
+ }
159
+ });
160
+ }
477
161
 
478
- SciChart.js features multiple axis types out of the box, including Numeric Axis, Category Axis (Stock Chart axis) and Logarithmic Axis.
162
+ initSciChart();
163
+ ```
479
164
 
480
- Format labels as Dates, numbers, strings (text) or images. Multi-line text labels and rotated axis labels are supported. Full control over axis label format, label style and label / gridline interval is possible with SciChart.js. The flexibility of our JavaScript charts are second to none.
165
+ > See the full [browser bundle tutorial here](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Including%20SciChart.js%20in%20an%20HTML%20Page.html)
481
166
 
482
- ![SciChart.js Heatmaps and Spectrograms](https://abtsoftware-wpengine.netdna-ssl.com/wp-content/uploads/2021/10/scichartjs-javascript-heatmap-chart-spectrogram-ultrasound.jpg)
167
+ # Release notes. What's New!
483
168
 
484
- ## Enterprise Grade Support
169
+ Check out what's new in SciChart.js at the below pages:
485
170
 
486
- With Open Source JavaScript Charts you may find yourself stuck without technical support if something goes wrong. SciChart provides enterprise grade technical support which has been 5-Star Rated for many years.
171
+ - [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
172
+ - [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
173
+ - [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
174
+ - SciChart.js v3.0 Alpha What's New - Coming Soon!
487
175
 
488
- Many competitors have a limit of support, but we provide 1-year unlimited technical support and latest-version updates (subject to fair use policy) to all our customers. Our customers find our tech-support to be a huge time & money saver. If you want to build excellent quality projects, build them quickly and solve problems when they occur, choose SciChart.js
176
+ We release often and if you want to report a bug, request a feature or give general feedback [contact us](https://scichart.com/contact-us)!