topn3dpie.aspx.cs
-----------------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using System.IO;
namespace Yeefly
{
/// <summary>
/// Graph 的摘要說明。
/// </summary>
public class topn3dpie : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
Response.ContentType = "image/jpeg";
const int width = 300, height = 300;
int x = 30, y = 50;
int pieWidth = 120, pieHeight = 40, pieShadow = 15;
int[] arrVote = {70,90,80,20,60,40};
Random oRan = new Random();