plotter.js
function apply_moving_filter(set, filter, n) {
  if (!_.isNumber(n)) { n = 3; }

  for (series in set) { /* For each series */
    /* Apply the filter */
    set[series] = filter(set[series], n);
  }

  return set;
}
function apply_moving_filter(set, filter, n) {
  if (!_.isNumber(n)) { n = 3; }

  for (series in set) { /* For each series */
    /* Apply the filter */
    set[series] = filter(set[series], n);
  }

  return set;
}
function apply_moving_filter ( set , filter , n ) { if ( ! _ . isNumber ( n ) ) { n = 3 ; } for ( series in set ) { /* For each series */ /* Apply the filter */ set [ series ] = filter ( set [ series ] , n ) ; } return set ; }
Applys an n-point moving filter to a set of series.
Applys an n - point moving filter to a set of series .