scichart 3.0.269 → 3.0.284
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/ChartModifierBase2D.js +2 -3
- package/Charting/ChartModifiers/CursorModifier.d.ts +27 -12
- package/Charting/ChartModifiers/CursorModifier.js +87 -12
- package/Charting/ChartModifiers/XAxisDragModifier.d.ts +15 -12
- package/Charting/ChartModifiers/YAxisDragModifier.d.ts +15 -12
- package/Charting/ChartModifiers/constants.d.ts +4 -1
- package/Charting/ChartModifiers/constants.js +3 -0
- package/Charting/LayoutManager/BaseAxisLayoutStrategy.d.ts +1 -0
- package/Charting/LayoutManager/BaseAxisLayoutStrategy.js +1 -0
- package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.d.ts +1 -1
- package/Charting/LayoutManager/BottomAlignedInnerAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/BottomAlignedOuterAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/BottomAlignedOuterHorizontallyStackedAxisLayoutStrategy.d.ts +1 -0
- package/Charting/LayoutManager/BottomAlignedOuterHorizontallyStackedAxisLayoutStrategy.js +1 -1
- package/Charting/LayoutManager/CentralAxesLayoutManager.d.ts +1 -1
- package/Charting/LayoutManager/LayoutManager.d.ts +14 -4
- package/Charting/LayoutManager/LayoutManager.js +133 -35
- package/Charting/LayoutManager/LeftAlignedInnerAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/LeftAlignedOuterAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/LeftAlignedOuterVerticallyStackedAxisLayoutStrategy.d.ts +1 -0
- package/Charting/LayoutManager/LeftAlignedOuterVerticallyStackedAxisLayoutStrategy.js +3 -3
- package/Charting/LayoutManager/RightAlignedInnerAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/RightAlignedOuterAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/RightAlignedOuterVerticallyStackedAxisLayoutStrategy.d.ts +1 -0
- package/Charting/LayoutManager/RightAlignedOuterVerticallyStackedAxisLayoutStrategy.js +1 -1
- package/Charting/LayoutManager/TopAlignedInnerAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/TopAlignedOuterAxisLayoutStrategy.js +4 -1
- package/Charting/LayoutManager/TopAlignedOuterHorizontallyStackedAxisLayoutStrategy.d.ts +1 -0
- package/Charting/LayoutManager/TopAlignedOuterHorizontallyStackedAxisLayoutStrategy.js +1 -1
- package/Charting/Visuals/Annotations/AnnotationBase.d.ts +6 -6
- package/Charting/Visuals/Annotations/AnnotationBase.js +13 -9
- package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +1 -1
- package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +7 -7
- package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -1
- package/Charting/Visuals/Annotations/BoxAnnotation.js +21 -21
- package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -1
- package/Charting/Visuals/Annotations/LineAnnotation.js +4 -4
- package/Charting/Visuals/Annotations/NativeTextAnnotation.d.ts +1 -1
- package/Charting/Visuals/Annotations/NativeTextAnnotation.js +21 -21
- package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +1 -1
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +1 -6
- package/Charting/Visuals/Axis/AxisBase2D.js +13 -19
- package/Charting/Visuals/Axis/AxisCore.js +4 -1
- package/Charting/Visuals/Axis/LogarithmicAxis.d.ts +2 -2
- package/Charting/Visuals/I2DSurfaceOptions.d.ts +1 -1
- 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/BaseRenderableSeries.js +14 -0
- 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/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/SciChartSurface.d.ts +8 -3
- package/Charting/Visuals/SciChartSurface.js +10 -4
- package/Charting/Visuals/licenseManager2D.js +4 -2
- package/Charting3D/Visuals/Axis/NumericAxis3D.d.ts +1 -1
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +2 -1
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/Core/Telemetry.js +4 -1
- package/README.md +61 -13
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +16 -16
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +16 -16
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +958 -0
- package/index.js +1298 -2
- package/index.min.js +1 -0
- package/package.json +1 -1
- package/types/AxisAlignment.d.ts +1 -0
- package/types/AxisAlignment.js +5 -1
- package/utils/array.d.ts +9 -0
- package/utils/array.js +19 -1
|
@@ -74,27 +74,6 @@ var NativeTextAnnotation = /** @class */ (function (_super) {
|
|
|
74
74
|
_this.multiLineAlignmentProperty = TextPosition_1.EMultiLineAlignment.Center;
|
|
75
75
|
_this.lineSpacingProperty = 3;
|
|
76
76
|
_this.scaleProperty = 1;
|
|
77
|
-
_this.svgStringAdornerTemplate = function (x1, y1, x2, y2) {
|
|
78
|
-
var colorLine = _this.selectionBoxStroke;
|
|
79
|
-
var width = x2 - x1;
|
|
80
|
-
var height = y2 - y1;
|
|
81
|
-
var svg = "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"".concat(x1, "\" y=\"").concat(y1, "\" width=\"").concat(width, "\" height=\"").concat(height, "\" stroke=\"").concat(colorLine, "\" stroke-width=\"").concat(_this.selectionBoxThickness, "px\" fill=\"none\" />\n ");
|
|
82
|
-
var grips = _this.getAdornerAnnotationBorders(false, true);
|
|
83
|
-
if (_this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x1y1)) {
|
|
84
|
-
svg += _this.getAnnotationGripSvg(grips.x1, grips.y1);
|
|
85
|
-
}
|
|
86
|
-
if (_this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x2y2)) {
|
|
87
|
-
svg += _this.getAnnotationGripSvg(grips.x2, grips.y2);
|
|
88
|
-
}
|
|
89
|
-
if (_this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x2y1)) {
|
|
90
|
-
svg += _this.getAnnotationGripSvg(grips.x2, grips.y1);
|
|
91
|
-
}
|
|
92
|
-
if (_this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x1y2)) {
|
|
93
|
-
svg += _this.getAnnotationGripSvg(grips.x1, grips.y2);
|
|
94
|
-
}
|
|
95
|
-
svg += "</svg>";
|
|
96
|
-
return svg;
|
|
97
|
-
};
|
|
98
77
|
_this.textColorProperty = (_a = options === null || options === void 0 ? void 0 : options.textColor) !== null && _a !== void 0 ? _a : _this.textColorProperty;
|
|
99
78
|
_this.fontSizeProperty = (_b = options === null || options === void 0 ? void 0 : options.fontSize) !== null && _b !== void 0 ? _b : _this.fontSizeProperty;
|
|
100
79
|
_this.fontFamilyProperty = (_c = options === null || options === void 0 ? void 0 : options.fontFamily) !== null && _c !== void 0 ? _c : _this.fontFamilyProperty;
|
|
@@ -572,6 +551,27 @@ var NativeTextAnnotation = /** @class */ (function (_super) {
|
|
|
572
551
|
this.svgAdorner = annotationHelpers_1.annotationHelpers.createSvg(svgString, adornerSvgRoot);
|
|
573
552
|
}
|
|
574
553
|
};
|
|
554
|
+
NativeTextAnnotation.prototype.svgStringAdornerTemplate = function (x1, y1, x2, y2) {
|
|
555
|
+
var colorLine = this.selectionBoxStroke;
|
|
556
|
+
var width = x2 - x1;
|
|
557
|
+
var height = y2 - y1;
|
|
558
|
+
var svg = "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"".concat(x1, "\" y=\"").concat(y1, "\" width=\"").concat(width, "\" height=\"").concat(height, "\" stroke=\"").concat(colorLine, "\" stroke-width=\"").concat(this.selectionBoxThickness, "px\" fill=\"none\" />\n ");
|
|
559
|
+
var grips = this.getAdornerAnnotationBorders(false, true);
|
|
560
|
+
if (this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x1y1)) {
|
|
561
|
+
svg += this.getAnnotationGripSvg(grips.x1, grips.y1);
|
|
562
|
+
}
|
|
563
|
+
if (this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x2y2)) {
|
|
564
|
+
svg += this.getAnnotationGripSvg(grips.x2, grips.y2);
|
|
565
|
+
}
|
|
566
|
+
if (this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x2y1)) {
|
|
567
|
+
svg += this.getAnnotationGripSvg(grips.x2, grips.y1);
|
|
568
|
+
}
|
|
569
|
+
if (this.canDragPoint(AnnotationBase_1.EDraggingGripPoint.x1y2)) {
|
|
570
|
+
svg += this.getAnnotationGripSvg(grips.x1, grips.y2);
|
|
571
|
+
}
|
|
572
|
+
svg += "</svg>";
|
|
573
|
+
return svg;
|
|
574
|
+
};
|
|
575
575
|
return NativeTextAnnotation;
|
|
576
576
|
}(RenderContextAnnotationBase_1.RenderContextAnnotationBase));
|
|
577
577
|
exports.NativeTextAnnotation = NativeTextAnnotation;
|
|
@@ -116,5 +116,5 @@ export declare abstract class SvgAnnotationBase extends AnnotationBase {
|
|
|
116
116
|
* @protected
|
|
117
117
|
*/
|
|
118
118
|
protected calcAndSetAnnotationBorders(xCalc: CoordinateCalculatorBase, yCalc: CoordinateCalculatorBase): void;
|
|
119
|
-
|
|
119
|
+
svgStringAdornerTemplate(x1: number, y1: number, x2: number, y2: number): string;
|
|
120
120
|
}
|
|
@@ -244,10 +244,6 @@ export declare abstract class AxisBase2D extends AxisCore implements IThemeable
|
|
|
244
244
|
* This is only used to allow multiple primary axes, so that all stacked axes can draw gridlines
|
|
245
245
|
*/
|
|
246
246
|
get isStackedAxis(): boolean;
|
|
247
|
-
/** Internal Use. Gets or Sets if this axis is stacked
|
|
248
|
-
* This is only used to allow multiple primary axes, so that all stacked axes can draw gridlines
|
|
249
|
-
*/
|
|
250
|
-
set isStackedAxis(value: boolean);
|
|
251
247
|
/**
|
|
252
248
|
* Gets the background color of separate Axis
|
|
253
249
|
*/
|
|
@@ -348,7 +344,6 @@ export declare abstract class AxisBase2D extends AxisCore implements IThemeable
|
|
|
348
344
|
private visibleRangeSizeLimitProperty;
|
|
349
345
|
private zoomExtentsRangeProperty;
|
|
350
346
|
private isPrimaryAxisProperty;
|
|
351
|
-
private isStackedAxisProperty;
|
|
352
347
|
private stackedAxisLengthProperty;
|
|
353
348
|
private penCacheForMajorGridLines;
|
|
354
349
|
private penCacheForMinorGridLines;
|
|
@@ -442,7 +437,7 @@ export declare abstract class AxisBase2D extends AxisCore implements IThemeable
|
|
|
442
437
|
/**
|
|
443
438
|
* @inheritDoc
|
|
444
439
|
*/
|
|
445
|
-
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("
|
|
440
|
+
animateVisibleRange(visibleRange: NumberRange, durationMs: number, easingFunction?: TEasingFn, onCompleted?: () => void): import("../../..").IGenericAnimation;
|
|
446
441
|
/**
|
|
447
442
|
* @inheritDoc
|
|
448
443
|
*/
|
|
@@ -119,7 +119,6 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
119
119
|
};
|
|
120
120
|
_this.isInnerAxisProperty = false;
|
|
121
121
|
_this.isPrimaryAxisProperty = false;
|
|
122
|
-
_this.isStackedAxisProperty = false;
|
|
123
122
|
_this.axisBorderProperty = {
|
|
124
123
|
borderBottom: 0,
|
|
125
124
|
borderLeft: 0,
|
|
@@ -342,14 +341,14 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
342
341
|
if (this.isPrimaryAxisProperty !== value) {
|
|
343
342
|
this.isPrimaryAxisProperty = value;
|
|
344
343
|
this.notifyPropertyChanged(constants_1.PROPERTY.IS_PRIMARY_AXIS);
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
}
|
|
344
|
+
}
|
|
345
|
+
if (value && !this.isStackedAxis) {
|
|
346
|
+
var axes = this.isXAxis ? this.parentSurface.xAxes : this.parentSurface.yAxes;
|
|
347
|
+
axes.asArray().forEach(function (a) {
|
|
348
|
+
if (a !== _this && !a.isStackedAxis) {
|
|
349
|
+
a.isPrimaryAxis = false;
|
|
350
|
+
}
|
|
351
|
+
});
|
|
353
352
|
}
|
|
354
353
|
},
|
|
355
354
|
enumerable: false,
|
|
@@ -360,13 +359,8 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
360
359
|
* This is only used to allow multiple primary axes, so that all stacked axes can draw gridlines
|
|
361
360
|
*/
|
|
362
361
|
get: function () {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/** Internal Use. Gets or Sets if this axis is stacked
|
|
366
|
-
* This is only used to allow multiple primary axes, so that all stacked axes can draw gridlines
|
|
367
|
-
*/
|
|
368
|
-
set: function (value) {
|
|
369
|
-
this.isStackedAxisProperty = value;
|
|
362
|
+
var layoutStrategy = this.parentSurface.layoutManager.getAxisLayoutStrategy(this.axisAlignment, this.isInnerAxis);
|
|
363
|
+
return layoutStrategy.isStacked;
|
|
370
364
|
},
|
|
371
365
|
enumerable: false,
|
|
372
366
|
configurable: true
|
|
@@ -622,14 +616,14 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
622
616
|
*/
|
|
623
617
|
AxisBase2D.prototype.draw = function (renderContext) {
|
|
624
618
|
var _this = this;
|
|
619
|
+
if (!this.getIsValidForDrawing()) {
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
625
622
|
// Draw the Axis borders
|
|
626
623
|
var axisBordersLayer = (0, WebGlRenderContext2D_1.calculateAbsoluteRenderLayer)(this.parentSurface.layersOffset, this.parentSurface.stepBetweenLayers, DefaultRenderLayer_1.EDefaultRenderLayer.AxisBordersLayer);
|
|
627
624
|
renderContext.enqueueLayeredDraw(function () {
|
|
628
625
|
(0, drawBorder_1.drawBorder)(renderContext, _this.webAssemblyContext2D, _this.solidBrushCacheBorder, _this.viewRect, _this.axisBorder.borderLeft, _this.axisBorder.borderTop, _this.axisBorder.borderRight, _this.axisBorder.borderBottom, _this.axisBorder.color);
|
|
629
626
|
}, axisBordersLayer);
|
|
630
|
-
if (!this.getIsValidForDrawing()) {
|
|
631
|
-
return;
|
|
632
|
-
}
|
|
633
627
|
var tickObject = this.getTicksWithCoords();
|
|
634
628
|
var minorGridStyle = this.minorGridLineStyle;
|
|
635
629
|
var majorGridStyle = this.majorGridLineStyle;
|
|
@@ -966,7 +966,10 @@ var AxisCore = /** @class */ (function () {
|
|
|
966
966
|
* The coordinate-calculator allows you to transform between pixel and data coordinates (and vice versa)
|
|
967
967
|
*/
|
|
968
968
|
AxisCore.prototype.getCurrentCoordinateCalculator = function () {
|
|
969
|
-
if (
|
|
969
|
+
if (this.coordCalcCache && this.coordCalcCache.viewportDimension !== this.getAxisSize()) {
|
|
970
|
+
this.clearCoordCalcCache();
|
|
971
|
+
}
|
|
972
|
+
if (!this.coordCalcCache) {
|
|
970
973
|
this.coordCalcCache = this.getCurrentCoordinateCalculatorInternal();
|
|
971
974
|
}
|
|
972
975
|
return this.coordCalcCache;
|
|
@@ -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();
|
|
@@ -42,7 +42,7 @@ export interface I2DSurfaceOptions extends ISurfaceOptionsBase {
|
|
|
42
42
|
canvasBorder?: TBorder;
|
|
43
43
|
drawSeriesBehindAxis?: boolean;
|
|
44
44
|
/**
|
|
45
|
-
* Optional -
|
|
45
|
+
* Optional - An {@link EAutoColorMode} which controls how often series colours set to AUTO_COLOR will be resolved. Default OnAddRemoveSeries
|
|
46
46
|
*/
|
|
47
47
|
autoColorMode?: EAutoColorMode;
|
|
48
48
|
}
|
|
@@ -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
|
/**
|
|
@@ -554,11 +554,25 @@ var BaseRenderableSeries = /** @class */ (function () {
|
|
|
554
554
|
this.currentRenderPassData = renderPassData;
|
|
555
555
|
(_a = this.hitTestProvider) === null || _a === void 0 ? void 0 : _a.update(renderPassData);
|
|
556
556
|
if (this.canDraw) {
|
|
557
|
+
// const nativeContext = renderContext.getNativeContext();
|
|
558
|
+
// const viewRect = this.parentSurface.seriesViewRect;
|
|
557
559
|
try {
|
|
558
560
|
renderContext.pushShaderEffect(this.effect);
|
|
561
|
+
// This is prep for clipping series to the axis range. Need to add an option to AxisBase to drive it.
|
|
562
|
+
// need to handle case where clipping is only set for one axis
|
|
563
|
+
// const { offset: x, viewportDimension: width } = renderPassData.xCoordinateCalculator;
|
|
564
|
+
// const { offset: y, viewportDimension: height } = renderPassData.yCoordinateCalculator;
|
|
565
|
+
// if (renderPassData.isVerticalChart) {
|
|
566
|
+
// const clipRect = new Rect(viewRect.x + y, viewRect.y + x, height, width);
|
|
567
|
+
// nativeContext.SetClipRect(clipRect.x, clipRect.y, clipRect.width, clipRect.height);
|
|
568
|
+
// } else {
|
|
569
|
+
// const clipRect = new Rect(viewRect.x + x, viewRect.y + y, width, height);
|
|
570
|
+
// nativeContext.SetClipRect(clipRect.x, clipRect.y, clipRect.width, clipRect.height);
|
|
571
|
+
// }
|
|
559
572
|
this.drawingProviders.forEach(function (dp) { return dp.draw(renderContext, renderPassData); });
|
|
560
573
|
}
|
|
561
574
|
finally {
|
|
575
|
+
//nativeContext.SetClipRect(viewRect.x, viewRect.y, viewRect.width, viewRect.height);
|
|
562
576
|
renderContext.popShaderEffect();
|
|
563
577
|
}
|
|
564
578
|
if (this.dataLabelProvider) {
|
|
@@ -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
|
}
|
|
@@ -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.
|
|
@@ -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,7 @@ 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
|
+
export declare type TSciChart = TWasmContext;
|
|
31
32
|
export declare type TWebAssemblyChart = {
|
|
32
33
|
wasmContext: TSciChart;
|
|
33
34
|
sciChartSurface: SciChartSurface;
|
|
@@ -91,6 +92,10 @@ export declare class SciChartSurface extends SciChartSurfaceBase {
|
|
|
91
92
|
* Tell SciChart to load the Wasm and Data files from CDN, rather than expecting them to be served by the host server.
|
|
92
93
|
*/
|
|
93
94
|
static useWasmFromCDN(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Tell SciChart to load the Wasm and Data files from the local server, rather than from CDN.
|
|
97
|
+
*/
|
|
98
|
+
static useWasmLocal(): void;
|
|
94
99
|
private static createTest;
|
|
95
100
|
readonly renderSurface: RenderSurface;
|
|
96
101
|
/**
|
|
@@ -300,11 +305,11 @@ export declare class SciChartSurface extends SciChartSurfaceBase {
|
|
|
300
305
|
*/
|
|
301
306
|
set debugRendering(debugRendering: boolean);
|
|
302
307
|
/**
|
|
303
|
-
* Gets or sets the EAutoColorMode which determines when resolution of AUTO_COLOR should occur
|
|
308
|
+
* Gets or sets the {@link EAutoColorMode} which determines when resolution of AUTO_COLOR should occur
|
|
304
309
|
*/
|
|
305
310
|
get autoColorMode(): EAutoColorMode;
|
|
306
311
|
/**
|
|
307
|
-
* Gets or sets the EAutoColorMode which determines when resolution of AUTO_COLOR should occur
|
|
312
|
+
* Gets or sets the {@link EAutoColorMode} which determines when resolution of AUTO_COLOR should occur
|
|
308
313
|
*/
|
|
309
314
|
set autoColorMode(autoColorMode: EAutoColorMode);
|
|
310
315
|
/**
|
|
@@ -334,6 +334,12 @@ var SciChartSurface = /** @class */ (function (_super) {
|
|
|
334
334
|
exports.sciChartConfig.dataUrl = "https://cdn.jsdelivr.net/npm/scichart@".concat(BuildStamp_1.libraryVersion, "/_wasm/scichart2d.data");
|
|
335
335
|
exports.sciChartConfig.wasmUrl = "https://cdn.jsdelivr.net/npm/scichart@".concat(BuildStamp_1.libraryVersion, "/_wasm/scichart2d.wasm");
|
|
336
336
|
};
|
|
337
|
+
/**
|
|
338
|
+
* Tell SciChart to load the Wasm and Data files from the local server, rather than from CDN.
|
|
339
|
+
*/
|
|
340
|
+
SciChartSurface.useWasmLocal = function () {
|
|
341
|
+
SciChartSurface.configure(undefined);
|
|
342
|
+
};
|
|
337
343
|
SciChartSurface.createTest = function (divElement, options) {
|
|
338
344
|
var _a, _b;
|
|
339
345
|
var canvases = sciChartInitCommon_1.default.initCanvas(divElement, (_a = options === null || options === void 0 ? void 0 : options.widthAspect) !== null && _a !== void 0 ? _a : 0, (_b = options === null || options === void 0 ? void 0 : options.heightAspect) !== null && _b !== void 0 ? _b : 0, sciChartInitCommon_1.default.ECanvasType.canvas2D);
|
|
@@ -516,13 +522,13 @@ var SciChartSurface = /** @class */ (function (_super) {
|
|
|
516
522
|
});
|
|
517
523
|
Object.defineProperty(SciChartSurface.prototype, "autoColorMode", {
|
|
518
524
|
/**
|
|
519
|
-
* Gets or sets the EAutoColorMode which determines when resolution of AUTO_COLOR should occur
|
|
525
|
+
* Gets or sets the {@link EAutoColorMode} which determines when resolution of AUTO_COLOR should occur
|
|
520
526
|
*/
|
|
521
527
|
get: function () {
|
|
522
528
|
return this.autoColorModeProperty;
|
|
523
529
|
},
|
|
524
530
|
/**
|
|
525
|
-
* Gets or sets the EAutoColorMode which determines when resolution of AUTO_COLOR should occur
|
|
531
|
+
* Gets or sets the {@link EAutoColorMode} which determines when resolution of AUTO_COLOR should occur
|
|
526
532
|
*/
|
|
527
533
|
set: function (autoColorMode) {
|
|
528
534
|
this.autoColorModeProperty = autoColorMode;
|
|
@@ -597,8 +603,8 @@ var SciChartSurface = /** @class */ (function (_super) {
|
|
|
597
603
|
var sus = new UpdateSuspender_1.UpdateSuspender(this, false); // Don't want to invalidate on resume
|
|
598
604
|
try {
|
|
599
605
|
if (this.autoColorRequired &&
|
|
600
|
-
this.themeProvider.strokePalette &&
|
|
601
|
-
|
|
606
|
+
((this.themeProvider.strokePalette && this.themeProvider.strokePalette.length > 0) ||
|
|
607
|
+
(this.themeProvider.fillPalette && this.themeProvider.fillPalette.length > 0))) {
|
|
602
608
|
this.resolveAutoColors();
|
|
603
609
|
if (this.autoColorMode !== AutoColorMode_1.EAutoColorMode.Always) {
|
|
604
610
|
this.autoColorRequired = false;
|
|
@@ -420,8 +420,10 @@ var applyLicense = function (licenseContext, sciChartSurface) {
|
|
|
420
420
|
debug("Initial license status is " + licensingClasses_1.LicenseType[convertLicenseType(lt, licenseContext)]);
|
|
421
421
|
if (window.location.hostname.includes(".csb.app") ||
|
|
422
422
|
window.location.hostname === "codesandbox.io" ||
|
|
423
|
-
window.location.hostname.includes(".codesandbox.io")
|
|
424
|
-
|
|
423
|
+
window.location.hostname.includes(".codesandbox.io") ||
|
|
424
|
+
window.location.hostname.includes("fiddle.jshell.net") ||
|
|
425
|
+
window.location.hostname.includes("cdpn.io")) {
|
|
426
|
+
runtimeLicenseKey = "builtin";
|
|
425
427
|
}
|
|
426
428
|
// Get from global store
|
|
427
429
|
var runtimelicense = getRuntimeLicenseKey();
|
|
@@ -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
|
*/
|
|
@@ -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,7 @@ 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
|
+
export declare type TSciChart3D = TWasmContext;
|
|
17
18
|
export declare type TWebAssemblyChart3D = {
|
|
18
19
|
wasmContext: TSciChart3D;
|
|
19
20
|
sciChart3DSurface: SciChart3DSurface;
|
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.284";
|
|
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-02-02T00: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.284";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|
package/Core/Telemetry.js
CHANGED
|
@@ -92,7 +92,10 @@ var sendTelemetry = function () {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
if (window.location.hostname.includes(".csb.app") ||
|
|
95
|
+
if (window.location.hostname.includes(".csb.app") ||
|
|
96
|
+
window.location.hostname.includes(".codesandbox.io") ||
|
|
97
|
+
window.location.hostname.includes("fiddle.jshell.net") ||
|
|
98
|
+
window.location.hostname.includes("cdpn.io")) {
|
|
96
99
|
eventData.data.baseData.properties.url = window.location.href;
|
|
97
100
|
}
|
|
98
101
|
var endPointUrl = "https://dc.services.visualstudio.com/v2/track";
|