scichart 2.2.2389 → 2.2.2393
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/Visuals/RenderableSeries/BaseRenderableSeries.js +21 -0
- package/Charting3D/Visuals/createMaster3d.js +2 -2
- package/Charting3D/Visuals/createSingle3d.js +2 -2
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +95 -95
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +95 -95
- package/_wasm/scichart3d.wasm +0 -0
- package/package.json +1 -1
- package/types/NumericFormat.d.ts +4 -0
- package/types/NumericFormat.js +4 -0
- package/utils/number.js +15 -2
|
@@ -295,6 +295,27 @@ var BaseRenderableSeries = /** @class */ (function () {
|
|
|
295
295
|
var _a;
|
|
296
296
|
if (this.valueChanged(this.isVisibleProperty, isVisible)) {
|
|
297
297
|
this.isVisibleProperty = isVisible;
|
|
298
|
+
if (!isVisible) {
|
|
299
|
+
if (this.rolloverModifierProps.marker && this.rolloverModifierProps.tooltip) {
|
|
300
|
+
this.rolloverModifierProps.marker.suspendInvalidate();
|
|
301
|
+
this.rolloverModifierProps.tooltip.suspendInvalidate();
|
|
302
|
+
this.rolloverModifierProps.marker.isHidden = true;
|
|
303
|
+
this.rolloverModifierProps.tooltip.isHidden = true;
|
|
304
|
+
this.rolloverModifierProps.tooltip.x1 = undefined;
|
|
305
|
+
this.rolloverModifierProps.tooltip.y1 = undefined;
|
|
306
|
+
}
|
|
307
|
+
// TODO should be more general than looking at series type
|
|
308
|
+
if (this.type === SeriesType_1.ESeriesType.BandSeries &&
|
|
309
|
+
this.rolloverModifierProps1.marker &&
|
|
310
|
+
this.rolloverModifierProps1.tooltip) {
|
|
311
|
+
this.rolloverModifierProps1.marker.suspendInvalidate();
|
|
312
|
+
this.rolloverModifierProps1.tooltip.suspendInvalidate();
|
|
313
|
+
this.rolloverModifierProps1.marker.isHidden = true;
|
|
314
|
+
this.rolloverModifierProps1.tooltip.isHidden = true;
|
|
315
|
+
this.rolloverModifierProps1.tooltip.x1 = undefined;
|
|
316
|
+
this.rolloverModifierProps1.tooltip.y1 = undefined;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
298
319
|
(_a = this.isVisibleChanged) === null || _a === void 0 ? void 0 : _a.raiseEvent(new SeriesVisibleChangedArgs_1.SeriesVisibleChangedArgs(this, isVisible));
|
|
299
320
|
this.notifyPropertyChanged(constants_1.PROPERTY.IS_VISIBLE);
|
|
300
321
|
}
|
|
@@ -128,9 +128,9 @@ var createMaster = function () {
|
|
|
128
128
|
exports.sciChartDestinations.push({ canvasElementId: canvasElementId, sciChartSurface: sciChartSurface, width: width, height: height });
|
|
129
129
|
};
|
|
130
130
|
return new Promise(function (resolve, reject) {
|
|
131
|
-
var
|
|
131
|
+
var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChart3DSurface_1.sciChartConfig3D);
|
|
132
132
|
// @ts-ignore
|
|
133
|
-
new WasmModule3D({
|
|
133
|
+
new WasmModule3D({ locateFile: locateFile, noInitialRun: true })
|
|
134
134
|
.then(function (wasmContext) {
|
|
135
135
|
var getChildSurfaces = function () { return exports.sciChartDestinations.map(function (el) { return el.sciChartSurface; }); };
|
|
136
136
|
// Create of replace child surface
|
|
@@ -21,9 +21,9 @@ var createSingle3dInternal = function (divElement, options) {
|
|
|
21
21
|
var webGLSupport = WebGlHelper_1.WebGlHelper.getWebGlSupport();
|
|
22
22
|
// console.log("webGLSupport", webGLSupport);
|
|
23
23
|
if (webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL2 || webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL1) {
|
|
24
|
-
var
|
|
24
|
+
var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChart3DSurface_1.sciChartConfig3D);
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
new WasmModule3D({
|
|
26
|
+
new WasmModule3D({ locateFile: locateFile, noInitialRun: true })
|
|
27
27
|
.then(function (wasmContext) {
|
|
28
28
|
var _a;
|
|
29
29
|
loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
|
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 = "2.2.
|
|
3
|
+
export declare const libraryVersion = "2.2.2393";
|
|
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 = "2022-06-
|
|
4
|
+
var buildStamp = "2022-06-10T00:00:00";
|
|
5
5
|
var result;
|
|
6
6
|
// tslint:disable-next-line:no-var-requires
|
|
7
|
-
exports.libraryVersion = "2.2.
|
|
7
|
+
exports.libraryVersion = "2.2.2393";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|