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 Graphs in Java Standalone Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Graphs in Java Standalone Project" Watch "Graphs in Java Standalone Project" New topic

Graphs in Java Standalone Project

arul meh

Joined: Sep 19, 2009
Posts: 27

I have to plot line Graph in a stand alone Java project. Can somebody let me know, how can I do this ?

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46337
There are methods in the Graphics class which allow you to draw lines from an array of locations.

Moving to the Swing forum.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You could also look at JFreeChart

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: Graphs in Java Standalone Project
It's not a secret anymore!