Hi, this is also NOT a bar chart but provides an interesting way to automatically collect and store the data before presenting it to a user in an easily-digestible form. Simply set the time period you are interested in and inject whatever events you want to track - it does the rest.
Cheers,
Paul
[{"id":"6e76f52b.ec245c","type":"ui_chart","z":"fad0114e.841e8","name":"","group":"8c02c710.08f738","order":1,"width":28,"height":8,"label":"Last {{msg.settings.x_size}} Seconds / {{msg.data_sum}} Event(s)","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"Waiting for data...","dot":false,"ymin":"","ymax":"","removeOlder":"60","removeOlderPoints":"","removeOlderUnit":"1","cutout":0,"useOneColor":true,"colors":["#000000","#00ff00","#ff80ff","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":1150,"y":2200,"wires":[]},{"id":"3c6d5919.8f26c6","type":"bar-chart-data","z":"fad0114e.841e8","name":"bar-chart-data","x_interval":"seconds","x_size":"60","unit":"","precision":"0","is_meter_reading":"False","agg_by":"sum","x":920,"y":2200,"wires":[["fa4baed5.72691","6e76f52b.ec245c"]]},{"id":"ac90e5fd.6a30a8","type":"persist out","z":"fad0114e.841e8","name":"store","storageNode":"7be8165e.84b668","x":830,"y":2280,"wires":[["3c6d5919.8f26c6"]]},{"id":"fa4baed5.72691","type":"persist in","z":"fad0114e.841e8","name":"store","storageNode":"7be8165e.84b668","x":1010,"y":2280,"wires":},{"id":"b9ad71df.3275d","type":"change","z":"fad0114e.841e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Pass","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":2200,"wires":[["3c6d5919.8f26c6"]]},{"id":"7bbee89.b264c18","type":"inject","z":"fad0114e.841e8","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":570,"y":2240,"wires":[["b9ad71df.3275d"]]},{"id":"1e26eb41.422f45","type":"change","z":"fad0114e.841e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Fail","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":2320,"wires":[["3c6d5919.8f26c6"]]},{"id":"b6d22f5e.e77a8","type":"inject","z":"fad0114e.841e8","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":570,"y":2360,"wires":[["1e26eb41.422f45"]]},{"id":"8c02c710.08f738","type":"ui_group","z":"","name":"Service Portal - Events","tab":"5399e3a0.82e19c","order":1,"disp":true,"width":28,"collapse":false},{"id":"7be8165e.84b668","type":"persist-store","z":"","filename":"~/store.json","interval":"60"},{"id":"5399e3a0.82e19c","type":"ui_tab","z":"","name":"Service Portal - Events","icon":"fa-line-chart","order":9,"disabled":false,"hidden":false}]