dcsimg
Creating a Graph in Applet using Swing
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Domenick_Lacertosa
Posted On:   Monday, June 26, 2006 04:51 PM

I have written an applet that displays a line graph. The tricky part was that the graph updates every second and the labels for each tick change as well. I used drawString and drawLine to accomplish everything, and it is a bit cumbersome.



I was wondering if someone could give me a head start using the swing library to create the graph and the labels for each tick on the axes. Any help would be appreciated since I'm new to Applets and Swing. Thanks in advance.

Re: Creating a Graph in Applet using Swing

Posted By:   WarnerJan_Veldhuis  
Posted On:   Tuesday, June 27, 2006 02:11 AM

You can take a look at http://www.jfree.org/jfreechart/. It's close to being the best (free one) around../
About | Sitemap | Contact