# Radar graph not scaling to space correctly

**URL:** <https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [31 January 2023 02:45 UTC](https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457 "2023-01-31T02:45:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [31 January 2023 10:30 UTC](https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457/2 "2023-01-31T10:30:11Z")

</div>

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?

```auto
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 `````)

````auto
``` 
   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](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457)._
