---
title: "Working with Trends"
canonical: "https://farmconnect.docs.rubiconwater.com/space/FCNF/2217050222/Working%20with%20Trends"
format: markdown
---
> Macro (toc)

# Layout of the Trend Screen

This is the screen you will see if you open a trend from the trends page or from the Site or Alarms pages.

# Setting a Time Period

Use the drop-down field to choose a time period:

> ℹ️ **Note**
> ℹ️ 
> ℹ️ If there is no data available for the whole of the period you choose, only the period that has data available will be displayed.

- The default time period is the last twelve hours.
- Select Custom to enter a custom time period.

# Choosing a Sampling Algorithm

Use the Data Sampling Algorithm drop-down to choose how to select the data points for the trend line. Choosing a downsizing option may result in better network performance where there is a lot of data available.  
The options are:

- None - show all the available data.
- Minimum values - a downsizing algorithm that selects the minimum value from a set of filtered points.
- Average values - a downsizing algorithm that selects the average value from a set of filtered points.
- Maximum values - a downsizing algorithm that selects the maximum value from a set of filtered points.
- LTTB (Steinarsson) - a downsizing algorithm that reduces the number of data points displayed while retaining the shape of the original trend line.

> ℹ️ **Note**
> ℹ️ 
> ℹ️ Downsizing is implemented by dividing the time series into segments and selecting a value to represent the segment (for example, a minimum or maximum value).

# Viewing Data Points

> ℹ️ **Note**
> ℹ️ 
> ℹ️ If there are several trend lines displayed, they will use different vertical axes or (by default) share an axis if they are using the same units. You can configure each vertical axis and add new axes in the Trend Settings.

Hover over the chart to view the time and value of the tags at that point.

# Showing Alarm Data

Click the **Alarm** button in the trend menu to display alarm counts any tags in an alarmed state at the trended sites and during the trend period. 

Tap the TREND ALL button to add any of these alarmed tags to your trend.

# Resetting the graph

To reset the graph to the default settings, tap the :resetIcon: **Reset** icon. This will set the included tags back to the defaults.

# Exporting the trend data

Export and download the chart data to a csv file by tapping the :exportCSV: **Export csv** icon at the top right of the screen. This will download all the chart data including data for hidden tags and tags that you have added to the chart.

# Saving a Trend

Save the trend by tapping the  :saveTrend: **Save** icon. 

- If you are saving the trend from the Trends list this will save the trend as a new trend rather than overwrite your existing saved trend.
- If you are saving from the site history screen or from an alarm trend your saved trend will now be available in the [https://rubiconwater.atlassian.net/wiki/spaces/FCNF/pages/2217050113](https://rubiconwater.atlassian.net/wiki/spaces/FCNF/pages/2217050113) list.

---