feat: validate annotation-type before returning

this avoids breaking the whole chart due to annotations.
This commit is contained in:
Matthias
2025-05-02 20:58:13 +02:00
parent 064708a354
commit a3359b62d4
3 changed files with 21 additions and 12 deletions

View File

@@ -1172,11 +1172,12 @@ class AwesomeStrategy(IStrategy):
```
Entries will be validated, and won't be passed to the UI if they don't correspond to the expected schema and will log an error if they don't.
!!! Warning "Many annotations"
Using too many annotations can cause the UI to hang, especially when plotting large amounts of historic data.
Use the annotation feature with care.
### Plot annotations example
![FreqUI - plot Annotations](assets/frequi-chart-annotations-dark.png#only-dark)