DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Plot Chart from a Txt file (http://www.daniweb.com/forums/thread158759.html)

Ezzaral Nov 21st, 2008 5:29 pm
Re: Plot Chart from a Txt file
 
There is a bar chart demo file in the source\org\jfree\chart\demo directory of JFreeChart.

jorgeflorencio Nov 21st, 2008 6:42 pm
Re: Plot Chart from a Txt file
 
Quote:

Originally Posted by Ezzaral (Post 741685)
There is a bar chart demo file in the source\org\jfree\chart\demo directory of JFreeChart.

thank you once again....

my problem is allways with the collectage of the data from the txt file....

thank you

Ezzaral Nov 21st, 2008 6:55 pm
Re: Plot Chart from a Txt file
 
You already have the basic part of that in place. Read each line of the file, use split() to separate the elements, then add that pair of values to your series for the chart.


All times are GMT -4. The time now is 3:34 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC