Files
SunCheng c49f66757e
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Waiting to run
Docker Build & Deploy / Deploy to Production (push) Has been cancelled
Docker Build & Deploy / Cleanup Dangling Images (push) Has been cancelled
Docker Build & Deploy / WeChat Notification (push) Has been cancelled
1
2026-02-18 21:16:45 +08:00

655 B

ADDED Requirements

Requirement: Chart container boundary enforcement

The chart SHALL be fully contained within its parent card container without overflow.

Scenario: Chart renders within card boundaries

  • WHEN the statistics page displays a line chart in a card component
  • THEN the chart canvas SHALL NOT extend beyond the card's padding boundaries
  • AND the chart SHALL adapt to container resize events

Scenario: Chart adapts to mobile viewport

  • WHEN the viewport width is less than 375px
  • THEN the chart SHALL scale down proportionally
  • AND no horizontal scrolling SHALL be required to view the full chart