getScaleCalculator() function
getScaleCalculator() function
Signature
export declare function getScaleCalculator(field: Field, theme: GrafanaTheme2): ScaleCalculator;
Import
import { getScaleCalculator } from '@grafana/data';
Parameters
Parameter | Type | Description |
---|---|---|
field | Field | |
theme | GrafanaTheme2 |
Returns:
ScaleCalculator