API Reference@grafana/dataValueFormatter

ValueFormatter type

ValueFormatter type

Signature

export declare type ValueFormatter = (value: number, decimals?: DecimalCount, scaledDecimals?: DecimalCount, timeZone?: TimeZone, showMs?: boolean) => FormattedValue;

Import

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