/// <summary> /// Adds the range. /// </summary> /// <param name="value">The value.</param> public void AddRange(LineCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { Add(value[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="LineGraph"/> class. /// </summary> /// <param name="width">The width.</param> /// <param name="height">The height.</param> public LineGraph(int width, int height) : base(width, height) { lineCollection = new LineCollection(); xAxisTextCollection = new XAxisTextCollection(); phaseLines = new XAxisTextCollection(); trendLine = new Line(); trendLine.Width = 2.0F; MarginForTextOnAxis = 10; }
/// <summary> /// Initializes a new instance of the <see cref="LineGraph"/> class. /// </summary> /// <param name="size">The size.</param> public LineGraph(Size size) : base(size) { lineCollection = new LineCollection(); xAxisTextCollection = new XAxisTextCollection(); phaseLines = new XAxisTextCollection(); trendLine = new Line(); trendLine.Width = 2.0F; MarginForTextOnAxis = 10; }
/// <summary> /// Initializes a new instance of the <see cref="LineCollection"/> class. /// </summary> /// <param name="value">The value.</param> public LineCollection(LineCollection value) { AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="LineEnumerator"/> class. /// </summary> /// <param name="mappings">The mappings.</param> public LineEnumerator(LineCollection mappings) { temp = ((IEnumerable)(mappings)); baseEnumerator = temp.GetEnumerator(); }