> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/analytics+/working-with-analytics+/19.-analytics/trend-line.md).

# Trend line

As the name indicates, the primary purpose of trend lines is to visualize and highlight trends within the data. They provide a clear representation of the general direction (upward, downward, or flat) of a dataset over time or across categories.

Let's explore the options available in Analytics+ to plot trend lines.

#### 1. Type

Plot linear, exponential, logarithmic, and polynomial trend lines from the type dropdown.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FDEdHztPBH3UQUt6BHzYu%2FUntitled%20Project.gif?alt=media&amp;token=19c19407-4bc8-4c5f-afdf-bc9e338fc88a" alt=""><figcaption><p>Trend line type</p></figcaption></figure>

#### 2. Line

Choose from solid, dashed, and dotted line styles. You can set the thickness and color of the trend line.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FCe0qcGn9R8M9w5rGF9ci%2Fimage.png?alt=media&amp;token=2b8efa52-1e3d-4fb1-a70c-ae73c6d7b391" alt=""><figcaption><p>Trend line customization</p></figcaption></figure>

#### 3. Measure

Select the measure to plot the trend line. Trend lines can be plotted based on the variance as well.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FG2RwbLsFtITSJnjipWGW%2Fimage.png?alt=media&amp;token=d231d44c-1a49-4c49-9995-0b16c691941c" alt=""><figcaption><p>Measure to plot trend line</p></figcaption></figure>

#### 4. Display line equation

Enable this toggle to view the underlying equation that drives the trend line.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FMo1mhNgGabm1PcN65LFK%2Fimage.png?alt=media&amp;token=2c763e0f-9caf-4c04-ae17-7f697a2056d5" alt=""><figcaption><p>Line equation</p></figcaption></figure>

* **Font color:** Set the font color of the underlying equation.
* **Rotation**: Rotate the equation clockwise or anti-clockwise
* **Offset**: Set the position of the equation with respect to the x-axis and y-axis.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FJCOHCV18yVLakbEIXIYp%2Fimage.png?alt=media&amp;token=5fca171e-eb5e-4db5-8fac-cf8e94b70db3" alt=""><figcaption><p>Equation customizations</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/analytics+/working-with-analytics+/19.-analytics/trend-line.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
