+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
export declare function getValueFormats(): {
text: string;
submenu: {
text: string;
value: string;
}[];
}[];
```
Import
```typescript
import { getValueFormats } from '@grafana/data';
```
Returns:
`{
text: string;
submenu: {
text: string;
value: string;
}[];
}[]`