Graphics g = e.Graphics;
Pen p = new Pen(Color.Red, 1);//上涨
Pen p1 = new Pen(Color.Green, 1);//下跌
int width = 600;
int height = 400;
g.DrawRectangle(p, 80, 80, width, height);
//k线开始
Font myFont = new Font(“微软雅黑”, 8);
//float angle = 20; //角度
float x = 0;
string begindate = null;
string jintian = DateTime.Now.ToShortDateString().ToString();
DataSet ds = null;
DataTable dt = null;
C#画K线实现纵轴价格和横轴日期动态变化
最新推荐文章于 2022-05-20 23:15:34 发布