using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp6
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.Form1_Paint(null,null);
}
private void Form1_Paint(object sender , PaintEventArgs e)
{
string[] month = new string[12] { "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" };
int [] d = new int[12] { 20,60,10,15,30,70,50,85,70,30,20,45 };
Point[] curvepoints = new Point[12];
//画图初始化
Bitmap bMap = new Bitmap(500,500);//bitmap位图,在内存上申请了一块放置图片区域
Graphics gph
GUI绘制折线图
最新推荐文章于 2024-03-20 04:48:00 发布