> 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/digital-trend.md).

# Digital Trend

A Digital Trend shows the change of a binary value 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%2F29SG6dsWHjkeNBPndMOc%2F80AB7FF3-7E97-4AA0-A5B4-54DF80DC3168.png?alt=media&#x26;token=cb887d7e-e073-438a-b3de-e416464cf39c" alt=""><figcaption><p>A digital trend</p></figcaption></figure></div>

## When should this display be used?

The "Digital Trend" display should be used when you want to track the history of a binary value over a certain period—e.g., the occupancy status of a parking space (Occupied/Not occupied).

## Overview

<figure><img src="/files/7B1voA9r7I5EZpEMU5ju" alt=""><figcaption></figcaption></figure>

<table data-full-width="true"><thead><tr><th width="86.33333333333331"></th><th width="249.60003662109375"></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>Label of the value history</td><td>Can be customized when creating the widget.</td></tr><tr><td><strong>[D]</strong></td><td>Content</td><td>The digital 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></td></tr><tr><td><strong>[G]</strong></td><td>Value</td><td>Current value</td></tr></tbody></table>

## Configure Digital Trend

{% @supademo/embed url="<https://app.supademo.com/demo/E8NZiw52nUugHrMXPj-sL>" demoId="E8NZiw52nUugHrMXPj-sL" fullWidth="true" %}

1. Make sure you are in the "Dashboard" menu.
2. Click on "Add widget".
3. Click on "View"
4. Click on "Digital Trend".
5. Select the primary asset. The name of this asset will appear in the title bar of the widget.
6. Select the asset for which you want to create the digital trend.
7. Select the attribute for which you want to create a digital trend.
8. Optional: Choose the color in which the history should be displayed
9. Optional: Adjust the label of the value. This label is displayed in the widget under **\[C]**.
10. Choose whether the current or the aggregated value should be displayed.
11. Optional: Repeat the last steps to create an analog trend for another asset. Both trends will then be overlaid in this widget.
12. Optional: Choose how much space your new widget should occupy on the dashboard. By default, each widget takes up 1 column.
13. 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.

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FEwg687mpjpw0E6gsucQ3%2F98A82270-E000-4569-A05E-A2952FCE248C.png?alt=media&#x26;token=22a694c7-d5bd-4f17-a104-dcf993583a8f" alt=""><figcaption><p>Hourly, weekly, or monthly display</p></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
