# threshold.step



## Index

* [`fn withColor(value)`](#fn-withcolor)
* [`fn withIndex(value)`](#fn-withindex)
* [`fn withState(value)`](#fn-withstate)
* [`fn withValue(value)`](#fn-withvalue)

## Fields

### fn withColor

```jsonnet
withColor(value)
```

PARAMETERS:

* **value** (`string`)

TODO docs
### fn withIndex

```jsonnet
withIndex(value)
```

PARAMETERS:

* **value** (`integer`)

Threshold index, an old property that is not needed an should only appear in older dashboards
### fn withState

```jsonnet
withState(value)
```

PARAMETERS:

* **value** (`string`)

TODO docs
TODO are the values here enumerable into a disjunction?
Some seem to be listed in typescript comment
### fn withValue

```jsonnet
withValue(value)
```

PARAMETERS:

* **value** (`number`)

TODO docs
FIXME the corresponding typescript field is required/non-optional, but nulls currently appear here when serializing -Infinity to JSON