to me it seemed to me that the graph would stop rendering midway through. so what worked for me was setting the animation off:

plotoptions: {
    series: {
        animation: false

this way the chart is ready once the pdf is generated.


i had this issue and the cause was javascript errors. you can confirm this by running wkhtmltopdf with the --debug-javascript flag. for more detailed debugging (e.g. line numbers) you'll have to download the qtweb browser.

specifically in my case the two issues were that object.values(obj) is an undefined function and $('a:not(.ignore)') is a syntax error (when jquery 3.1.1 tried to use the selector). the fix was to use object.keys(obj).map(function (key) { return obj[key] }) and $('a').not('.ignore').

Related Query

More Query from same tag