# Digital trend

A digital trend displays the change in a binary value over a certain period of time.

<div data-full-width="true"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/zXMmyi4F6tW8RX4WZrpi/80AB7FF3-7E97-4AA0-A5B4-54DF80DC3168.png" alt=""><figcaption><p>A digital trend</p></figcaption></figure></div>

## When should this display be used?&#x20;

The "Digital Trend" display should be used when you want to track the course of a binary value over a certain period of time - e.g., the occupancy status of a parking space (Occupied/Unoccupied).&#x20;

## Overview

<div data-full-width="true"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/ZV4Nf0sLQysrrOoy2iyP/4DC65EDB-9416-4A47-94FE-62C054D9DB0A.png" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="86.33333333333331"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Title</td><td>Widget title. Is influenced by the selection of the "Primary Asset" (see below.)</td></tr><tr><td><strong>[B]</strong></td><td>Icon</td><td>Widget icon</td></tr><tr><td><strong>[C]</strong></td><td>Name of the value trend</td><td>Can be adjusted when creating the widget.</td></tr><tr><td><strong>[D]</strong></td><td>Content</td><td>The digital course of a value</td></tr><tr><td><strong>[E]</strong></td><td>Set scaling</td><td>Click to select 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 demoId="E8NZiw52nUugHrMXPj-sL" url="<https://app.supademo.com/demo/E8NZiw52nUugHrMXPj-sL>" fullWidth="true" %}

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

## Set scaling&#x20;

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/959Fq1bNDIPsmMClUPmL/98A82270-E000-4569-A05E-A2952FCE248C.png" alt=""><figcaption><p>Hourly, weekly, or monthly display</p></figcaption></figure>

Click repeatedly on Set scaling **\[E]**&#x74;o select whether a day, a week or a month should be displayed.
