Could someone please recommend a simple (as in very easy to understand) charting library for Java?
I just want to add a simple chart into my program and figured I might save some time by learning a library.
Could someone please recommend a simple (as in very easy to understand) charting library for Java?
I just want to add a simple chart into my program and figured I might save some time by learning a library.
JFreeChart is one of the best open source charting packages for java.
A litte outdated, but still working and with free documentation (JFreeChart has just the API for free, the devguide is saled) is jCharts.
A sample code for Swing is available here, if you don't need anything fancy or special it may be easier than JFreeChart because of the direct available documentation.
JFreeChart is definitely the way to go. Although the (for-sale) manual is useful if you're doing a huge amount of work using this, it's instructive in the first instance to check out this huge selection of examples (screenshots and code). That will get you 90% of what you need.