fix: show TA-lib pattern spans on chart and add delete all annotations button

- Fix SpanAnnotationManager price range calculation: use direct candle
  filtering by time range instead of dummy Candle objects that fell back
  to 0/0 high/low, causing invisible rectangles
- Add handleDeleteAllAnnotations in page.tsx (deletes all span annotations
  and regular annotations for current chart)
- Add 'Delete All Annotations' button in sidebar below TA-Lib panel
This commit is contained in:
Marko Djordjevic 2026-02-17 20:12:23 +01:00
parent 7901a1a257
commit d416aa409c
3 changed files with 50 additions and 5 deletions

File diff suppressed because one or more lines are too long