AnnotationQuery interface

This JSON object is stored in the dashboard json model.

Signature

  1. export interface AnnotationQuery<TQuery extends DataQuery = DataQuery>

Import

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

Properties

PropertyTypeDescription
builtInnumber
datasourceDataSourceRef | null
enableboolean
hideboolean
iconColorstring
mappingsAnnotationEventMappings
namestring
snapshotDataany
targetTQuery
typestring

builtIn property

Signature

  1. builtIn?: number;

datasource property

Signature

  1. datasource?: DataSourceRef | null;

enable property

Signature

  1. enable: boolean;

hide property

Signature

  1. hide?: boolean;

iconColor property

Signature

  1. iconColor: string;

mappings property

Signature

  1. mappings?: AnnotationEventMappings;

name property

Signature

  1. name: string;

snapshotData property

Signature

  1. snapshotData?: any;

target property

Signature

  1. target?: TQuery;

type property

Signature

  1. type?: string;