I need to create a pdf file that contains graphs/charts and download it from the angular page. I tried jspdf library, it works but it does not render the charts. I use chartJS for creating the charts on the page.
I have an idea to generate an image of the HTML page then put that generated image on the pdf file. But I think there is a better way to solve this problem.
How can I solve this?