cc3fc18076
* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
34 lines
773 B
Markdown
34 lines
773 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "calculateStats"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## calculateStats() function
|
|
|
|
### calculateStats() function
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare function calculateStats(values: any[]): LogLabelStatsModel[];
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { calculateStats } from '@grafana/data';
|
|
```
|
|
<b>Parameters</b>
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| values | <code>any[]</code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`LogLabelStatsModel[]`
|
|
|