+++
# -----------------------------------------------------------------------
# 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>

```typescript
import { getValueFormat } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  id | <code>string &#124; null</code> |  |

<b>Returns:</b>

`ValueFormatter`

