Exemple #1
0
 /// <summary>
 /// Removes all data points from the sample.
 /// </summary>
 public void Clear()
 {
     if (isReadOnly)
     {
         throw new InvalidOperationException();
     }
     else
     {
         xData.Clear();
         yData.Clear();
     }
 }
Exemple #2
0
 /// <summary>
 /// Removes all points from the time series.
 /// </summary>
 public void Clear()
 {
     data.Clear();
 }