I am doing some stuff with gwt, Now i need to draw charts. Actually pie chart and line chart.
Is there any library for chart which works well with gwt?
Check out Google API Libraries for Google Web Toolkit. There you will find a link to Google Chart Tools
There is also OFCGWT chart widget for GWT based on Open Flash Chart 2. Here is its demo
Except this you can check out these:
charts4j
clientsidegchart
RaphaelJS GWT wrapper, there is also one called raphaelGWT which is not developed actively.
I've already use Google Charts, and I preffer
GWT-HighCharts you can see why checking it showcase.
Check out http://code.google.com/p/gwt-rcharts/ and its demo at http://gwt-rcharts.appspot.com/ with code snippets on how to use it, which is quite easy.
Related
Currently I am using Google Charts with Google Web Toolkit but I wanted to explore other options for graphing. I looked into jGraph and the gwt extension mxgraph but that seems to only support actual graphs for flowcharts/diagraming?
Is there any other library (other than Google charts) that I can use to visually show line/pie graphs?
Thanks
Please have a look at high level visualization charts
http://www.moxiegroup.com/moxieapps/gwt-highcharts/
And wonderful showcase here
http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/
Hope that helps.Good luck.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is the best open-source java charting library? (other than jfreechart)
In my web application I need to present some charts. I create class where I used JFreeChart library, but this library is desktop library. I need some free web library. Can you help me?
Try the Google Chart Tools; the simple web service interface is easily usable via JavaScript for live graphics and the Google Chart API is great for Java (and other languages) for static images.
You can create chart for your web application by using JFreeChart as well. For more details go to following link:
http://himtech-spring.blogspot.com/2012/07/spring-mvc-with-jfreechart.html
You can also create chart for web application using Google chart API. For this you need to construct an URL and send it to Google chart server for generating chart.
Click here for Google chart integration with SpringMVC implementation
gRaphäel provides charts with a JavaScript API.
You can use kava charts in java. You can refer this link: http://www.kavachart.com/documentation/index.html
Server side
JFreeChart can be used in web applications as well. Simply create a servlet that returns a chart rendered as PNG
Client side
Google Chart Tools - easy way to generate charts by crafting URLs
Various JavaScript charting libraries, with jqPlot and HighCharts being my favourite
I can't find a library which will produce good looking 3d pie charts for the iphone?
I had a look at the core plot wiki and their pie didn't look that good...
There's an open-source class called BNPieChart available in the moriarty library which can produce pie charts like this:
(source: bynomial.com)
And also much smaller versions of course. There's a post about it here.
Besides NBPieChart proposed above, have a look at XYPieChart it is a really good open source pie chart that looks very nice, are extremely simple, and contains animation for adding slices. Look at the screenshot of the demo project included:
There's also Fusion Charts, which is now HTML5. http://www.fusioncharts.com/
Core Plot has been recommended in other postings here on stackoverflow. It supports many standard data visualizations, including pie charts.
The Google Chart API is pretty good/popular.
http://code.google.com/apis/chart/ You will need a network connection though.
If you want iOS native charting library you should check ShinobyControls.
If you want web-based, and also amazingly good charting library, maybe HighCharts is the way to go.
I'm looking for a stand-alone Pie Chart which I can use in a GWT application. The Chart should be interactive, so that I can react on user input (read mouse clicks on the chart).
I've already looked at Google Chart Tools with GWT Visualization. This is exactly what I want. A simple to use PieChart class with user interaction and a simple and comprehensive data input. Except that the data is transfered to Google for the rendering part. The data should not leave the client or our server.
Have you tried Fusion Charts? Here's the Pie Chart showcase. Its a Flash object hence you will need to use JSNI to embed the object into your widget or use a library like GWT2SWF to do it for you.
I have used Fusion Charts + GWT2SWF combination in one of my products, and would recommend it to anyone looking for a interactive flash charting tool (outside of google's toolset)
A colleague of mine found following library: GChart. Rather then using Flash we'll try to draw our own. Not sure how easy this will be.
You mentioned:
"The Data should not leave the server"
With Google visualization APIs (as opposed to the chart apis) the data remains on your server, only the code is downloaded from google.
However, if you meant that you shouldnt need access to google at all, then GCharts is the only remaining and a pretty good option.
Check out GWT-RCharts hosted on http://code.google.com/p/gwt-rcharts/ . It is stand alone i.e doesn't have external dependency like Visualization. The API works on SVG/VML specification so no plugin dependency. You may find it quite easy to install, implement and use. You can find the demo at http://gwt-rcharts.appspot.com/
Is there any library in gwt that will create grid chart, something similar to this : http://www.eyescience.com/images/vision/amsler_grid.gif.
Thank you.
Look at the following url.I think google visualization api will be useful for your case(try Scatter chart).
http://code.google.com/apis/visualization/documentation/gallery.html
http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=VisualizationSampleApplications
http://code.google.com/p/ofcgwt/
If you are considering restricting yourself to browers that support Canvas, GWT has experimental support for that.
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/canvas/client/Canvas.html
Here's a nifty demo:
http://code.google.com/p/gwtcanvasdemo/