# help regarding pie graph

Aayush Patel

Greenhorn

Posts: 21

Greg Harris

Ranch Hand

Posts: 1012

posted 14 years ago

- 0

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.

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?

I agree. Here's the link: http://aspose.com/file-tools |