function addDataSeriesPoints(
    peerConnectionElement, dataSeriesId, label, times, values) {
  var dataSeries =
    peerConnectionDataStore[peerConnectionElement.id].getDataSeries(
        dataSeriesId);
  if (!dataSeries) {
    dataSeries = new TimelineDataSeries();
    peerConnectionDataStore[peerConnectionElement.id].setDataSeries(
        dataSeriesId, dataSeries);
    if (bweCompoundGraphConfig[label]) {
      dataSeries.setColor(bweCompoundGraphConfig[label].color);
    }
  }
  for (var i = 0; i < times.length; ++i)
    dataSeries.addPoint(times[i], values[i]);
}
// each data point, and |values| is the list of the data point values.
each data point, and |values| is the list of the data point values.
each data point and |values| is the list of the data point values .
function addDataSeriesPoints(
    peerConnectionElement, dataSeriesId, label, times, values) {
  var dataSeries =
    peerConnectionDataStore[peerConnectionElement.id].getDataSeries(
        dataSeriesId);
  if (!dataSeries) {
    dataSeries = new TimelineDataSeries();
    peerConnectionDataStore[peerConnectionElement.id].setDataSeries(
        dataSeriesId, dataSeries);
    if (bweCompoundGraphConfig[label]) {
      dataSeries.setColor(bweCompoundGraphConfig[label].color);
    }
  }
  for (var i = 0; i < times.length; ++i)
    dataSeries.addPoint(times[i], values[i]);
}
function addDataSeriesPoints ( peerConnectionElement , dataSeriesId , label , times , values ) { var dataSeries = peerConnectionDataStore [ peerConnectionElement . id ] . getDataSeries ( dataSeriesId ) ; if ( ! dataSeries ) { dataSeries = new TimelineDataSeries ( ) ; peerConnectionDataStore [ peerConnectionElement . id ] . setDataSeries ( dataSeriesId , dataSeries ) ; if ( bweCompoundGraphConfig [ label ] ) { dataSeries . setColor ( bweCompoundGraphConfig [ label ] . color ) ; } } for ( var i = 0 ; i < times . length ; ++ i ) dataSeries . addPoint ( times [ i ] , values [ i ] ) ; }
each data point, and |values| is the list of the data point values.
each data point and |values| is the list of the data point values .