# Line (chart type)

## Overview

* The Line chart is a graphical representation of data points in which individual data points are connected by straight line segments. Line charts are particularly useful for visualizing trends and changes over continuous interval or time series data.

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

* First, click on any "+ Add widget" button to add a widget.

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

* Click on the Line chart option.
* Click on the Add widget button to proceed.

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

* Choose the available Collection or Connection of the data model that has been added.

{% hint style="info" %}

* Line chart does not have the "Sort" feature.
* Line chart is always in Time series mode.
  {% endhint %}

## Set up your Line chart

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

* In the X axis, click on the dropdown box to select the available Date value.

<figure><img src="/files/SZunmlo1w70PhtL3JOTO" alt="" width="563"><figcaption></figcaption></figure>

* The filter tag will be auto-applied with Recent 7 days as the default option.![](/files/j3gsWTqTINI6HtEy5qcp)

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

* In the Y axis, click on the dropdown box to select any available column.

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

* After the X Axis and Y Axis columns are selected, the Line chart of the data model will be displayed.
* The Sum formula will be auto-selected. You can change to other [Formula](/docs/dashboard/footer-formula.md) options.

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

* You can further visualize your Line chart by clicking on the Group by button and selecting the availabel Text type column.

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

* Hovering on the Line chart to view the value of the details.

<figure><img src="/files/4L1FLjXsRoSdtWScDSXx" alt="" width="563"><figcaption></figcaption></figure>

* You can click on the 🖊 icon to [customize](/docs/dashboard/custom-column-configuration.md) the column of the Y axis.

## Change to the Line chart type from another widget

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

* The Line chart option can be selected by opening the Settings slider and then clicking on the Properties option.

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

* Click on the View type dropdown and choose the Line chart icon to begin configuring your data model to the Line chart.

***

<table data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><a href="/pages/QCgwMNc5wqceO5yOJyRV">Line chart - Filter</a></td></tr><tr><td align="center"><a href="/pages/svb94eZeAj9dw098GcmJ">Line chart - Time series - Reference date preset and Compare to the past</a></td></tr></tbody></table>


---

# 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://endash-guidance-docs.gitbook.io/docs/dashboard/widget-types/line-chart-type.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.
