PKay
PKay

Reputation: 433

JFreeChart for dynamic xy plots in java swing gui application

Has anyone worked with JFreeChart-open source library for plotting xy plots?

Could someone post an example of how to create an xy plot dynamically with the x and y values generated from the program?

And where can i get a turorial doc or something of that kind to know about how to use the JFreeChart for developing applications?

Thanks in advance..

Upvotes: 3

Views: 23680

Answers (3)

Brian Agnew
Brian Agnew

Reputation: 272217

This is a sizeable set of JFreeChart examples, including source code for each example. There's a set of XY-chart examples. I did pay for the manuals some time ago, but in fact the examples above are sufficient to get you where you want to be.

Note that JFreeChart claims not to be suitable for fast dynamic updating, although in practice I've never found any problems with this.

Upvotes: 6

butterchicken
butterchicken

Reputation: 13883

Have you tried looking at the JFreeChart demos? See here.

If you find a sample that suits what you want to do, searching for the name of the demo in Google often pulls up the demo source code from (for example) Koders: PieChartDemo1.java

Upvotes: 3

KV Prajapati
KV Prajapati

Reputation: 94625

I hope, the following links will help you,

Jfree chart sample

Swing Sightings Volume 7

Upvotes: 2

Related Questions