I have the following array which feeds a to chart node, I want to send it through a function node or a change node and extract "Saturday" to a msg.payload but everything I tried failed I just cannot get it.
Thought it would be something like msg.payload = msg.payload[0]lables[0]; any help would be appreciated, thanks.
6/15/2019, 2:38:27 PMnode: a69168cd.b4dae8
x_profile : msg : Object
object
topic: "x_profile"
payload: array[1]
0: object
series: array[2]
data: array[2]
labels: array[1]
0: "Saturday"
qos: 0
retain: false
_msgid: "3d5d3980.b17176"