FieldConfigPropertyItem interface

Signature

  1. export interface FieldConfigPropertyItem<TOptions = any, TValue = any, TSettings extends {} = any> extends OptionsEditorItem<TOptions, TSettings, FieldConfigEditorProps<TValue, TSettings>, TValue>

Import

  1. import { FieldConfigPropertyItem } from '@grafana/data';

Properties

PropertyTypeDescription
hideFromDefaultsbooleanHides option from the Field config tab
hideFromOverridesbooleanIndicates that option should not be available for the overrides
isCustombooleantrue for plugin field config properties
overrideComponentType<FieldOverrideEditorProps<TValue, TSettings>>
process(value: any, context: FieldOverrideContext, settings?: TSettings) => TValue | undefined | nullConvert the override value to a well typed value
shouldApply(field: Field) => booleanChecks if field should be processed

hideFromDefaults property

Hides option from the Field config tab

Signature

  1. hideFromDefaults?: boolean;

hideFromOverrides property

Indicates that option should not be available for the overrides

Signature

  1. hideFromOverrides?: boolean;

isCustom property

true for plugin field config properties

Signature

  1. isCustom?: boolean;

override property

Signature

  1. override: ComponentType<FieldOverrideEditorProps<TValue, TSettings>>;

process property

Convert the override value to a well typed value

Signature

  1. process: (value: any, context: FieldOverrideContext, settings?: TSettings) => TValue | undefined | null;

shouldApply property

Checks if field should be processed

Signature

  1. shouldApply: (field: Field) => boolean;