Created by: shuklaayush
Description of PR
- Make the trend charts' SVG fully responsive by adding a custom resizeObserver hook. Fixes scaling issues in landscape orientation on mobile/tablets.
- Remove extra divs and SVG elements; draw total and daily charts on same elements
- Add a transition animation between total and daily charts
Type of PR
-
Bugfix -
New feature
Relevant Issues Fixes #792 (closed)
Checklist
-
Compiles and passes lint tests -
Properly formatted -
Tested on desktop -
Tested on phone