code: func (a *MovAvgAggregation) Window(window int) *MovAvgAggregation {
  	a.window = &window
  	return a
  }
docs: // Window sets the window size for the moving average. This window will
  // "slide" across the series, and the values inside that window will
  // be used to calculate the moving avg value.