diff --git a/src/modules/Scales.js b/src/modules/Scales.js index 384fb2273..4d43bb28d 100644 --- a/src/modules/Scales.js +++ b/src/modules/Scales.js @@ -619,7 +619,7 @@ export default class Scales { axisSeriesMap.forEach((axisSeries, ai) => { let groupNames = [] axisSeries.forEach((as) => { - let group = cnf.series[as].group + let group = cnf.series[as]?.group if (groupNames.indexOf(group) < 0) { groupNames.push(group) }