Update Jfreechart in swing

Hi
I have created an XYGraph using JFreeChart in swing and when the user Clicks on the graph i want the dataset to be updated and redraw the graph.
Can anybody give me sample code to do this , it would be really appreciated.
Thanks
Swarna
swarnagorrepatiAsked:
Who is Participating?
 
Mayank SAssociate Director - Product EngineeringCommented:
How about the PDF?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I haven't worked hands-on with JFreeChart but hopefully you'll find it in the tutorials:

http://www.object-refinery.com/jfreechart/guide.html 

http://net.pku.edu.cn/~shenjian/documents/Java/jfreechart_tutorial.pdf 
0
 
swarnagorrepatiAuthor Commented:
Thanks for those links
But the Jfreechart guide is not an open source file and so i was looking for some sample code.
Thanks anyway mayanleagle

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.