# Digital

The **digital** widget allows you to simply view the currently measured value of a data field.

If you select the **Digital** widget from '**Device Types**' or '**Devices**', configure the settings in the **Widget options** modal as explained below:

In the **Name** text box, enter a **name** as the **label** for your widget.

In the **Data field** drop-down list, select the **data field** that you want to add as the data source.

To add a **color** to the **background** of the widget, click on the **Background color** box and choose a color from the **color picker**.

Click on the **Save** button.

<figure><img src="/files/gA5vfBYRaQqOluVUutog" alt="" width="327"><figcaption></figcaption></figure>

If you select the **Digital** widget from the '**Global Dashboards**', configure the settings in the **Widget options** modal as explained below:

In the **Name** text box, enter a **name** as the **label** for your widget.

In the **Device type** drop-down list, select the **device type**.

In the **Device** drop-down list, select the **device**.

In the **Data field** drop-down list, select the **data field** that you want to add as the data source.

To add a **color** to the **background** of the widget, click on the **Background color** box and choose a color from the **color picker**.

Click on the **Save** button.

<figure><img src="/files/pr1n9PqfhsMfo47wYdus" alt="" width="327"><figcaption></figcaption></figure>

The resulting **digital** widget looks something like this:<br>

<figure><img src="/files/Xv20p6B07DUcZOKdFQma" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.widgelix.com/get-started/widgets/digital.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
