Example #1
0
 public GraphDataCollection(GraphCtrl.GraphData[] value)
 {
     AddRange(value);
 }
Example #2
0
 public int Add(GraphCtrl.GraphData value)
 {
     return base.List.Add(value);
 }
Example #3
0
 public GraphData(List<int> value, Color color, Color colorGradient, string text, GraphCtrl.eGraphType graphType)
 {
     _value = value;
     _color = color;
     _text = text;
     _colorGradient = colorGradient;
     _graphType = graphType;
 }
Example #4
0
 public GraphData(List<int> value, System.Drawing.Color color, System.Drawing.Color colorGradient, string text, GraphCtrl.eGraphType graphType)
 {
     _value = new List<int>();
     _maxWidth = 15;
     _graphType = GraphCtrl.eGraphType.Line;
     _value = value;
     _color = color;
     _text = text;
     _colorGradient = colorGradient;
     _graphType = graphType;
 }
Example #5
0
 public int IndexOf(GraphCtrl.GraphData value)
 {
     return base.List.IndexOf(value);
 }
Example #6
0
 public void Remove(GraphCtrl.GraphData value)
 {
     base.Capacity--;
     base.List.Remove(value);
 }
Example #7
0
 public int IndexOf(GraphCtrl.GraphData value)
 {
     return List.IndexOf((object)value);
 }
Example #8
0
 public bool Contains(GraphCtrl.GraphData value)
 {
     return base.List.Contains(value);
 }
Example #9
0
 public bool Contains(GraphCtrl.GraphData value)
 {
     return List.Contains((object)value);
 }
Example #10
0
 public void CopyTo(GraphCtrl.GraphData[] array, int index)
 {
     List.CopyTo((Array)array, index);
 }
Example #11
0
 public void AddRange(GraphCtrl.GraphDataCollection value)
 {
     for (int index = 0; index < value.Count; ++index)
         Add(value[index]);
 }
Example #12
0
 public void AddRange(GraphCtrl.GraphData[] value)
 {
     for (int index = 0; index < value.Length; ++index)
         Add(value[index]);
 }
Example #13
0
 public int Add(GraphCtrl.GraphData value)
 {
     return List.Add((object)value);
 }
Example #14
0
 public void AddRange(GraphCtrl.GraphData[] value)
 {
     for (int i = 0; i < value.Length; i++)
     {
         Add(value[i]);
     }
 }
Example #15
0
 public void Insert(int index, GraphCtrl.GraphData value)
 {
     List.Insert(index, (object)value);
 }
Example #16
0
 public void AddRange(GraphCtrl.GraphDataCollection value)
 {
     for (int i = 0; i < value.Count; i++)
     {
         Add(value[i]);
     }
 }
Example #17
0
 public void Remove(GraphCtrl.GraphData value)
 {
     --Capacity;
     List.Remove((object)value);
 }
Example #18
0
 public void CopyTo(GraphCtrl.GraphData[] array, int index)
 {
     base.List.CopyTo(array, index);
 }
Example #19
0
 public void AddData(int series, int data, Color color, GraphCtrl.eGraphType graphType)
 {
     if (series >= this.dataCollection.Count)
         this.dataCollection.Add(new GraphCtrl.GraphData(new List<int>(data), color, graphType));
     this.dataCollection[series].Color = color;
     this.dataCollection[series].Value.Add(data);
     if (this.dataCollection[series].Value.Count > this.history)
         this.dataCollection[series].Value.RemoveRange(0, this.dataCollection[series].Value.Count - this.history);
     this.updateData = true;
 }
Example #20
0
 public void Insert(int index, GraphCtrl.GraphData value)
 {
     base.List.Insert(index, value);
 }
Example #21
0
 private List<Point> GetPointsZoom(GraphCtrl.GraphData graphData)
 {
     List<Point> list = new List<Point>();
     if (this.FrameZoom.Height != 0 && this.FrameZoom.Width != 0)
     {
         Point point = new Point();
         for (int index = 0; index < graphData.Value.Count; ++index)
         {
             int num = this.frameFull.Right - graphData.Value.Count + index;
             point.Y = this.workingArea.Bottom - this.workingArea.Height * (graphData.Value[index] - this.FrameZoom.Bottom) / this.FrameZoom.Height;
             point.X = this.workingArea.Right - this.workingArea.Width * (this.FrameZoom.Right - num) / this.FrameZoom.Width;
             list.Add(point);
         }
     }
     return list;
 }
Example #22
0
 public GraphDataEnumerator(GraphCtrl.GraphDataCollection mappings)
 {
     temp = mappings;
     baseEnumerator = temp.GetEnumerator();
 }
Example #23
0
 public GraphData(List<int> value, Color color, GraphCtrl.eGraphType graphType)
 {
     _value = value;
     _color = color;
     _graphType = graphType;
 }