mirror of https://github.com/grafana/grafana.git
59 lines
1.3 KiB
Markdown
59 lines
1.3 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "FieldState"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## FieldState interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface FieldState
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { FieldState } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [calcs](#calcs-property) | <code>FieldCalcs</code> | Cache of reduced values |
|
|
| [displayName](#displayname-property) | <code>string | null</code> | An appropriate name for the field (does not include frame info) |
|
|
| [scopedVars](#scopedvars-property) | <code>ScopedVars</code> | Appropriate values for templating |
|
|
|
|
### calcs property
|
|
|
|
Cache of reduced values
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
calcs?: FieldCalcs;
|
|
```
|
|
|
|
### displayName property
|
|
|
|
An appropriate name for the field (does not include frame info)
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
displayName?: string | null;
|
|
```
|
|
|
|
### scopedVars property
|
|
|
|
Appropriate values for templating
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
scopedVars?: ScopedVars;
|
|
```
|