# History

The **History** tab allows you to visualize data from selected fields of your device on an area chart over a period of time. By default, all data fields are enabled and shown on the chart.

<figure><img src="/files/CdNj9hIKT8vslQBVT1Ia" alt=""><figcaption></figcaption></figure>

You can remove a data field from the chart and add it back to the chart by clicking on the corresponding row of the table. This feature is useful when you want to compare trends in different data fields.

<figure><img src="/files/DBHLVq1LYY0a8cdClOtd" alt=""><figcaption></figcaption></figure>

For example, the following chart compares the relationship between temperature and humidity over time.

<figure><img src="/files/Tj3sBkdxnLKUzB80TxOz" alt=""><figcaption></figcaption></figure>

For data filtering, choose the desired timeframe using one of the following options:

* Click on the **text box** and select a predefined timeframe from the list. If the desired timeframe is not available, you can manually type a timeframe, such as '3 days', '7 weeks', etc. Note that '3 days' refers to the last three days, including today, for example. Here is a list of predefined timeframe presets: `1 hour`, `1 day`, `1 week`, `1 month`, and `1 year`.
* Define a custom date range by selecting the **start date** and **end date**, including the start time and end time too from the date pickers.

<figure><img src="/files/we6uIvDFBg7Gaiy4y1F8" alt=""><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/devices/history.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.
