Why are you both sending msg
and returning msg
in your functions?
and why is the radar function sending the line graph then the RadaeGraph?
msg.info = 'LineGraph';
msg.ui_control = ({ look: 'line' });
node.send(msg);
msg.info = 'RadarGraph';
msg.ui_control = ({look: 'radar'});
node.send(msg);
return msg;
=================
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json