API Reference@grafana/datascaledUnits

scaledUnits() function

scaledUnits() function

Signature

export declare function scaledUnits(factor: number, extArray: string[], offset?: number): ValueFormatter;

Import

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

Parameters

Parameter Type Description
factor number
extArray string[]
offset number

Returns:

ValueFormatter