scichart 2.2.2404 → 2.2.2407
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +9 -0
- package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ColumnSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ErrorSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ImpulseSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +3 -0
- package/Charting/Visuals/RenderableSeries/HitTest/OhlcSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ScatterSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/StackedColumnSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/StackedMountainSeriesHitTestProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +3 -0
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +95 -95
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +1 -1
- package/_wasm/scichart3d.wasm +0 -0
- package/package.json +1 -1
- package/utils/number.js +2 -0
|
@@ -39,6 +39,9 @@ var BandSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
39
39
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
40
40
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
41
41
|
var dataSeries = this.parentSeries.dataSeries;
|
|
42
|
+
if (!dataSeries) {
|
|
43
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
44
|
+
}
|
|
42
45
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
43
46
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
44
47
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -68,6 +71,9 @@ var BandSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
68
71
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
69
72
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
70
73
|
var dataSeries = this.parentSeries.dataSeries;
|
|
74
|
+
if (!dataSeries) {
|
|
75
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
76
|
+
}
|
|
71
77
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
72
78
|
var hitTestInfo = hitTestHelpers_1.hitTestHelpers.createHitTestInfo(this.parentSeries, xCoordinateCalculator, yCoordinateCalculator, isVerticalChart, dataSeries, dataSeries.getNativeXValues(), dataSeries.getNativeYValues(), xHitCoord, yHitCoord, nearestPointIndex, hitTestRadius);
|
|
73
79
|
if (nearestPointIndex >= 0) {
|
|
@@ -94,6 +100,9 @@ var BandSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
94
100
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
95
101
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
96
102
|
var dataSeries = this.parentSeries.dataSeries;
|
|
103
|
+
if (!dataSeries) {
|
|
104
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
105
|
+
}
|
|
97
106
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
98
107
|
var hitTestInfo = hitTestHelpers_1.hitTestHelpers.createHitTestInfo(this.parentSeries, xCoordinateCalculator, yCoordinateCalculator, isVerticalChart, dataSeries, dataSeries.getNativeXValues(), dataSeries.getNativeYValues(), xHitCoord, yHitCoord, nearestPointIndex, 0);
|
|
99
108
|
if (nearestPointIndex >= 0) {
|
|
@@ -40,6 +40,9 @@ var BaseHitTestProvider = /** @class */ (function () {
|
|
|
40
40
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
41
41
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
42
42
|
var dataSeries = this.parentSeries.dataSeries;
|
|
43
|
+
if (!dataSeries) {
|
|
44
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
45
|
+
}
|
|
43
46
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
44
47
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
45
48
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -71,6 +74,9 @@ var BaseHitTestProvider = /** @class */ (function () {
|
|
|
71
74
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
72
75
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
73
76
|
var dataSeries = this.parentSeries.dataSeries;
|
|
77
|
+
if (!dataSeries) {
|
|
78
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
79
|
+
}
|
|
74
80
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
75
81
|
var hitTestInfo = hitTestHelpers_1.hitTestHelpers.createHitTestInfo(this.parentSeries, xCoordinateCalculator, yCoordinateCalculator, isVerticalChart, dataSeries, dataSeries.getNativeXValues(), dataSeries.getNativeYValues(), xHitCoord, yHitCoord, nearestPointIndex, 0);
|
|
76
82
|
hitTestInfo.isHit = hitTestInfo.isWithinDataBounds;
|
|
@@ -42,6 +42,9 @@ var BubbleSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
42
42
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
43
43
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
44
44
|
var dataSeries = this.parentSeries.dataSeries;
|
|
45
|
+
if (!dataSeries) {
|
|
46
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
47
|
+
}
|
|
45
48
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
46
49
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
47
50
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -86,6 +89,9 @@ var BubbleSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
86
89
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
87
90
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
88
91
|
var dataSeries = this.parentSeries.dataSeries;
|
|
92
|
+
if (!dataSeries) {
|
|
93
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
94
|
+
}
|
|
89
95
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
90
96
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
91
97
|
var zNativeValues = dataSeries.getNativeZValues();
|
|
@@ -40,6 +40,9 @@ var ColumnSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
40
40
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
41
41
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
42
42
|
var dataSeries = this.parentSeries.dataSeries;
|
|
43
|
+
if (!dataSeries) {
|
|
44
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
45
|
+
}
|
|
43
46
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
44
47
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
45
48
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -71,6 +74,9 @@ var ColumnSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
71
74
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
72
75
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
73
76
|
var dataSeries = this.parentSeries.dataSeries;
|
|
77
|
+
if (!dataSeries) {
|
|
78
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
79
|
+
}
|
|
74
80
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
75
81
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
76
82
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
@@ -42,6 +42,9 @@ var ErrorSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
42
42
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
43
43
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
44
44
|
var dataSeries = this.parentSeries.dataSeries;
|
|
45
|
+
if (!dataSeries) {
|
|
46
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
47
|
+
}
|
|
45
48
|
// TODO handle horizontal direction
|
|
46
49
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
47
50
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
@@ -77,6 +80,9 @@ var ErrorSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
77
80
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
78
81
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
79
82
|
var dataSeries = this.parentSeries.dataSeries;
|
|
83
|
+
if (!dataSeries) {
|
|
84
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
85
|
+
}
|
|
80
86
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
81
87
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
82
88
|
var lowNativeValues = dataSeries.getNativeLowValues();
|
|
@@ -42,6 +42,9 @@ var ImpulseSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
42
42
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
43
43
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
44
44
|
var dataSeries = this.parentSeries.dataSeries;
|
|
45
|
+
if (!dataSeries) {
|
|
46
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
47
|
+
}
|
|
45
48
|
var nearestXyPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
46
49
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
47
50
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
@@ -77,6 +80,9 @@ var ImpulseSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
77
80
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
78
81
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
79
82
|
var dataSeries = this.parentSeries.dataSeries;
|
|
83
|
+
if (!dataSeries) {
|
|
84
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
85
|
+
}
|
|
80
86
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
81
87
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
82
88
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
@@ -51,6 +51,9 @@ var LineSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
51
51
|
LineSeriesHitTestProvider.prototype.hitTestSorted = function (xHitCoord, yHitCoord, hitTestRadius) {
|
|
52
52
|
var _a = this.currentRenderPassData, xCoordinateCalculator = _a.xCoordinateCalculator, yCoordinateCalculator = _a.yCoordinateCalculator, isVerticalChart = _a.isVerticalChart;
|
|
53
53
|
var dataSeries = this.parentSeries.dataSeries;
|
|
54
|
+
if (!dataSeries) {
|
|
55
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
56
|
+
}
|
|
54
57
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
55
58
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
56
59
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -81,6 +84,9 @@ var LineSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
81
84
|
LineSeriesHitTestProvider.prototype.hitTestUnsorted = function (xHitCoord, yHitCoord, hitTestRadius) {
|
|
82
85
|
var _a = this.currentRenderPassData, xCoordinateCalculator = _a.xCoordinateCalculator, yCoordinateCalculator = _a.yCoordinateCalculator, isVerticalChart = _a.isVerticalChart;
|
|
83
86
|
var dataSeries = this.parentSeries.dataSeries;
|
|
87
|
+
if (!dataSeries) {
|
|
88
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
89
|
+
}
|
|
84
90
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
85
91
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
86
92
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -40,6 +40,9 @@ var MountainSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
40
40
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
41
41
|
var renderableSeries = this.parentSeries;
|
|
42
42
|
var dataSeries = renderableSeries.dataSeries;
|
|
43
|
+
if (!dataSeries) {
|
|
44
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
45
|
+
}
|
|
43
46
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
44
47
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
45
48
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -42,6 +42,9 @@ var OhlcSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
42
42
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
43
43
|
var renderableSeries = this.parentSeries;
|
|
44
44
|
var dataSeries = this.parentSeries.dataSeries;
|
|
45
|
+
if (!dataSeries) {
|
|
46
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
47
|
+
}
|
|
45
48
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
46
49
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
47
50
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -78,6 +81,9 @@ var OhlcSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
78
81
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
79
82
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
80
83
|
var dataSeries = this.parentSeries.dataSeries;
|
|
84
|
+
if (!dataSeries) {
|
|
85
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
86
|
+
}
|
|
81
87
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
82
88
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
83
89
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
@@ -41,6 +41,9 @@ var ScatterSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
41
41
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
42
42
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
43
43
|
var dataSeries = this.parentSeries.dataSeries;
|
|
44
|
+
if (!dataSeries) {
|
|
45
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
46
|
+
}
|
|
44
47
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXyPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
45
48
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
46
49
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -72,6 +75,9 @@ var ScatterSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
72
75
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
73
76
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
74
77
|
var dataSeries = this.parentSeries.dataSeries;
|
|
78
|
+
if (!dataSeries) {
|
|
79
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
80
|
+
}
|
|
75
81
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
76
82
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
77
83
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
@@ -40,6 +40,9 @@ var StackedColumnSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
40
40
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
41
41
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
42
42
|
var dataSeries = this.parentSeries.dataSeries;
|
|
43
|
+
if (!dataSeries) {
|
|
44
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
45
|
+
}
|
|
43
46
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
44
47
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
45
48
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -98,6 +101,9 @@ var StackedColumnSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
98
101
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
99
102
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
100
103
|
var dataSeries = this.parentSeries.dataSeries;
|
|
104
|
+
if (!dataSeries) {
|
|
105
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
106
|
+
}
|
|
101
107
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
102
108
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
103
109
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -39,6 +39,9 @@ var StackedMountainSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
39
39
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
40
40
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
41
41
|
var dataSeries = this.parentSeries.dataSeries;
|
|
42
|
+
if (!dataSeries) {
|
|
43
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
44
|
+
}
|
|
42
45
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
43
46
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
44
47
|
var accumulatedValues = this.parentSeries.accumulatedValues;
|
|
@@ -69,6 +72,9 @@ var StackedMountainSeriesHitTestProvider = /** @class */ (function (_super) {
|
|
|
69
72
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
70
73
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
71
74
|
var dataSeries = this.parentSeries.dataSeries;
|
|
75
|
+
if (!dataSeries) {
|
|
76
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
77
|
+
}
|
|
72
78
|
var nearestPointIndex = hitTestHelpers_1.hitTestHelpers.getNearestXPoint(this.webAssemblyContext, xCoordinateCalculator, dataSeries, xHitCoord, dataSeries.dataDistributionCalculator.isSortedAscending);
|
|
73
79
|
var xNativeValues = dataSeries.getNativeXValues();
|
|
74
80
|
var yNativeValues = dataSeries.getNativeYValues();
|
|
@@ -40,6 +40,9 @@ var UniformHeatmapHitTestProvider = /** @class */ (function (_super) {
|
|
|
40
40
|
var xHitCoord = isVerticalChart ? hitTestPoint.y : hitTestPoint.x;
|
|
41
41
|
var yHitCoord = isVerticalChart ? hitTestPoint.x : hitTestPoint.y;
|
|
42
42
|
var dataSeries = this.parentSeries.dataSeries;
|
|
43
|
+
if (!dataSeries) {
|
|
44
|
+
return HitTestInfo_1.HitTestInfo.empty();
|
|
45
|
+
}
|
|
43
46
|
var heatmapPoint = hitTestHelpers_1.hitTestHelpers.getNearestHeatmapPoint(xCoordinateCalculator, yCoordinateCalculator, dataSeries, xHitCoord, yHitCoord);
|
|
44
47
|
var xIndex = heatmapPoint.xIndex, yIndex = heatmapPoint.yIndex, zValue = heatmapPoint.zValue;
|
|
45
48
|
var hitTestInfo = new HitTestInfo_1.HitTestInfo(this.parentSeries);
|
package/Core/BuildStamp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TSciChart } from "../types/TSciChart";
|
|
2
2
|
import { TSciChart3D } from "../types/TSciChart3D";
|
|
3
|
-
export declare const libraryVersion = "2.2.
|
|
3
|
+
export declare const libraryVersion = "2.2.2407";
|
|
4
4
|
export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
|
package/Core/BuildStamp.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.checkBuildStamp = exports.libraryVersion = void 0;
|
|
4
|
-
var buildStamp = "2022-
|
|
4
|
+
var buildStamp = "2022-08-09T00:00:00";
|
|
5
5
|
var result;
|
|
6
6
|
// tslint:disable-next-line:no-var-requires
|
|
7
|
-
exports.libraryVersion = "2.2.
|
|
7
|
+
exports.libraryVersion = "2.2.2407";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|