Files
grafana/docs/sources/packages_api/data/annotationqueryrequest.md
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

68 lines
1.6 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "AnnotationQueryRequest"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## AnnotationQueryRequest interface
Options passed to the datasource.annotationQuery method. See docs/plugins/developing/datasource.md
<b>Signature</b>
```typescript
export interface AnnotationQueryRequest<MoreOptions = {}>
```
<b>Import</b>
```typescript
import { AnnotationQueryRequest } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [annotation](#annotation-property) | <code>{</code><br/><code> datasource: string;</code><br/><code> enable: boolean;</code><br/><code> name: string;</code><br/><code> } &amp; MoreOptions</code> | |
| [dashboard](#dashboard-property) | <code>any</code> | |
| [range](#range-property) | <code>TimeRange</code> | |
| [rangeRaw](#rangeraw-property) | <code>RawTimeRange</code> | |
### annotation property
<b>Signature</b>
```typescript
annotation: {
datasource: string;
enable: boolean;
name: string;
} & MoreOptions;
```
### dashboard property
<b>Signature</b>
```typescript
dashboard: any;
```
### range property
<b>Signature</b>
```typescript
range: TimeRange;
```
### rangeRaw property
<b>Signature</b>
```typescript
rangeRaw: RawTimeRange;
```