API Reference@grafana/data › DisplayValue

DisplayValue interface

Signature

export interface DisplayValue extends FormattedValue 

Import

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

Properties

Property Type Description
color string Color based on configs or Threshold
numeric number Use isNaN to check if it is a real number
percent number 0-1 between min & max
title string

color property

Color based on configs or Threshold

Signature

color?: string;

numeric property

Use isNaN to check if it is a real number

Signature

numeric: number;

percent property

0-1 between min & max

Signature

percent?: number;

title property

Signature

title?: string;