# Add 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.

**NOTE:** The format of a Metric Editor is slightly different in various Versions.

## 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'. - Click
**Save and Publish**to update your Chart view

## 2. View the Chart

The legend describes the basis of the **Moving Average** calculation as set for the Metric and provides the format of its trend line.