Welcome to Dream.In.Code
Become a Java Expert!

Join 149,719 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 2,270 people online right now. Registration is fast and FREE... Join Now!




Java Pie Graph

 
Reply to this topicStart new topic

Java Pie Graph

baseballstud154
13 Feb, 2007 - 01:00 PM
Post #1

New D.I.C Head
*

Joined: 1 Nov, 2006
Posts: 18


My Contributions
Can anyone give me a link to a place where I could find sample source code or snipets that allows a user to input any amount of numbers and then creates a pie graph?

Thanks
User is offlineProfile CardPM
+Quote Post

sreedharsanni
RE: Java Pie Graph
13 Feb, 2007 - 01:36 PM
Post #2

New D.I.C Head
Group Icon

Joined: 23 Jan, 2007
Posts: 20


Dream Kudos: 100
My Contributions
there are some open source charting and reporting tools if you want to use. insteadof developing from scratch..

http://www.java-source.net/open-source/cha...g-and-reporting

User is offlineProfile CardPM
+Quote Post

ajwsurfer
RE: Java Pie Graph
15 Feb, 2007 - 12:28 PM
Post #3

D.I.C Regular
Group Icon

Joined: 24 Oct, 2006
Posts: 298



Thanked: 2 times
Dream Kudos: 50
My Contributions
These examples have to run in Tomcat or another Java web server.
http://homepage.ntlworld.com/richard_c_atkinson/jfreechart/
User is offlineProfile CardPM
+Quote Post

ajwsurfer
RE: Java Pie Graph
15 Feb, 2007 - 12:36 PM
Post #4

D.I.C Regular
Group Icon

Joined: 24 Oct, 2006
Posts: 298



Thanked: 2 times
Dream Kudos: 50
My Contributions
I think that the JCharts at http://jcharts.sourceforge.net/ from the site that
sreedharsanni has suggested is easier to implement, as it does not appear to require a web application to use it.
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Java Pie Graph
15 Feb, 2007 - 12:53 PM
Post #5

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,250



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
I wrote some simple pie-chart-related classes for about a year and a half ago. If you're interested in how I implemented them, let me know. By the way - is this a school project?
User is offlineProfile CardPM
+Quote Post

baseballstud154
RE: Java Pie Graph
16 Feb, 2007 - 08:45 AM
Post #6

New D.I.C Head
*

Joined: 1 Nov, 2006
Posts: 18


My Contributions
yes it was a school project but I have already completed it and submitted it. But it would be nice to see how you did it and compair it to what I turned in. Thanks
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Java Pie Graph
16 Feb, 2007 - 09:20 AM
Post #7

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,250



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
QUOTE(baseballstud154 @ 16 Feb, 2007 - 10:45 AM) *

yes it was a school project but I have already completed it and submitted it. But it would be nice to see how you did it and compair it to what I turned in. Thanks

I've attached my chartObjects package form that project. Looking at the code again, I realize that there are some things I would have done differently. But in the last 1.5 years (sine I created them) I've learned a lot, so I'd be surprised if I didn't see some things to change.

Edit: I've removed some of the code which is dependent on my other packages. There are some I'm leaving in and uploading the class or interface, in case you want to try it out.

This post has been edited by alcdotcom: 16 Feb, 2007 - 09:37 AM


Attached File(s)
Attached File  charts.zip ( 7.05k ) Number of downloads: 63
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 04:48AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month