@progress/kendo-charts 2.8.1 → 2.8.2-develop.1
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.
|
@@ -427,10 +427,11 @@ function createState(data, seriesType) {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
function preserveStackProperties(source, target) {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
430
|
+
// If source has a global stack setting, apply it to all target series
|
|
431
|
+
if (typeof source.stack !== 'undefined') {
|
|
432
|
+
target.stack = source.stack;
|
|
433
|
+
for (let i = 0; i < target.series.length; i++) {
|
|
434
|
+
target.series[i].stack = source.stack;
|
|
434
435
|
}
|
|
435
436
|
}
|
|
436
437
|
}
|
|
@@ -427,10 +427,11 @@ function createState(data, seriesType) {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
function preserveStackProperties(source, target) {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
430
|
+
// If source has a global stack setting, apply it to all target series
|
|
431
|
+
if (typeof source.stack !== 'undefined') {
|
|
432
|
+
target.stack = source.stack;
|
|
433
|
+
for (let i = 0; i < target.series.length; i++) {
|
|
434
|
+
target.series[i].stack = source.stack;
|
|
434
435
|
}
|
|
435
436
|
}
|
|
436
437
|
}
|