# Line chart not working :'(

**URL:** <https://discourse.nodered.org/t/line-chart-not-working/52274>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [15 October 2021 19:52 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274 "2021-10-15T19:52:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 19:52 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/1 "2021-10-15T19:52:59Z")

</div>

hello guys, recently i want to add line chart that read acceleration data into my dashboard which already consist of gauge..but its not working,sorry if its a basic question but i dont get it

the setting is as below

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

the dashboard

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

the data im sending is acceleration data ..is there anything that i missed? ☹

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 20:09 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/2 "2021-10-15T20:09:13Z")

</div>

To show live data, the chart expects the input to be number. The debug node is not visible in your images thus it is only guess that all the dashboard widgets are connected directly to the node named SENSE. If the debug node shows that same output, then the output data is string. I can't understand how the gauges show something cos they also expect number. Such kind of output needs to be parsed to get value and axis info from it and then routed to correct dashboard widgets.

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 20:13 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/3 "2021-10-15T20:13:28Z")

</div>

the images is not showing full flow, i will share the flow below,,

```auto
[{"id":"fade33b0.31dc2","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"64915f5c.0a7238","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"X-AXIS,\" & $$.payload.`X-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":280,"wires":[["55a1aba7.7cb53c","8258bfd2.d739a"]]},{"id":"85bcb7f0.7b1cc8","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"Y-AXIS,\" & $$.payload.`Y-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":340,"wires":[["8258bfd2.d739a","a2609af6.5d05b"]]},{"id":"258a1d49.c7bce2","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"Z-AXIS,\" & $$.payload.`Z-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":400,"wires":[["8258bfd2.d739a","90b1a43d.e74fa"]]},{"id":"8258bfd2.d739a","type":"debug","z":"fade33b0.31dc2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":810,"y":220,"wires":[]},{"id":"55a1aba7.7cb53c","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\x-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":280,"wires":[[]]},{"id":"a2609af6.5d05b","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\y-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":340,"wires":[[]]},{"id":"90b1a43d.e74fa","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\z-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":400,"wires":[[]]},{"id":"3124b708.80021","type":"mqtt in","z":"fade33b0.31dc2","name":"","topic":"SENSE","qos":"0","datatype":"json","broker":"277379c9.ca83a6","nl":false,"rap":true,"rh":0,"x":130,"y":480,"wires":[["64915f5c.0a7238","85bcb7f0.7b1cc8","258a1d49.c7bce2","387d5149f767379c","e481df87a2125974","6e950eec79376623","ae635c5453e80a62","a479ab128864b4f8","a7bf2b6c6a65299c"]]},{"id":"387d5149f767379c","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"c9187d66c3b99d19","order":1,"width":0,"height":0,"gtype":"gage","title":"X-AXIS","label":"units","format":"{{msg.payload[\"X-AXIS\"]}}","min":"-10","max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":520,"wires":[]},{"id":"e481df87a2125974","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"31b2f86b9e18b1bf","order":1,"width":0,"height":0,"gtype":"gage","title":"Y-AXIS","label":"units","format":"{{msg.payload[\"Y-AXIS\"]}}","min":"-10","max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":580,"wires":[]},{"id":"6e950eec79376623","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"cdaee5a1552bc622","order":0,"width":0,"height":0,"gtype":"gage","title":"Z-AXIS","label":"units","format":"{{msg.payload[\"Z-AXIS\"]}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":640,"wires":[]},{"id":"ae635c5453e80a62","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"69208c23051d005e","order":0,"width":0,"height":0,"label":"X-AXIS","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":380,"y":720,"wires":[[]]},{"id":"a479ab128864b4f8","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"2ce3aeda268243c6","order":0,"width":0,"height":0,"label":"Y-AXIS ","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":380,"y":780,"wires":[[]]},{"id":"a7bf2b6c6a65299c","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"2ae5fc740265a6cd","order":0,"width":0,"height":0,"label":"Z-AXIS","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":380,"y":840,"wires":[[]]},{"id":"277379c9.ca83a6","type":"mqtt-broker","name":"","broker":"broker.hivemq.com","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""},{"id":"c9187d66c3b99d19","type":"ui_group","name":"X-AXIS ACCELERATION","tab":"5736cae9.f98874","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"31b2f86b9e18b1bf","type":"ui_group","name":"Y-AXIS ACCELERATION","tab":"5736cae9.f98874","order":2,"disp":true,"width":"6","collapse":false,"className":""},{"id":"cdaee5a1552bc622","type":"ui_group","name":"Z-AXIS ACCELERATION","tab":"5736cae9.f98874","order":3,"disp":true,"width":"6","collapse":false,"className":""},{"id":"69208c23051d005e","type":"ui_group","name":"X-AXIS LINECHART","tab":"5736cae9.f98874","order":4,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2ce3aeda268243c6","type":"ui_group","name":"Y-AXIS LINECHART","tab":"5736cae9.f98874","order":5,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2ae5fc740265a6cd","type":"ui_group","name":"Z-AXIS LINECHART","tab":"5736cae9.f98874","order":6,"disp":true,"width":"6","collapse":false,"className":""},{"id":"5736cae9.f98874","type":"ui_tab","name":"SENSE IT DASHBOARD","icon":"dashboard","disabled":false,"hidden":false}]

```

please have a look at it

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 20:32 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/4 "2021-10-15T20:32:27Z")

</div>

According to gauge configuration you get the data from `msg.payload.X-AXIS` (and Y and Z)  
So for chart you'll need to move that value to the `msg.payload`  
Use change node for that.  
Before each chart add one change node and configure accordingly

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

---

<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:** [15 October 2021 20:32 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/5 "2021-10-15T20:32:58Z")

</div>

> [@hotNipi](#):
>
> I can't understand how the gauges show something cos they also expect number.

The chart and gauge will accept a string if it can be parsed to a number.

The chart

> Each input `msg.payload` value will be converted to a number. If the conversion fails, the message is ignored.

The gauge

> The `msg.payload` is searched for a numeric _value_

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 20:36 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/6 "2021-10-15T20:36:53Z")

</div>

> [@E1cid](#):
>
> will accept a string if

Thank you.  
I'm well informed but that was not the case cos the debug showed definitely not acceptable string. Thus the flow was needed and that made things clear.

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 20:47 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/7 "2021-10-15T20:47:29Z")

</div>

I tried it but not appearing

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

when i try this one, there is other value in debug and still not showing graph

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

did i place the node wrongly?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 20:54 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/8 "2021-10-15T20:54:07Z")

</div>

The first one should be correct.  
Connect debug node directly to the SENSE node and show what is printed to the debug tab

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 21:02 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/9 "2021-10-15T21:02:07Z")

</div>

it shows this

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

but chart still empty

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

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 21:04 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/10 "2021-10-15T21:04:48Z")

</div>

Works fine for me

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

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 21:06 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/11 "2021-10-15T21:06:45Z")

</div>

See the change node configuration  
You may miss the dot between the payload and X-axis  
must be` msg.payload.X-AXIS`

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 21:06 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/12 "2021-10-15T21:06:48Z")

</div>

can u share the flow ? im doing the same thing here.. ☹ ☹

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 21:11 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/13 "2021-10-15T21:11:16Z")

</div>

> [@hotNipi](#):
>
> msg.payload.X-AXIS

i double check and its correct.

```auto
[{"id":"fade33b0.31dc2","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"64915f5c.0a7238","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"X-AXIS,\" & $$.payload.`X-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":280,"wires":[["55a1aba7.7cb53c","8258bfd2.d739a"]]},{"id":"85bcb7f0.7b1cc8","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"Y-AXIS,\" & $$.payload.`Y-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":340,"wires":[["8258bfd2.d739a","a2609af6.5d05b"]]},{"id":"258a1d49.c7bce2","type":"change","z":"fade33b0.31dc2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"Z-AXIS,\" & $$.payload.`Z-AXIS` & $moment().tz(\"Asia/Kuala_Lumpur\").format(\",DD/MM/YYYY,h:mm:ss a\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":400,"wires":[["8258bfd2.d739a","90b1a43d.e74fa"]]},{"id":"8258bfd2.d739a","type":"debug","z":"fade33b0.31dc2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":810,"y":220,"wires":[]},{"id":"55a1aba7.7cb53c","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\x-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":280,"wires":[[]]},{"id":"a2609af6.5d05b","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\y-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":340,"wires":[[]]},{"id":"90b1a43d.e74fa","type":"file","z":"fade33b0.31dc2","name":"","filename":"C:\\Users\\User\\Desktop\\z-axis.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":860,"y":400,"wires":[[]]},{"id":"3124b708.80021","type":"mqtt in","z":"fade33b0.31dc2","name":"","topic":"SENSE","qos":"0","datatype":"json","broker":"277379c9.ca83a6","nl":false,"rap":true,"rh":0,"x":130,"y":480,"wires":[["64915f5c.0a7238","85bcb7f0.7b1cc8","258a1d49.c7bce2","387d5149f767379c","e481df87a2125974","6e950eec79376623","3558e8ac8464fd37","dd91f4da10d131e0","689703588ca3ebef","8258bfd2.d739a"]]},{"id":"387d5149f767379c","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"c9187d66c3b99d19","order":1,"width":0,"height":0,"gtype":"gage","title":"X-AXIS","label":"units","format":"{{msg.payload[\"X-AXIS\"]}}","min":"-10","max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":520,"wires":[]},{"id":"e481df87a2125974","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"31b2f86b9e18b1bf","order":1,"width":0,"height":0,"gtype":"gage","title":"Y-AXIS","label":"units","format":"{{msg.payload[\"Y-AXIS\"]}}","min":"-10","max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":580,"wires":[]},{"id":"6e950eec79376623","type":"ui_gauge","z":"fade33b0.31dc2","name":"","group":"cdaee5a1552bc622","order":0,"width":0,"height":0,"gtype":"gage","title":"Z-AXIS","label":"units","format":"{{msg.payload[\"Z-AXIS\"]}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":460,"y":640,"wires":[]},{"id":"ae635c5453e80a62","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"69208c23051d005e","order":0,"width":0,"height":0,"label":"X-AXIS","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":660,"y":740,"wires":[[]]},{"id":"a479ab128864b4f8","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"2ce3aeda268243c6","order":0,"width":0,"height":0,"label":"Y-AXIS ","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":660,"y":800,"wires":[[]]},{"id":"a7bf2b6c6a65299c","type":"ui_chart","z":"fade33b0.31dc2","name":"","group":"2ae5fc740265a6cd","order":0,"width":0,"height":0,"label":"Z-AXIS","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-10","ymax":"10","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":660,"y":860,"wires":[[]]},{"id":"3558e8ac8464fd37","type":"change","z":"fade33b0.31dc2","name":"move msg.payload X-AXIS","rules":[{"t":"set","p":"payload.X-AXIS","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":740,"wires":[["ae635c5453e80a62"]]},{"id":"dd91f4da10d131e0","type":"change","z":"fade33b0.31dc2","name":"move msg.payload Y-AXIS","rules":[{"t":"set","p":"payload.Y-AXIS","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":800,"wires":[["a479ab128864b4f8"]]},{"id":"689703588ca3ebef","type":"change","z":"fade33b0.31dc2","name":"move msg.payload Z-AXIS","rules":[{"t":"set","p":"payload.Z-AXIS","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":860,"wires":[["a7bf2b6c6a65299c"]]},{"id":"277379c9.ca83a6","type":"mqtt-broker","name":"","broker":"broker.hivemq.com","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""},{"id":"c9187d66c3b99d19","type":"ui_group","name":"X-AXIS ACCELERATION","tab":"5736cae9.f98874","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"31b2f86b9e18b1bf","type":"ui_group","name":"Y-AXIS ACCELERATION","tab":"5736cae9.f98874","order":2,"disp":true,"width":"6","collapse":false,"className":""},{"id":"cdaee5a1552bc622","type":"ui_group","name":"Z-AXIS ACCELERATION","tab":"5736cae9.f98874","order":3,"disp":true,"width":"6","collapse":false,"className":""},{"id":"69208c23051d005e","type":"ui_group","name":"X-AXIS LINECHART","tab":"5736cae9.f98874","order":4,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2ce3aeda268243c6","type":"ui_group","name":"Y-AXIS LINECHART","tab":"5736cae9.f98874","order":5,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2ae5fc740265a6cd","type":"ui_group","name":"Z-AXIS LINECHART","tab":"5736cae9.f98874","order":6,"disp":true,"width":"6","collapse":false,"className":""},{"id":"5736cae9.f98874","type":"ui_tab","name":"SENSE IT DASHBOARD","icon":"dashboard","disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [15 October 2021 21:14 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/14 "2021-10-15T21:14:05Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97b75ef2089b15115ff841de7e9e5add62ea1417.png)  
One mistake.  
Change it to Move command

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [15 October 2021 21:17 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/15 "2021-10-15T21:17:11Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/05c0886c6dafb13644b5ebd4bfaeb48ad4c62f3d.png)

yes its shows up..thanks man

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [15 October 2021 21:31 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/16 "2021-10-15T21:31:11Z")

</div>

@puteramelaka Is that your live data that comes spewing out of [broker.hivemq.com](http://broker.hivemq.com) into my Node-Red without any password?

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [16 October 2021 11:50 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/17 "2021-10-16T11:50:31Z")

</div>

im sorry, what do u mean 😅 😅

but if its x,y and z acceleration probably yes,but its password protected unless u import the nodes that i posted in forum.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [16 October 2021 12:23 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/18 "2021-10-16T12:23:13Z")

</div>

If you export nodes, it shouldn't copy any account details.  
This seems to be working, the Username or Password fields are blank in the SENSE node.  
But from time to time a burst of messages "X-AXIS": n etc were arriving in my Node-Red.  
So I assume that your hivemq account is unprotected, perhaps you should check.

---

<div class="post-metadata">

**Author:** ![puteramelaka](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/puteramelaka/32/45520_2.png) [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Post date:** [16 October 2021 12:30 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/19 "2021-10-16T12:30:41Z")

</div>

for testing purpose im using public hivemqqt broker...  
i did set password and username ,,but yes u are true it still can connect with the use of the topic only

i will take note on this,thanks for sharing 😃

---

<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:** [30 October 2021 12:31 UTC](https://discourse.nodered.org/t/line-chart-not-working/52274/20 "2021-10-30T12:31:27Z")

</div>

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