code: function(ts, val) {
        var sample = new PowerSample(this, ts, val);
        this.samples_.push(sample);
        return sample;
      }
docs: Adds a power sample to the series and returns it.
  
  Note: Samples must be added in chronological order.