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