Here is a little example
[{"id":"a9b523ce.0acde","type":"function","z":"c9512783.9493c8","name":"ui_control","func":"\nmsg.ui_control = {\n options: {\n scales: {\n xAxes: [\n {\n stacked: true,\n ticks: {\n fontColor: '#00ff00'\n },\n gridLines :{\n zeroLineColor:'#00ff00',\n color:'#00ff00',\n lineWidth:0.5\n },\n }\n ],\n yAxes: [{\n stacked: true,\n ticks: {\n fontColor: '#ffff00'\n },\n gridLines :{\n zeroLineColor:'#00ff00',\n color:'#00ff00',\n lineWidth:0.5\n },\n }]\n }\n }\n}\n\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":480,"y":420,"wires":[["364f1246.5ba72e"]]},{"id":"21056f95.203bf","type":"inject","z":"c9512783.9493c8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":420,"wires":[["a9b523ce.0acde","146a4606.6cd3aa"]]},{"id":"364f1246.5ba72e","type":"ui_chart","z":"c9512783.9493c8","name":"","group":"65dfd687.bc39a8","order":0,"width":0,"height":0,"label":"chart","chartType":"horizontalBar","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":670,"y":420,"wires":[[]]},{"id":"41a3820a.7356fc","type":"function","z":"c9512783.9493c8","name":"chart data","func":"msg.payload = [{\n \"series\": [\"X\", \"Y\", \"Z\" ],\n \"data\": [ [5,6,9,10], [3,8,5,11], [6,7,2,12] ],\n \"labels\": [ \"Jan\", \"Feb\", \"Mar\", \"Apr\" ]\n}]\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":480,"y":460,"wires":[["364f1246.5ba72e"]]},{"id":"146a4606.6cd3aa","type":"delay","z":"c9512783.9493c8","name":"","pauseType":"delay","timeout":"40","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":310,"y":460,"wires":[["41a3820a.7356fc"]]},{"id":"65dfd687.bc39a8","type":"ui_group","name":"Default","tab":"5394d338.3dd19c","order":1,"disp":true,"width":"6","collapse":false},{"id":"5394d338.3dd19c","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]