摘要: public void draw(DataTable dt) { //取得记录数量 int count = dt.Rows.Count; //记算图表宽度 int wd = 80 + 20 * (count - 1); //设置最小宽度为800 if (wd < 600) wd = 600; //生成Bitmap对像 Bitmap img = new Bitmap(wd, 400); //生成绘图对像 Graphics g = Graphics.F... 阅读全文
posted @ 2013-07-13 11:09 忆森灵 阅读(400) 评论(0) 推荐(0) 编辑