};
/**
- * Converts a series to a Point array.
+ * Converts a series to a Point array. The resulting point array must be
+ * returned in increasing order of idx property.
*
* @param {!Array.<[!number,?number,?]>} series The series in the unified
* data format where series[i] = [x,y,{extras}].
* data format where series[i] = [x,y,{extras}].
* @param {!number} rollPeriod The number of points over which to average the data
* @param {!DygraphOptions} options The dygraph options.
- * TODO(danvk): be more specific than "Array" here.
* @return {!Array.<[!number,?number,?]>} the rolled series.
*/
handler.prototype.rollingAverage = function(series, rollPeriod, options) {
* all values were type number, with few edge cases, none of which were strings.
* @param {?number} val
* @return {number}
+ * @protected
*/
handler.parseFloat = function(val) {
// parseFloat(null) is NaN