Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes Dynamic Graph Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dynamic Graph" Watch "Dynamic Graph" New topic
Author

Dynamic Graph

J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
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

Joined: Jul 13, 2001
Posts: 3150
Is SVG is good option for you,if so visit fop.apache.org for FOP
something like DB-XML-FO-SVG.
Regards
Balaji


Spritle Software Blogs
David Gilbert
Ranch Hand

Joined: Jun 01, 2002
Posts: 42
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

Joined: Feb 20, 2001
Posts: 3695

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

Joined: Nov 04, 2001
Posts: 1871
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

Joined: Mar 29, 2001
Posts: 52
yeah thanks for your help all.
a charting paackage in an applet with servlets sounds like an interesting combination.
Joe
Jaume Sola
Greenhorn

Joined: Jan 21, 2003
Posts: 14
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic Graph
 
Similar Threads
Creating graphs in java
Regarding jfreechart
Graphs
showing graphs
Java Graphs