scichart 3.2.543 → 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/ChartModifiers/DataPointSelectionModifier.js +1 -0
- package/Charting/ChartModifiers/ModifierMouseArgs.d.ts +7 -0
- package/Charting/ChartModifiers/ModifierMouseArgs.js +6 -0
- 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/Model/IPaletteProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +2 -14
- package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.js +3 -2
- 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/Charting/Visuals/SciChartSurfaceBase.d.ts +1 -1
- package/Charting/Visuals/SciChartSurfaceBase.js +1 -1
- 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/Core/Mouse/MouseManager.js +14 -1
- 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 +147 -73
- 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/types/TSciChart.d.ts +2 -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;
|
package/types/TSciChart.d.ts
CHANGED
|
@@ -670,6 +670,7 @@ export declare class SCRTScatterSeriesDrawingProvider {
|
|
|
670
670
|
export declare class SCRTOhlcDrawingParams {
|
|
671
671
|
SetPens(strokeUpPen: SCRTPen, strokeDownPen: SCRTPen): void;
|
|
672
672
|
SetBrushes(fillUpBrush: SCRTBrush, fillDownBrush: SCRTBrush): void;
|
|
673
|
+
SetValues(xValues: SCRTDoubleVector, openValues: SCRTDoubleVector, highValues: SCRTDoubleVector, lowValues: SCRTDoubleVector, closeValues: SCRTDoubleVector): void;
|
|
673
674
|
SetPalettedColors(palettedColors: IntVector): void;
|
|
674
675
|
Reset(): void;
|
|
675
676
|
count: number;
|
|
@@ -697,7 +698,7 @@ export declare class SCRTBrush {
|
|
|
697
698
|
*WebAssembly / Native Candlestick drawing provider, which draws batched / fast candles using our WebGL2 Rendering Engine
|
|
698
699
|
*/
|
|
699
700
|
export declare class SCRTCandlestickSeriesDrawingProvider {
|
|
700
|
-
DrawPointsVec(nativeContext: SCRTRenderContext,
|
|
701
|
+
DrawPointsVec(nativeContext: SCRTRenderContext, xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, params: SCRTOhlcDrawingParams): void;
|
|
701
702
|
delete(): void;
|
|
702
703
|
}
|
|
703
704
|
/**
|