+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
title = "getValueFormat"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
## getValueFormat() function
### getValueFormat() function
<b>Signature</b>
```typescript
export declare function getValueFormat(id?: string | null): ValueFormatter;
```
<b>Import</b>
import { getValueFormat } from '@grafana/data';
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| id | <code>string | null</code> | |
<b>Returns:</b>
`ValueFormatter`