+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ThresholdsConfig"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## ThresholdsConfig interface

Config that is passed to the ThresholdsEditor

<b>Signature</b>

```typescript
export interface ThresholdsConfig 
```
<b>Import</b>

```typescript
import { ThresholdsConfig } from '@grafana/data';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [mode](#mode-property) | <code>ThresholdsMode</code> |  |
|  [steps](#steps-property) | <code>Threshold[]</code> | Must be sorted by 'value', first value is always -Infinity |

### mode property

<b>Signature</b>

```typescript
mode: ThresholdsMode;
```

### steps property

Must be sorted by 'value', first value is always -Infinity

<b>Signature</b>

```typescript
steps: Threshold[];
```
