API Reference@grafana/data › ValueFormatter

ValueFormatter type

ValueFormatter type

Signature

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

Import

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