Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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 |
description | string | Used in limited scenarios like legend reducer calculations |
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;
description property
Used in limited scenarios like legend reducer calculations
Signature
description?: 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;