Skip to content

Commit

Permalink
add zIndex to updateSeries method
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Oct 12, 2023
1 parent cf183b8 commit 5dcc8f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/modules/helpers/UpdateHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,12 @@ export default class UpdateHelpers {

return {
...w.config.series[i],
name: s.name ? s.name : ser && ser.name,
color: s.color ? s.color : ser && ser.color,
type: s.type ? s.type : ser && ser.type,
group: s.group ? s.group : ser && ser.group,
data: s.data ? s.data : ser && ser.data,
name: s.name ? s.name : ser?.name,
color: s.color ? s.color : ser?.color,
type: s.type ? s.type : ser?.type,
group: s.group ? s.group : ser?.group,
data: s.data ? s.data : ser?.data,
zIndex: typeof s.zIndex !== 'undefined' ? s.zIndex : i,
}
}

Expand Down

0 comments on commit 5dcc8f6

Please sign in to comment.