scichart 3.2.543 → 3.2.549
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/IPaletteProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.js +3 -2
- package/Charting/Visuals/SciChartSurfaceBase.d.ts +1 -1
- package/Charting/Visuals/SciChartSurfaceBase.js +1 -1
- 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.dev.js +18 -8
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/TSciChart.d.ts +2 -1
|
@@ -365,6 +365,7 @@ var DataPointSelectionModifier = /** @class */ (function (_super) {
|
|
|
365
365
|
return json;
|
|
366
366
|
};
|
|
367
367
|
DataPointSelectionModifier.prototype.delete = function () {
|
|
368
|
+
this.selectionChanged.unsubscribeAll();
|
|
368
369
|
this.selectionRect = (0, Deleter_1.deleteSafe)(this.selectionRect);
|
|
369
370
|
_super.prototype.delete.call(this);
|
|
370
371
|
};
|
|
@@ -14,6 +14,7 @@ declare type TModifierMouseArgsParams = {
|
|
|
14
14
|
ctrlKey?: boolean;
|
|
15
15
|
altKey?: boolean;
|
|
16
16
|
nativeEvent?: MouseEvent;
|
|
17
|
+
isActiveSubChartEvent?: boolean;
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
19
20
|
* Mouse arguments passed to {@link ChartModifierBase} methods
|
|
@@ -98,6 +99,12 @@ export declare class ModifierMouseArgs extends ModifierArgsBase {
|
|
|
98
99
|
* The native pointer event
|
|
99
100
|
*/
|
|
100
101
|
nativeEvent: MouseEvent;
|
|
102
|
+
/**
|
|
103
|
+
* Identifies if the event comes from an active sub chart
|
|
104
|
+
* Useful for SubChartSurfaces with modifierGroups
|
|
105
|
+
* for SciChartSurface returns always True
|
|
106
|
+
*/
|
|
107
|
+
readonly isActiveSubChartEvent: boolean;
|
|
101
108
|
/**
|
|
102
109
|
* Creates an instance of {@link ModifierMouseArgs}
|
|
103
110
|
* @param mousePoint the mouse point as an X,Y location
|
|
@@ -45,6 +45,12 @@ var ModifierMouseArgs = /** @class */ (function (_super) {
|
|
|
45
45
|
var _this = this;
|
|
46
46
|
var _a;
|
|
47
47
|
_this = _super.call(this) || this;
|
|
48
|
+
/**
|
|
49
|
+
* Identifies if the event comes from an active sub chart
|
|
50
|
+
* Useful for SubChartSurfaces with modifierGroups
|
|
51
|
+
* for SciChartSurface returns always True
|
|
52
|
+
*/
|
|
53
|
+
_this.isActiveSubChartEvent = true;
|
|
48
54
|
_this.mousePoint = mousePoint;
|
|
49
55
|
_this.button = options === null || options === void 0 ? void 0 : options.button;
|
|
50
56
|
_this.mouseWheelDelta = (_a = options === null || options === void 0 ? void 0 : options.mouseWheelDelta) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -148,12 +148,13 @@ var OhlcSeriesDrawingProvider = /** @class */ (function (_super) {
|
|
|
148
148
|
// console.log(sx);
|
|
149
149
|
// console.log(sy);
|
|
150
150
|
var xDrawValues = isCategoryAxis ? pointSeries.indexes : xValues;
|
|
151
|
-
this.
|
|
151
|
+
this.args.SetValues(xDrawValues, openValues, highValues, lowValues, closeValues);
|
|
152
|
+
this.nativeDrawingProvider.DrawPointsVec(nativeContext, renderPassData.xCoordinateCalculator.nativeCalculator, renderPassData.yCoordinateCalculator.nativeCalculator, this.args);
|
|
152
153
|
if (fifoSweeping && fifoCapacity === this.parentSeries.dataSeries.count()) {
|
|
153
154
|
this.args.startIndex = Math.min(closeValues.size(), fifoStartIndex + fifoSweepingGap);
|
|
154
155
|
this.args.count = Math.max(0, closeValues.size() - fifoStartIndex - fifoSweepingGap);
|
|
155
156
|
if (this.args.count > 0) {
|
|
156
|
-
this.nativeDrawingProvider.DrawPointsVec(nativeContext,
|
|
157
|
+
this.nativeDrawingProvider.DrawPointsVec(nativeContext, renderPassData.xCoordinateCalculator.nativeCalculator, renderPassData.yCoordinateCalculator.nativeCalculator, this.args);
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
160
|
};
|
|
@@ -168,7 +168,7 @@ export declare abstract class SciChartSurfaceBase extends DeletableEntity implem
|
|
|
168
168
|
static setRuntimeLicenseKey(keyCode: string): void;
|
|
169
169
|
/**
|
|
170
170
|
* Causes SciChart to always use its built in community non-commercial license. This stops it attempting to look for the license wizard
|
|
171
|
-
* Usage of the community license constitutes
|
|
171
|
+
* Usage of the community license constitutes acceptance of the terms at https://www.scichart.com/community-licensing/
|
|
172
172
|
*/
|
|
173
173
|
static UseCommunityLicense(): void;
|
|
174
174
|
/**
|
|
@@ -189,7 +189,7 @@ var SciChartSurfaceBase = /** @class */ (function (_super) {
|
|
|
189
189
|
};
|
|
190
190
|
/**
|
|
191
191
|
* Causes SciChart to always use its built in community non-commercial license. This stops it attempting to look for the license wizard
|
|
192
|
-
* Usage of the community license constitutes
|
|
192
|
+
* Usage of the community license constitutes acceptance of the terms at https://www.scichart.com/community-licensing/
|
|
193
193
|
*/
|
|
194
194
|
SciChartSurfaceBase.UseCommunityLicense = function () {
|
|
195
195
|
licenseManager2D_1.licenseManager.setRuntimeLicenseKey("community");
|
package/Core/BuildStamp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TSciChart } from "../types/TSciChart";
|
|
2
2
|
import { TSciChart3D } from "../types/TSciChart3D";
|
|
3
|
-
export declare const libraryVersion = "3.2.
|
|
3
|
+
export declare const libraryVersion = "3.2.549";
|
|
4
4
|
export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
|
package/Core/BuildStamp.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.checkBuildStamp = exports.libraryVersion = void 0;
|
|
4
|
-
var buildStamp = "
|
|
4
|
+
var buildStamp = "2024-01-08T00:00:00";
|
|
5
5
|
var result;
|
|
6
6
|
// tslint:disable-next-line:no-var-requires
|
|
7
|
-
exports.libraryVersion = "3.2.
|
|
7
|
+
exports.libraryVersion = "3.2.549";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.MouseManager = void 0;
|
|
4
15
|
var ModifierMouseArgs_1 = require("../../Charting/ChartModifiers/ModifierMouseArgs");
|
|
@@ -542,6 +553,7 @@ var MouseManager = /** @class */ (function () {
|
|
|
542
553
|
});
|
|
543
554
|
subCharts === null || subCharts === void 0 ? void 0 : subCharts.forEach(function (scs) {
|
|
544
555
|
var subEventType = eventType;
|
|
556
|
+
var isActiveSubChartEvent = true;
|
|
545
557
|
if (scs.mouseManager.isOver) {
|
|
546
558
|
if (scs !== currentActiveSubChart) {
|
|
547
559
|
scs.mouseManager.isOver = false;
|
|
@@ -570,11 +582,12 @@ var MouseManager = /** @class */ (function () {
|
|
|
570
582
|
if (![EMouseEventType.Cancel, EMouseEventType.Up, EMouseEventType.Move].includes(subEventType)) {
|
|
571
583
|
subEventType = undefined;
|
|
572
584
|
}
|
|
585
|
+
isActiveSubChartEvent = false;
|
|
573
586
|
}
|
|
574
587
|
}
|
|
575
588
|
if (subEventType !== undefined) {
|
|
576
589
|
var masterData = _this.getMasterData(currentActiveSubChart, args);
|
|
577
|
-
_this.processSubChartEvent(subEventType, scs, args, subCharts, masterData);
|
|
590
|
+
_this.processSubChartEvent(subEventType, scs, __assign(__assign({}, args), { isActiveSubChartEvent: isActiveSubChartEvent }), subCharts, masterData);
|
|
578
591
|
}
|
|
579
592
|
});
|
|
580
593
|
};
|