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: google-charts
03-Mar-2015

Grails

Vertical Labels with Google Chart API

While working with Google charts, we usually face issues with long labels on the horizontal axis. The chart displays well, however the X-axis labels are not completely visible and displays the numbers like this: 24/3.. 25/3.. 26/3.. 27/3.. 28/3.. 30/3.. 31/3.. instead of 24/3/2006, 25/3/2006, 6/3/2006, 27/3/2006, 28/3/2006,...

by Mansi Arora
Tag: google-charts
20-Feb-2015