Examples to get started

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mork
Posts: 10
Joined: Wed Dec 06, 2006 1:39 pm

Examples to get started

Post by mork » Wed Dec 06, 2006 1:42 pm

Hello,

I'm interested in creating a "simple" (?) X-Y graph with connected line segments for a series of (X,Y) pairs. I would like to have two lines for two different groups of (X,Y) pairs, and a background image "behind" the graph.

Is this doable with JFreeChart? Is this straightforward with JFreeChart?

Does the JFreeChart manual you purchase have a tutorial approach - that is - examples of how to do each graph or does it focus on the API (or both?).

I don't see any (free) examples of how to do a simple graph like the one I want to do.

Thanks in advance for any replies or suggestions.

-- M

angel
Posts: 899
Joined: Thu Jan 15, 2004 12:07 am
Location: Germany - Palatinate

Post by angel » Wed Dec 06, 2006 2:18 pm

I'm interested in creating a "simple" (?) X-Y graph with connected line segments for a series of (X,Y) pairs. I would like to have two lines for two different groups of (X,Y) pairs, and a background image "behind" the graph.
:?: line segments :?: two lines for two different groups of (X,Y) pairs :?:
Maybe you post a simple picture.
I don't see any (free) examples of how to do a simple graph like the one I want to do.

There are three free demos; the majority is in the demo application. Have you checked it?

mork
Posts: 10
Joined: Wed Dec 06, 2006 1:39 pm

Post by mork » Wed Dec 06, 2006 2:28 pm

What I meant by line segments with X.Y pairs was just this: if you have X1, Y1, X2, Y2, ...., then you would have a line graph connecting the Y points (over each X point). I'd like to have two lines.

No, I haven't checked the demo app, I'll do that now.

Thanks.

-- M

Locked