I'm using c3.js (http://c3js.org/) and wkhtmltopdf (http://wkhtmltopdf.org/) to generate a PDF of the HTML page my chart lives on. My chart displays fine in the browser but is blank in wkhtmlpdf. Wkhtmltopdf reports no Javascript errors but the resulting PDF does not include the chart. Does anyone have a work around for this?
/wkhtmltopdf --javascript-delay 5000 "http://c3js.org/samples/chart_donut.html" ~/test.pdf