# Slope Graph

### **Chart setup to build a slope graph**

{% stepper %}
{% step %}

#### **Axis**

Drag the dimension to plot on the axis (e.g., Product).
{% endstep %}

{% step %}

#### **Values parameter**

Drag the measures to analyze (e.g., COGS, Sales).
{% endstep %}

{% step %}

#### **Chart type**

Select **Slope Graph** from the Special charts section of the Chart Type dropdown menu.
{% endstep %}
{% endstepper %}

> A **slope graph** (also known as a **slope chart**) is a type of data visualization used to show changes in a quantity over time or between two variables.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FzLgzuYTPStBSkyPKjoG1%2Fimage.png?alt=media&#x26;token=7001ce54-cddd-432c-9dbb-7fe6deee62b7" alt=""><figcaption><p>Slope graph</p></figcaption></figure>

You can add multiple measures to the visual parameter and switch between them from the Slope Graph configuration.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FWgkDgpmN5WcFr1net3AC%2Fimage.png?alt=media&#x26;token=d3d404ad-f688-447f-abd3-f65d2c31209a" alt=""><figcaption><p>Slope graph</p></figcaption></figure>

## Additional Formatting Options

Here are the other settings that help you refine your slope graph.

<table><thead><tr><th width="143.5">Feature</th><th>Description</th><th data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Number</td><td>Configure number formatting (decimals, units)</td><td><a href="../../working-with-analytics+/3.-charts/3.8.-display-settings-for-charts/charts-number-settings">charts-number-settings</a></td></tr><tr><td>Legend</td><td>Show/hide and customize the legends</td><td><a href="../../working-with-analytics+/3.-charts/3.8.-display-settings-for-charts/charts-legend-settings">charts-legend-settings</a></td></tr><tr><td>Data Label</td><td>Show exact values for each data point</td><td><a href="../../working-with-analytics+/3.-charts/3.6.-data-label-customizations">3.6.-data-label-customizations</a></td></tr><tr><td>Trellis</td><td>Create small multiples using category split</td><td><a href="../../working-with-analytics+/6.-trellis-customizations">6.-trellis-customizations</a></td></tr><tr><td>Conditional Formatting</td><td>Apply color rules to highlight values</td><td><a href="../../working-with-analytics+/9.-conditional-formatting">9.-conditional-formatting</a></td></tr><tr><td>Sorting</td><td>Sort axis order</td><td><a href="../../working-with-analytics+/10.-sort-and-reorder-data/sorting-data">sorting-data</a></td></tr><tr><td>Ranking</td><td>Limit to top/bottom N categories</td><td><a href="../../working-with-analytics+/11.-ranking-data-topn/ranking-for-charts">ranking-for-charts</a></td></tr></tbody></table>
