+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getValueFormats"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## getValueFormats() function

### getValueFormats() function

<b>Signature</b>

```typescript
export declare function getValueFormats(): {
    text: string;
    submenu: {
        text: string;
        value: string;
    }[];
}[];
```
<b>Import</b>

```typescript
import { getValueFormats } from '@grafana/data';
```
<b>Returns:</b>

`{
    text: string;
    submenu: {
        text: string;
        value: string;
    }[];
}[]`

