# How to draw linear chart of a number received 'periodically'?

**URL:** <https://discourse.nodered.org/t/how-to-draw-linear-chart-of-a-number-received-periodically/84050>\
**Category:** Dashboard\
**Created:** [27 December 2023 10:13 UTC](https://discourse.nodered.org/t/how-to-draw-linear-chart-of-a-number-received-periodically/84050 "2023-12-27T10:13:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [27 December 2023 10:13 UTC](https://discourse.nodered.org/t/how-to-draw-linear-chart-of-a-number-received-periodically/84050/1 "2023-12-27T10:13:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1c2014e3c2b2871c0a711a32db9145ee9fae9b55.png)

I am receiving this data from a Shelly H&T plus via an RPC update (filterd to keep only method="NotifyFullStatus")

so I would like to create a chart of the value

```
msg.payload.params.temperature:0.tc 

```

this is always numeric

Could you help me filling this form?

> It's from @flowfuse/node-red-dashboard v1.11.1

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3c5fb7d824b555d3febe275310bff8b7407e84bd.png)

Actually, I have no idea of what/how fill in the `x` property

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [27 December 2023 11:00 UTC](https://discourse.nodered.org/t/how-to-draw-linear-chart-of-a-number-received-periodically/84050/2 "2023-12-27T11:00:07Z")

</div>

In a change node prior to the chart node,  
Set  
`msg.` `payload`  
To the value of  
`msg.` `msg.payload.params.temperature:0.tc`  
Also set a topic  
Set  
`msg.` `topic`  
To the value of  
`A/z (string) ` `HT Temp`  
Or any string name you wish for line series, and legend name.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 January 2024 11:00 UTC](https://discourse.nodered.org/t/how-to-draw-linear-chart-of-a-number-received-periodically/84050/3 "2024-01-10T11:00:46Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
