Using Dashboard 2 v. 1.22.1, I cannot seem to make a simple doughnut chart work:
[{"id":"775023eeb01dbc93","type":"ui-chart","z":"89ebabdd43b154de","group":"5de5456a78b0f130","name":"Produktion","label":"Production","order":6,"chartType":"doughnut","category":"","categoryType":"none","xAxisLabel":"","xAxisProperty":"topic","xAxisPropertyType":"msg","xAxisType":"radial","xAxisFormat":"","xAxisFormatType":"auto","xmin":"","xmax":"","yAxisLabel":"","yAxisProperty":"payload","yAxisPropertyType":"msg","ymin":"","ymax":"","bins":10,"action":"append","stackSeries":false,"pointShape":"circle","pointRadius":4,"showLegend":true,"removeOlder":1,"removeOlderUnit":"3600","removeOlderPoints":"","colors":["#0095ff","#ff0000","#ff7f0e","#2ca02c","#a347e1","#d62728","#ff9896","#9467bd","#c5b0d5"],"textColor":["#666666"],"textColorDefault":true,"gridColor":["#e5e5e5"],"gridColorDefault":true,"width":"3","height":"6","className":"","interpolation":"linear","x":1010,"y":1140,"wires":[[]]},{"id":"bdc4aed27f8107a4","type":"function","z":"89ebabdd43b154de","name":"test","func":"node.send({ \"topic\": \"Battery\", \"payload\": 1 });\nnode.send({ \"topic\": \"Grid\", \"payload\": 2 });\nnode.send({ \"topic\": \"Consumption\", \"payload\": 3 });\nnode.send({ \"topic\": \"PV\", \"payload\": 4 });","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":1140,"wires":[["775023eeb01dbc93"]]},{"id":"5cafc54683a26e50","type":"inject","z":"89ebabdd43b154de","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":700,"y":1140,"wires":[["bdc4aed27f8107a4"]]},{"id":"5de5456a78b0f130","type":"ui-group","name":"Overview","page":"bc37c563f4623688","width":"6","height":"1","order":1,"showTitle":false,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"bc37c563f4623688","type":"ui-page","name":"El","ui":"391b382dc05b69b2","path":"/el","icon":"home-lightning-bolt-outline","layout":"grid","theme":"c20a7e20a4e37ad0","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":"391b382dc05b69b2","type":"ui-base","name":"Dashboard2","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":false,"notificationDisplayTime":"5","showDisconnectNotification":false},{"id":"c20a7e20a4e37ad0","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"6px","groupGap":"6px","groupBorderRadius":"4px","widgetGap":"6px","density":"default"}}]
Am I missing something?