Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / browser / resources / media / data_series.js
index 8947492..adf4c2a 100644 (file)
@@ -76,6 +76,9 @@ var TimelineDataSeries = (function() {
       this.color_ = color;
     },
 
+    getCount: function() {
+      return this.dataPoints_.length;
+    },
     /**
      * Returns a list containing the values of the data series at |count|
      * points, starting at |startTime|, and |stepSize| milliseconds apart.