public void Clear() { values = new TimestampedBuffer <double[]>(capacity); lastWrite = DateTime.MinValue; }
private TimestampedBuffer <double[]> values; // circular data buffers public PlotData(int interval, int capacity) { this.interval = interval; this.capacity = capacity; values = new TimestampedBuffer <double[]>(capacity); }