How Do You Use jfreechart In A Java Program?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
GeorgeStevens
Posts: 1
Joined: Thu Sep 10, 2020 5:25 am
antibot: No, of course not.

How Do You Use jfreechart In A Java Program?

Post by GeorgeStevens » Thu Sep 10, 2020 5:30 am

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.

John Matthews
Posts: 500
Joined: Wed Sep 12, 2007 3:18 pm

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

Post by John Matthews » Sun Sep 13, 2020 2:55 am

Start with the demo programs.

MidKnight
Posts: 3
Joined: Tue Sep 15, 2020 5:27 pm
antibot: No, of course not.
Contact:

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

Post by MidKnight » Tue Sep 15, 2020 5:38 pm

You can do this in a whole bunch of ways.

You can follow this JFreeChart tutorial to do it the traditional way.

OR you could use JFreeChart along with JavaFX GUI framework (my preferred way of doing this). There are a couple of steps you'll need to clear before being able to do this, even if you know about JavaFX and JFreeChart. If you're interested, you use this setup guide.

Post Reply