C# ZedGraph实时多条曲线数据更新实例 先看展示效果 1.创建曲线实例添加必要的元素 1 public class LineChannel 2 { 3 public LineChannel( int id, int number, string name, string type, bool selected,Color lineColor, int lineWidth) 4 { 5 this .id = id; 6 this .number = number; 7 this .name = name; 8 this .type = type; 9 this .selected = selected; 10 this .lineColor = lineColor; 11 this .lineWidth = lineWidth; 12 } 13 14 private int id; 15 private int number; 16 private string name; 17 private string type; 18 private bool selected; 19 private Color lineColor; 20 private int lineWidth; 21 22 23 public int ID 24 { 25 get { return this