This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datascaledUnits

scaledUnits() function

scaledUnits() function

Signature

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

Import

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

Parameters

Parameter Type Description
factor number
extArray string[]

Returns:

ValueFormatter