Can someone help me..i want to make pie graph...like graph in which will be disribute circle according to values
posted 14 years ago
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.