File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes How can i make Dynamic graph in java ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How can i make Dynamic graph in java ??" Watch "How can i make Dynamic graph in java ??" New topic

How can i make Dynamic graph in java ??

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have to make a dynamic graph in java .Is any class which help me in making
graph or I have to use a classical line trick for making a graph .I have to show a
network Bar graph .So plz any comments?
Ashish Hareet
Ranch Hand

Joined: Jul 14, 2001
Posts: 375
Hi Wasim,
No such class available in the core but you might wanna do a google search on JFreeChart - it's a freeware/open source API for drawing all sorts of graph.
Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
You might also want to look at:
It's a free component for graphing - though it's mostly used for diagram graphs.
Hope this helps,
G Estes
Ranch Hand

Joined: Oct 22, 2002
Posts: 62
JGraph is good, but there doesn't appear to be any layouts available. I'm having to place each vertice and edge individually, calculating it's postion each time...very tedious.
Any suggestions on this?
Thanks, Gil
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 832
Out of the JFreeChart zip file do I need everything that's in there if I were to use it? Also which directory/location should I put the files? Thanks. Appreciate any info/advice.

I agree. Here's the link:
subject: How can i make Dynamic graph in java ??
It's not a secret anymore!