[Chartjs]-Inserting Graphs into DomPDF

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

Leave a comment