Monday, February 4, 2008

Updated GoogleChart Plugin ver 0.4

A couple weeks ago I released a GoolgeChartBuilder for the Google Charts API. At about the same time James Williams released the Google Chart Plugin for Grails.

Up until now the Google Chart Plugin provided the Grails developer with a fantastic way to generate charts in the view layer (GSP) via a tag library.

With the addition of the builder; the chart URLs can now be easily created in a domain, controller, or service object. The builder functionally provides the opportunity to save the URL to a database or pre-fetch the image file and cache it on the server.

The core functionally of the original builder remains intact and examples can be found here, and documentation can be found here.

The names of the charts were changed to more closely tie the builder to the tag library.