Update Add support for annotations (#43851)

pull/40154/head
Marcus Olsson 4 years ago committed by GitHub
parent 7b841c7947
commit 1141df7b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/sources/developers/plugins/add-support-for-annotations.md

@ -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**

Loading…
Cancel
Save