---
title: "Working with Trend Data"
canonical: "https://networkconnect.docs.rubiconwater.com/space/NC/2503443475/Working%20with%20Trend%20Data"
format: markdown
---
> Macro (toc)

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

# 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.
- Last known values - a downsizing algorithm that selects the last known tag value in each sampling period.
- 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).

## Using Unsampled Data for Shorter Periods

You can configure the map settings to switch to displaying unsampled data for short time periods where there is less data. To do this, set the sampling threshold as a number of days. Data will not be sampled unless the trend period is greater than the sampling threshold.

See [Set the Default Trend Preferences](https://rubiconwater.atlassian.net/wiki/spaces/NC/pages/2211872899) for details.

# 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 hidden tags and tags that you have added to the chart.

You can export either raw data or sampled data. If you choose a sampling algorithm you’ll be prompted to specify the sampling period.

> ℹ️ **Note**
> ℹ️ 
> ℹ️ If you have applied a sampling algorithm only the sampled data will be downloaded.

---