Hello,
I'm trying to build a build a project in MVC where a html page displays a summary from some data, there i added a few charts that works normally, without a single problem.
After that the objective was to render everything in a pdf file. For that im using Rotativa(based on wkhtmltopdf). when the page is rendered(via ActiontoPDF, the only one that takes all the data i need) no chart is drawn.
I have run some tests in order to find the issue, and after a lot i found that there is an error that says :
'undefined' is not an object
refering to this line of code:
var data = new google.visualization.DataTable();
the library is properly loaded since it actually works in the webpage. The only conclusion i see is that somehow the lib is not being loaded inside the Rotativa process.
Im putting this here because maybe im missing something related to google charts. If someone have an idea or anything ill be happier to provide more info/code. This is just the summary of the issue.
Thanks in advance.