scichart 3.0.280 → 3.0.300
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/chartBuilder.d.ts +7 -7
- package/Charting/ChartModifiers/ChartModifierBase.d.ts +1 -1
- package/Charting/ChartModifiers/CursorModifier.d.ts +0 -4
- package/Charting/ChartModifiers/CursorModifier.js +4 -6
- package/Charting/ChartModifiers/RolloverModifier.d.ts +2 -6
- package/Charting/ChartModifiers/RolloverModifier.js +17 -11
- package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.d.ts +1 -1
- package/Charting/LayoutManager/CentralAxesLayoutManager.d.ts +1 -1
- package/Charting/Model/BaseDataSeries.d.ts +5 -1
- package/Charting/Model/BaseDataSeries.js +24 -14
- package/Charting/Model/ChartData/SeriesInfo.d.ts +1 -0
- package/Charting/Model/ChartData/SeriesInfo.js +1 -0
- package/Charting/Model/Filters/HlcCustomFilter.js +19 -7
- package/Charting/Model/Filters/OhlcCustomFilter.js +20 -8
- package/Charting/Model/Filters/XyCustomFilter.js +15 -5
- package/Charting/Model/Filters/XyRatioFilter.js +1 -0
- package/Charting/Model/Filters/XyyCustomFilter.js +17 -6
- package/Charting/Model/Filters/XyzCustomFilter.js +17 -6
- package/Charting/Services/SciChartRenderer.js +42 -2
- package/Charting/Visuals/Annotations/AdornerLayer.d.ts +1 -0
- package/Charting/Visuals/Annotations/AdornerLayer.js +6 -3
- package/Charting/Visuals/Annotations/AnnotationBase.js +4 -0
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +1 -1
- package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +1 -0
- package/Charting/Visuals/Axis/LogarithmicAxis.d.ts +2 -2
- package/Charting/Visuals/PointMarkers/SpritePointMarker.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +2 -0
- package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +1 -0
- package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +4 -0
- package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +2 -0
- package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +1 -0
- package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +5 -2
- package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/SciChartDefaults.d.ts +7 -0
- package/Charting/Visuals/SciChartDefaults.js +7 -0
- package/Charting/Visuals/SciChartSurface.d.ts +7 -1
- package/Charting/Visuals/SciChartSurface.js +5 -0
- package/Charting/Visuals/licenseManager2D.js +10 -4
- package/Charting3D/Visuals/Axis/NumericAxis3D.d.ts +1 -1
- package/Charting3D/Visuals/SciChart3DRenderer.d.ts +1 -0
- package/Charting3D/Visuals/SciChart3DRenderer.js +29 -1
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +5 -1
- package/Charting3D/Visuals/SciChart3DSurface.js +7 -2
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/README.md +12 -7
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +10 -10
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +16 -16
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +960 -0
- package/index.js +1302 -2
- package/index.min.js +1 -0
- package/package.json +18 -4
- package/types/ExecuteOn.d.ts +9 -1
- package/types/ExecuteOn.js +9 -1
- package/types/MousePosition.d.ts +0 -1
- package/types/MousePosition.js +0 -1
- package/types/WatermarkPosition.d.ts +6 -0
- package/types/WatermarkPosition.js +10 -0
- package/types/licensingClasses.d.ts +8 -7
- package/types/licensingClasses.js +8 -7
- package/utils/ccall/appendDoubleVectorFromJsArray.js +1 -1
|
@@ -197,6 +197,7 @@ var LabelProviderBase2D = /** @class */ (function (_super) {
|
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
if (cachedLabelText) {
|
|
200
|
+
text = cachedLabelText;
|
|
200
201
|
cachedLabel = LabelCache_1.labelCache.getLabel(cachedLabelText, this.styleId);
|
|
201
202
|
if (cachedLabel) {
|
|
202
203
|
labels.push(cachedLabelText);
|
|
@@ -96,9 +96,9 @@ export declare class LogarithmicAxis extends AxisBase2D {
|
|
|
96
96
|
/**
|
|
97
97
|
* @inheritdoc
|
|
98
98
|
*/
|
|
99
|
-
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("
|
|
99
|
+
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("../../..").IGenericAnimation;
|
|
100
100
|
scale(initialRange: NumberRange, delta: number, isMoreThanHalf: boolean): void;
|
|
101
|
-
toJSON(): import("
|
|
101
|
+
toJSON(): import("../../..").TAxisDefinition;
|
|
102
102
|
protected getCurrentCoordinateCalculatorInternal(): CoordinateCalculatorBase;
|
|
103
103
|
protected getMaxXRange(): NumberRange;
|
|
104
104
|
private get logTickProvider();
|
|
@@ -55,5 +55,5 @@ export declare class SpritePointMarker extends BasePointMarker {
|
|
|
55
55
|
*/
|
|
56
56
|
drawSprite(context: CanvasRenderingContext2D, spriteWidth: number, spriteHeight: number, stroke: string, strokeThickness: number, fill: string): void;
|
|
57
57
|
getPointMarkerStyle(): CustomPointMarkerStyle;
|
|
58
|
-
toJSON(): import("
|
|
58
|
+
toJSON(): import("../../..").TPointMarkerDefinition;
|
|
59
59
|
}
|
|
@@ -107,7 +107,7 @@ export declare abstract class BaseBandRenderableSeries extends BaseRenderableSer
|
|
|
107
107
|
/** @inheritDoc */
|
|
108
108
|
toPointSeries(rp?: ResamplingParams): IXyyPointSeries;
|
|
109
109
|
/** @inheritDoc */
|
|
110
|
-
toJSON(excludeData?: boolean): import("
|
|
110
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
111
111
|
/** @inheritDoc */
|
|
112
112
|
resolveAutoColors(index: number, maxSeries: number, theme: IThemeProvider): void;
|
|
113
113
|
/** @inheritDoc */
|
|
@@ -118,7 +118,7 @@ export declare abstract class BaseHeatmapRenderableSeries extends BaseRenderable
|
|
|
118
118
|
/** @inheritDoc */
|
|
119
119
|
toPointSeries(resamplingParams?: ResamplingParams): IPointSeries;
|
|
120
120
|
/** @inheritDoc */
|
|
121
|
-
toJSON(excludeData?: boolean): import("
|
|
121
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
122
122
|
/**
|
|
123
123
|
* Called when a property changes on {@link HeatmapColorMap}, and notifies the parent {@link SciChartSurface}
|
|
124
124
|
* that a redraw is required.
|
|
@@ -52,7 +52,7 @@ export declare abstract class BaseLineRenderableSeries extends BaseRenderableSer
|
|
|
52
52
|
*/
|
|
53
53
|
set lineType(lineType: ELineType);
|
|
54
54
|
/** @inheritDoc */
|
|
55
|
-
toJSON(excludeData?: boolean): import("
|
|
55
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
56
56
|
/**
|
|
57
57
|
* @inheritDoc
|
|
58
58
|
*/
|
|
@@ -76,7 +76,7 @@ export declare abstract class BaseMountainRenderableSeries extends BaseRenderabl
|
|
|
76
76
|
*/
|
|
77
77
|
set strokeDashArray(strokeDashArray: number[]);
|
|
78
78
|
/** @inheritDoc */
|
|
79
|
-
toJSON(excludeData?: boolean): import("
|
|
79
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
80
80
|
/** @inheritDoc */
|
|
81
81
|
resolveAutoColors(index: number, maxSeries: number, theme: IThemeProvider): void;
|
|
82
82
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class BandSeriesDataLabelProvider extends LineSeriesDataLabelProv
|
|
|
36
36
|
toJSON(): {
|
|
37
37
|
type: EDataLabelProviderType;
|
|
38
38
|
options: {
|
|
39
|
-
style: import("
|
|
39
|
+
style: import("../../../..").TDataLabelStyle;
|
|
40
40
|
color: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -40,7 +40,7 @@ export declare class ColumnSeriesDataLabelProvider extends DataLabelProvider {
|
|
|
40
40
|
toJSON(): {
|
|
41
41
|
type: EDataLabelProviderType;
|
|
42
42
|
options: {
|
|
43
|
-
style: import("
|
|
43
|
+
style: import("../../../..").TDataLabelStyle;
|
|
44
44
|
color: string;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -64,7 +64,7 @@ export declare class ContoursDataLabelProvider extends BaseDataLabelProvider {
|
|
|
64
64
|
toJSON(): {
|
|
65
65
|
type: EDataLabelProviderType;
|
|
66
66
|
options: {
|
|
67
|
-
style: import("
|
|
67
|
+
style: import("../../../..").TDataLabelStyle;
|
|
68
68
|
color: string;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
@@ -199,7 +199,7 @@ export declare class DataLabelProvider extends BaseDataLabelProvider {
|
|
|
199
199
|
toJSON(): {
|
|
200
200
|
type: EDataLabelProviderType;
|
|
201
201
|
options: {
|
|
202
|
-
style: import("
|
|
202
|
+
style: import("../../../..").TDataLabelStyle;
|
|
203
203
|
color: string;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
@@ -35,7 +35,7 @@ export declare class DataLabelState {
|
|
|
35
35
|
yCoord(index?: number): number;
|
|
36
36
|
hasNext(index?: number): boolean;
|
|
37
37
|
get lastLabel(): TDataLabel;
|
|
38
|
-
getMetaData(): import("
|
|
38
|
+
getMetaData(): import("../../../..").IPointMetadata;
|
|
39
39
|
get isVerticalChart(): boolean;
|
|
40
40
|
private xCoordInternal;
|
|
41
41
|
private yCoordInternal;
|
|
@@ -56,7 +56,7 @@ export declare class HeatMapDataLabelProvider extends BaseDataLabelProvider {
|
|
|
56
56
|
toJSON(): {
|
|
57
57
|
type: EDataLabelProviderType;
|
|
58
58
|
options: {
|
|
59
|
-
style: import("
|
|
59
|
+
style: import("../../../..").TDataLabelStyle;
|
|
60
60
|
color: string;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
@@ -28,7 +28,7 @@ export declare class LineSeriesDataLabelProvider extends DataLabelProvider {
|
|
|
28
28
|
toJSON(): {
|
|
29
29
|
type: EDataLabelProviderType;
|
|
30
30
|
options: {
|
|
31
|
-
style: import("
|
|
31
|
+
style: import("../../../..").TDataLabelStyle;
|
|
32
32
|
color: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -66,7 +66,7 @@ export declare class FastCandlestickRenderableSeries extends BaseOhlcRenderableS
|
|
|
66
66
|
* Gets or sets the fill when candlestick close is less than open, as an HTML color code
|
|
67
67
|
*/
|
|
68
68
|
set brushDown(htmlColorCode: string);
|
|
69
|
-
toJSON(excludeData?: boolean): import("
|
|
69
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
70
70
|
/** @inheritDoc */
|
|
71
71
|
resolveAutoColors(index: number, maxSeries: number, theme: IThemeProvider): void;
|
|
72
72
|
}
|
|
@@ -118,7 +118,7 @@ export declare class FastColumnRenderableSeries extends BaseRenderableSeries {
|
|
|
118
118
|
/** @inheritDoc */
|
|
119
119
|
resolveAutoColors(index: number, maxSeries: number, theme: IThemeProvider): void;
|
|
120
120
|
/** @inheritDoc */
|
|
121
|
-
toJSON(excludeData?: boolean): import("
|
|
121
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
122
122
|
/** @inheritDoc */
|
|
123
123
|
protected newHitTestProvider(): IHitTestProvider;
|
|
124
124
|
}
|
|
@@ -175,7 +175,7 @@ export declare class FastErrorBarsRenderableSeries extends BaseRenderableSeries
|
|
|
175
175
|
/** @inheritDoc */
|
|
176
176
|
getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange;
|
|
177
177
|
/** @inheritDoc */
|
|
178
|
-
toJSON(excludeData?: boolean): import("
|
|
178
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
179
179
|
/** @inheritDoc */
|
|
180
180
|
toPointSeries(rp?: ResamplingParams): IHlcPointSeries;
|
|
181
181
|
/**
|
|
@@ -81,7 +81,7 @@ export declare class FastImpulseRenderableSeries extends FastColumnRenderableSer
|
|
|
81
81
|
*/
|
|
82
82
|
getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange;
|
|
83
83
|
/** @inheritDoc */
|
|
84
|
-
toJSON(excludeData?: boolean): import("
|
|
84
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
85
85
|
/** @inheritDoc */
|
|
86
86
|
applyTheme(themeProvider: IThemeProvider): void;
|
|
87
87
|
/** @inheritDoc */
|
|
@@ -32,5 +32,5 @@ export declare class FastOhlcRenderableSeries extends BaseOhlcRenderableSeries {
|
|
|
32
32
|
* @param options optional parameters of type {@link IOhlcRenderableSeriesOptions} applied when constructing the series type
|
|
33
33
|
*/
|
|
34
34
|
constructor(webAssemblyContext: TSciChart, options?: IOhlcRenderableSeriesOptions);
|
|
35
|
-
toJSON(excludeData?: boolean): import("
|
|
35
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
36
36
|
}
|
|
@@ -60,6 +60,7 @@ var BandSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
60
60
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
61
61
|
hitTestInfo.point2y1Value = y1NativeValues.get(hitRes.secondPointIndex);
|
|
62
62
|
hitTestInfo.point2y1Coord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2y1Value);
|
|
63
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(hitRes.secondPointIndex);
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
else {
|
|
@@ -140,6 +141,7 @@ var BandSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
140
141
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
141
142
|
hitTestInfo.point2y1Value = y1NativeValues.get(hitRes.secondPointIndex);
|
|
142
143
|
hitTestInfo.point2y1Coord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2y1Value);
|
|
144
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(hitRes.secondPointIndex);
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
}
|
|
@@ -94,6 +94,7 @@ var BaseHitTestProvider = /** @class */ (function () {
|
|
|
94
94
|
hitTestInfo.point2xCoord = xCoordinateCalculator.getCoordinate(hitTestInfo.point2xValue);
|
|
95
95
|
hitTestInfo.point2yValue = yNativeValues.get(hitRes.secondPointIndex);
|
|
96
96
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
97
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(hitRes.secondPointIndex);
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
return hitTestInfo;
|
|
@@ -158,5 +158,9 @@ export declare class HitTestInfo {
|
|
|
158
158
|
* displaying tooltips with additional information specific for the data point
|
|
159
159
|
*/
|
|
160
160
|
metadata: IPointMetadata;
|
|
161
|
+
/**
|
|
162
|
+
* The point metadata for the second data point
|
|
163
|
+
*/
|
|
164
|
+
point2metadata: IPointMetadata;
|
|
161
165
|
constructor(renderableSeries: IRenderableSeries, isEmpty?: boolean);
|
|
162
166
|
}
|
|
@@ -74,6 +74,7 @@ var LineSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
74
74
|
hitTestInfo.point2xCoord = xCoordinateCalculator.getCoordinate(hitTestInfo.point2xValue);
|
|
75
75
|
hitTestInfo.point2yValue = yNativeValues.get(hitRes.secondPointIndex);
|
|
76
76
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
77
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(hitRes.secondPointIndex);
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
else {
|
|
@@ -152,6 +153,7 @@ var LineSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
152
153
|
hitTestInfo.point2yValue = yNativeValues.get(minDistanceIndex + 1);
|
|
153
154
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
154
155
|
hitTestInfo.isHit = minDistance <= hitTestRadius;
|
|
156
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(minDistanceIndex + 1);
|
|
155
157
|
return hitTestInfo;
|
|
156
158
|
}
|
|
157
159
|
}
|
|
@@ -56,6 +56,7 @@ var MountainSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
56
56
|
hitTestInfo.point2xCoord = xCoordinateCalculator.getCoordinate(hitTestInfo.point2xValue);
|
|
57
57
|
hitTestInfo.point2yValue = yNativeValues.get(res.secondPointIndex);
|
|
58
58
|
hitTestInfo.point2yCoord = yCoordinateCalculator.getCoordinate(hitTestInfo.point2yValue);
|
|
59
|
+
hitTestInfo.point2metadata = dataSeries.getMetadataAt(res.secondPointIndex);
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
else {
|
package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js
CHANGED
|
@@ -124,9 +124,12 @@ var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
|
124
124
|
RolloverModifierRenderableSeriesProps.prototype.getRenderableSeriesStroke = function () {
|
|
125
125
|
if (this.isY1) {
|
|
126
126
|
var bandRS = this.renderableSeries;
|
|
127
|
-
|
|
127
|
+
// @ts-ignore
|
|
128
|
+
return bandRS.strokeY1Property;
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
+
// Get property here to retain Auto_Color prefix
|
|
131
|
+
// @ts-ignore
|
|
132
|
+
return this.renderableSeries.strokeProperty;
|
|
130
133
|
};
|
|
131
134
|
return RolloverModifierRenderableSeriesProps;
|
|
132
135
|
}());
|
|
@@ -74,7 +74,7 @@ export declare class SplineBandRenderableSeries extends BaseBandRenderableSeries
|
|
|
74
74
|
/** @inheritDoc */
|
|
75
75
|
getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange;
|
|
76
76
|
/** @inheritDoc */
|
|
77
|
-
toJSON(excludeData?: boolean): import("
|
|
77
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
78
78
|
/** @inheritDoc */
|
|
79
79
|
protected setAnimationVectors(animation: SeriesAnimation): void;
|
|
80
80
|
/** @inheritDoc */
|
|
@@ -69,7 +69,7 @@ export declare class SplineLineRenderableSeries extends BaseLineRenderableSeries
|
|
|
69
69
|
/** @inheritDoc */
|
|
70
70
|
getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange;
|
|
71
71
|
/** @inheritDoc */
|
|
72
|
-
toJSON(excludeData?: boolean): import("
|
|
72
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
73
73
|
/**
|
|
74
74
|
* @param color The color for palette
|
|
75
75
|
* @param palettingState The palleting state
|
|
@@ -71,7 +71,7 @@ export declare class SplineMountainRenderableSeries extends BaseMountainRenderab
|
|
|
71
71
|
/** @inheritDoc */
|
|
72
72
|
getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange;
|
|
73
73
|
/** @inheritDoc */
|
|
74
|
-
toJSON(excludeData?: boolean): import("
|
|
74
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
75
75
|
/** @inheritDoc */
|
|
76
76
|
protected setAnimationVectors(animation: SeriesAnimation): void;
|
|
77
77
|
/** @inheritDoc */
|
|
@@ -188,7 +188,7 @@ export declare class StackedColumnRenderableSeries extends BaseStackedRenderable
|
|
|
188
188
|
* {@link StackedColumnCollection} to DIFFERENT values
|
|
189
189
|
*/
|
|
190
190
|
set stackedGroupId(value: string);
|
|
191
|
-
toJSON(excludeData?: boolean): import("
|
|
191
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
192
192
|
/** @inheritDoc */
|
|
193
193
|
resolveAutoColors(index: number, maxSeries: number, theme: IThemeProvider): void;
|
|
194
194
|
/** @inheritDoc */
|
|
@@ -116,7 +116,7 @@ export declare class UniformContoursRenderableSeries extends BaseRenderableSerie
|
|
|
116
116
|
/** @inheritDoc */
|
|
117
117
|
toPointSeries(resamplingParams?: ResamplingParams): IPointSeries;
|
|
118
118
|
/** @inheritDoc */
|
|
119
|
-
toJSON(excludeData?: boolean): import("
|
|
119
|
+
toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition;
|
|
120
120
|
/**
|
|
121
121
|
* Called when a property changes on {@link HeatmapColorMap}, and notifies the parent {@link SciChartSurface}
|
|
122
122
|
* that a redraw is required.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EWatermarkPosition } from "../../types/WatermarkPosition";
|
|
1
2
|
export declare class SciChartDefaults {
|
|
2
3
|
/**
|
|
3
4
|
* Experimental - set true to enable async label texture creation
|
|
@@ -24,4 +25,10 @@ export declare class SciChartDefaults {
|
|
|
24
25
|
* Time in ms to retry loading a native font. If you need to load a large font over a potentially slow connection await sciChartSurface.registerFont
|
|
25
26
|
*/
|
|
26
27
|
static nativeFontTimeout: number;
|
|
28
|
+
/**
|
|
29
|
+
* The default position of the watermark for trials
|
|
30
|
+
*/
|
|
31
|
+
static watermarkPosition: EWatermarkPosition;
|
|
32
|
+
/** For 2D charts the watermark is normally positioned within the series area. Set this true to place it relative to the overall canvas. */
|
|
33
|
+
static watermarkRelativeToCanvas: boolean;
|
|
27
34
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SciChartDefaults = void 0;
|
|
4
|
+
var WatermarkPosition_1 = require("../../types/WatermarkPosition");
|
|
4
5
|
var SciChartDefaults = /** @class */ (function () {
|
|
5
6
|
function SciChartDefaults() {
|
|
6
7
|
}
|
|
@@ -29,6 +30,12 @@ var SciChartDefaults = /** @class */ (function () {
|
|
|
29
30
|
* Time in ms to retry loading a native font. If you need to load a large font over a potentially slow connection await sciChartSurface.registerFont
|
|
30
31
|
*/
|
|
31
32
|
SciChartDefaults.nativeFontTimeout = 2000;
|
|
33
|
+
/**
|
|
34
|
+
* The default position of the watermark for trials
|
|
35
|
+
*/
|
|
36
|
+
SciChartDefaults.watermarkPosition = WatermarkPosition_1.EWatermarkPosition.BottomLeft;
|
|
37
|
+
/** For 2D charts the watermark is normally positioned within the series area. Set this true to place it relative to the overall canvas. */
|
|
38
|
+
SciChartDefaults.watermarkRelativeToCanvas = false;
|
|
32
39
|
return SciChartDefaults;
|
|
33
40
|
}());
|
|
34
41
|
exports.SciChartDefaults = SciChartDefaults;
|
|
@@ -9,7 +9,7 @@ import { EAutoColorMode } from "../../types/AutoColorMode";
|
|
|
9
9
|
import { Size } from "../../types/Size";
|
|
10
10
|
import { ESvgClippingMode } from "../../types/SvgClippingMode";
|
|
11
11
|
import { TBorder } from "../../types/TBorder";
|
|
12
|
-
import { TSciChart } from "../../types/TSciChart";
|
|
12
|
+
import { TSciChart as TWasmContext } from "../../types/TSciChart";
|
|
13
13
|
import { TSciChartSurfaceCanvases } from "../../types/TSciChartSurfaceCanvases";
|
|
14
14
|
import { EZoomState } from "../../types/ZoomState";
|
|
15
15
|
import { IChartModifierBase } from "../ChartModifiers/ChartModifierBase";
|
|
@@ -28,6 +28,8 @@ import { IRenderableSeries } from "./RenderableSeries/IRenderableSeries";
|
|
|
28
28
|
import { ESurfaceType, SciChartSurfaceBase, TSciChartConfig } from "./SciChartSurfaceBase";
|
|
29
29
|
import { TDpiChangedEventArgs } from "./TextureManager/DpiHelper";
|
|
30
30
|
import { Point } from "../../Core/Point";
|
|
31
|
+
import { EWatermarkPosition } from "../../types/WatermarkPosition";
|
|
32
|
+
export declare type TSciChart = TWasmContext;
|
|
31
33
|
export declare type TWebAssemblyChart = {
|
|
32
34
|
wasmContext: TSciChart;
|
|
33
35
|
sciChartSurface: SciChartSurface;
|
|
@@ -211,6 +213,10 @@ export declare class SciChartSurface extends SciChartSurfaceBase {
|
|
|
211
213
|
* access to our WebGL2 Engine and WebAssembly numerical methods
|
|
212
214
|
*/
|
|
213
215
|
readonly webAssemblyContext2D: TSciChart;
|
|
216
|
+
/** The position of the watermark for trials and community licenses */
|
|
217
|
+
watermarkPosition: EWatermarkPosition;
|
|
218
|
+
/** Set true to position the watermark relative to the overall canvas, rather than the series area. */
|
|
219
|
+
watermarkRelativeToCanvas: boolean;
|
|
214
220
|
protected animationList: IGenericAnimation[];
|
|
215
221
|
protected paddingProperty: Thickness;
|
|
216
222
|
private readonly sciChartRenderer;
|
|
@@ -108,6 +108,7 @@ var SciChartSurfaceBase_1 = require("./SciChartSurfaceBase");
|
|
|
108
108
|
var DpiHelper_1 = require("./TextureManager/DpiHelper");
|
|
109
109
|
var UpdateSuspender_1 = require("./UpdateSuspender");
|
|
110
110
|
var Point_1 = require("../../Core/Point");
|
|
111
|
+
var SciChartDefaults_1 = require("./SciChartDefaults");
|
|
111
112
|
exports.sciChartConfig = {};
|
|
112
113
|
// To force the worker to be created before it is needed, so we know if it alive or not
|
|
113
114
|
var t = TextureWorker_1.textureWorker;
|
|
@@ -164,6 +165,10 @@ var SciChartSurface = /** @class */ (function (_super) {
|
|
|
164
165
|
* In circumstances where you want to draw over the labels, eg with a subchart, set this true to have them drawn earlier.
|
|
165
166
|
*/
|
|
166
167
|
_this.renderNativeAxisLabelsImmediately = false;
|
|
168
|
+
/** The position of the watermark for trials and community licenses */
|
|
169
|
+
_this.watermarkPosition = SciChartDefaults_1.SciChartDefaults.watermarkPosition;
|
|
170
|
+
/** Set true to position the watermark relative to the overall canvas, rather than the series area. */
|
|
171
|
+
_this.watermarkRelativeToCanvas = false;
|
|
167
172
|
_this.animationList = [];
|
|
168
173
|
_this.paddingProperty = Thickness_1.Thickness.fromNumber(10);
|
|
169
174
|
_this.zoomStateProperty = ZoomState_1.EZoomState.AtExtents;
|
|
@@ -167,7 +167,8 @@ var getlicenseFromWizard = function (licenseContext, sciChartSurface) { return _
|
|
|
167
167
|
switch (_b.label) {
|
|
168
168
|
case 0:
|
|
169
169
|
_b.trys.push([0, 5, , 6]);
|
|
170
|
-
if (checkStatus !== licensingClasses_1.LicenseCheckStatus.
|
|
170
|
+
if (checkStatus !== licensingClasses_1.LicenseCheckStatus.StartLookingForLicenseWizard &&
|
|
171
|
+
checkStatus !== licensingClasses_1.LicenseCheckStatus.LookingForLicenseWizard &&
|
|
171
172
|
checkStatus !== licensingClasses_1.LicenseCheckStatus.NoLicenseInWizard)
|
|
172
173
|
return [2 /*return*/];
|
|
173
174
|
debug("Trying to get license from local license wizard");
|
|
@@ -203,6 +204,7 @@ var getlicenseFromWizard = function (licenseContext, sciChartSurface) { return _
|
|
|
203
204
|
case 4: return [3 /*break*/, 6];
|
|
204
205
|
case 5:
|
|
205
206
|
err_3 = _b.sent();
|
|
207
|
+
checkStatus = licensingClasses_1.LicenseCheckStatus.LookingForLicenseWizard;
|
|
206
208
|
// Failed to connect. Retry
|
|
207
209
|
getLicenseFailCounts += 1;
|
|
208
210
|
if (getLicenseFailCounts < maxretries) {
|
|
@@ -355,7 +357,7 @@ var dolicenseChallenge = function (licenseContext, sciChartSurface) { return __a
|
|
|
355
357
|
licenseContext.SCRTCredentials.ResetRuntimeLicense();
|
|
356
358
|
isRuntimeKey = false;
|
|
357
359
|
licenseManager2dState_1.licenseManager2dState.setIsDev(true);
|
|
358
|
-
checkStatus = licensingClasses_1.LicenseCheckStatus.
|
|
360
|
+
checkStatus = licensingClasses_1.LicenseCheckStatus.StartLookingForLicenseWizard;
|
|
359
361
|
getlicenseFromWizard(licenseContext, sciChartSurface);
|
|
360
362
|
if (licenseContext2D !== undefined) {
|
|
361
363
|
(0, exports.updateLicenseDisplay)((0, exports.getLicenseInfo)(licenseContext2D), sciChartSurface2D, true, false);
|
|
@@ -429,6 +431,7 @@ var applyLicense = function (licenseContext, sciChartSurface) {
|
|
|
429
431
|
var runtimelicense = getRuntimeLicenseKey();
|
|
430
432
|
if ((checkStatus === licensingClasses_1.LicenseCheckStatus.NoLicense ||
|
|
431
433
|
checkStatus === licensingClasses_1.LicenseCheckStatus.LicenseOK ||
|
|
434
|
+
checkStatus === licensingClasses_1.LicenseCheckStatus.StartLookingForLicenseWizard ||
|
|
432
435
|
checkStatus === licensingClasses_1.LicenseCheckStatus.LookingForLicenseWizard) &&
|
|
433
436
|
lt === licenseContext.SCRTLicenseType.LICENSE_TYPE_NO_LICENSE &&
|
|
434
437
|
runtimelicense) {
|
|
@@ -541,7 +544,7 @@ var applyLicense = function (licenseContext, sciChartSurface) {
|
|
|
541
544
|
debug("checkstatus: " + licensingClasses_1.LicenseCheckStatus[checkStatus]);
|
|
542
545
|
if (checkStatus === licensingClasses_1.LicenseCheckStatus.NoLicense && useLicenseWizard) {
|
|
543
546
|
if (wizardTimer === undefined) {
|
|
544
|
-
checkStatus = licensingClasses_1.LicenseCheckStatus.
|
|
547
|
+
checkStatus = licensingClasses_1.LicenseCheckStatus.StartLookingForLicenseWizard;
|
|
545
548
|
licenseManager2dState_1.licenseManager2dState.setIsDev(true);
|
|
546
549
|
getlicenseFromWizard(licenseContext, sciChartSurface);
|
|
547
550
|
}
|
|
@@ -798,6 +801,9 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
|
|
|
798
801
|
debug("".concat(is2D ? "2D" : "3D", " license status changed"));
|
|
799
802
|
sciChartSurface.invalidateElement();
|
|
800
803
|
sciChartSurface.otherSurfaces.map(function (s) { return s.invalidateElement(); });
|
|
804
|
+
if (checkStatus === licensingClasses_1.LicenseCheckStatus.StartLookingForLicenseWizard) {
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
801
807
|
// Update license message text
|
|
802
808
|
var licensingLink = "<a href=\"https://www.scichart.com/licensing-scichart\" target=\"_blank\" style=\"color: white\">www.scichart.com/licensing-scichart</a>";
|
|
803
809
|
var contactSupportLink = "<a href=\"https://www.scichart.com/contact-us/\" target=\"_blank\" style=\"color: orange\">contact support</a>";
|
|
@@ -909,7 +915,7 @@ var updateLicenseDisplayInternal = function (licenseInfo, sciChartSurface, is2D,
|
|
|
909
915
|
else {
|
|
910
916
|
licenseMessageDivChild.innerHTML =
|
|
911
917
|
premsg +
|
|
912
|
-
"<br><a href=\"https://
|
|
918
|
+
"<br><a href=\"https://www.scichart.com/licensing-scichart-js/\" target=\"_blank\" style=\"color: white\">Click here for licensing information</a>";
|
|
913
919
|
}
|
|
914
920
|
}
|
|
915
921
|
}
|
|
@@ -35,7 +35,7 @@ export declare class NumericAxis3D extends AxisBase3D {
|
|
|
35
35
|
/**
|
|
36
36
|
* @inheritDoc
|
|
37
37
|
*/
|
|
38
|
-
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("
|
|
38
|
+
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("../../..").IGenericAnimation;
|
|
39
39
|
/**
|
|
40
40
|
* @inheritDoc
|
|
41
41
|
*/
|
|
@@ -4,6 +4,7 @@ exports.SciChart3DRenderer = void 0;
|
|
|
4
4
|
var Deleter_1 = require("../../Core/Deleter");
|
|
5
5
|
var Guard_1 = require("../../Core/Guard");
|
|
6
6
|
var AutoRange_1 = require("../../types/AutoRange");
|
|
7
|
+
var WatermarkPosition_1 = require("../../types/WatermarkPosition");
|
|
7
8
|
var AxisCubeDescriptor_1 = require("./Primitives/AxisCubeDescriptor");
|
|
8
9
|
var RenderPassInfo3D_1 = require("./Primitives/RenderPassInfo3D");
|
|
9
10
|
var SceneDescriptor_1 = require("./Primitives/SceneDescriptor");
|
|
@@ -96,7 +97,7 @@ var SciChart3DRenderer = /** @class */ (function () {
|
|
|
96
97
|
// Viewport3D already checked to be not null in IsSurfaceValid
|
|
97
98
|
this.scs.rootEntity.visitEntities(function (e) { return e.setRenderPassData(rpd); });
|
|
98
99
|
// We add the same padding as we have for 2D 6px
|
|
99
|
-
this.
|
|
100
|
+
this.updateWatermark();
|
|
100
101
|
// Step 6: Notify that scene is about to be drawn
|
|
101
102
|
this.scs.onSciChartRendered();
|
|
102
103
|
// Invalidate for the animations
|
|
@@ -104,6 +105,33 @@ var SciChart3DRenderer = /** @class */ (function () {
|
|
|
104
105
|
setTimeout(this.scs.invalidateElement, 0);
|
|
105
106
|
}
|
|
106
107
|
};
|
|
108
|
+
SciChart3DRenderer.prototype.updateWatermark = function () {
|
|
109
|
+
var chartHeight = this.scs.getMainCanvas().clientHeight;
|
|
110
|
+
var chartWidth = this.scs.getMainCanvas().clientWidth;
|
|
111
|
+
var left = 5;
|
|
112
|
+
var bottom = chartHeight - 10;
|
|
113
|
+
var wmWidth = Math.max(72, Math.min(0.25 * chartWidth, 256));
|
|
114
|
+
var wmHeight = (42 * wmWidth) / 256;
|
|
115
|
+
switch (this.scs.watermarkPosition) {
|
|
116
|
+
case WatermarkPosition_1.EWatermarkPosition.BottomRight:
|
|
117
|
+
left = chartWidth - wmWidth - 5;
|
|
118
|
+
bottom = 12;
|
|
119
|
+
break;
|
|
120
|
+
case WatermarkPosition_1.EWatermarkPosition.TopLeft:
|
|
121
|
+
left = 5;
|
|
122
|
+
bottom = chartHeight - (5 + wmHeight);
|
|
123
|
+
break;
|
|
124
|
+
case WatermarkPosition_1.EWatermarkPosition.TopRight:
|
|
125
|
+
left = chartWidth - wmWidth - 5;
|
|
126
|
+
bottom = chartHeight - (5 + wmHeight);
|
|
127
|
+
break;
|
|
128
|
+
case WatermarkPosition_1.EWatermarkPosition.BottomLeft:
|
|
129
|
+
left = 5;
|
|
130
|
+
bottom = 12;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
this.scs.updateWatermark(left, bottom);
|
|
134
|
+
};
|
|
107
135
|
SciChart3DRenderer.prototype.isSurfaceValid = function (sciChartSurface, viewportSize) {
|
|
108
136
|
if (!sciChartSurface.xAxis) {
|
|
109
137
|
throw new Error("Unable to draw SciChart3DSurface as the xAxis is undefined");
|
|
@@ -5,7 +5,7 @@ import { ESurfaceType, SciChartSurfaceBase, TSciChartConfig } from "../../Charti
|
|
|
5
5
|
import { TDpiChangedEventArgs } from "../../Charting/Visuals/TextureManager/DpiHelper";
|
|
6
6
|
import { IGenericAnimation } from "../../Core/Animations/GenericAnimation";
|
|
7
7
|
import { ObservableArray } from "../../Core/ObservableArray";
|
|
8
|
-
import { SCRTSceneWorld, TSciChart3D } from "../../types/TSciChart3D";
|
|
8
|
+
import { SCRTSceneWorld, TSciChart3D as TWasmContext } from "../../types/TSciChart3D";
|
|
9
9
|
import { TSciChartSurfaceCanvases } from "../../types/TSciChartSurfaceCanvases";
|
|
10
10
|
import { ICameraController } from "../CameraController";
|
|
11
11
|
import { Vector3 } from "../Vector3";
|
|
@@ -14,6 +14,8 @@ import { AxisCubeEntity } from "./Axis/AxisCubeEntity";
|
|
|
14
14
|
import { IRenderableSeries3D } from "./RenderableSeries/BaseRenderableSeries3D";
|
|
15
15
|
import { RootSceneEntity } from "./RootSceneEntity";
|
|
16
16
|
import { ViewportManager3DBase } from "./ViewportManager3DBase";
|
|
17
|
+
import { EWatermarkPosition } from "../../types/WatermarkPosition";
|
|
18
|
+
export declare type TSciChart3D = TWasmContext;
|
|
17
19
|
export declare type TWebAssemblyChart3D = {
|
|
18
20
|
wasmContext: TSciChart3D;
|
|
19
21
|
sciChart3DSurface: SciChart3DSurface;
|
|
@@ -120,6 +122,8 @@ export declare class SciChart3DSurface extends SciChartSurfaceBase {
|
|
|
120
122
|
* access to our WebGL2 Engine and WebAssembly numerical methods
|
|
121
123
|
*/
|
|
122
124
|
readonly webAssemblyContext3D: TSciChart3D;
|
|
125
|
+
/** The position of the watermark for trials and community licenses */
|
|
126
|
+
watermarkPosition: EWatermarkPosition;
|
|
123
127
|
protected animationList: IGenericAnimation[];
|
|
124
128
|
private xAxisProperty;
|
|
125
129
|
private yAxisProperty;
|
|
@@ -32,6 +32,7 @@ var GizmoEntity_1 = require("./GizmoEntity");
|
|
|
32
32
|
var RootSceneEntity_1 = require("./RootSceneEntity");
|
|
33
33
|
var SciChart3DRenderer_1 = require("./SciChart3DRenderer");
|
|
34
34
|
var BuildStamp_1 = require("../../Core/BuildStamp");
|
|
35
|
+
var SciChartDefaults_1 = require("../../Charting/Visuals/SciChartDefaults");
|
|
35
36
|
exports.sciChartConfig3D = {};
|
|
36
37
|
/**
|
|
37
38
|
* @summary The {@link SciChart3DSurface} is the root 3D Chart control in SciChart's High Performance Real-time
|
|
@@ -61,6 +62,8 @@ var SciChart3DSurface = /** @class */ (function (_super) {
|
|
|
61
62
|
var _this = this;
|
|
62
63
|
var _a, _b, _c, _d;
|
|
63
64
|
_this = _super.call(this, webAssemblyContext, options === null || options === void 0 ? void 0 : options.canvases) || this;
|
|
65
|
+
/** The position of the watermark for trials and community licenses */
|
|
66
|
+
_this.watermarkPosition = SciChartDefaults_1.SciChartDefaults.watermarkPosition;
|
|
64
67
|
_this.animationList = [];
|
|
65
68
|
_this.isAxisCubeRenderedProperty = false;
|
|
66
69
|
var canvasWidth = (_b = (_a = _this.domCanvas2D) === null || _a === void 0 ? void 0 : _a.width) !== null && _b !== void 0 ? _b : app_1.DEFAULT_WIDTH;
|
|
@@ -105,6 +108,7 @@ var SciChart3DSurface = /** @class */ (function (_super) {
|
|
|
105
108
|
// Watermark
|
|
106
109
|
if (!app_1.IS_TEST_ENV) {
|
|
107
110
|
_this.watermarkProperties = new webAssemblyContext.SCRTWaterMarkProperties();
|
|
111
|
+
_this.watermarkProperties.m_fCanvasWidth = canvasWidth;
|
|
108
112
|
_this.watermarkPropertyPosition = new webAssemblyContext.TSRVector2(0, 0);
|
|
109
113
|
_this.watermarkProperties.SetPosition(_this.watermarkPropertyPosition);
|
|
110
114
|
_this.watermarkProperties.SetOpacity(0.5);
|
|
@@ -475,12 +479,13 @@ var SciChart3DSurface = /** @class */ (function (_super) {
|
|
|
475
479
|
* @inheritDoc
|
|
476
480
|
*/
|
|
477
481
|
SciChart3DSurface.prototype.updateWatermark = function (left, bottom) {
|
|
478
|
-
var _a;
|
|
482
|
+
var _a, _b;
|
|
479
483
|
if (!app_1.IS_TEST_ENV) {
|
|
480
484
|
this.watermarkPropertyPosition.x = left;
|
|
481
485
|
this.watermarkPropertyPosition.y = bottom;
|
|
486
|
+
this.watermarkProperties.m_fCanvasWidth = (_a = this.getMainCanvas()) === null || _a === void 0 ? void 0 : _a.clientWidth;
|
|
482
487
|
this.watermarkProperties.SetPosition(this.watermarkPropertyPosition);
|
|
483
|
-
var isLightBackground = (
|
|
488
|
+
var isLightBackground = (_b = this.themeProvider) === null || _b === void 0 ? void 0 : _b.isLightBackground;
|
|
484
489
|
this.watermarkProperties.m_bIsDarkBackground = isLightBackground !== undefined ? !isLightBackground : false;
|
|
485
490
|
this.webAssemblyContext3D.SCRT3DSetWaterMarkProperties(this.watermarkProperties);
|
|
486
491
|
}
|
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.300";
|
|
4
4
|
export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
|