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

API Reference@grafana/datagetValueFormat

getValueFormat() function

getValueFormat() function

Signature

export declare function getValueFormat(id?: string | null): ValueFormatter;

Import

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

Parameters

Parameter Type Description
id string | null

Returns:

ValueFormatter