Files
grafana/docs/sources/packages_api/data/fielddto.md
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

73 lines
1.4 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "FieldDTO"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## FieldDTO interface
Like a field, but properties are optional and values may be a simple array
<b>Signature</b>
```typescript
export interface FieldDTO<T = any>
```
<b>Import</b>
```typescript
import { FieldDTO } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [config](#config-property) | <code>FieldConfig</code> | |
| [labels](#labels-property) | <code>Labels</code> | |
| [name](#name-property) | <code>string</code> | |
| [type](#type-property) | <code>FieldType</code> | |
| [values](#values-property) | <code>Vector&lt;T&gt; &#124; T[]</code> | |
### config property
<b>Signature</b>
```typescript
config?: FieldConfig;
```
### labels property
<b>Signature</b>
```typescript
labels?: Labels;
```
### name property
<b>Signature</b>
```typescript
name: string;
```
### type property
<b>Signature</b>
```typescript
type?: FieldType;
```
### values property
<b>Signature</b>
```typescript
values?: Vector<T> | T[];
```