mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 12:52:23 +08:00
Update Add support for annotations (#43851)
This commit is contained in:
@ -24,7 +24,7 @@ To enable annotation support for your data source, add the following two lines o
|
||||
}
|
||||
```
|
||||
|
||||
2. In `datasource.ts`, override the `annotations` property from `DataSourceApi`. For the default behavior, you can set `annotations` to an empty object.
|
||||
2. In `datasource.ts`, override the `annotations` property from `DataSourceApi` (or `DataSourceWithBackend` for backend data sources). For the default behavior, you can set `annotations` to an empty object.
|
||||
|
||||
**datasource.ts**
|
||||
|
||||
|
Reference in New Issue
Block a user