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.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/36c3b946-ae33-4377-b726-86d6379b8c61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to