Let’s take a closer look at how this works!
First, you’ll want to disable animation for any Highchart graph you want to add to your PDF. Animations look really cool in a browser, but DocRaptor’s HTML-to-PDF service expects a static resource to convert into a PDF, and animations aren’t exactly static. You’ll just get a blank graph when attempting to use Highcharts unless you disable animation. Luckily enough, disabling animations is also easy to do:
That’s all there is to it! You can see the code that generates the charts used in this example PDF on Highcharts example page.