File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes help regarding pie graph Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "help regarding pie graph" Watch "help regarding pie graph" New topic
Author

help regarding pie graph

Aayush Patel
Greenhorn

Joined: Apr 26, 2001
Posts: 21
Can someone help me..i want to make pie graph...like graph in which will be disribute circle according to values
Greg Harris
Ranch Hand

Joined: Apr 12, 2001
Posts: 1012
i wrote a similar program in c++ last year... it was supposed to display a regular clock with an hour hand and a minute hand. i will have to send the code when i get home tonight, but here is the idea:
first draw the circle and then draw a line from the center point to a point on the circumference of the circle. i cannot remember the exact formula at the moment, but it has something to do with the (pi * radius ^2) formula.
if you do not have an answer by the time i get home then i will send you that part of my code.


what?
Stephanie Grasson
Ranch Hand

Joined: Jun 14, 2000
Posts: 347
Aayush,
You could try something like this:

Hope this helps.
Stephanie
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: help regarding pie graph
 
Similar Threads
JDBC
problem with kavachart
FOP query
WA #1.....word association
WA #2 ..... word association