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

## scaledUnits() function

### scaledUnits() function

<b>Signature</b>

```typescript
export declare function scaledUnits(factor: number, extArray: string[]): ValueFormatter;
```
<b>Import</b>

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

|  Parameter | Type | Description |
|  --- | --- | --- |
|  factor | <code>number</code> |  |
|  extArray | <code>string[]</code> |  |

<b>Returns:</b>

`ValueFormatter`

