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

API Reference@grafana/datagetFrameDisplayName

getFrameDisplayName() function

getFrameDisplayName() function

Get an appropriate display title

Signature

export declare function getFrameDisplayName(frame: DataFrame, index?: number): string;

Import

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

Parameters

Parameter Type Description
frame DataFrame
index number

Returns:

string