Menu
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.
Enterprise
Open source
FieldConfig interface
Every property is optional
Plugins may extend this with additional properties. Something like series overrides
Signature
typescript
export interface FieldConfig<TOptions extends object = any>
Import
typescript
import { FieldConfig } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
color | FieldColor | |
custom | TOptions | |
decimals | number | null | |
displayName | string | |
filterable | boolean | |
links | DataLink[] | |
mappings | ValueMapping[] | |
max | number | null | |
min | number | null | |
noValue | string | |
nullValueMode | NullValueMode | |
thresholds | ThresholdsConfig | |
unit | string |
color property
Signature
typescript
color?: FieldColor;
custom property
Signature
typescript
custom?: TOptions;
decimals property
Signature
typescript
decimals?: number | null;
displayName property
Signature
typescript
displayName?: string;
filterable property
Signature
typescript
filterable?: boolean;
links property
Signature
typescript
links?: DataLink[];
mappings property
Signature
typescript
mappings?: ValueMapping[];
max property
Signature
typescript
max?: number | null;
min property
Signature
typescript
min?: number | null;
noValue property
Signature
typescript
noValue?: string;
nullValueMode property
Signature
typescript
nullValueMode?: NullValueMode;
thresholds property
Signature
typescript
thresholds?: ThresholdsConfig;
unit property
Signature
typescript
unit?: string;
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video
Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video
Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.