scichart 2.0.2126 → 2.0.2144
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/Builder/buildSeries.d.ts +1 -1
- package/Charting/ChartModifiers/LegendModifier.js +1 -0
- package/Charting/ChartModifiers/OverviewRangeSelectionModifier.d.ts +7 -2
- package/Charting/ChartModifiers/OverviewRangeSelectionModifier.js +18 -2
- package/Charting/ChartModifiers/RolloverModifier.d.ts +6 -0
- package/Charting/ChartModifiers/RolloverModifier.js +49 -15
- package/Charting/Model/BaseDataSeries.d.ts +2 -2
- package/Charting/Model/OhlcDataSeries.d.ts +2 -2
- package/Charting/Model/XyyDataSeries.d.ts +2 -2
- package/Charting/Model/XyzDataSeries.d.ts +2 -2
- package/Charting/Services/SciChartRenderer.js +14 -4
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +75 -52
- package/Charting/Visuals/Axis/AxisBase2D.js +53 -34
- package/Charting/Visuals/Axis/AxisCore.d.ts +7 -4
- package/Charting/Visuals/Axis/AxisCore.js +21 -5
- package/Charting/Visuals/Axis/AxisRenderer.d.ts +5 -0
- package/Charting/Visuals/Axis/AxisRenderer.js +58 -71
- package/Charting/Visuals/Axis/LogarithmicAxis.d.ts +1 -3
- package/Charting/Visuals/Axis/LogarithmicAxis.js +4 -11
- package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/{BaseAnimation.d.ts → SeriesAnimation.d.ts} +3 -2
- package/Charting/Visuals/RenderableSeries/Animations/{BaseAnimation.js → SeriesAnimation.js} +13 -13
- package/Charting/Visuals/RenderableSeries/Animations/SweepAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/SweepAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +2 -2
- package/Charting/Visuals/RenderableSeries/Animations/animationHelpers.d.ts +8 -8
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +9 -9
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +3 -3
- package/Charting/Visuals/RenderableSeries/BaseStackedCollection.d.ts +7 -7
- package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +1 -1
- package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.d.ts +7 -7
- package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +1 -1
- package/Charting/Visuals/RenderableSeries/IBaseRenderableSeriesOptions.d.ts +2 -2
- package/Charting/Visuals/RenderableSeries/IRenderableSeries.d.ts +3 -3
- package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +29 -5
- package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.d.ts +4 -4
- package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.d.ts +4 -4
- package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.d.ts +4 -4
- package/Charting/Visuals/RenderableSeries/StackedColumnCollection.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +1 -0
- package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +1 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainCollection.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +1 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +1 -0
- package/Charting/Visuals/SciChartOverview.d.ts +5 -2
- package/Charting/Visuals/SciChartOverview.js +24 -15
- package/Charting/Visuals/SciChartSurface.d.ts +13 -0
- package/Charting/Visuals/SciChartSurface.js +38 -3
- package/Charting3D/Visuals/SciChart3DRenderer.js +1 -0
- package/Core/Animations/AnimationFiniteStateMachine.d.ts +27 -14
- package/Core/Animations/AnimationFiniteStateMachine.js +48 -15
- package/Core/Animations/Animator.d.ts +1 -9
- package/Core/Animations/Animator.js +1 -9
- package/Core/Animations/DoubleAnimator.d.ts +2 -8
- package/Core/Animations/DoubleAnimator.js +1 -7
- package/Core/Animations/GenericAnimation.d.ts +74 -0
- package/Core/Animations/GenericAnimation.js +74 -0
- package/Core/Animations/NumberRangeAnimator.d.ts +4 -3
- package/Core/Animations/NumberRangeAnimator.js +23 -3
- package/Core/NumberRange.js +6 -7
- package/README.md +197 -10
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +95 -95
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +1 -1
- package/_wasm/scichart3d.wasm +0 -0
- package/package.json +4 -3
|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ScatterAnimation = void 0;
|
|
17
17
|
var AnimationType_1 = require("../../../../types/AnimationType");
|
|
18
|
-
var
|
|
18
|
+
var SeriesAnimation_1 = require("./SeriesAnimation");
|
|
19
19
|
var BaseAnimationStyle_1 = require("./BaseAnimationStyle");
|
|
20
20
|
var ScatterAnimation = /** @class */ (function (_super) {
|
|
21
21
|
__extends(ScatterAnimation, _super);
|
|
@@ -30,5 +30,5 @@ var ScatterAnimation = /** @class */ (function (_super) {
|
|
|
30
30
|
return _this;
|
|
31
31
|
}
|
|
32
32
|
return ScatterAnimation;
|
|
33
|
-
}(
|
|
33
|
+
}(SeriesAnimation_1.SeriesAnimation));
|
|
34
34
|
exports.ScatterAnimation = ScatterAnimation;
|
package/Charting/Visuals/RenderableSeries/Animations/{BaseAnimation.d.ts → SeriesAnimation.d.ts}
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IAnimation } from "../../../../Core/Animations/AnimationFiniteStateMachine";
|
|
1
2
|
import { TEasingFn } from "../../../../Core/Animations/EasingFunctions";
|
|
2
3
|
import { EAnimationType } from "../../../../types/AnimationType";
|
|
3
4
|
import { DoubleVector, TSciChart } from "../../../../types/TSciChart";
|
|
@@ -11,12 +12,12 @@ export interface IBaseAnimationOptions {
|
|
|
11
12
|
ease?: TEasingFn | string;
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
|
-
* @summary Defines the base class for Animations in SciChart's High Performance Real-time
|
|
15
|
+
* @summary Defines the base class for Renderable Series Animations in SciChart's High Performance Real-time
|
|
15
16
|
* {@link https://www.scichart.com/javascript-chart-features | JavaScript Charts}
|
|
16
17
|
* @remarks
|
|
17
18
|
* An Animation defines the animation that should take place on the start up e.g. as a Wave, Sweep, Fade animation etc...
|
|
18
19
|
*/
|
|
19
|
-
export declare abstract class
|
|
20
|
+
export declare abstract class SeriesAnimation implements IAnimation {
|
|
20
21
|
/**
|
|
21
22
|
* Returns the type of the animation. See {@link EAnimationType} for a list of values
|
|
22
23
|
*/
|
package/Charting/Visuals/RenderableSeries/Animations/{BaseAnimation.js → SeriesAnimation.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SeriesAnimation = void 0;
|
|
4
4
|
var EasingFunctions_1 = require("../../../../Core/Animations/EasingFunctions");
|
|
5
5
|
var parseColor_1 = require("../../../../utils/parseColor");
|
|
6
6
|
var animationHelpers_1 = require("./animationHelpers");
|
|
7
7
|
var BaseAnimationStyle_1 = require("./BaseAnimationStyle");
|
|
8
8
|
var PointMarkerStyle_1 = require("./PointMarkerStyle");
|
|
9
9
|
/**
|
|
10
|
-
* @summary Defines the base class for Animations in SciChart's High Performance Real-time
|
|
10
|
+
* @summary Defines the base class for Renderable Series Animations in SciChart's High Performance Real-time
|
|
11
11
|
* {@link https://www.scichart.com/javascript-chart-features | JavaScript Charts}
|
|
12
12
|
* @remarks
|
|
13
13
|
* An Animation defines the animation that should take place on the start up e.g. as a Wave, Sweep, Fade animation etc...
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
15
|
+
var SeriesAnimation = /** @class */ (function () {
|
|
16
|
+
function SeriesAnimation(options) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
18
18
|
/**
|
|
19
19
|
* The animation delay
|
|
@@ -44,7 +44,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
44
44
|
this.ease = (_d = options === null || options === void 0 ? void 0 : options.ease) !== null && _d !== void 0 ? _d : this.ease;
|
|
45
45
|
}
|
|
46
46
|
/** Convert the object to a definition that can be serialized to JSON, or used directly with the builder api */
|
|
47
|
-
|
|
47
|
+
SeriesAnimation.prototype.toJSON = function () {
|
|
48
48
|
var options = {
|
|
49
49
|
delay: this.delay,
|
|
50
50
|
duration: this.duration,
|
|
@@ -61,7 +61,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
61
61
|
* @param progress Current animation progress
|
|
62
62
|
* @param noZeroLine Sets zeroLine = 0, is used for XyzDataSeries
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
SeriesAnimation.prototype.calculateAnimationValues = function (wasmContext, originalValues, animationValues, progress, noZeroLine) {
|
|
65
65
|
if (noZeroLine === void 0) { noZeroLine = false; }
|
|
66
66
|
// TODO: override in child class
|
|
67
67
|
};
|
|
@@ -73,7 +73,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
73
73
|
* @param interpolatedValues The vector which will be updated with interpolated values
|
|
74
74
|
* @param progress Current animation progress
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
SeriesAnimation.prototype.calculateDataSeriesAnimationValues = function (wasmContext, initialValues, finalValues, interpolatedValues, progress) {
|
|
77
77
|
var size = initialValues.size();
|
|
78
78
|
if (size !== finalValues.size()) {
|
|
79
79
|
throw new Error("DoubleVectors with initialValues and initialValues must have the same length");
|
|
@@ -87,7 +87,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
87
87
|
* Returns {@link BaseAnimationStyle} object which is being used to create initial styles
|
|
88
88
|
* @param renderableSeries The renderable series
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
SeriesAnimation.prototype.getSeriesStyle = function (renderableSeries) {
|
|
91
91
|
var _a, _b;
|
|
92
92
|
var rs = renderableSeries;
|
|
93
93
|
if (rs.isStacked)
|
|
@@ -105,7 +105,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
105
105
|
* @param initialStyles The initial styles
|
|
106
106
|
* @param animationProgress The animation progress, should be between 0 and 1
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
SeriesAnimation.prototype.updateSeriesProperties = function (renderableSeries, initialStyles, animationProgress) {
|
|
109
109
|
var _a, _b, _c, _d, _e;
|
|
110
110
|
var rs = renderableSeries;
|
|
111
111
|
var pointMarker = rs.pointMarker;
|
|
@@ -151,7 +151,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
|
-
Object.defineProperty(
|
|
154
|
+
Object.defineProperty(SeriesAnimation.prototype, "isStyleAnimation", {
|
|
155
155
|
/**
|
|
156
156
|
* Return flag if it is styles animation
|
|
157
157
|
*/
|
|
@@ -161,7 +161,7 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
161
161
|
enumerable: false,
|
|
162
162
|
configurable: true
|
|
163
163
|
});
|
|
164
|
-
Object.defineProperty(
|
|
164
|
+
Object.defineProperty(SeriesAnimation.prototype, "isDataSeriesAnimation", {
|
|
165
165
|
/**
|
|
166
166
|
* Return flag if it is dataSeries animation
|
|
167
167
|
*/
|
|
@@ -171,6 +171,6 @@ var BaseAnimation = /** @class */ (function () {
|
|
|
171
171
|
enumerable: false,
|
|
172
172
|
configurable: true
|
|
173
173
|
});
|
|
174
|
-
return
|
|
174
|
+
return SeriesAnimation;
|
|
175
175
|
}());
|
|
176
|
-
exports.
|
|
176
|
+
exports.SeriesAnimation = SeriesAnimation;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EAnimationType } from "../../../../types/AnimationType";
|
|
2
2
|
import { DoubleVector, TSciChart } from "../../../../types/TSciChart";
|
|
3
|
-
import {
|
|
3
|
+
import { SeriesAnimation, IBaseAnimationOptions } from "./SeriesAnimation";
|
|
4
4
|
export interface ISweepAnimationOptions extends IBaseAnimationOptions {
|
|
5
5
|
}
|
|
6
|
-
export declare class SweepAnimation extends
|
|
6
|
+
export declare class SweepAnimation extends SeriesAnimation {
|
|
7
7
|
/** @inheritDoc */
|
|
8
8
|
readonly type = EAnimationType.Sweep;
|
|
9
9
|
constructor(options?: ISweepAnimationOptions);
|
|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SweepAnimation = void 0;
|
|
17
17
|
var AnimationType_1 = require("../../../../types/AnimationType");
|
|
18
|
-
var
|
|
18
|
+
var SeriesAnimation_1 = require("./SeriesAnimation");
|
|
19
19
|
var SweepAnimation = /** @class */ (function (_super) {
|
|
20
20
|
__extends(SweepAnimation, _super);
|
|
21
21
|
function SweepAnimation(options) {
|
|
@@ -31,5 +31,5 @@ var SweepAnimation = /** @class */ (function (_super) {
|
|
|
31
31
|
wasmContext.SCRTAnimationHelperSweep(originalValues, progress, animationValues);
|
|
32
32
|
};
|
|
33
33
|
return SweepAnimation;
|
|
34
|
-
}(
|
|
34
|
+
}(SeriesAnimation_1.SeriesAnimation));
|
|
35
35
|
exports.SweepAnimation = SweepAnimation;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EAnimationType } from "../../../../types/AnimationType";
|
|
2
2
|
import { DoubleVector, TSciChart } from "../../../../types/TSciChart";
|
|
3
|
-
import {
|
|
3
|
+
import { SeriesAnimation, IBaseAnimationOptions } from "./SeriesAnimation";
|
|
4
4
|
export interface IWaveAnimationOptions extends IBaseAnimationOptions {
|
|
5
5
|
pointDurationFraction?: number;
|
|
6
6
|
zeroLine?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare class WaveAnimation extends
|
|
8
|
+
export declare class WaveAnimation extends SeriesAnimation {
|
|
9
9
|
/** @inheritDoc */
|
|
10
10
|
readonly type = EAnimationType.Wave;
|
|
11
11
|
/**
|
|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.WaveAnimation = void 0;
|
|
17
17
|
var AnimationType_1 = require("../../../../types/AnimationType");
|
|
18
|
-
var
|
|
18
|
+
var SeriesAnimation_1 = require("./SeriesAnimation");
|
|
19
19
|
var WaveAnimation = /** @class */ (function (_super) {
|
|
20
20
|
__extends(WaveAnimation, _super);
|
|
21
21
|
function WaveAnimation(options) {
|
|
@@ -53,5 +53,5 @@ var WaveAnimation = /** @class */ (function (_super) {
|
|
|
53
53
|
return json;
|
|
54
54
|
};
|
|
55
55
|
return WaveAnimation;
|
|
56
|
-
}(
|
|
56
|
+
}(SeriesAnimation_1.SeriesAnimation));
|
|
57
57
|
exports.WaveAnimation = WaveAnimation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationFiniteStateMachine } from "../../../../Core/Animations/AnimationFiniteStateMachine";
|
|
1
|
+
import { AnimationFiniteStateMachine, IAnimation, SeriesAnimationFiniteStateMachine } from "../../../../Core/Animations/AnimationFiniteStateMachine";
|
|
2
2
|
import { DoubleVector, TSciChart } from "../../../../types/TSciChart";
|
|
3
3
|
import { BaseDataSeries } from "../../../Model/BaseDataSeries";
|
|
4
4
|
import { XyyDataSeries } from "../../../Model/XyyDataSeries";
|
|
@@ -8,18 +8,18 @@ import { SpritePointMarker } from "../../PointMarkers/SpritePointMarker";
|
|
|
8
8
|
import { SquarePointMarker } from "../../PointMarkers/SquarePointMarker";
|
|
9
9
|
import { TrianglePointMarker } from "../../PointMarkers/TrianglePointMarker";
|
|
10
10
|
import { XPointMarker } from "../../PointMarkers/XPointMarker";
|
|
11
|
-
import { BaseAnimation } from "./BaseAnimation";
|
|
12
11
|
import { BasePointMarkerStyle } from "./BasePointMarkerStyle";
|
|
12
|
+
import { SeriesAnimation } from "./SeriesAnimation";
|
|
13
13
|
export declare const animationHelpers: {
|
|
14
14
|
checkCanDraw: (animationFSM: AnimationFiniteStateMachine) => boolean;
|
|
15
|
-
checkIsAnimationRunning: (animationQueue:
|
|
16
|
-
animationUpdate: (animationFSM:
|
|
15
|
+
checkIsAnimationRunning: (animationQueue: IAnimation[], animationFSM: AnimationFiniteStateMachine) => boolean;
|
|
16
|
+
animationUpdate: (animationFSM: SeriesAnimationFiniteStateMachine, timeElapsed: number, beforeAnimationStart: () => void, afterAnimationComplete: () => void, updateAnimationProperties: (progress: number, animationFSM: SeriesAnimationFiniteStateMachine) => void) => void;
|
|
17
17
|
createPointMarker: (wasmContext: TSciChart, pointMarkerStyle: BasePointMarkerStyle) => SpritePointMarker | CrossPointMarker | EllipsePointMarker | XPointMarker | SquarePointMarker | TrianglePointMarker;
|
|
18
18
|
interpolateNumber: (from: number, to: number, progress: number) => number;
|
|
19
19
|
interpolateColor: (from: number, to: number, progress: number) => number;
|
|
20
20
|
copyVector: (sourceVector: DoubleVector, targetVector: DoubleVector) => void;
|
|
21
|
-
setSplineAnimationVectors: (wasmContext: TSciChart, animation:
|
|
22
|
-
setSplineBandAnimationVectors: (wasmContext: TSciChart, animation:
|
|
23
|
-
updateSplineAnimationProperties: (wasmContext: TSciChart, animation:
|
|
24
|
-
updateSplineBandAnimationProperties: (wasmContext: TSciChart, animation:
|
|
21
|
+
setSplineAnimationVectors: (wasmContext: TSciChart, animation: SeriesAnimation, ds: BaseDataSeries, animationDS: BaseDataSeries, xSplineValues: DoubleVector, ySplineValues: DoubleVector, isCategoryAxis: boolean, interpolationPoints: number) => void;
|
|
22
|
+
setSplineBandAnimationVectors: (wasmContext: TSciChart, animation: SeriesAnimation, ds: XyyDataSeries, animationDS: XyyDataSeries, xSplineValues: DoubleVector, ySplineValues: DoubleVector, y1SplineValues: DoubleVector, isCategoryAxis: boolean, interpolationPoints: number) => void;
|
|
23
|
+
updateSplineAnimationProperties: (wasmContext: TSciChart, animation: SeriesAnimation, progress: number, dataSeries: BaseDataSeries, xSplineValues: DoubleVector, ySplineValues: DoubleVector) => void;
|
|
24
|
+
updateSplineBandAnimationProperties: (wasmContext: TSciChart, animation: SeriesAnimation, progress: number, dataSeries: XyyDataSeries, xSplineValues: DoubleVector, ySplineValues: DoubleVector, y1SplineValues: DoubleVector) => void;
|
|
25
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TSeriesDefinition } from "../../../Builder/buildSeries";
|
|
2
|
-
import {
|
|
2
|
+
import { SeriesAnimationFiniteStateMachine } from "../../../Core/Animations/AnimationFiniteStateMachine";
|
|
3
3
|
import { EventHandler } from "../../../Core/EventHandler";
|
|
4
4
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
5
5
|
import { ESeriesType } from "../../../types/SeriesType";
|
|
@@ -15,7 +15,7 @@ import { AxisCore } from "../Axis/AxisCore";
|
|
|
15
15
|
import { IPointMarker } from "../PointMarkers/IPointMarker";
|
|
16
16
|
import { SciChartSurface } from "../SciChartSurface";
|
|
17
17
|
import { TDpiChangedEventArgs } from "../TextureManager/DpiHelper";
|
|
18
|
-
import {
|
|
18
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
19
19
|
import { TPalettingState } from "./DrawingProviders/BaseSeriesDrawingProvider";
|
|
20
20
|
import { ISeriesDrawingProvider } from "./DrawingProviders/ISeriesDrawingProvider";
|
|
21
21
|
import { HitTestInfo } from "./HitTest/HitTestInfo";
|
|
@@ -61,8 +61,8 @@ export declare abstract class BaseRenderableSeries implements IRenderableSeries
|
|
|
61
61
|
hovered: EventHandler<SeriesHoveredArgs>;
|
|
62
62
|
protected webAssemblyContext: TSciChart;
|
|
63
63
|
protected dataSeriesProperty: IDataSeries;
|
|
64
|
-
protected animationFSM:
|
|
65
|
-
protected animationQueue:
|
|
64
|
+
protected animationFSM: SeriesAnimationFiniteStateMachine;
|
|
65
|
+
protected animationQueue: SeriesAnimation[];
|
|
66
66
|
protected typeMap: Map<string, string>;
|
|
67
67
|
private xAxisIdProperty;
|
|
68
68
|
private yAxisIdProperty;
|
|
@@ -207,13 +207,13 @@ export declare abstract class BaseRenderableSeries implements IRenderableSeries
|
|
|
207
207
|
/** @inheritDoc */
|
|
208
208
|
toJSON(excludeData?: boolean): TSeriesDefinition;
|
|
209
209
|
/** @inheritDoc */
|
|
210
|
-
enqueueAnimation(animation:
|
|
210
|
+
enqueueAnimation(animation: SeriesAnimation): void;
|
|
211
211
|
/** @inheritDoc */
|
|
212
|
-
runAnimation(animation:
|
|
212
|
+
runAnimation(animation: SeriesAnimation): void;
|
|
213
213
|
/**
|
|
214
214
|
* Sets a start up animation class, a child class for {@link BaseAnimation}
|
|
215
215
|
*/
|
|
216
|
-
set animation(value:
|
|
216
|
+
set animation(value: SeriesAnimation);
|
|
217
217
|
/** @inheritDoc */
|
|
218
218
|
get isRunningAnimation(): boolean;
|
|
219
219
|
/**
|
|
@@ -227,7 +227,7 @@ export declare abstract class BaseRenderableSeries implements IRenderableSeries
|
|
|
227
227
|
* @param animation
|
|
228
228
|
* @protected
|
|
229
229
|
*/
|
|
230
|
-
protected setAnimationVectors(animation:
|
|
230
|
+
protected setAnimationVectors(animation: SeriesAnimation): void;
|
|
231
231
|
/**
|
|
232
232
|
* Runs before the animation starts
|
|
233
233
|
* @protected
|
|
@@ -244,7 +244,7 @@ export declare abstract class BaseRenderableSeries implements IRenderableSeries
|
|
|
244
244
|
* @param animationFSM The animation finite state machine
|
|
245
245
|
* @protected
|
|
246
246
|
*/
|
|
247
|
-
protected updateAnimationProperties(progress: number, animationFSM:
|
|
247
|
+
protected updateAnimationProperties(progress: number, animationFSM: SeriesAnimationFiniteStateMachine): void;
|
|
248
248
|
/**
|
|
249
249
|
* Factory function to create a {@link IHitTestProvider | Hit Test Provider}; a class which performs hit-test
|
|
250
250
|
* and checks mouse-over and nearest point.
|
|
@@ -47,9 +47,9 @@ var BaseRenderableSeries = /** @class */ (function () {
|
|
|
47
47
|
/** @inheritDoc */
|
|
48
48
|
this.isStacked = false;
|
|
49
49
|
/** @inheritDoc */
|
|
50
|
-
this.rolloverModifierProps = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps();
|
|
50
|
+
this.rolloverModifierProps = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps(this);
|
|
51
51
|
/** @inheritDoc */
|
|
52
|
-
this.rolloverModifierProps1 = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps();
|
|
52
|
+
this.rolloverModifierProps1 = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps(this, true);
|
|
53
53
|
/** @inheritDoc */
|
|
54
54
|
this.drawingProviders = [];
|
|
55
55
|
/** @inheritDoc */
|
|
@@ -667,7 +667,7 @@ var BaseRenderableSeries = /** @class */ (function () {
|
|
|
667
667
|
if (!this.animationFSM || ((_a = this.animationFSM) === null || _a === void 0 ? void 0 : _a.is([AnimationFiniteStateMachine_1.EAnimationState.Completed]))) {
|
|
668
668
|
if (this.animationQueue.length >= 1) {
|
|
669
669
|
var animation = this.animationQueue.shift();
|
|
670
|
-
this.animationFSM = new AnimationFiniteStateMachine_1.
|
|
670
|
+
this.animationFSM = new AnimationFiniteStateMachine_1.SeriesAnimationFiniteStateMachine(animation, this);
|
|
671
671
|
}
|
|
672
672
|
else {
|
|
673
673
|
this.animationFSM = undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TSeriesDefinition } from "../../../Builder/buildSeries";
|
|
2
|
-
import {
|
|
2
|
+
import { SeriesAnimationFiniteStateMachine } from "../../../Core/Animations/AnimationFiniteStateMachine";
|
|
3
3
|
import { EventHandler } from "../../../Core/EventHandler";
|
|
4
4
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
5
5
|
import { ObservableArray } from "../../../Core/ObservableArray";
|
|
@@ -15,7 +15,7 @@ import { AxisCore } from "../Axis/AxisCore";
|
|
|
15
15
|
import { IPointMarker } from "../PointMarkers/IPointMarker";
|
|
16
16
|
import { SciChartSurface } from "../SciChartSurface";
|
|
17
17
|
import { TDpiChangedEventArgs } from "../TextureManager/DpiHelper";
|
|
18
|
-
import {
|
|
18
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
19
19
|
import { BaseStackedRenderableSeries } from "./BaseStackedRenderableSeries";
|
|
20
20
|
import { TPalettingState } from "./DrawingProviders/BaseSeriesDrawingProvider";
|
|
21
21
|
import { ISeriesDrawingProvider } from "./DrawingProviders/ISeriesDrawingProvider";
|
|
@@ -72,7 +72,7 @@ export declare abstract class BaseStackedCollection<T extends BaseStackedRendera
|
|
|
72
72
|
protected accumulatedFinalAnimationValues0: DoubleVector;
|
|
73
73
|
protected isAccumulatedVectorDirty: boolean;
|
|
74
74
|
protected firstAnimationRender: boolean;
|
|
75
|
-
protected animationFSM:
|
|
75
|
+
protected animationFSM: SeriesAnimationFiniteStateMachine;
|
|
76
76
|
private isVisibleProperty;
|
|
77
77
|
private xAxisIdProperty;
|
|
78
78
|
private yAxisIdProperty;
|
|
@@ -272,13 +272,13 @@ export declare abstract class BaseStackedCollection<T extends BaseStackedRendera
|
|
|
272
272
|
*/
|
|
273
273
|
getVisibleSeries(): T[];
|
|
274
274
|
/** @inheritDoc */
|
|
275
|
-
enqueueAnimation(animation:
|
|
275
|
+
enqueueAnimation(animation: SeriesAnimation): void;
|
|
276
276
|
/** @inheritDoc */
|
|
277
|
-
runAnimation(animation:
|
|
277
|
+
runAnimation(animation: SeriesAnimation): void;
|
|
278
278
|
/**
|
|
279
279
|
* Sets a start up animation class, a child class for {@link BaseAnimation}
|
|
280
280
|
*/
|
|
281
|
-
set animation(value:
|
|
281
|
+
set animation(value: SeriesAnimation);
|
|
282
282
|
/** @inheritDoc */
|
|
283
283
|
get isRunningAnimation(): boolean;
|
|
284
284
|
/** @inheritDoc */
|
|
@@ -320,7 +320,7 @@ export declare abstract class BaseStackedCollection<T extends BaseStackedRendera
|
|
|
320
320
|
* @param animationFSM The animation finite state machine
|
|
321
321
|
* @protected
|
|
322
322
|
*/
|
|
323
|
-
protected updateAnimationProperties(progress: number, animationFSM:
|
|
323
|
+
protected updateAnimationProperties(progress: number, animationFSM: SeriesAnimationFiniteStateMachine): void;
|
|
324
324
|
protected updateHitTestProviders(renderPassData: RenderPassData): void;
|
|
325
325
|
protected isEnoughDataToDraw(): boolean;
|
|
326
326
|
}
|
|
@@ -540,7 +540,7 @@ var BaseStackedCollection = /** @class */ (function (_super) {
|
|
|
540
540
|
if (!this.animationFSM || ((_a = this.animationFSM) === null || _a === void 0 ? void 0 : _a.is([AnimationFiniteStateMachine_1.EAnimationState.Completed]))) {
|
|
541
541
|
if (this.animationQueue.length >= 1) {
|
|
542
542
|
var animation = this.animationQueue.shift();
|
|
543
|
-
this.animationFSM = new AnimationFiniteStateMachine_1.
|
|
543
|
+
this.animationFSM = new AnimationFiniteStateMachine_1.SeriesAnimationFiniteStateMachine(animation, undefined);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
546
546
|
this.animationFSM = undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TSeriesDefinition } from "../../../Builder/buildSeries";
|
|
2
|
-
import {
|
|
2
|
+
import { SeriesAnimationFiniteStateMachine } from "../../../Core/Animations/AnimationFiniteStateMachine";
|
|
3
3
|
import { EventHandler } from "../../../Core/EventHandler";
|
|
4
4
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
5
5
|
import { ESeriesType } from "../../../types/SeriesType";
|
|
@@ -14,7 +14,7 @@ import { AxisCore } from "../Axis/AxisCore";
|
|
|
14
14
|
import { IPointMarker } from "../PointMarkers/IPointMarker";
|
|
15
15
|
import { SciChartSurface } from "../SciChartSurface";
|
|
16
16
|
import { TDpiChangedEventArgs } from "../TextureManager/DpiHelper";
|
|
17
|
-
import {
|
|
17
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
18
18
|
import { BaseStackedCollection } from "./BaseStackedCollection";
|
|
19
19
|
import { ISeriesDrawingProvider } from "./DrawingProviders/ISeriesDrawingProvider";
|
|
20
20
|
import { HitTestInfo } from "./HitTest/HitTestInfo";
|
|
@@ -188,11 +188,11 @@ export declare abstract class BaseStackedRenderableSeries implements IRenderable
|
|
|
188
188
|
/**
|
|
189
189
|
* animation() is not supported for BaseStackedRenderableSeries
|
|
190
190
|
*/
|
|
191
|
-
set animation(value:
|
|
191
|
+
set animation(value: SeriesAnimation);
|
|
192
192
|
/**
|
|
193
193
|
* animation() is not supported for BaseStackedRenderableSeries
|
|
194
194
|
*/
|
|
195
|
-
get animation():
|
|
195
|
+
get animation(): SeriesAnimation;
|
|
196
196
|
/**
|
|
197
197
|
* @inheritDoc
|
|
198
198
|
*/
|
|
@@ -281,7 +281,7 @@ export declare abstract class BaseStackedRenderableSeries implements IRenderable
|
|
|
281
281
|
* @param animationFSM The animation finite state machine
|
|
282
282
|
* @protected
|
|
283
283
|
*/
|
|
284
|
-
updateAnimationProperties(progress: number, animationFSM:
|
|
284
|
+
updateAnimationProperties(progress: number, animationFSM: SeriesAnimationFiniteStateMachine): void;
|
|
285
285
|
/** @inheritDoc */
|
|
286
286
|
getSeriesInfo(hitTestInfo: HitTestInfo): SeriesInfo;
|
|
287
287
|
/** @inheritDoc */
|
|
@@ -328,8 +328,8 @@ export declare abstract class BaseStackedRenderableSeries implements IRenderable
|
|
|
328
328
|
set effect(effect: ShaderEffect);
|
|
329
329
|
onAnimate(): void;
|
|
330
330
|
get isRunningAnimation(): boolean;
|
|
331
|
-
enqueueAnimation(animation:
|
|
332
|
-
runAnimation(animation:
|
|
331
|
+
enqueueAnimation(animation: SeriesAnimation): void;
|
|
332
|
+
runAnimation(animation: SeriesAnimation): void;
|
|
333
333
|
/**
|
|
334
334
|
* Factory function to create a {@link IHitTestProvider | Hit Test Provider}; a class which performs hit-test
|
|
335
335
|
* and checks mouse-over and nearest point.
|
|
@@ -29,7 +29,7 @@ var BaseStackedRenderableSeries = /** @class */ (function () {
|
|
|
29
29
|
this.id = guid_1.generateGuid();
|
|
30
30
|
this.isStacked = true;
|
|
31
31
|
this.isSpline = false;
|
|
32
|
-
this.rolloverModifierProps = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps();
|
|
32
|
+
this.rolloverModifierProps = new RolloverModifierRenderableSeriesProps_1.RolloverModifierRenderableSeriesProps(this);
|
|
33
33
|
/** @inheritDoc */
|
|
34
34
|
this.selected = new EventHandler_1.EventHandler();
|
|
35
35
|
/** @inheritDoc */
|
|
@@ -3,7 +3,7 @@ import { ELineDrawMode } from "../../Drawing/WebGlRenderContext2D";
|
|
|
3
3
|
import { IDataSeries } from "../../Model/IDataSeries";
|
|
4
4
|
import { IPaletteProvider } from "../../Model/IPaletteProvider";
|
|
5
5
|
import { IPointMarker } from "../PointMarkers/IPointMarker";
|
|
6
|
-
import {
|
|
6
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
7
7
|
import { IRenderableSeries } from "./IRenderableSeries";
|
|
8
8
|
import { ShaderEffect } from "./ShaderEffect";
|
|
9
9
|
/**
|
|
@@ -139,7 +139,7 @@ export interface IBaseRenderableSeriesOptions {
|
|
|
139
139
|
/**
|
|
140
140
|
* An animation that runs on the start, child class to {@link BaseAnimation}
|
|
141
141
|
*/
|
|
142
|
-
animation?:
|
|
142
|
+
animation?: SeriesAnimation | TAnimationDefinition;
|
|
143
143
|
/**
|
|
144
144
|
* Initial selected state for the series. Default to false
|
|
145
145
|
*/
|
|
@@ -15,7 +15,7 @@ import { AxisCore } from "../Axis/AxisCore";
|
|
|
15
15
|
import { IPointMarker } from "../PointMarkers/IPointMarker";
|
|
16
16
|
import { SciChartSurface } from "../SciChartSurface";
|
|
17
17
|
import { INotifyOnDpiChanged } from "../TextureManager/DpiHelper";
|
|
18
|
-
import {
|
|
18
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
19
19
|
import { TPalettingState } from "./DrawingProviders/BaseSeriesDrawingProvider";
|
|
20
20
|
import { ISeriesDrawingProvider } from "./DrawingProviders/ISeriesDrawingProvider";
|
|
21
21
|
import { HitTestInfo } from "./HitTest/HitTestInfo";
|
|
@@ -304,11 +304,11 @@ export interface IRenderableSeries extends IDeletable, IThemeable, INotifyOnDpiC
|
|
|
304
304
|
/**
|
|
305
305
|
* Add the animation into the queue
|
|
306
306
|
*/
|
|
307
|
-
enqueueAnimation(animation:
|
|
307
|
+
enqueueAnimation(animation: SeriesAnimation): void;
|
|
308
308
|
/**
|
|
309
309
|
* Cancel all previous animations and run the current one
|
|
310
310
|
*/
|
|
311
|
-
runAnimation(animation:
|
|
311
|
+
runAnimation(animation: SeriesAnimation): void;
|
|
312
312
|
/**
|
|
313
313
|
* Convert the object to a definition that can be serialized to JSON, or used directly with the builder api
|
|
314
314
|
* @param excludeData if set true, data values will not be included in the json.
|
|
@@ -2,6 +2,7 @@ import { RolloverModifier, TRolloverTooltipDataTemplate } from "../../../ChartMo
|
|
|
2
2
|
import { SeriesInfo } from "../../../Model/ChartData/SeriesInfo";
|
|
3
3
|
import { RolloverMarkerSvgAnnotation } from "../../Annotations/RolloverMarkerSvgAnnotation";
|
|
4
4
|
import { RolloverTooltipSvgAnnotation } from "../../Annotations/RolloverTooltipSvgAnnotation";
|
|
5
|
+
import { IRenderableSeries } from "../IRenderableSeries";
|
|
5
6
|
export declare type TRolloverTooltipSvgTemplate = (id: string, seriesInfo: SeriesInfo, rolloverTooltip: RolloverTooltipSvgAnnotation) => string;
|
|
6
7
|
export declare class RolloverModifierRenderableSeriesProps {
|
|
7
8
|
tooltip: RolloverTooltipSvgAnnotation;
|
|
@@ -22,6 +23,9 @@ export declare class RolloverModifierRenderableSeriesProps {
|
|
|
22
23
|
private tooltipTitleProperty;
|
|
23
24
|
private markerColorProperty;
|
|
24
25
|
private tooltipDataTemplateProperty?;
|
|
26
|
+
private renderableSeries;
|
|
27
|
+
private isY1;
|
|
28
|
+
constructor(renderableSeries: IRenderableSeries, isY1?: boolean);
|
|
25
29
|
setInvalidateParentCallback(callback: () => void): void;
|
|
26
30
|
get showRollover(): boolean;
|
|
27
31
|
set showRollover(value: boolean);
|
|
@@ -39,4 +43,5 @@ export declare class RolloverModifierRenderableSeriesProps {
|
|
|
39
43
|
set tooltipLegendTemplate(value: (tooltipProps: RolloverModifierRenderableSeriesProps, seriesInfo: SeriesInfo) => string);
|
|
40
44
|
delete(): void;
|
|
41
45
|
protected notifyPropertyChanged<T>(propertyName: string): void;
|
|
46
|
+
private getRenderableSeriesStroke;
|
|
42
47
|
}
|
package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js
CHANGED
|
@@ -5,13 +5,14 @@ var Deleter_1 = require("../../../../Core/Deleter");
|
|
|
5
5
|
var SciChartSurfaceBase_1 = require("../../SciChartSurfaceBase");
|
|
6
6
|
var constants_1 = require("./constants");
|
|
7
7
|
var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
8
|
-
function RolloverModifierRenderableSeriesProps() {
|
|
8
|
+
function RolloverModifierRenderableSeriesProps(renderableSeries, isY1) {
|
|
9
|
+
if (isY1 === void 0) { isY1 = false; }
|
|
9
10
|
this.tooltipLegendOffsetX = 20;
|
|
10
11
|
this.tooltipLegendOffsetY = 20;
|
|
11
12
|
this.showsRolloverProperty = true;
|
|
12
|
-
this.tooltipColorProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.textAnnotationBackground;
|
|
13
13
|
this.tooltipTextColorProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.textAnnotationForeground;
|
|
14
|
-
this.
|
|
14
|
+
this.renderableSeries = renderableSeries;
|
|
15
|
+
this.isY1 = isY1;
|
|
15
16
|
}
|
|
16
17
|
RolloverModifierRenderableSeriesProps.prototype.setInvalidateParentCallback = function (callback) {
|
|
17
18
|
this.invalidateParentCallback = callback;
|
|
@@ -29,7 +30,15 @@ var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
|
29
30
|
});
|
|
30
31
|
Object.defineProperty(RolloverModifierRenderableSeriesProps.prototype, "tooltipColor", {
|
|
31
32
|
get: function () {
|
|
32
|
-
|
|
33
|
+
if (this.tooltipColorProperty) {
|
|
34
|
+
return this.tooltipColorProperty;
|
|
35
|
+
}
|
|
36
|
+
else if (this.getRenderableSeriesStroke()) {
|
|
37
|
+
return this.getRenderableSeriesStroke();
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.textAnnotationBackground;
|
|
41
|
+
}
|
|
33
42
|
},
|
|
34
43
|
set: function (value) {
|
|
35
44
|
this.tooltipColorProperty = value;
|
|
@@ -62,7 +71,15 @@ var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
|
62
71
|
});
|
|
63
72
|
Object.defineProperty(RolloverModifierRenderableSeriesProps.prototype, "markerColor", {
|
|
64
73
|
get: function () {
|
|
65
|
-
|
|
74
|
+
if (this.markerColorProperty) {
|
|
75
|
+
return this.markerColorProperty;
|
|
76
|
+
}
|
|
77
|
+
else if (this.getRenderableSeriesStroke()) {
|
|
78
|
+
return this.getRenderableSeriesStroke();
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.textAnnotationBackground;
|
|
82
|
+
}
|
|
66
83
|
},
|
|
67
84
|
set: function (value) {
|
|
68
85
|
this.markerColorProperty = value;
|
|
@@ -104,6 +121,13 @@ var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
|
104
121
|
this.invalidateParentCallback();
|
|
105
122
|
}
|
|
106
123
|
};
|
|
124
|
+
RolloverModifierRenderableSeriesProps.prototype.getRenderableSeriesStroke = function () {
|
|
125
|
+
if (this.isY1) {
|
|
126
|
+
var bandRS = this.renderableSeries;
|
|
127
|
+
return bandRS.strokeY1;
|
|
128
|
+
}
|
|
129
|
+
return this.renderableSeries.stroke;
|
|
130
|
+
};
|
|
107
131
|
return RolloverModifierRenderableSeriesProps;
|
|
108
132
|
}());
|
|
109
133
|
exports.RolloverModifierRenderableSeriesProps = RolloverModifierRenderableSeriesProps;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SeriesAnimationFiniteStateMachine } from "../../../Core/Animations/AnimationFiniteStateMachine";
|
|
2
2
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
3
3
|
import { ESeriesType } from "../../../types/SeriesType";
|
|
4
4
|
import { DoubleVector, TSciChart } from "../../../types/TSciChart";
|
|
5
|
-
import {
|
|
5
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
6
6
|
import { BaseBandRenderableSeries, IBaseBandRenderableSeriesOptions } from "./BaseBandRenderableSeries";
|
|
7
7
|
import { ISpline } from "./ISpline";
|
|
8
8
|
/**
|
|
@@ -71,9 +71,9 @@ export declare class SplineBandRenderableSeries extends BaseBandRenderableSeries
|
|
|
71
71
|
/** @inheritDoc */
|
|
72
72
|
toJSON(excludeData?: boolean): import("../../../Builder/buildSeries").TSeriesDefinition;
|
|
73
73
|
/** @inheritDoc */
|
|
74
|
-
protected setAnimationVectors(animation:
|
|
74
|
+
protected setAnimationVectors(animation: SeriesAnimation): void;
|
|
75
75
|
/** @inheritDoc */
|
|
76
|
-
protected updateAnimationProperties(progress: number, animationFSM:
|
|
76
|
+
protected updateAnimationProperties(progress: number, animationFSM: SeriesAnimationFiniteStateMachine): void;
|
|
77
77
|
/** @inheritDoc */
|
|
78
78
|
protected dataSeriesDataChanged(): void;
|
|
79
79
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SeriesAnimationFiniteStateMachine } from "../../../Core/Animations/AnimationFiniteStateMachine";
|
|
2
2
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
3
3
|
import { ESeriesType } from "../../../types/SeriesType";
|
|
4
4
|
import { DoubleVector, TSciChart } from "../../../types/TSciChart";
|
|
5
|
-
import {
|
|
5
|
+
import { SeriesAnimation } from "./Animations/SeriesAnimation";
|
|
6
6
|
import { BaseLineRenderableSeries } from "./BaseLineRenderableSeries";
|
|
7
7
|
import { TPalettingState } from "./DrawingProviders/BaseSeriesDrawingProvider";
|
|
8
8
|
import { IBaseRenderableSeriesOptions } from "./IBaseRenderableSeriesOptions";
|
|
@@ -72,9 +72,9 @@ export declare class SplineLineRenderableSeries extends BaseLineRenderableSeries
|
|
|
72
72
|
*/
|
|
73
73
|
pushPalettedColors(color: number, palettingState: TPalettingState): void;
|
|
74
74
|
/** @inheritDoc */
|
|
75
|
-
protected setAnimationVectors(animation:
|
|
75
|
+
protected setAnimationVectors(animation: SeriesAnimation): void;
|
|
76
76
|
/** @inheritDoc */
|
|
77
|
-
protected updateAnimationProperties(progress: number, animationFSM:
|
|
77
|
+
protected updateAnimationProperties(progress: number, animationFSM: SeriesAnimationFiniteStateMachine): void;
|
|
78
78
|
/** @inheritDoc */
|
|
79
79
|
protected dataSeriesDataChanged(): void;
|
|
80
80
|
}
|