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

DataConfigSource interface

Describes and API for exposing panel specific data configurations.

Signature

typescript
export interface DataConfigSource 

Import

typescript
import { DataConfigSource } from '@grafana/data';

Properties

PropertyTypeDescription
configRevnumber
getDataSupport() => PanelPluginDataSupport
getFieldOverrideOptions() => ApplyFieldOverrideOptions | undefined
getTransformations() => DataTransformerConfig[] | undefined
snapshotDataDataFrameDTO[]

configRev property

Signature

typescript
configRev?: number;

getDataSupport property

Signature

typescript
getDataSupport: () => PanelPluginDataSupport;

getFieldOverrideOptions property

Signature

typescript
getFieldOverrideOptions: () => ApplyFieldOverrideOptions | undefined;

getTransformations property

Signature

typescript
getTransformations: () => DataTransformerConfig[] | undefined;

snapshotData property

Signature

typescript
snapshotData?: DataFrameDTO[];