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
http://code.google.com/p/gwt-rcharts/
and
http://www.gwt-charts.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.
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 ....
--
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.
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);