Can not get a simple graph to show

i am trying to create my first graph but it is not working.
This should be stupid simple but i can not see any data

just a simple inject node- random number node-chart node

i also added a gauge and that meter is working and showing the data.
The other chart nodes are only showing the name, not the data or graphs

[{"id":"15d2301d.5e9ec","type":"ui_chart","z":"901879cf.99e878","name":"","group":"ccfc9c63.31685","order":0,"width":"0","height":"0","label":"IphoneXS online","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":1,"removeOlderPoints":"60","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"x":860,"y":1180,"wires":[[]]},{"id":"5337b46a.0c785c","type":"debug","z":"901879cf.99e878","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":850,"y":1100,"wires":[]},{"id":"1cc273f8.7e2a6c","type":"function","z":"901879cf.99e878","name":"","func":"msg.payload = Math.round(Math.random()*100);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":560,"y":1160,"wires":[["15d2301d.5e9ec","85f521f1.df22a","5337b46a.0c785c","df9d21b2.d3824"]]},{"id":"85f521f1.df22a","type":"ui_chart","z":"901879cf.99e878","name":"","group":"ccfc9c63.31685","order":1,"width":0,"height":0,"label":"chart","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"x":830,"y":1240,"wires":[[]]},{"id":"df9d21b2.d3824","type":"ui_gauge","z":"901879cf.99e878","name":"","group":"ccfc9c63.31685","order":2,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":850,"y":1020,"wires":[]},{"id":"1bd235c1.eb00ba","type":"inject","z":"901879cf.99e878","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":310,"y":1140,"wires":[["1cc273f8.7e2a6c"]]},{"id":"ccfc9c63.31685","type":"ui_group","name":"Netwerk","tab":"cd92860.5956e78","order":1,"disp":true,"width":"6","collapse":false},{"id":"cd92860.5956e78","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

which versions of node.js, node-red and dashboard nodes are you using ?

node-red 1.2.5
dashboard 2.25

where can i find node-js version? i am running it from a docker container

i think it is 10.6.3 looking inside the docker container

is this of any help

image

hmm - yes we have heard of this occasionally - but never pinned it down... as (as we have just shown) if I import your flow it works fine here :frowning: do you have any unused configuration nodes or empty tabs/groups etc in the dashboard ?

no i have not.

i deleted the default dashboard and group, recreated everything without luck.
then i changed the name of the ui_group from Default(which it was) to network.

Boom, everything working

It looks like you can not use the name Default which it suggests
So either the name Default is causing problems or not changing the Default into something else(i think it is in a non defined state then)

What happens if you change it back again?

it keeps on working.
Also i can not recrete it anymore.

it looks like if you start of completely clean and leave the group name at Default(i do not think it gets a name assigned then) and choose Home for the tab name it does not work.
It shows Deault as the name but probably the name is not set

as soon as you change the group name into something else(it gets assigned a name) it works and keeps on working

I suspect it is much more subtle than that, as it is only very rarely reported, and what you have described is likely to be a common occurrence.

agreed but it would not hurt to look at the code what happens if we do next-next-finish.
looking at my experience it really looks like some variables are not set so they have an undefined state.

never the less my problem is solved but i hope i can contribute to finding the real problem because this eats up a lot of time with these unlogical errors(and it hurts my self esteem HaHa)

I am sure the developers will add your experience into their knowledge of the problem.

Going next next finish is exactly what I always do when I start to create a new test flow... but yes - will keep an eye out. s I said - yes we do get it reported now and again but so far no way to replicate it so hard to debug.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.