Convert InfluxDB v2 data to ui_chart

Hello @Simon01011

Thanks for this Function I would like to use it but have some problems :slight_smile:
I read this Post about data manupilation and also read the Documentation from the Chart Element.

If I try to use your function with CopyPaste Node Red sad that it didn't no the Function Map

TypeError: msg.payload.map is not a function

Here are some Screenshots
NodeRed DummyData Plot

PS. There is also a Timeshift from 2h between the Data and the graph :slight_smile:

Thanks a lot in advance for your help.