feat: integrate rx.plotly() chart component (Task 4.3)

- Replace chart_ready_placeholder() with chart_display() function
- chart_display() wraps rx.plotly() with AppState.icicle_figure
- Chart updates reactively when filters change via computed property
- Loading, error, and empty states already handled in chart_section()
This commit is contained in:
Andrew Charlwood
2026-02-04 18:49:13 +00:00
parent a749514889
commit 158d873750
2 changed files with 20 additions and 44 deletions
+5 -5
View File
@@ -153,11 +153,11 @@ cd pathways_app && timeout 60 python -m reflex run 2>&1 | head -30
- [x] Set responsive sizing
### 4.3 Chart Component
- [ ] Integrate `rx.plotly()` component in chart_section
- [ ] Pass reactive figure from state
- [ ] Handle loading states (show skeleton while computing)
- [ ] Handle empty data state (friendly message)
- [ ] Verify chart updates when filters change
- [x] Integrate `rx.plotly()` component in chart_section
- [x] Pass reactive figure from state
- [x] Handle loading states (show skeleton while computing)
- [x] Handle empty data state (friendly message)
- [x] Verify chart updates when filters change
## Phase 5: Polish & Verification