I've been asked to enhance a JSP Application with (And I quote) "Some Sexy Graphs" I did a quick search on SO and came up with this question which mentions several graphing solutions, however given that this is a Web application I was wondering if there were any good graphing libraries that can render the graphs client side using JQuery or some such?
Otherwise, has anyone who has used JFreeChart to produce charts for the Web got any pointers.
This is the first time I've done Any JSP (I've done some Java and Have done a bit of ASP.Net) so Any pointers would be appreciated.
Are you looking for a graph or a chart library? JFreeChart is great for charts. Touchgraph is great for graphs.
Touchgraph:
www.touchgraph.com
Look at this example:
http://www.touchgraph.com/TGGoogleBrowser.html
You could also use google's charting engine:
http://code.google.com/apis/chart/
Related
Is there a way to implement good design graphs in java?
I come from web front end, and I'd like to create graphs with amazing style effect in java - Just like how I would do in javascript and CSS?
Something like this:
You can take a look to those libs:
JfreeChart
JavaFX
I can miss some others.
I built a month ago an J2EE app (with servlet and JSP page) and I had to deal with charts and honestly I dropped the idea of doing it in Java. The reason? The difficulty of finding a good API/lib and the poor documentation of these.
I personally chose to use AngularJS and my data are produced with a Java program (NOT telling you that's the best method).
My charts are made with Zingchart. I found it very powerful due to the fact that the charts can be made from JSON (easy to make in Java).
Hope I helped you.
I am trying to make a GWT based web application which will be able to show 3D model from PTC Creo's .stp (STEP file). I am programming in Eclipse.
I started with Parallax3D framework, and I am able to make simple objects. But I'm stuck with how to parse the .stp file and make objects from that.
Later I saw that there is plenty of other tools for 3D on Web. There are "gwt-g3d", "gwtgl", "gwto3d",....
I also found JSDAI API, which should be able to parse .stp files. With very limited examples I couldn't manage to do anything usefull.
I am lost with all those things. Which path should I take?
Has anyone done that before OR is there a simpler opensource solution for that?
Thank you.
You could use the NIST STEP File Analyzer (free but not open source) to convert the STEP file to VRML/X3D. Three.js based frameworks can then view the VRML/X3D. If you want a completely open source solution, you need something to transform the STEP file, which often contains NURBS trimming that three.js lacks, to a tesselated form. FreeCAD, pythonOCC, node-occ or the underlying OpenCasCade can transform STEP to a mesh form.
I asked the same question on google developer forum, looking for clear direction for the same.
I am working on a project to get meaning of English word. And Google search engine provides result comprehensively. I would like to have those results (meaning of words, it's synonym, audio source from gstatic, usage graph since 1800, etc...) as input to my program for further processing. Is Custom search engine has exposed API or Google have explicit API for this? Earlier i thought of screen scraping, but it would be much easier if Google provide API for this as well.
Thanks in Anticipation.
Check out Wikitionary
Wiktionary (whose name is a blend of the words wiki and dictionary) is
a multilingual, web-based project to create a free content dictionary
of all words in all languages. It is available in 172 languages and in
Simple English. Like its sister project Wikipedia, Wiktionary is run
by the Wikimedia Foundation, and is written collaboratively by
volunteers, dubbed "Wiktionarians". Its wiki software, MediaWiki,
allows almost anyone with access to the website to create and edit
entries.
You can access their data using the MediaWiki API, no need to scrape google search results.
I'm looking for a way to draw state-transition diagrams in my JSF2 project.
I would like to be able to load state and transition data and transform them in a graph that can be displayed on my web page.
I haven't found a way to do that yet. Charts available with Primefaces or MyFaces projects (I'm using the 1st one) are dedicated to statistics. In addition, it's probably possible to do that in javascript but I didn't found any example of that in the Google's API's for example.
Any suggestion or help would be appreciated.
Thanks a lot.
Clément
I doubt there are components that display graphs using plain html, but you might look for a library that generates an image which you can display in your page. That library wouldn't necessarily be JSF specific though.
Edit: maybe JUNG might be of interest for you.
In addition PrimeFaces' dynaImage might help you with displaying the generated graph image.
I am interested in visualising data from dbpedia in flash but I am a little out of my depth technically...
I know a bit of actionscript, javascript and some php but I'm not familiar with SPARQL or java.
The documentation I can find on it is a little over my head.
I have a couple of questions before I totally ruling it out:
• Has anyone come across an example/tutorial for accessing dbpedia data through flash?
• Im a little hazy on how you work with dbpedia. Do you download the entire database or can you connect to a database on their server?
Any advice would be appreciated.
Thanks
You can download a lot of data here without needing to know SPARQL. It's in rdf triple format, but that should be relatively easy to parse and add to your own database. Or if you want to do focused queries, you can use the link that you found.
As far as visualization there are quite a few good libraries available in Flash/Javascript. In flash I recommend Flare. In Javascript the following are worth looking into:
Javascript InfoVis Toolkit
Protovis
Processing.js
You may want to check the DBpedia RelFinder [1]. It is an open source project [2] written in adobe flex that visualizes the relation between two DBpedia resources.
It connects to the DBpedia SPARQL Endpoint to retrieve information.
[1] http://relfinder.dbpedia.org/
[2] http://code.google.com/p/relfinder/