# 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="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FNvxcMDxQ51SD2jz8HAAM%2Fdevice-16.png?alt=media&#x26;token=be88b52a-bc8d-4c9d-81bc-ea2746f50b1e" 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="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FqrweQnAMJO7nPGVkgfsa%2Fdevice-18.png?alt=media&#x26;token=81d14738-1d4d-4f22-90b1-4cdf7a7d9913" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FxfQEEMVkVCopGVmWJCu1%2Fdevice-17.png?alt=media&#x26;token=5ba22af6-58b1-4eb2-9582-19dc3ff1a0cc" 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="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FXhQEux3FvyMhtKr3ZUHl%2Fdevice-19.png?alt=media&#x26;token=35099b92-4427-4c95-b4e5-ef2b325f716a" alt=""><figcaption></figcaption></figure>
