Skip to content

Commit

Permalink
fix #4907; multiple y-axis error when series is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Jan 13, 2025
1 parent 8ffdb61 commit 520d3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Scales.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 520d3b0

Please sign in to comment.