add rolling average to graph