• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Charting - open source packages

 
Greenhorn
Posts: 26
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone recommend an open source charting package. My criteria are:

1. it must be easy to use and get going with ... rather than fancy
2. must be able to plot simple xy (point to point) line graphs
3. graph must be able to scroll left and right to display more of the data-set
4. must be able to plot multiple lines in different colors
5. gui rather than HTML

I hope someone can help. There are lots of hits when I do a Google search, but it takes ages to download trials/install/review each package/etc. I'm hoping a good recommendation can shortcut this tedious process.

Many thanks to anyoine who can help.

Regards,

Tom
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

A large number of packages are listed at http://java-source.net/open-source/charting-and-reporting That page also contains brief descriptions which may help you cut down on candidates.
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I use JFreeChart and am very happy with the results. I have not done your point 4, but I would be very surprised if it is not possible. Only downfall is that JFreeChart does not provide you with good example code. You have to pay for a manual, or go digging into the example code yourself (or try google). I am sure you are up to the challenge though, and it is quite simple.

Point 3 is probably more achieved by putting the graph (usually something on a JPanel) in a scrollable area by means of other Swing code. Not sure any package would support this out of the box but you could get lucky.

By the way Ulf, nice list. I have seen something that could be very useful to me at the moment.

Cheers, Jared.
 
Tommy Mato
Greenhorn
Posts: 26
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help guys. I am currently evaluating JFreeChart - it's looking like it's what I need.

Cheers, Tom
 
Those who dance are thought mad by those who hear not the music. This tiny ad plays the bagpipes:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!