Yes pasted below.
[{"id":"423f5585248c5449","type":"function","z":"1543d308b342690a","name":"Chart config","func":"if (msg.hasOwnProperty(\"reset\")) {\n context.set('Flexchart', [])\n return\n}\n\nconst ts = (Date.now()) / 1000\nlet data = context.get('Flexchart') || []\nconst timestamp = Date.now() / 1000\n// msg[0] = grid, msg[1] = solar, msg4 = diverted\nconst newdata = [0, msg[0], msg[1], msg[2], (msg[4]/100)]\nnewdata.unshift(timestamp)\ndata.push(newdata)\nwhile (data.length > 150) data.shift()\ncontext.set('Flexchart', data)\nmsg.payload = data\nmsg.labels = [\"zero line\", \"Power grid\", \"Solar\", \"Diverted\", \"Diverter temp\"]\nmsg.widths = [1, 2, 2, 2, 2]\nmsg.colors = ['red', 'blue', 'green', 'grey', 'purple']\nmsg.axes = [\"left\", \"left\", \"left\", \"left\", \"right\"]\nmsg.left_unit = \" W\"\nmsg.left_decimals = 0\nmsg.right_unit = \" °C\"\nmsg.right_min = 10\nmsg.right_max = 40\nmsg.right_decimals = 1\nconst msg2 = { payload: newdata[2] }\nconst msg3 = { payload: (newdata[2] + newdata[3])}\nreturn [msg, msg2, msg3]","outputs":3,"noerr":0,"initialize":"","finalize":"","libs":[],"x":295,"y":245,"wires":[["43719d5359575f6b"],["79591432aa69fae8"],["5daed5829b4c1c75"]]},{"id":"5f4cdff849bed00c","type":"inject","z":"1543d308b342690a","name":"Clear Chart","props":[{"p":"reset","v":"","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":125,"y":215,"wires":[["423f5585248c5449"]]},{"id":"79591432aa69fae8","type":"function","z":"1543d308b342690a","name":"Spark line config","func":"var data = msg.payload\nif (data > 0) {\nmsg.color = \"red\"\nmsg.fill_color = \"red\"\nmsg.text_color = \"black\"\nmsg.unit = \"w\"\n} else {\n msg.color = \"green\"\n msg.fill_color = \"green\"\n msg.text_color = \"black\"\n msg.unit =\"W\"\n}\nif ((data >= 1000)||(data <= -1000)) {\n msg.unit = \"kW\"\n msg.payload = parseFloat((data/1000).toFixed(2))\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":510,"y":245,"wires":[["8b94fa88b5f4c779"]]},{"id":"5daed5829b4c1c75","type":"function","z":"1543d308b342690a","name":"Spark line config","func":"var data = msg.payload\n msg.color = \"red\"\n msg.fill_color = \"red\"\n msg.text_color = \"black\"\n msg.unit =\"W\"\nif (data >= 1000) {\n msg.unit = \"kW\"\n msg.payload = parseFloat((data/1000).toFixed(2))\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":510,"y":285,"wires":[["dc8bc52172ba458f"]]},{"id":"8b94fa88b5f4c779","type":"fd-spark-line","z":"1543d308b342690a","fd_container":"69c2e3f5798c3475","fd_cols":"1","fd_rows":1,"fd_array":false,"fd_array_max":10,"name":"Grid spark line","title":"Grid","popup_info":"","value":null,"color":"","fill_color":"","text_color":"","show_value":true,"unit":"","x":705,"y":245,"wires":[]},{"id":"dc8bc52172ba458f","type":"fd-spark-line","z":"1543d308b342690a","fd_container":"69c2e3f5798c3475","fd_cols":1,"fd_rows":1,"fd_array":false,"fd_array_max":10,"name":"Actual usage spark line","title":"Actual usage","popup_info":"","value":null,"color":"","fill_color":"","text_color":"","show_value":true,"unit":"","x":735,"y":285,"wires":[]},{"id":"43719d5359575f6b","type":"fd-time-plot","z":"1543d308b342690a","fd_container":"69c2e3f5798c3475","fd_cols":"7","fd_rows":"4","fd_array":false,"fd_array_max":10,"fd_output_topic":"","name":"Energy","title":"Energy data","popup_info":"","data":null,"labels":[],"colors":[],"axes":[],"widths":[],"span_gaps":[],"left_unit":"","right_unit":"","left_min":null,"left_max":null,"left_decimals":0,"right_min":null,"right_max":null,"right_decimals":0,"reverse_legend":false,"x":480,"y":210,"wires":[[]]},{"id":"70aab3442d949285","type":"inject","z":"1543d308b342690a","name":"","props":[{"p":"object","v":"{\"0\":-14,\"1\":293,\"2\":0,\"3\":23950,\"4\":2243,\"payload\":\"OK 10 242 255 37 1 0 0 142 93 195 8 (-53) \\r\\n\",\"port\":\"/dev/ttyAMA0\",\"_msgid\":\"d7d04626b3f893bf\",\"ack\":\"OK\",\"node\":10,\"rssi\":-53,\"time\":1661962663350,\"_event\":\"node:da5c88b65e756391\"}","vt":"json"}],"repeat":"2","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":125,"y":300,"wires":[["35a9707a5d30aa34"]]},{"id":"35a9707a5d30aa34","type":"function","z":"1543d308b342690a","name":"Example data","func":"msg = {\n \"0\": -14,\n \"1\": 293,\n \"2\": 0,\n \"3\": 23950,\n \"4\": 2243,\n \"payload\": \"OK 10 242 255 37 1 0 0 142 93 195 8 (-53) \\r\\n\",\n \"port\": \"/dev/ttyAMA0\",\n \"_msgid\": \"d7d04626b3f893bf\",\n \"ack\": \"OK\",\n \"node\": 10,\n \"rssi\": -53,\n \"time\": 1661962663350,\n \"_event\": \"node:da5c88b65e756391\"\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":120,"y":255,"wires":[["423f5585248c5449"]]},{"id":"69c2e3f5798c3475","type":"flexdash container","name":"Energy","kind":"StdGrid","fd_children":",92068bc37c49da87,43719d5359575f6b,dc8bc52172ba458f,8b94fa88b5f4c779","title":"","tab":"fef6c0f6d48841d6","min_cols":"8","max_cols":"11","parent":"","solid":false,"cols":"1","rows":"1"},{"id":"fef6c0f6d48841d6","type":"flexdash tab","name":"Demo","icon":"mdi-home-lightning-bolt-outline","title":"","fd_children":",69c2e3f5798c3475","fd":"e8f5aea52ab49500"}]