Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Graph

 
J Hartley
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to be able to produce dynamic graphs in a browser from data held on the server.
I was wondering if anyone could suggest some possible architectures and products( preferably free and open source ).
I could create a servlet myself that gets data via jdbc and outputs a graph as a gif, but I dont want to re-invent the wheel and would like something a bit more advanced/interactive/flashy.
Thanks For Your Help,
Joe
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is SVG is good option for you,if so visit fop.apache.org for FOP
something like DB-XML-FO-SVG.
Regards
Balaji
 
David Gilbert
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If by 'graphs' you are referring to charts then try JFreeChart:
http://www.object-refinery.com/jfreechart
If you mean 'graphs' with nodes and vertices then try JGraph:
http://www.jgraph.org
Regards,
Dave Gilbert
www.object-refinery.com
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or...

If you wanted something REALLY simple, like a bar graph...

log in to your hotmail account, and view the source of that page. Check out how they do the little green bar that shows you how much of your inbox is being used.
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applet/Servlet communication also might be one potential solution. As Applet would be powerful to use graphics than HTML graphics...

i hope i understood the question correctly...
regards
maulin
 
J Hartley
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah thanks for your help all.
a charting paackage in an applet with servlets sounds like an interesting combination.
Joe
 
Jaume Sola
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See RChart: http://www.java4less.com and click on "RChart".
It has the following advantages:
- very reasonable price (starting at $24)
- Documentation , support and online-tutorial are included in the price.
- Works as applet, servlet or bean.
- It works with java 1.1 also
- Supports more than 18 types of charts andhas interactive features (zoom,tips,scroll,html
links)
- Includes RChart Visual Builder (almost no programming)
- Can read data from database.
- source code is available can be freely modified for commercial applications also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic