The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/fieldconfig.md

2.9 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "FieldConfig" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" draft = true +++

FieldConfig interface

Every property is optional

Plugins may extend this with additional properties. Something like series overrides

Signature

export interface FieldConfig 

Import

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

Properties

Property Type Description
color FieldColor
custom Record<string, any>
decimals number | null
filterable boolean
links DataLink[]
mappings ValueMapping[]
max number | null
min number | null
noValue string
nullValueMode NullValueMode
scopedVars ScopedVars
thresholds ThresholdsConfig
title string
unit string

color property

Signature

color?: FieldColor;

custom property

Signature

custom?: Record<string, any>;

decimals property

Signature

decimals?: number | null;

filterable property

Signature

filterable?: boolean;

Signature

links?: DataLink[];

mappings property

Signature

mappings?: ValueMapping[];

max property

Signature

max?: number | null;

min property

Signature

min?: number | null;

noValue property

Signature

noValue?: string;

nullValueMode property

Signature

nullValueMode?: NullValueMode;

scopedVars property

Signature

scopedVars?: ScopedVars;

thresholds property

Signature

thresholds?: ThresholdsConfig;

title property

Signature

title?: string;

unit property

Signature

unit?: string;