---
title: "Creating and Configuring Trends"
canonical: "https://farmconnect.docs.rubiconwater.com/space/FCNF/2217050261/Creating%20and%20Configuring%20Trends"
format: markdown
---
> Macro (toc)

# Creating a New Trend

## Create the Trend

Create a new trend in the Trends page by clicking the **Add** button at the bottom left of the Trends page to open the **Create New Trend **screen. Then fill in these details:

# Re-Using a Trend

You may want to re-use a trend that you have created. For example, you may want to use the same trend settings and tags at different sites.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ For example, you may have configured a soil moisture probe trend for one site and want to use it on other sites of the same type.

You can do this by either copying an existing trend from your trends list or by saving a trend as a template and using the template to create new trends. Both processes are similar:

- To copy a trend from the trends list, select a trend and choose **Copy To** from the trend menu.
- To use a saved template, **Download** an existing trend as a template. When you create a new trend you will have the option to base the new trend on a template file.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ For example, you might download and save a trend template if you want to share the template with other users. (However, if you do not have authority to view the sites in an imported trend file, you will not be able to see those site tags in your trend charts.)

## Change the Site Mappings

If you create a trend by importing a trend file or by copying an existing trend that already includes sites you will be prompted to change the site mappings. (This is optional) so that the trend gets data from a different site. All the other properties of the trend will be copied including the tags and tag line properties.

## Example - Copy a Trend for a Soil Moisture Probe

**Step 1**

Create a trend for a representative site. You can create a trend by adding site tags to the chart in the Trending tool. See [Adding a Tag to a Trend](https://rubiconwater.atlassian.net/wiki/spaces/FCNF/pages/2217050261/Creating+and+Configuring+Trends#Add-a-Tag-to-the-Trend) for more details.

**Step 2**

Save the trend to your trends list by clicking the **Save as New Trend** button. For example, we can save this soil moisture trend to the trends list.

**Step 3**

Go to the Trends list and find your saved trend in the list. Then choose **Copy To** from the trend menu.

**Step 4**

Follow the steps in the **Copy Existing Trend** wizard. 

**Step 5**

Click **Save** to save the new trend.

Your new trend now uses the same tags and trend settings as your original trend provided they exist at the new site.

# Add a Tag to the Trend

Tap :SettingsIcon: Settings icon at the top right to add tags to the trend. In the **Tags** tab, tap the **+** **Add** button at the bottom right to add new tags to the trend.

> ℹ️ **Note**
> ℹ️ 
> ℹ️ The Tags tab is also where you configure the tag line settings. Tap the **+** **Add** button at the bottom right of this screen at any time to go to the **Add Tags** screen.

- Add sites to the chart by clicking into the **Select Sites** field and selecting sites from the drop-down list. You can start typing the site name to filter the dropdown list.
- Add tags to the chart by clicking into the **Select Tags** field and selecting tags from the dropdown list. You can start typing the tag name or the tag description to filter the list.

## Configure the Tag Line Settings

After adding sites and tags to the trend, click the back arrow (item 1 in the image above) to return to the Tag Line Settings screen.

> ℹ️ **Note**
> ℹ️ 
> ℹ️ The tag line settings are configured in a table format by default, but you can show the tags as individual items by toggling the bulk-edit control (number 3 in the image below).

By default, the table displays all the tag settings but you can choose which settings to display in the Select Columns drop-down.

The properties available are:

| **Property** | **Description** |
| --- | --- |
| Site | The site that the tag is from. |
| Tag | The tag name. |
| Show | Use this checkbox to toggle the visibility of this tag line on the chart. |
| Y-Axis | Specifies which Y axis this tag line is using. This is set by default when you add the tag to the trend but you can change the axis here. See [Configuring Vertical Axes](https://rubiconwater.atlassian.net/wiki/spaces/NC/pages/2211872899) for more details. |
| Limits | Show any configured alarm limits for this tag on the trend chart. |
| Step | Render the trend line as steps rather than interpolating between data points (binary data will be displayed this way by default). |
| Line Type | Choose the line style - for example, solid, dotted, or dashed. |
| Line Width | Set the line width. |
| Colour | Set the line colour. |
| Area | Set the colour of the area under the trend line. |
| Symbol | Choose the symbol used for data points. |
| Symbol Size | Set the size of the symbol used for data points. |
| Delete | Delete this tag from the trend. |

# Configure the Vertical Axes

Use the **Y Axis** tab of the Settings panel to configure the vertical axes for the tag trend lines.

By default, the chart will show a vertical axis for each unit of measurement used by the tags on the chart and the range of the axes will cover the range of values found in the tag(s) using that unit. If you prefer to have separate axes for each tag you can [Add a New Y-Axis](https://rubiconwater.atlassian.net/wiki/spaces/NC/pages/2211872899).

> ℹ️ **Example**
> ℹ️ 
> ℹ️ For example, if you have the following tags on your chart:
> ℹ️ 
> ℹ️ - Current Flow in m/s
> ℹ️ - Upstream level in m
> ℹ️ - Downstream level in m
> ℹ️ 
> ℹ️ Then by default you will have two vertical axes:
> ℹ️ 
> ℹ️ - m/s (used by the current flow tag)
> ℹ️ - m (used by the two water level tags)

## Change the Y-axis settings

1. On the Y Axis tab of the Settings menu select the axis that you want to configure.
2. Edit the label field if you want to change the axis label
3. Use the Show/Hide toggle to show or hide the axis
4. Set the way that the axis range is determined:
  - Leave the range set to *Automatic* to automatically adjust to the range of values currently stored for the tags using this axis.
  - Turn off the *Automatic* setting to set the range manually, Then enter the minimum and maximum values for the axis. For example, you might do this if you want to ensure that the axis starts at zero, or if you want to restrict the range of the axis to ignore outliers.
  - Optionally set an offset (positive or negative) to shift the trend line up or down.

## Add a new Y-axis

You can add a new Y axis to the chart and configure a tag to use that axis.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ You might do this if you have two tags using the same axis (such as upstream and downstream water level tags) and you want to use separate axes for each tag.

> ℹ️ **Caution**
> ℹ️ 
> ℹ️ You can't specify the units to use on an axis or convert tag data to use different units. The axis just uses the range of values assigned to the tag (or specified by you) regardless of the apparent units of the axis. 
> ℹ️ 
> ℹ️ Take care not to use the axis for tags that are measured in different units.

1. On the **Y Axis** tab of the Settings panel tap the **Add** button at the bottom of the screen to add a new Y axis.
2. Give the axis a label. Adjust the range and visibility settings and click **Save** to save your settings.
3. On the Tags tab, select the tag that you want to use this axis and select the new axis in the Y Axis drop-down. Click **Save** to save your settings.

## Delete an Axis

1. On the Tags tab of the Settings menu, check to see if any tags are associated with the axis and remove the associations. You cannot delete an axis that is being used by a tag.
2. On the Y Axis tab of the Settings menu select the axis that you want to delete and tap the **Delete** button.

# Set the Default Trend Preferences

Use the Preferences tab in the Trend settings to set:

- The default data sampling algorithm to use for trends.
- The default tag property to use as a map label for the tags.

---