DinkToPdf
DinkToPdf copied to clipboard
Print before the page finish loading or JavaScript not working
Can any one use this library to print this chart graph ?
The link comes from chartjs.com. Not matter how I config the LoadSettings or Websettings, the library is not going to print the graph for me.. I only get the below text... But if I do window.print()
inside the web, I will get the graph
Any suggestions will be very appreciated!!
There is a good option to wait for a certain window-status
that you set in Javascript. Unfortunately this option is not exposed and only works, when running via command line. https://wkhtmltopdf.org/usage/wkhtmltopdf.txt. I would like to use it as well. For now we have to work with the JSDelay option in the LoadSettings:
LoadSettings = new LoadSettings { JSDelay = 500 }
I'm having the same problem. Did you find any solution to this?
bump Same issue here.. Any solutions? JSDelay doesn't work for me.
Same issue for me. Anyone have a solution?