API Reference@grafana/data › AnnotationQuery

AnnotationQuery interface

This JSON object is stored in the dashboard json model.

Signature

export interface AnnotationQuery<TQuery extends DataQuery = DataQuery> 

Import

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

Properties

Property Type Description
datasource string
enable boolean
iconColor string
mappings AnnotationEventMappings
name string
target TQuery

datasource property

Signature

datasource: string;

enable property

Signature

enable: boolean;

iconColor property

Signature

iconColor: string;

mappings property

Signature

mappings?: AnnotationEventMappings;

name property

Signature

name: string;

target property

Signature

target?: TQuery;