Files
grafana/docs/sources/packages_api/data/reducedataoptions.md
T
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

59 lines
1.2 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ReduceDataOptions"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## ReduceDataOptions interface
Options for how to turn DataFrames into an array of display values
<b>Signature</b>
```typescript
export interface ReduceDataOptions
```
<b>Import</b>
```typescript
import { ReduceDataOptions } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [calcs](#calcs-property) | <code>string[]</code> | When !values, pick one value for the whole field |
| [limit](#limit-property) | <code>number</code> | if showing all values limit |
| [values](#values-property) | <code>boolean</code> | |
### calcs property
When !values, pick one value for the whole field
<b>Signature</b>
```typescript
calcs: string[];
```
### limit property
if showing all values limit
<b>Signature</b>
```typescript
limit?: number;
```
### values property
<b>Signature</b>
```typescript
values?: boolean;
```