API Reference@grafana/data › getScaleCalculator

getScaleCalculator() function

getScaleCalculator() function

Signature

export declare function getScaleCalculator(field: Field, theme?: GrafanaTheme): ScaleCalculator;

Import

import { getScaleCalculator } from '@grafana/data';

Parameters

Parameter Type Description
field Field
theme GrafanaTheme

Returns:

ScaleCalculator