charts4j, a Google Chart API wrapper library ported to GWT

109 views
Skip to first unread message

Julien

unread,
May 4, 2009, 7:06:37 PM5/4/09
to Google Web Toolkit
Hello GWTers

We are from the Google Chart API land. For those of you who are
interested in incorporating Google charts into your GWT app, we
maintain a library called charts4j (http://charts4j.googlecode.com)
which is a Java wrapper for the Google Chart API.

Recently, we have ported charts4j to comply with the GWT JRE subset.
The port enables developers to use charts4j from the GWT client-side.
The API is identical to that of charts4j, but we made a few changes
"under the hood" to achieve GWT JRE compliance. The port also contains
the module XML definition (charts4j.gwt.xml).

If interested, we would like your feedback on this preliminary version
of the port which can be downloaded here: http://code.google.com/p/charts4j/downloads/list.
You can also find additional information here: http://code.google.com/p/charts4j/wiki/GWT_Port

Thanks to Michael Voigt and Carl Scott for initiating this port,
especially Michael for doing the actual port.

-The charts4j Team (Julien, Dieter, Michael, Carl)
http://charts4j.googlecode.com

Salvador Diaz

unread,
May 5, 2009, 3:42:17 AM5/5/09
to Google Web Toolkit
What's the difference between your library and the GWT wrapper for the
Google Visualization API ?
http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=Visualization

Cheers,

Salvador

Thomas Broyer

unread,
May 5, 2009, 10:14:53 AM5/5/09
to Google Web Toolkit


On 5 mai, 09:42, Salvador Diaz <diaz.salva...@gmail.com> wrote:
> What's the difference between your library and the GWT wrapper for the
> Google Visualization API ?

Probably the same as between Google Chart API and Google Visualization
API ;-)
http://code.google.com/apis/chart/ vs. http://code.google.com/apis/visualization/

One key difference, from what I've seen, is that charts4j isn't only
made for GWT but for any Java-based app, be it a desktop app (e.g.
Swing-based) or a web app (servlet *or* GWT); with the same, reusable,
Java code; this is made possible as Google Chart API generates static
images from values given in the URL (whereas Google Visualization is a
browser-only JavaScript API with your data being sent as a response to
a HTTP GET request)

Julien

unread,
May 5, 2009, 12:08:09 PM5/5/09
to Google Web Toolkit
Thank you Thomas. I could not have put it better myself :-)

In addition, charts4j runs on a very simple concept. Provide a simple
Java (and now GWT) API to build Google Chart API URL strings. Pretty
much any Java app (including a Java web app) that has an Internet
connection, and the ability to display a PNG can benefit from
charts4j. GWTers have been asking me to do this for a long time, and I
finally found a couple of volunteers to do the port.

-Julien
http://charts4j.googlecode.com

On May 5, 8:14 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 5 mai, 09:42, Salvador Diaz <diaz.salva...@gmail.com> wrote:
>
> > What's the difference between your library and the GWT wrapper for the
> > Google Visualization API ?
>
> Probably the same as between Google Chart API and Google Visualization
> API ;-)http://code.google.com/apis/chart/vs.http://code.google.com/apis/visualization/
Reply all
Reply to author
Forward
0 new messages