Files
grafana/docs/sources/packages_api/data/thresholdsconfig.md
T
Marcus Andersson a2d741f60f Docs: run the api-extractor on master to update docs (#23726)
* regenerated packages docs.

* fixed spelling issues.

* fixed spelling issues.
2020-04-21 10:41:50 +02:00

49 lines
1.1 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ThresholdsConfig"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++
## 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[];
```