Drawing a Pie Chart

SUMMARY

In this chapter we discussed how to use GDI+ drawing functionality in Web applications. We started by discussing the basic process of drawing graphics shapes and images on the Web using ASP.NET and GDI+. After that we discussed the drawing process for Web applications, and how it differs from the Windows drawing process.

Next we introduced ASP.NET and how to write a simple ASP.NET application using a text editor or Visual Studio .NET. Then we discussed how to draw simple graphics objects such as lines, curves, rectangles, and images on the Web. After drawing simple graphics objects, you learned how to set the quality and transparency of images.

At the end of the chapter we saw line chart and pie chart applications, as real-world examples of GDI+ on the Web.

Performance is a major factor that developers worry about when dealing with graphics. Chapter 13 is dedicated to GDI+ performance. In it, we will discuss how to optimize GDI+ applications for the best performance.

Категории