Hi all,
I have an app that displays data from multiple sensors using Chart.js. I now need to generate downloadable reports—ideally in PDF format—so users can export data for a selected time period.
I understand that the underlying data needs to be prepared first, but I’m looking for advice on the best way to generate the PDF from within the app, particularly from a UI/UX and graphical point of view.
Specifically:
What is the recommended approach for creating a PDF report template?
Is it possible (or advisable) to reuse or migrate existing Chart.js charts into the PDF?
Are there libraries or workflows that work well for this use case?
Any guidance, examples, or best practices would be greatly appreciated.
Thanks in advance.