# Meter Reading with Barchart Data in Dashboard 2.0

**URL:** <https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550>\
**Category:** Dashboard\
**Created:** [13 April 2025 20:10 UTC](https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550 "2025-04-13T20:10:58Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [17 April 2025 23:11 UTC](https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550/21 "2025-04-17T23:11:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/6/964fcc90a5ae8a6855949bf4eda2c111d9d98ca5.png)

```auto
[{"id":"41d52465251f792d","type":"ui-chart","z":"658947306eef6c70","group":"eeb817379054184a","name":"","label":"chart","order":9007199254740991,"chartType":"bar","category":"bar","categoryType":"property","xAxisLabel":"","xAxisProperty":"ts","xAxisPropertyType":"property","xAxisType":"category","xAxisFormat":"","xAxisFormatType":"auto","xmin":"","xmax":"","yAxisLabel":"","yAxisProperty":"value","yAxisPropertyType":"property","ymin":"","ymax":"","bins":10,"action":"replace","stackSeries":false,"pointShape":"circle","pointRadius":4,"showLegend":true,"removeOlder":1,"removeOlderUnit":"3600","removeOlderPoints":"","colors":["#ff0000","#fbfb01","#00ff80","#0080ff","#0080ff","#d62728","#ff9896","#9467bd","#c5b0d5"],"textColor":["#666666"],"textColorDefault":true,"gridColor":["#e5e5e5"],"gridColorDefault":true,"width":6,"height":8,"className":"","interpolation":"linear","x":530,"y":160,"wires":[[]]},{"id":"809bc1e541500677","type":"inject","z":"658947306eef6c70","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":160,"wires":[["924c1ee29435e658"]]},{"id":"924c1ee29435e658","type":"template","z":"658947306eef6c70","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"[\n{\"ts\": \"04-14\", \"bar\": \"Stromverbrauch\", \"value\": 0.1},\n{\"ts\": \"04-14\", \"bar\": \"Einspeisung\", \"value\": 0},\n{\"ts\": \"04-14\", \"bar\": \"Erzeugung_Gesamt\", \"value\": 1.2},\n{\"ts\": \"04-14\", \"bar\": \"Erzeugung_600\", \"value\": 0.7},\n{\"ts\": \"04-14\", \"bar\": \"Erzeugung_720\", \"value\": 0.8},\n{\"ts\": \"04-15\", \"bar\": \"Stromverbrauch\", \"value\": 1.1},\n{\"ts\": \"04-15\", \"bar\": \"Einspeisung\", \"value\": 2},\n{\"ts\": \"04-15\", \"bar\": \"Erzeugung_Gesamt\", \"value\": 9.6},\n{\"ts\": \"04-15\", \"bar\": \"Erzeugung_600\", \"value\": 3.8},\n{\"ts\": \"04-15\", \"bar\": \"Erzeugung_720\", \"value\": 5.1},\n{\"ts\": \"04-16\", \"bar\": \"Stromverbrauch\", \"value\": 0.2},\n{\"ts\": \"04-16\", \"bar\": \"Einspeisung\", \"value\": 0},\n{\"ts\": \"04-16\", \"bar\": \"Erzeugung_Gesamt\", \"value\": 1.2},\n{\"ts\": \"04-16\", \"bar\": \"Erzeugung_600\", \"value\": 0.7},\n{\"ts\": \"04-16\", \"bar\": \"Erzeugung_720\", \"value\": 0.7}\n]\n","output":"json","x":360,"y":160,"wires":[["41d52465251f792d"]]},{"id":"eeb817379054184a","type":"ui-group","name":"Group2 Name","page":"b6f78c2e2f30b0d0","width":6,"height":1,"order":-1,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"b6f78c2e2f30b0d0","type":"ui-page","name":"Demo","ui":"d45641ed6d39fea1","path":"/demo","icon":"home","layout":"flex","theme":"a5bbf4397c8aa75a","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"d45641ed6d39fea1","type":"ui-base","name":"This is my ui-base","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"default","titleBarStyle":"default"},{"id":"a5bbf4397c8aa75a","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094CE","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

```

---

<div class="post-metadata">

**Author:** ![Snotmann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/snotmann/32/100137_2.png) [@Snotmann](https://discourse.nodered.org/u/Snotmann)\
**Post date:** [18 April 2025 11:47 UTC](https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550/22 "2025-04-18T11:47:37Z")

</div>

Hey @jbudd

Thanks alot for your input. I will try to put it into my needs

---

<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:** [18 May 2025 11:48 UTC](https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550/23 "2025-05-18T11:48:32Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/meter-reading-with-barchart-data-in-dashboard-2-0/96550.md?page=1)
