Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tinwritescode/b777ab0bb32caaab613a4521fdc1ccdc to your computer and use it in GitHub Desktop.

Select an option

Save tinwritescode/b777ab0bb32caaab613a4521fdc1ccdc to your computer and use it in GitHub Desktop.
[{"id":"4fec2f64.670c5","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"6593bef4.238ff","type":"chartjs-horizontal-bar","z":"4fec2f64.670c5","name":"","path":"horizontal-bar","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":690,"y":520,"wires":[[]]},{"id":"e45dae68.acc81","type":"inject","z":"4fec2f64.670c5","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"channel\":\"Population\",\"color\":\"Blue\",\"dataset\":[{\"x\":\"Europe\",\"y\":741},{\"x\":\"Australia\",\"y\":24},{\"x\":\"Africa\",\"y\":1.2},{\"x\":\"America\",\"y\":325},{\"x\":\"Asia\",\"y\":4.4}]},{\"channel\":\"Economy\",\"color\":\"Green\",\"dataset\":[{\"x\":\"Europe\",\"y\":12},{\"x\":\"Australia\",\"y\":13},{\"x\":\"Africa\",\"y\":3},{\"x\":\"America\",\"y\":22},{\"x\":\"Asia\",\"y\":18}]}]","payloadType":"json","x":260,"y":260,"wires":[["99a144c4.84db58"]]},{"id":"99a144c4.84db58","type":"function","z":"4fec2f64.670c5","name":"","func":"\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":470,"y":260,"wires":[["83c566b.391ec98","55febbf6.e7c704"]]},{"id":"83c566b.391ec98","type":"debug","z":"4fec2f64.670c5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":650,"y":360,"wires":[]},{"id":"55febbf6.e7c704","type":"chartjs-line","z":"4fec2f64.670c5","name":"","path":"line","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":670,"y":180,"wires":[[]]},{"id":"75723185.43131","type":"inject","z":"4fec2f64.670c5","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"channel\":\"Population\",\"color\":\"Green\",\"dataset\":[{\"x\":\"Europe\",\"y\":741},{\"x\":\"Australia\",\"y\":24},{\"x\":\"Africa\",\"y\":1.2},{\"x\":\"America\",\"y\":325},{\"x\":\"Asia\",\"y\":4.4}]}","payloadType":"json","x":270,"y":400,"wires":[["83c566b.391ec98","e9cb480c.563b08"]]},{"id":"e9cb480c.563b08","type":"function","z":"4fec2f64.670c5","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":480,"y":460,"wires":[["6593bef4.238ff","80ac938b.ddda8","c55ee549.5071a8","df795a66.999638","2e883422.499c2c","95917548.e7ec88"]]},{"id":"80ac938b.ddda8","type":"chartjs-doughnut","z":"4fec2f64.670c5","name":"","path":"dd","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":740,"y":440,"wires":[[]]},{"id":"c55ee549.5071a8","type":"chartjs-polar","z":"4fec2f64.670c5","name":"pola","path":"charts","charttitle":"Polar Area title","xaxis":"Item","yaxis":"Value","x":520,"y":580,"wires":[[]]},{"id":"df795a66.999638","type":"chartjs-bubble","z":"4fec2f64.670c5","name":"","path":"bubble","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":460,"y":640,"wires":[[]]},{"id":"2e883422.499c2c","type":"chartjs-radar","z":"4fec2f64.670c5","name":"","path":"charts","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":710,"y":580,"wires":[[]]},{"id":"95917548.e7ec88","type":"chartjs-radar","z":"4fec2f64.670c5","name":"","path":"line","charttitle":"Chart title","xaxis":"Item","yaxis":"Value","x":310,"y":540,"wires":[[]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment