code: function CounterSeries(name, color) {
      tr.model.EventContainer.call(this);
  
      this.name_ = name;
      this.color_ = color;
  
      this.timestamps_ = [];
      this.samples_ = [];
  
      // Set by counter.addSeries
      this.counter = undefined;
      this.seriesIndex = undefined;
    }
docs: A container holding all samples of a given measurement over time.
  
  As an example, a counter series might measure the throughput of data sent
  over a USB connection, with each sample representing the instantaneous
  throughput of the connection.
  
  @constructor
  @extends {EventContainer}