GWT-RCharts Released (An interactive client side Charting Library with 3D CHARTS)

416 views
Skip to first unread message

saurabh saurabh

unread,
Dec 20, 2011, 6:23:27 AM12/20/11
to Google Web Toolkit
Hi everyone,
I am very delighted to announce the release of gwt-
rcharts to GWT community. It renders interactive charts on client side
based on SVG and VML with cross browser support*.

The library is based on a popular javascript library
rapheaeljs and workaround with a custom modified version of gwt
wrapper raphaelgwt. All of them comes in a bundle.

The main theme of API is ease of use with 100%
flexibility for styling. Its also comes with many exciting themes to
give better choice for look and feel. About simplicity, its so simple
that I can give you start up a lesson for BarChart right here in this
post:

ColumnChart chart = new ColumnChart(500, 500); //say your chart widht
and height
CategoryDataTable<Double> dataTable = new
CategoryDataTable<Double>();// data structure for category chart
dataTable.add("ser1", "cat1", 100);
dataTable.add("ser1", "cat2", 150); //...and so on just like
jfreechart.
//you may like to apply a existing theme :-
DarkGreenTheme.apply(chart);
//you may like to have a 3D view:- chart.set_3d(true);
RootLayoutPanel.get().add(chart); //done!!

Many more things are simply configurable by self-
explanatory setter methods and off course the API would work in
intranet unlike Visualization.

I would appreciate any kind of feedback, suggestion
or contribution.

*IE issue: one IE issue/bug(Probably IE bug) is still here 'http://
code.google.com/p/gwt-rcharts/issues/list' so we cant detach and then
attach Chart to a parent. The workaround solution is we will need to
add the new chart instance again to parent. Example
Chart chart = getBarChart();
panel.add(chart);
panel.clear();
// panel.add(chart); // upto IE8 a problem
panel.add(getBarChart()); // works fine everywhere

I explicitly show this behavior on demo site gwt-charts.com on IE,
when switch between tabs happen.

Happy Coding!!!

Regards
Saurabh Tripathi

saurabh saurabh

unread,
Dec 20, 2011, 6:28:23 AM12/20/11
to Google Web Toolkit
Oops!! I forgot to mention the links, here they are :

http://code.google.com/p/gwt-rcharts/
and
http://www.gwt-charts.com/

Giuseppe La Scaleia

unread,
Dec 20, 2011, 6:32:00 AM12/20/11
to google-we...@googlegroups.com
+1 here.
Great work

2011/12/20 saurabh saurabh <saurab...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Giuseppe La Scaleia
CNR - IMAA
geoSDI
Sviluppo Software

C.da S. Loja
85050  Tito Scalo - POTENZA (PZ)
Italia

phone:  +39 0971427305
fax:      +39 0971 427271
mob:    +39 3804697436
mail:     giuseppe....@geosdi.org
skype:  glascaleia

web:     http://www.geosdi.org


 

Maximilian Eberl

unread,
Dec 20, 2011, 6:45:07 AM12/20/11
to google-we...@googlegroups.com
Hi Saurabh,

this looks great!
I am going to try it out.

Maximilian

Oh man!
How long did I fuzzle around with embedded Flash Animations throwing
data into them with JavaScript ....

Alfredo Quiroga-Villamil

unread,
Dec 20, 2011, 9:51:42 AM12/20/11
to google-we...@googlegroups.com
Like it a lot, neat and seems very simple to use. Good work!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton


Erez Lirov

unread,
Dec 20, 2011, 4:00:27 PM12/20/11
to Google Web Toolkit
Nice! I added this to a GXT LayoutContainer with a FitLayout. Any
idea how to allow dynamic sizing?

Doing this in the onRender() function seems to work only for the
initial size. Once I add it into the container though, if I try to
resize, the chart stays the same size and just clips if the container
gets too small. Any ideas? Is there a refresh() function or
something?
chart.setHeight(getHeight() - 40);
chart.setWidth(getWidth() - 40);
chart.setSize(getWidth() - 40, getHeight() - 40);

saurabh saurabh

unread,
Dec 20, 2011, 5:27:50 PM12/20/11
to Google Web Toolkit
Hi Erez, nice question, actually its going to be an issue to attend,
Thanks for drawing attention over this.

Anyway work around solution could be like : making and adding a new
chart instance with new dimension and removing the old chart.

Jordi_CaTo

unread,
Dec 22, 2011, 2:47:24 PM12/22/11
to Google Web Toolkit
Great Job!!!!!

nandy

unread,
Dec 24, 2011, 8:48:24 AM12/24/11
to Google Web Toolkit
I tried opening the links in IE9 but it only displays an empty page.
It works fine in Chrome browser though.

saurabh saurabh

unread,
Dec 26, 2011, 4:09:38 AM12/26/11
to Google Web Toolkit
Ya I see that now on IE9. Sorry guys now its a major issue, I ll try
my best to resolve it as soon as possible. Thanks for all the
appreciation.

saurabh saurabh

unread,
Dec 26, 2011, 9:32:43 AM12/26/11
to Google Web Toolkit
pheww, Hi everyone,

===================================== GWT-RCHARTS IS WORKING IN
INTERNET EXPLORER 9 TOO
===============================================

I got a good news here gwt-rcharts is
working in order in IE9 too!!!! . Actually the showcase site got some
problem with IE9 (http://gwt-charts.com). I was really scared of
crashing gwt-rcharts for IE9 or refactoring it for IE9 but thank god
gwt-rcharts is giving cross-browser compatibility for IE9 too.

Although I have used all standard GWT widgets, IE9 is throwing
exception of "Unexpected call to method or property access". As I am a
bit busy these days, it will take some time to track the bug and
correct it on gwt-charts.com . But the good thing is that 'gwt-
rcharts' compatible with IE9.

Happy coding!!! and wish you all guys Merry Christmas and a Happy new
Year
Reply all
Reply to author
Forward
0 new messages