public GraphDataCollection(GraphCtrl.GraphData[] value) { AddRange(value); }
public int Add(GraphCtrl.GraphData value) { return base.List.Add(value); }
public GraphData(List<int> value, Color color, Color colorGradient, string text, GraphCtrl.eGraphType graphType) { _value = value; _color = color; _text = text; _colorGradient = colorGradient; _graphType = graphType; }
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; }
public int IndexOf(GraphCtrl.GraphData value) { return base.List.IndexOf(value); }
public void Remove(GraphCtrl.GraphData value) { base.Capacity--; base.List.Remove(value); }
public int IndexOf(GraphCtrl.GraphData value) { return List.IndexOf((object)value); }
public bool Contains(GraphCtrl.GraphData value) { return base.List.Contains(value); }
public bool Contains(GraphCtrl.GraphData value) { return List.Contains((object)value); }
public void CopyTo(GraphCtrl.GraphData[] array, int index) { List.CopyTo((Array)array, index); }
public void AddRange(GraphCtrl.GraphDataCollection value) { for (int index = 0; index < value.Count; ++index) Add(value[index]); }
public void AddRange(GraphCtrl.GraphData[] value) { for (int index = 0; index < value.Length; ++index) Add(value[index]); }
public int Add(GraphCtrl.GraphData value) { return List.Add((object)value); }
public void AddRange(GraphCtrl.GraphData[] value) { for (int i = 0; i < value.Length; i++) { Add(value[i]); } }
public void Insert(int index, GraphCtrl.GraphData value) { List.Insert(index, (object)value); }
public void AddRange(GraphCtrl.GraphDataCollection value) { for (int i = 0; i < value.Count; i++) { Add(value[i]); } }
public void Remove(GraphCtrl.GraphData value) { --Capacity; List.Remove((object)value); }
public void CopyTo(GraphCtrl.GraphData[] array, int index) { base.List.CopyTo(array, index); }
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; }
public void Insert(int index, GraphCtrl.GraphData value) { base.List.Insert(index, value); }
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; }
public GraphDataEnumerator(GraphCtrl.GraphDataCollection mappings) { temp = mappings; baseEnumerator = temp.GetEnumerator(); }
public GraphData(List<int> value, Color color, GraphCtrl.eGraphType graphType) { _value = value; _color = color; _graphType = graphType; }