@progress/kendo-charts 1.23.1 → 1.23.3-dev.202202251035
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.
|
@@ -45,15 +45,17 @@ var HeatmapChart = (function (ChartElement) {
|
|
|
45
45
|
for (var pointIx = 0; pointIx < currentSeries.data.length; pointIx++) {
|
|
46
46
|
var ref$1 = this$1._bindPoint(currentSeries, seriesIx, pointIx);
|
|
47
47
|
var valueFields = ref$1.valueFields;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
if (defined(valueFields.value) && valueFields.value !== null) {
|
|
49
|
+
this$1.valueRange.min = Math.min(this$1.valueRange.min, valueFields.value);
|
|
50
|
+
this$1.valueRange.max = Math.max(this$1.valueRange.max, valueFields.value);
|
|
51
|
+
}
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
};
|
|
53
55
|
|
|
54
56
|
HeatmapChart.prototype.addValue = function addValue (value, fields) {
|
|
55
57
|
var point;
|
|
56
|
-
if (value) {
|
|
58
|
+
if (value && defined(value.value) && value.value !== null) {
|
|
57
59
|
point = this.createPoint(value, fields);
|
|
58
60
|
if (point) {
|
|
59
61
|
Object.assign(point, fields);
|
|
@@ -37,15 +37,17 @@ class HeatmapChart extends ChartElement {
|
|
|
37
37
|
|
|
38
38
|
for (let pointIx = 0; pointIx < currentSeries.data.length; pointIx++) {
|
|
39
39
|
const { valueFields } = this._bindPoint(currentSeries, seriesIx, pointIx);
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
if (defined(valueFields.value) && valueFields.value !== null) {
|
|
41
|
+
this.valueRange.min = Math.min(this.valueRange.min, valueFields.value);
|
|
42
|
+
this.valueRange.max = Math.max(this.valueRange.max, valueFields.value);
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
addValue(value, fields) {
|
|
47
49
|
let point;
|
|
48
|
-
if (value) {
|
|
50
|
+
if (value && defined(value.value) && value.value !== null) {
|
|
49
51
|
point = this.createPoint(value, fields);
|
|
50
52
|
if (point) {
|
|
51
53
|
Object.assign(point, fields);
|