scichart 3.0.284 → 3.0.301

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 (75) hide show
  1. package/Charting/ChartModifiers/ChartModifierBase.d.ts +3 -2
  2. package/Charting/ChartModifiers/ChartModifierBase.js +2 -1
  3. package/Charting/ChartModifiers/ChartModifierBase2D.d.ts +6 -0
  4. package/Charting/ChartModifiers/ChartModifierBase2D.js +9 -6
  5. package/Charting/ChartModifiers/CursorModifier.d.ts +0 -4
  6. package/Charting/ChartModifiers/CursorModifier.js +4 -6
  7. package/Charting/ChartModifiers/CustomChartModifier2D.d.ts +16 -0
  8. package/Charting/ChartModifiers/CustomChartModifier2D.js +40 -0
  9. package/Charting/ChartModifiers/LegendModifier.d.ts +1 -1
  10. package/Charting/ChartModifiers/RolloverModifier.d.ts +2 -6
  11. package/Charting/ChartModifiers/RolloverModifier.js +17 -11
  12. package/Charting/ChartModifiers/YAxisDragModifier.d.ts +3 -1
  13. package/Charting/Model/BaseDataSeries.d.ts +5 -1
  14. package/Charting/Model/BaseDataSeries.js +24 -14
  15. package/Charting/Model/ChartData/SeriesInfo.d.ts +1 -0
  16. package/Charting/Model/ChartData/SeriesInfo.js +1 -0
  17. package/Charting/Model/Filters/HlcCustomFilter.js +19 -7
  18. package/Charting/Model/Filters/OhlcCustomFilter.js +20 -8
  19. package/Charting/Model/Filters/XyCustomFilter.js +15 -5
  20. package/Charting/Model/Filters/XyRatioFilter.js +1 -0
  21. package/Charting/Model/Filters/XyyCustomFilter.js +17 -6
  22. package/Charting/Model/Filters/XyzCustomFilter.js +17 -6
  23. package/Charting/Services/SciChartRenderer.js +42 -2
  24. package/Charting/Visuals/Annotations/AdornerLayer.d.ts +1 -0
  25. package/Charting/Visuals/Annotations/AdornerLayer.js +6 -3
  26. package/Charting/Visuals/Annotations/AnnotationBase.js +4 -0
  27. package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +1 -0
  28. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +2 -0
  29. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +1 -0
  30. package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +4 -0
  31. package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +2 -0
  32. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +1 -0
  33. package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +5 -2
  34. package/Charting/Visuals/SciChartDefaults.d.ts +7 -0
  35. package/Charting/Visuals/SciChartDefaults.js +7 -0
  36. package/Charting/Visuals/SciChartSurface.d.ts +5 -0
  37. package/Charting/Visuals/SciChartSurface.js +5 -0
  38. package/Charting/Visuals/licenseManager2D.js +10 -4
  39. package/Charting3D/ChartModifiers/ChartModifierBase3D.d.ts +18 -0
  40. package/Charting3D/ChartModifiers/ChartModifierBase3D.js +8 -1
  41. package/Charting3D/ChartModifiers/CustomChartModifier3D.d.ts +16 -0
  42. package/Charting3D/ChartModifiers/CustomChartModifier3D.js +40 -0
  43. package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.d.ts +7 -5
  44. package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.js +9 -4
  45. package/Charting3D/ChartModifiers/OrbitModifier3D.d.ts +11 -5
  46. package/Charting3D/ChartModifiers/OrbitModifier3D.js +7 -5
  47. package/Charting3D/ChartModifiers/ResetCamera3DModifier.d.ts +11 -8
  48. package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +16 -8
  49. package/Charting3D/Visuals/SciChart3DRenderer.d.ts +1 -0
  50. package/Charting3D/Visuals/SciChart3DRenderer.js +29 -1
  51. package/Charting3D/Visuals/SciChart3DSurface.d.ts +3 -0
  52. package/Charting3D/Visuals/SciChart3DSurface.js +7 -2
  53. package/Core/BuildStamp.d.ts +1 -1
  54. package/Core/BuildStamp.js +2 -2
  55. package/README.md +7 -8
  56. package/_wasm/scichart.browser.js +1 -1
  57. package/_wasm/scichart2d.js +16 -16
  58. package/_wasm/scichart2d.wasm +0 -0
  59. package/_wasm/scichart3d.js +10 -10
  60. package/_wasm/scichart3d.wasm +0 -0
  61. package/index.d.ts +5 -0
  62. package/index.js +21 -13
  63. package/index.min.js +1 -1
  64. package/package.json +18 -4
  65. package/types/ChartModifierType.d.ts +2 -1
  66. package/types/ChartModifierType.js +1 -0
  67. package/types/ExecuteOn.d.ts +9 -1
  68. package/types/ExecuteOn.js +9 -1
  69. package/types/MousePosition.d.ts +0 -1
  70. package/types/MousePosition.js +0 -1
  71. package/types/WatermarkPosition.d.ts +6 -0
  72. package/types/WatermarkPosition.js +10 -0
  73. package/types/licensingClasses.d.ts +8 -7
  74. package/types/licensingClasses.js +8 -7
  75. package/utils/ccall/appendDoubleVectorFromJsArray.js +1 -1
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "scichart",
3
- "version": "3.0.284",
3
+ "description": "Fast WebGL JavaScript Charting Library and Framework",
4
+ "homepage": "https://www.scichart.com",
5
+ "version": "3.0.301",
4
6
  "main": "index.js",
5
7
  "types": "index.d.ts",
6
- "description": "SciChartJS Charting Library",
7
8
  "keywords": [
8
9
  "Chart",
9
10
  "Charts",
11
+ "Data",
10
12
  "Graph",
11
13
  "Graphs",
14
+ "Plot",
15
+ "Plotting",
12
16
  "DataVisualization",
13
17
  "WebGL",
14
18
  "Realtime",
@@ -17,15 +21,25 @@
17
21
  "Dataviz",
18
22
  "Dashboard",
19
23
  "Visualization",
20
- "3D"
24
+ "3D",
25
+ "Fast",
26
+ "Fastest",
27
+ "Best",
28
+ "BigData",
29
+ "Performance",
30
+ "Plotly",
31
+ "plotly.js",
32
+ "Chartjs",
33
+ "chart.js"
21
34
  ],
22
35
  "repository": {
23
36
  "type": "git",
24
37
  "url": "https://github.com/abtsoftware/scichart.js.examples"
25
38
  },
39
+ "bugs": "https://github.com/ABTSoftware/SciChart.JS.Examples/issues",
26
40
  "scripts": {},
27
41
  "author": "SciChart Ltd",
28
- "license": "ISC",
42
+ "license": "https://www.scichart.com/scichart-eula",
29
43
  "devDependencies": {},
30
44
  "dependencies": {
31
45
  "typescript": "4.8.4"
@@ -17,5 +17,6 @@ export declare enum EChart2DModifierType {
17
17
  export declare enum EChart3DModifierType {
18
18
  MouseWheelZoom = "MouseWheelZoom",
19
19
  Orbit = "Orbit",
20
- ZoomExtents = "ZoomExtents"
20
+ ZoomExtents = "ZoomExtents",
21
+ Custom = "Custom"
21
22
  }
@@ -23,4 +23,5 @@ var EChart3DModifierType;
23
23
  EChart3DModifierType["MouseWheelZoom"] = "MouseWheelZoom";
24
24
  EChart3DModifierType["Orbit"] = "Orbit";
25
25
  EChart3DModifierType["ZoomExtents"] = "ZoomExtents";
26
+ EChart3DModifierType["Custom"] = "Custom";
26
27
  })(EChart3DModifierType = exports.EChart3DModifierType || (exports.EChart3DModifierType = {}));
@@ -13,5 +13,13 @@ export declare enum EExecuteOn {
13
13
  /**
14
14
  * Execute on MouseRightButton
15
15
  */
16
- MouseRightButton = 2
16
+ MouseRightButton = 2,
17
+ /**
18
+ * Execute on BrowserBackButton
19
+ */
20
+ BrowserBackButton = 3,
21
+ /**
22
+ * Execute on MouseDoubleClick
23
+ */
24
+ BrowserForwardButton = 4
17
25
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // MouseEvent button values accordingly to https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button#value
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.EExecuteOn = void 0;
4
5
  /**
@@ -18,5 +19,12 @@ var EExecuteOn;
18
19
  * Execute on MouseRightButton
19
20
  */
20
21
  EExecuteOn[EExecuteOn["MouseRightButton"] = 2] = "MouseRightButton";
22
+ /**
23
+ * Execute on BrowserBackButton
24
+ */
25
+ EExecuteOn[EExecuteOn["BrowserBackButton"] = 3] = "BrowserBackButton";
26
+ /**
27
+ * Execute on MouseDoubleClick
28
+ */
29
+ EExecuteOn[EExecuteOn["BrowserForwardButton"] = 4] = "BrowserForwardButton";
21
30
  })(EExecuteOn = exports.EExecuteOn || (exports.EExecuteOn = {}));
22
- ;
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @ignore
3
2
  * Defines the MousePosition enum constants, used by the {@link CursorModifier} and {@link RolloverModifier}
4
3
  */
5
4
  export declare enum EMousePosition {
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EMousePosition = void 0;
4
4
  /**
5
- * @ignore
6
5
  * Defines the MousePosition enum constants, used by the {@link CursorModifier} and {@link RolloverModifier}
7
6
  */
8
7
  var EMousePosition;
@@ -0,0 +1,6 @@
1
+ export declare enum EWatermarkPosition {
2
+ BottomLeft = 0,
3
+ BottomRight = 1,
4
+ TopLeft = 2,
5
+ TopRight = 3
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EWatermarkPosition = void 0;
4
+ var EWatermarkPosition;
5
+ (function (EWatermarkPosition) {
6
+ EWatermarkPosition[EWatermarkPosition["BottomLeft"] = 0] = "BottomLeft";
7
+ EWatermarkPosition[EWatermarkPosition["BottomRight"] = 1] = "BottomRight";
8
+ EWatermarkPosition[EWatermarkPosition["TopLeft"] = 2] = "TopLeft";
9
+ EWatermarkPosition[EWatermarkPosition["TopRight"] = 3] = "TopRight";
10
+ })(EWatermarkPosition = exports.EWatermarkPosition || (exports.EWatermarkPosition = {}));
@@ -18,13 +18,14 @@ export declare enum LicenseType {
18
18
  export declare enum LicenseCheckStatus {
19
19
  NoLicense = 0,
20
20
  FetchingFromServer = 1,
21
- LookingForLicenseWizard = 2,
22
- ValidatingDeveloperLicense = 3,
23
- NoLicenseInWizard = 4,
24
- FailedToFindLicenseWizard = 5,
25
- FailedToValidateDeveloperLicense = 6,
26
- DevKeyInRuntimeKey = 7,
27
- LicenseOK = 8
21
+ StartLookingForLicenseWizard = 2,
22
+ LookingForLicenseWizard = 3,
23
+ ValidatingDeveloperLicense = 4,
24
+ NoLicenseInWizard = 5,
25
+ FailedToFindLicenseWizard = 6,
26
+ FailedToValidateDeveloperLicense = 7,
27
+ DevKeyInRuntimeKey = 8,
28
+ LicenseOK = 9
28
29
  }
29
30
  /**
30
31
  * @Ignore
@@ -24,11 +24,12 @@ var LicenseCheckStatus;
24
24
  (function (LicenseCheckStatus) {
25
25
  LicenseCheckStatus[LicenseCheckStatus["NoLicense"] = 0] = "NoLicense";
26
26
  LicenseCheckStatus[LicenseCheckStatus["FetchingFromServer"] = 1] = "FetchingFromServer";
27
- LicenseCheckStatus[LicenseCheckStatus["LookingForLicenseWizard"] = 2] = "LookingForLicenseWizard";
28
- LicenseCheckStatus[LicenseCheckStatus["ValidatingDeveloperLicense"] = 3] = "ValidatingDeveloperLicense";
29
- LicenseCheckStatus[LicenseCheckStatus["NoLicenseInWizard"] = 4] = "NoLicenseInWizard";
30
- LicenseCheckStatus[LicenseCheckStatus["FailedToFindLicenseWizard"] = 5] = "FailedToFindLicenseWizard";
31
- LicenseCheckStatus[LicenseCheckStatus["FailedToValidateDeveloperLicense"] = 6] = "FailedToValidateDeveloperLicense";
32
- LicenseCheckStatus[LicenseCheckStatus["DevKeyInRuntimeKey"] = 7] = "DevKeyInRuntimeKey";
33
- LicenseCheckStatus[LicenseCheckStatus["LicenseOK"] = 8] = "LicenseOK";
27
+ LicenseCheckStatus[LicenseCheckStatus["StartLookingForLicenseWizard"] = 2] = "StartLookingForLicenseWizard";
28
+ LicenseCheckStatus[LicenseCheckStatus["LookingForLicenseWizard"] = 3] = "LookingForLicenseWizard";
29
+ LicenseCheckStatus[LicenseCheckStatus["ValidatingDeveloperLicense"] = 4] = "ValidatingDeveloperLicense";
30
+ LicenseCheckStatus[LicenseCheckStatus["NoLicenseInWizard"] = 5] = "NoLicenseInWizard";
31
+ LicenseCheckStatus[LicenseCheckStatus["FailedToFindLicenseWizard"] = 6] = "FailedToFindLicenseWizard";
32
+ LicenseCheckStatus[LicenseCheckStatus["FailedToValidateDeveloperLicense"] = 7] = "FailedToValidateDeveloperLicense";
33
+ LicenseCheckStatus[LicenseCheckStatus["DevKeyInRuntimeKey"] = 8] = "DevKeyInRuntimeKey";
34
+ LicenseCheckStatus[LicenseCheckStatus["LicenseOK"] = 9] = "LicenseOK";
34
35
  })(LicenseCheckStatus = exports.LicenseCheckStatus || (exports.LicenseCheckStatus = {}));
@@ -28,7 +28,7 @@ function insertDoubleVectorFromJsArray(wasmContext, source, dest, destIndex) {
28
28
  if (destIndex < beforeSize) {
29
29
  wasmContext.SCRTMemMove(dest.dataPtr(destIndex + count), // Dest
30
30
  dest.dataPtr(destIndex), // Src
31
- beforeSize * exports.SIZEOF_NUMBER); // count in bytes
31
+ (beforeSize - destIndex) * exports.SIZEOF_NUMBER); // count in bytes
32
32
  }
33
33
  // Overwrite dest memory with Js array
34
34
  // @ts-ignore