react-pdf
react-pdf copied to clipboard
I am unable to include Charts in PDF
Before you start - checklist
- [X] I understand that React-PDF does not aim to be a fully-fledged PDF viewer and is only a tool to make one
- [X] I have checked if this feature request is not already reported
Description
I want to include a Chart in the react pdf. I am unable to do it. I am using the libraries Chartjs , Tailwindcss, and React PDF. Can you please me? I have converted the chart to images still not working, below is the sample code. const chart = chartRef.current; if (chart) { const imageURL = chart.toBase64Image(); setImageUrl(imageURL); }
Proposed solution
No response
Alternatives
No response
Additional information
No response