Hello,
I want to create a pie chart in Dashboard 2. I have some input data with separate topics for each data point. Each data point is refreshed continuously. Here is an example with 2 different input data (Topic 1: Test1 and Topic 2: Test2):
Here is the configuration:
The dashboard doesn't show a pie chart:
It doesn't work. Where is the problem?
[{"id":"9764647de8113d9c","type":"inject","z":"04384684b6184245","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Test1","payload":"9","payloadType":"num","x":110,"y":840,"wires":[["d9e7b7b1d40b4b5f"]]},{"id":"790c6ac1ed11be79","type":"inject","z":"04384684b6184245","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Test2","payload":"1","payloadType":"num","x":110,"y":940,"wires":[["d9e7b7b1d40b4b5f"]]},{"id":"4191782862c97d85","type":"inject","z":"04384684b6184245","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Test1","payload":"5","payloadType":"num","x":110,"y":880,"wires":[["d9e7b7b1d40b4b5f"]]},{"id":"a74da494d91b6b25","type":"inject","z":"04384684b6184245","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Test2","payload":"5","payloadType":"num","x":110,"y":980,"wires":[["d9e7b7b1d40b4b5f"]]},{"id":"d9e7b7b1d40b4b5f","type":"ui-chart","z":"04384684b6184245","group":"e1b8eb6d6fe967d9","name":"","label":"chart","order":9007199254740991,"chartType":"pie","category":"","categoryType":"none","xAxisLabel":"","xAxisProperty":"topic","xAxisPropertyType":"msg","xAxisType":"radial","xAxisFormat":"","xAxisFormatType":"auto","xmin":"","xmax":"","yAxisLabel":"Energie [kWh]","yAxisProperty":"payload","yAxisPropertyType":"msg","ymin":"","ymax":"","bins":10,"action":"append","stackSeries":true,"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":6,"height":8,"className":"","interpolation":"linear","x":310,"y":900,"wires":[[]]},{"id":"e1b8eb6d6fe967d9","type":"ui-group","name":"Wechselrichter","page":"a79c0583d45c6462","width":"6","height":"1","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"a79c0583d45c6462","type":"ui-page","name":"Balkonkraftwerk","ui":"4b790324d3cf0b35","path":"/balkonkraftwerk","icon":"solar-power-variant-outline","layout":"grid","theme":"93452b3b6a431cc1","breakpoints":[{"name":"Default","px":"0","cols":"6"},{"name":"Tablet","px":"400","cols":"6"},{"name":"Small Desktop","px":"800","cols":"12"},{"name":"Desktop","px":"1200","cols":"18"},{"name":"","px":"1600","cols":"24"},{"name":"","px":"2000","cols":"30"},{"name":"","px":"2400","cols":"36"}],"order":6,"className":"","visible":true,"disabled":false},{"id":"4b790324d3cf0b35","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"temporary","titleBarStyle":"fixed","showReconnectNotification":true,"notificationDisplayTime":"1","showDisconnectNotification":true,"allowInstall":true},{"id":"93452b3b6a431cc1","type":"ui-theme","name":"Theme 3","colors":{"surface":"#0091ff","primary":"#0091ff","bgPage":"#000000","groupBg":"#232323","groupOutline":"#232323"},"sizes":{"density":"compact","pagePadding":"10px","groupGap":"10px","groupBorderRadius":"15px","widgetGap":"5px"}}]