using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
//数据/月份
public ArrayList arrData=new ArrayList();
public ArrayList arrMonth=new ArrayList();
//定义幕布高宽
private int iCanvasWidth=400;
private int iCanvasHeight=300;
//x轴的间距
private int iX=30;
//y轴间距
private int iY=15;
public void InitArray()
{
for(int i=0;i<6;i++)
arrMonth.Add(i+1);
arrData.Add(200);
arrData.Add(180);
arrData.Add(285);
arrData.Add(290);
arrData.Add(275);
arrData.Add(350);
}
// //pen 画线
// Pen myPen = new Pen(Color.Black);
// Graphics g = this.CreateGraphics();
// g.DrawEllipse(myPen, 20, 30, 10, 50);
//
// Graphics g1 = this.CreateGraphics();
// SolidBrush myBrush = new SolidBrush(Color.Red);