Multiple chart lines from single array

You are adding an extra [ ] around your map arrays, try removing them.
e.g.

  msg.payload[1].map(obj => {return {x: obj.x, y: obj.y}}),