# Gradient Threshold

A new threshold condition called ‘Gradient threshold’ is added to the following charts in the threshold’s properties: Bar, Stacked Bar, Column, Stacked Column, Line, Area, Bubble, Tornado, Sparkline, Heatmap, Column range, Bullet, Calendar Heatmap, Trellis, Mekko, Word Cloud, Dumbbell, Slope, Angular Gauge, and Sankey chart.

Gradient thresholds with the required number of stops are applied between two colors. Gradient thresholds are applied to Attributes and Metrics with the Start and End colors based on the Target and Source settings.

Click on the Edit Button→ Thresholds Button→ We can set Gradient Thresholds through conditions.

Examples for Gradient Threshold:

1. In the below screenshot, for the Angular Gauge Chart, we applied the Gradient threshold on Background Bar, and Red as Start color and Yellow as End color, with 5 Stops.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2FRMl8ZWEsfAw3AqEdQAWS%2Fimage61.png?alt=media&#x26;token=061b54e3-8a62-4e93-81b9-1e56cd87768b" alt=""><figcaption></figcaption></figure>

2. In the below screenshot, in the Dumbbell chart, we applied Target and Source as Cost, and applied Gradient threshold condition, with alias name and number of stops at 4.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2FPLlQi4fVnCPwc8nuvBnj%2Fimage71.png?alt=media&#x26;token=62396452-b3b0-484c-a51f-d7f0fddbb11a" alt=""><figcaption></figcaption></figure>


---

# 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://docs.vitaracharts.com/readme/gradient-threshold.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.
