Grails

Generate PDF for Google Charts through Javascript

In a previous blog, we learned, how to draw a google chart. Let's say, I have 5 graphs on my page and I want to generate a PDF which contains these graphs using a JavaScript. For that, we will use jsPDF plugin. Step 1. Create a hidden empty DIV, to store graph-images: [java] <div id='graph-images'...

by Mansi Arora
Tag: download-report
03-Mar-2015