constructing a graph

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Yoni Almog

constructing a graph

Post by Yoni Almog » Fri Sep 15, 2000 5:31 pm

Hi,
I have just started to work with JFreeChart version 0.54.
I have followed the installation of constructing a graph.
I am kind of new in java so i don't know what you meant by :
"Then you are free to add myChartPanel to your user interface just as you
would add any other component."

I am using Jbuilder and I have a frame but i don't know how to put the graph
on the that frame.

Can you help?

Thanks

Yoni Almog
yalmog99@netvision.net.il

Bill Pfeiffer

RE: constructing a graph

Post by Bill Pfeiffer » Sat Sep 16, 2000 4:51 am

If you are using swing:

yourFrame.getContentPane().add(myChartPanel);

HTH,

Bill Pfeiffer

Post Reply