I am having a gantt chart in my web page which is generated by javascript. I am having a button in that page named "Print as PDF" to get the pdf version of that gantt chart.
I am using wkhtmltopdf for generating the pdf page. How this can be made with wkhtmltopdf?