Dashboard 2.0 to image (PDF)

Good afternoon, I have been looking for a way to convert a chart to an image so that I can upload it to my flow to generate a PDF.

Creating a PDF works, but I can't find a way to link charts to my PDF. I have already tried several nodes to make 'screenshots', but they don't seem to work in the Dashboard, but they do on the 'internet'.

Can anyone help me with this?

I'm running Node-Red on Windows.

Thanks in advance!
Kind regards
Arne

Good afternoon all

In the meantime, I have tackled my problem differently.
I still use the UI-Charts on my dashboard, but at the same time I have a buffer filled with the incoming data from my PLC.

This buffer is then converted using base64 to html code. The charts are built via "node-red-contrib-chart-image".

I got my inspiration from Generate chart images in Node-Red for email or chat messages (flow) - Node-RED.

My pdf contains the necessary charts, problem solved.

Have a nice evening.
Kind regards

Arne

1 Like

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