0👍
Even though it’s been a while I faced a similar problem. My solution was first generating the charts, save them as an image and simply use those images in DOMPDF.
The solution I used is called pChart.
After generating the chart you can save it to a file using:
$myPicture->render("image.png");
For more information see the documentation
- [Chartjs]-Chart.js how to display % on tooltip
- [Chartjs]-Chart js: Update line chart having two data sets
Source:stackexchange.com