scichart 3.2.549 → 3.2.555
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.
- package/Charting/Model/BaseDataSeries.d.ts +11 -0
- package/Charting/Model/BaseDataSeries.js +35 -3
- package/Charting/Model/BaseHeatmapDataSeries.d.ts +2 -0
- package/Charting/Model/BaseHeatmapDataSeries.js +4 -0
- package/Charting/Model/IDataSeries.d.ts +4 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +2 -14
- package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +4 -4
- package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +2 -2
- package/Charting/Visuals/RenderableSeries/HitTest/ImpulseSeriesHitTestProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +2 -2
- package/Charting/Visuals/RenderableSeries/HitTest/StackedMountainSeriesHitTestProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +3 -3
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +47 -40
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +10 -0
- package/Charting3D/Visuals/SciChart3DSurface.js +14 -0
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +1 -0
- package/index.dev.js +132 -68
- package/index.js +5 -3
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/SearchMode.d.ts +7 -0
- package/types/SearchMode.js +19 -1
package/package.json
CHANGED
package/types/SearchMode.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TSciChart } from "./TSciChart";
|
|
1
2
|
/**
|
|
2
3
|
* Enumeration constants to define search mode
|
|
3
4
|
*/
|
|
@@ -19,3 +20,9 @@ export declare enum ESearchMode {
|
|
|
19
20
|
*/
|
|
20
21
|
RoundUp = "RoundUp"
|
|
21
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Converts ESearchMode (typescript friendly Enum) to SCRTFindIndexSearchMode which is required by the webassembly engine
|
|
25
|
+
* @param wasmContext
|
|
26
|
+
* @param mode
|
|
27
|
+
*/
|
|
28
|
+
export declare const convertSearchMode: (wasmContext: TSciChart, mode: ESearchMode) => import("./TSciChart").SCRTFindIndexSearchMode;
|
package/types/SearchMode.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ESearchMode = void 0;
|
|
3
|
+
exports.convertSearchMode = exports.ESearchMode = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Enumeration constants to define search mode
|
|
6
6
|
*/
|
|
@@ -23,3 +23,21 @@ var ESearchMode;
|
|
|
23
23
|
*/
|
|
24
24
|
ESearchMode["RoundUp"] = "RoundUp";
|
|
25
25
|
})(ESearchMode = exports.ESearchMode || (exports.ESearchMode = {}));
|
|
26
|
+
/**
|
|
27
|
+
* Converts ESearchMode (typescript friendly Enum) to SCRTFindIndexSearchMode which is required by the webassembly engine
|
|
28
|
+
* @param wasmContext
|
|
29
|
+
* @param mode
|
|
30
|
+
*/
|
|
31
|
+
var convertSearchMode = function (wasmContext, mode) {
|
|
32
|
+
switch (mode) {
|
|
33
|
+
case ESearchMode.Exact:
|
|
34
|
+
return wasmContext.SCRTFindIndexSearchMode.Exact;
|
|
35
|
+
case ESearchMode.Nearest:
|
|
36
|
+
return wasmContext.SCRTFindIndexSearchMode.Nearest;
|
|
37
|
+
case ESearchMode.RoundDown:
|
|
38
|
+
return wasmContext.SCRTFindIndexSearchMode.RoundDown;
|
|
39
|
+
case ESearchMode.RoundUp:
|
|
40
|
+
return wasmContext.SCRTFindIndexSearchMode.RoundUp;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.convertSearchMode = convertSearchMode;
|