> For the complete documentation index, see [llms.txt](https://docs.fabricplan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fabricplan.com/documentation/plan/intelligence-sheets/how-tos/visualization-library/slope-graph.md).

# Slope graph

Slope graphs use connecting lines to compare values between two points in time or across two categories. Use them to quickly identify increases, decreases, and relative changes for each category. Each line represents a category, the endpoints show the values being compared, and the slope indicates the direction and magnitude of change.

{% hint style="info" %}
Slope graphs are a great way to visualize changes in revenue, profit, expenses, or other business metrics between two reporting periods.&#x20;
{% endhint %}

### Configure a slope graph

Follow the steps outlined to plot a slope graph:

1. Select the **Charts 100+** visual.
2. **Chart type:** Select **Slope graph** from the **Special Charts** section.&#x20;
3. **Category**: Assign the dimension that represents the items to compare across the slope graph. Each category is drawn as a line connecting its values between the axis points. *Example: Business Unit.*
4. **Actual(s)**: Assign a measure to analyze. *Example*: *Operating Margin(%)*.
5. **Axis**: Assign the dimension that defines the comparison points. Each unique value creates a vertical axis. *Example: Year (2025 and 2026).*

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

6. The line color is plotted based on the trend - up(green), down(red), and neutral(grey). In the Slope graph ribbon, go to **Settings** > **Canvas** > **Line color** and select **Individual**.

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

7. Markers and labels use the trend colors by default. Clear **Use trend color** for **Marker** and **Label** to apply custom colors.

<figure><img src="/files/n1WiElEz2RyZjhoMj1vk" alt=""><figcaption></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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fabricplan.com/documentation/plan/intelligence-sheets/how-tos/visualization-library/slope-graph.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
