Tag Archives: pie chart

Animate exploding 3-dimensional pie slices in C#

The example Draw 3-dimensional pie slices in C# shows how to highlight one or more 3-D pie slices by “exploding” them. This example draws even more attention to the exploded pie slices by animating their explosion. The program controls the … Continue reading

Posted in algorithms, animation, graphics, mathematics, multimedia | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Draw 3-dimensional pie slices in C#

The example Fill and draw pie slices in C# shows how to draw a normal pie slice. Drawing a three-dimensional pie slice is a little harder. This example draws a three-dimensional pie slice in five steps: Make two regular pie … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , , , , , | 4 Comments

Draw an annotated pie chart in C#

The example Draw a labeled pie chart in C# explains how to draw a pie chart with labeled slices. This example adds annotations attached to the slices by lines. The following code shows how the program draws, labels, and annotates … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , , , , | Leave a comment

Draw a labeled pie chart in C#

The example Draw a pie chart in C# shows how to draw a simple pie chart. This example adds labels to the pie slices. This example uses the following code to draw its pie chart. // Draw the pie chart. … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , , , | 1 Comment

Draw a pie chart in C#

This example shows how to draw a pie chart by using the techniques described in the post Fill and draw pie slices in C#. This example uses the following DrawPieChart method to draw a pie chart for an array of … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , , | 1 Comment

Fill and draw pie slices in C#

Of the many methods for filling and drawing shapes provided by the Graphics class, DrawPie and FillPie are two of the most confusing. These methods draw and fill elliptical pie slices. They take as parameters: A brush or pen indicating … Continue reading

Posted in geometry, graphics | Tagged , , , , , , , , , , | 2 Comments