Category: Multimedia/Graphic/Graphic-Others
Pie Chart
Download: http://download.softpedia.com/dl/7cda40741259c9a2be261cb025e78fca/4b84744d/100151960/software/multimedia/graphic/PieChart_demo.zip
Operation System: Windows All License: Size: 23 KB Date: 2010-02-24 01:16:20
The Pie Chart application was developed to be a small tool that uses the pie chart class library for drawing 3D pie charts. The initial idea was to create a utility class / class library that could be used for drawing 3-D pie charts. At first, this seemed quite simple, since there is a DrawPie method already available in the Graphics class. This method accepts start angle and sweep angle as arguments, so it should not be a problem to use it: just sum up all values and then calculate the portion for each one, converting it to sweep angle for the corresponding pie slice. And this works for a circular chart. However, if you want to add 3-D perspective (i.e., if a chart is drawn with an ellipse shape) this approach will result in an impression of varying values, as demonstrated in the figure below: pie slices at the left and right side appear larger than those up and down, although all of them have the same sweep angle.
www.cracksdata.com/get.php?id=48767
|