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

API Reference@grafana/datagetFieldDisplayName

getFieldDisplayName() function

getFieldDisplayName() function

Signature

export declare function getFieldDisplayName(field: Field, frame?: DataFrame, allFrames?: DataFrame[]): string;

Import

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

Parameters

Parameter Type Description
field Field
frame DataFrame
allFrames DataFrame[]

Returns:

string