How Do You Use jfreechart In A Java Program?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
GeorgeStevens123
Posts: 1
Joined: Thu Jan 07, 2021 6:31 am
antibot: No, of course not.

How Do You Use jfreechart In A Java Program?

Post by GeorgeStevens123 » Sat Jan 09, 2021 5:22 pm

Basically all I want to do is draw a simple graph. I downloaded jfreechart, but I don't know how to set it up for my java program. If anyone could help me out I would appreciate it.

Thanks.

david.gilbert
JFreeChart Project Leader
Posts: 11721
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: How Do You Use jfreechart In A Java Program?

Post by david.gilbert » Sun Jan 10, 2021 7:04 pm

There's some step-by-step instructions here:

https://jfree.github.io/jfreechart-and-opencsv/

And also the JFreeChart Developer Guide is useful for getting started - we sell that to support the project, it comes with source code for all the JFreeChart demos as well (you can run the demos by downloading the jar file from the link at the bottom of the samples page: https://www.jfree.org/jfreechart/samples.html).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited

Post Reply