> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/predefined-widgets/two-digital-trends.md).

# Two Digital Trends

The "Two Analog Trends" widget shows value changes for two or more assets over a specific period.

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2F1tXoq57hRSLbNPa1uhUm%2F934CFAA0-29B1-4153-8583-7A8A477BAA90.png?alt=media&#x26;token=5ff26899-f84c-4135-aa0d-94e382f738fc" alt=""><figcaption><p>The temperature for 3 assets over the course of a day</p></figcaption></figure></div>

## When should this display be used?

The "Two Analog Trends" display should be used when you want to track the history of multiple values over a certain period—e.g., the temperature history in rooms.

## What is the difference from the "Analog Trend" widget?

In the "Analog Trend" widget, the individual trends are displayed overlaid.

In the "Two Analog Trends" widget, the individual trends are displayed one below the other.

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FpyrNECJUGqtjGgUWlVhj%2FBildschirmfoto%202023-09-28%20um%2016.48.06.png?alt=media&#x26;token=c716c069-54ba-4b05-b6e4-6a76763d2c95" alt=""><figcaption><p>Comparison between "Analog Trend" (bottom) and "Two Analog Trends" (top) - Both widgets show the temperature histories for the same 3 assets</p></figcaption></figure></div>

## Overview

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FEixgDfvpuY5CtwcPoHR5%2F082403A9-E3EE-4C52-978A-0EC6529FF6D7.png?alt=media&#x26;token=5abcd240-7f4c-4879-a2c7-86ab012b7ddb" alt=""><figcaption></figcaption></figure></div>

<table data-full-width="true"><thead><tr><th width="63.13335164388019"></th><th width="250.39996337890625"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Title</td><td>Title of the widget. Is influenced by the selection of the "Primary Asset" (see below).</td></tr><tr><td><strong>[B]</strong></td><td>Icon</td><td>Icon of the widget</td></tr><tr><td><strong>[C]</strong></td><td>Title of the displayed value</td><td>Can be customized during widget creation</td></tr><tr><td><strong>[D]</strong></td><td>Content</td><td>The analog history of a value</td></tr><tr><td><strong>[E]</strong></td><td>Set scale</td><td>Click to choose whether a day, a week, or a month should be displayed.</td></tr><tr><td><strong>[F]</strong></td><td>More options</td><td><p>Available options:</p><ul><li>Navigate to other areas -> Navigate via widgets</li></ul></td></tr><tr><td><strong>[G]</strong></td><td>Value</td><td>[?] Can be set in the widget options whether aggregated or current</td></tr></tbody></table>

## Configure "Two Analog Trends"

{% @supademo/embed url="<https://app.supademo.com/demo/IRQq1bECd2QOl_4n650KY>" demoId="IRQq1bECd2QOl\_4n650KY" fullWidth="true" %}

1. Make sure you are in the "Dashboard" menu.
2. Click on "Add widget".
3. Click on "Two Analog Trends".
4. Select the primary asset. The name of this asset will appear in the title bar of the widget.
5. Select the widget for which you want to create the analog trend.
6. Select the attribute for which you want to create an analog trend.
7. Choose whether the current value or the aggregated value should be displayed.
8. Optional: Repeat the last steps to create an analog trend for another asset. Both trends will then be overlaid in this widget.
9. Optional: Choose how much space your new widget should occupy on the dashboard. By default, each widget takes up 1 column.
10. Click on "Add widget".

### Set scale

Repeatedly click on **Set scale \[E]** to choose whether a day, a week, or a month should be displayed.

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2F1tXoq57hRSLbNPa1uhUm%2F934CFAA0-29B1-4153-8583-7A8A477BAA90.png?alt=media&#x26;token=5ff26899-f84c-4135-aa0d-94e382f738fc" alt=""><figcaption><p>Day display</p></figcaption></figure></div>

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FlabqoYrApU0xFQtI6OmL%2F255ECC49-F44E-4A66-9E69-5D9B20646AA5.png?alt=media&#x26;token=97617180-6be4-44dd-854f-488a14e888c6" alt=""><figcaption><p>Week display</p></figcaption></figure></div>

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FVndbKlLdWuK5rZpEb8tT%2F01B7C8D6-A038-43A3-8BC2-5AF436FAB551.png?alt=media&#x26;token=7bcbf195-232a-496e-9860-455f4616d6ba" alt=""><figcaption><p>Month display</p></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/predefined-widgets/two-digital-trends.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
