+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
export declare type ScaleCalculator = (value: number) => ScaledValue;
```
Import
```typescript
import { ScaleCalculator } from '@grafana/data';
```