@progress/kendo-charts 2.7.1-dev.202501300808 → 2.7.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.
|
@@ -37,10 +37,11 @@ var getSeriesColors = function (element) {
|
|
|
37
37
|
var styles = elementStyles(element);
|
|
38
38
|
var result = [];
|
|
39
39
|
var count = 1;
|
|
40
|
-
var color = styles.getPropertyValue(("" + seriesVar +
|
|
40
|
+
var color = styles.getPropertyValue(("" + seriesVar + count));
|
|
41
41
|
while (color || count <= SERIES_COLORS) {
|
|
42
42
|
result.push(color);
|
|
43
|
-
|
|
43
|
+
count++;
|
|
44
|
+
color = styles.getPropertyValue(("" + seriesVar + count));
|
|
44
45
|
}
|
|
45
46
|
return result;
|
|
46
47
|
};
|
|
@@ -37,10 +37,11 @@ const getSeriesColors = (element) => {
|
|
|
37
37
|
const styles = elementStyles(element);
|
|
38
38
|
const result = [];
|
|
39
39
|
let count = 1;
|
|
40
|
-
let color = styles.getPropertyValue(`${seriesVar}${count
|
|
40
|
+
let color = styles.getPropertyValue(`${seriesVar}${count}`);
|
|
41
41
|
while (color || count <= SERIES_COLORS) {
|
|
42
42
|
result.push(color);
|
|
43
|
-
|
|
43
|
+
count++;
|
|
44
|
+
color = styles.getPropertyValue(`${seriesVar}${count}`);
|
|
44
45
|
}
|
|
45
46
|
return result;
|
|
46
47
|
};
|