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

## ScaleCalculator type

### ScaleCalculator type

<b>Signature</b>

```typescript
export declare type ScaleCalculator = (value: number) => ScaledValue;
```
<b>Import</b>

```typescript
import { ScaleCalculator } from '@grafana/data';
```
