scichart 3.0.300 → 3.0.317
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/ChartModifierBase.d.ts +2 -1
- package/Charting/ChartModifiers/ChartModifierBase.js +2 -1
- package/Charting/ChartModifiers/ChartModifierBase2D.d.ts +6 -0
- package/Charting/ChartModifiers/ChartModifierBase2D.js +9 -6
- package/Charting/ChartModifiers/CustomChartModifier2D.d.ts +16 -0
- package/Charting/ChartModifiers/CustomChartModifier2D.js +40 -0
- package/Charting/ChartModifiers/LegendModifier.d.ts +1 -1
- package/Charting/ChartModifiers/YAxisDragModifier.d.ts +3 -1
- package/Charting/Services/SciChartRenderer.js +6 -1
- package/Charting/Visuals/Annotations/AnnotationBase.d.ts +12 -1
- package/Charting/Visuals/Annotations/AnnotationBase.js +25 -2
- package/Charting/Visuals/Annotations/BoxAnnotation.js +1 -1
- package/Charting/Visuals/Axis/AxisRenderer.d.ts +0 -1
- package/Charting/Visuals/Axis/AxisRenderer.js +5 -5
- package/Charting/Visuals/SciChartSurface.js +1 -1
- package/Charting3D/ChartModifiers/ChartModifierBase3D.d.ts +18 -0
- package/Charting3D/ChartModifiers/ChartModifierBase3D.js +8 -1
- package/Charting3D/ChartModifiers/CustomChartModifier3D.d.ts +16 -0
- package/Charting3D/ChartModifiers/CustomChartModifier3D.js +40 -0
- package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.d.ts +7 -5
- package/Charting3D/ChartModifiers/MouseWheelZoomModifier3D.js +9 -4
- package/Charting3D/ChartModifiers/OrbitModifier3D.d.ts +11 -5
- package/Charting3D/ChartModifiers/OrbitModifier3D.js +7 -5
- package/Charting3D/ChartModifiers/ResetCamera3DModifier.d.ts +11 -8
- package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +16 -8
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +1 -1
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +10 -10
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +3 -0
- package/index.js +17 -13
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/ChartModifierType.d.ts +2 -1
- package/types/ChartModifierType.js +1 -0
- package/utils/imageUtil.js +1 -0
|
@@ -46,6 +46,10 @@ var ResetCamera3DModifier = /** @class */ (function (_super) {
|
|
|
46
46
|
var _this = this;
|
|
47
47
|
var _a, _b, _c;
|
|
48
48
|
_this = _super.call(this, options) || this;
|
|
49
|
+
/**
|
|
50
|
+
* @inheritDoc
|
|
51
|
+
*/
|
|
52
|
+
_this.type = ChartModifierType_1.EChart3DModifierType.ZoomExtents;
|
|
49
53
|
/**
|
|
50
54
|
* When true, the Zoom operations are animated. See also {@link animationDuration} and {@link easingFunction}
|
|
51
55
|
*/
|
|
@@ -64,6 +68,7 @@ var ResetCamera3DModifier = /** @class */ (function (_super) {
|
|
|
64
68
|
options.easingFunction = EasingFunctions_1.easing[options.easingFunction];
|
|
65
69
|
}
|
|
66
70
|
_this.easingFunction = (_c = options === null || options === void 0 ? void 0 : options.easingFunction) !== null && _c !== void 0 ? _c : EasingFunctions_1.easing.outExpo;
|
|
71
|
+
_this.destination = options === null || options === void 0 ? void 0 : options.destination;
|
|
67
72
|
return _this;
|
|
68
73
|
}
|
|
69
74
|
ResetCamera3DModifier.prototype.onAttach = function () {
|
|
@@ -128,16 +133,19 @@ var ResetCamera3DModifier = /** @class */ (function (_super) {
|
|
|
128
133
|
}
|
|
129
134
|
args.handled = true;
|
|
130
135
|
};
|
|
131
|
-
|
|
136
|
+
/**
|
|
137
|
+
* @inheritDoc
|
|
138
|
+
*/
|
|
132
139
|
ResetCamera3DModifier.prototype.toJSON = function () {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
+
var json = _super.prototype.toJSON.call(this);
|
|
141
|
+
var options = {
|
|
142
|
+
animationDuration: this.animationDuration,
|
|
143
|
+
easingFunction: this.easingFunction.name,
|
|
144
|
+
isAnimated: this.isAnimated,
|
|
145
|
+
destination: this.destination
|
|
140
146
|
};
|
|
147
|
+
Object.assign(json.options, options);
|
|
148
|
+
return json;
|
|
141
149
|
};
|
|
142
150
|
return ResetCamera3DModifier;
|
|
143
151
|
}(ChartModifierBase3D_1.ChartModifierBase3D));
|
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.0.
|
|
3
|
+
export declare const libraryVersion = "3.0.317";
|
|
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 = "2023-
|
|
4
|
+
var buildStamp = "2023-03-16T00:00:00";
|
|
5
5
|
var result;
|
|
6
6
|
// tslint:disable-next-line:no-var-requires
|
|
7
|
-
exports.libraryVersion = "3.0.
|
|
7
|
+
exports.libraryVersion = "3.0.317";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|