Hi am having difficulty, I want a payload that produces 2 lines on a chart here's my existing array
msg.payload={"name":'DN',"points":[{"00:00":20},{"23:59":20}]};
and I want to add say {"name":'DZ',"points":[{"00:00":25},{"23:59":25}]}; I don't necessarily need "name":'DZ',"points":
so the array to add could just be [{"00:00":25},{"23:59":25}] part.
I tried
msg.payload={"name":'DN',"points":[{"00:00":20},{"23:59":20},{"00:00":25},{"23:59":25}]};
but that gave me like an inverted Z what I want is 2 separate parallel lines, any help would be appreciated