Generate PDF with Graph in Laravel using Laravel Snappy
Ellis
Posted on June 12, 2020
Laravel Snappy is a library that uses Wkhtmltopdf to convert HTML to PDF. generate pdf with graph in laravel using snappy package.
It Runs JAVASCRIPT that makes it better than any other package. But it isn’t very awesome, there are two main problems with it.
1- It can only run old javascript (ES5).
2- It doesn’t accept animation at all.
And this is the hardest problem (Most of new Charts Libraries using animation ). So we are going to use Google Charts V1.1.
It generates SVG Chars with no animation and at the same time, it’s vectorized.
💖 💪 🙅 🚩
Ellis
Posted on June 12, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.