+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "getScaleCalculator" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## getScaleCalculator() function ### getScaleCalculator() function Signature ```typescript export declare function getScaleCalculator(field: Field, theme?: GrafanaTheme): ScaleCalculator; ``` Import ```typescript import { getScaleCalculator } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | field | Field | | | theme | GrafanaTheme | | Returns: `ScaleCalculator`