# Adding a Moving Average Line to a Metric Chart

Using a **Moving Average** feature allows you to smooth out volatility in a Metric so that the User can see a smoother trend-line for the data. A Moving Average is computed over a preset interval (for example 30 days) for all points included in a chart. This article describes how to add a Moving Average Line to the Metric Chart.

## 1. Open a Metric Editor

- Open a
*Charting*tab, containing general Chart settings - In the
**Include a moving average of**field specify the interval for which moving average should be calculated. In designating this interval, you provide the number of intervals followed by the interval unit. The interval unit can be expressed as 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'. -
**[Save and Publish]**to update your Chart View