ZedGraph 控件使用示例源代码 //文件名:Form1
cs using System; using System
Collections
Generic; using System
ComponentModel; using System
Data; using System
Drawing; using System
Linq; using System
Text; using System
Windows
Forms; using ZedGraph; namespace ZedGraphTest { public partial class Form1 : Form { int test = 6; public static PointPairList list_AWT = new PointPairList(); public static PointPairList list_runEff = new PointPairList(); LineItem myCurve; private static int num = 1; public double[] getArrvalues() { double[] arr = { 100, 135, 115, 125, 75, 120 }; arr[0] += num; arr[1] += num * 2; arr[2] += num * 3; arr[3] += num * 4; arr[4] += num * 5; arr[5] += num * 6; num++; return arr; } public Form1() { InitializeComponent(); // zedGraphControl1 // this
zedGraphControl1
Location = new System