JFreeChart is available for download at www.jfree.org/jfreechart/. The single downloaded file contains several JAR files for JFreeChart. Once the downloaded file is uncompressed to the directory of your choice, the classpath of any application using JFreeChart needs to point at least to the jfreechart-1.0.5.jar and jcommon-1.0.9.jar files. You can handle this by adding these JAR files to your favorite IDE's project. For building and running outside of an IDE, Java SE 6 allows wildcards to be used for specifying JARs in classpaths, so the JARs in the JFreeChart lib directory can all be included with a single *.jar expression in the classpath. Other than uncompressing the distribution file and pointing your application's classpath at the appropriate JFreeChart JAR files, no significant installation effort is required.
We used JFreeChart-provided constants several times in our examples. These can be conveniently located at www.jfree.org/jfreechart/api/javadoc/constant-values.html. Review of these constants provides insight regarding JFreeChart default values and settings.
Can someone tell me how to change samples of series color in legend in jfreechart. What I have now is small line of series color eg:
I would like to have square sample of those colors. Here is an example
caa09b180b