Example #1
0
        /// <summary>
        /// Adds given y value to an internally stored generic List of DataPoint and displays it
        /// </summary>
        /// <param name="y">Value to be plotted</param>
        /// <param name="StartAt">X value of the first element</param>

        public void Add(double y, int StartAt)
        {
            AutoIncrementedDataPoints.Add(new DataPoint(AutoIncrementedDataPoints.Count + StartAt, y));
            this.SetPoints(AutoIncrementedDataPoints);
        }
Example #2
0
 public void ResetAll()
 {
     AutoIncrementedDataPoints.Clear();
     PointMarks.Reset();
     Polyliner.Reset();
 }