Meter Reading with Barchart Data in Dashboard 2.0

[{"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"}}]
2 Likes

Hey @jbudd

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