Closed BitsyBirb closed 5 months ago
If you need sample code to look at for the styling you can look at apps/expo/src/components/post/PostDashboard.tsx
I think you can style it as the mock up if you just change the background color
Added myself and marcos as reviewers
Use case:
Updated:
What type of PR is this? (Check all that apply)
Description
What did you change? How did you change it?
Implemented line chart that plots how many times the logged-in user has exercised in each month of the current year.
Component can be found in
~/apps/expo/src/components/workout/frequency_graph.tsx
and the name of the component itself isDisplayWorkoutFrequencyGraph({userID: number})
. You pass the userID of the global context into it.Has styling issues that I'd like to address with the rest of the team such as finalizing the design or adding to it, but for now the prototype is good to go and gets the proper data/plots it.
Tests
How was this tested?
[Optional] Screenshots
Documentation
Link to external documentation: https://www.npmjs.com/package/react-native-gifted-charts
[Optional] Are there any post-deployment tasks we need to perform?
Besides reviewing the styling and cleaning it up a bit, not to my understanding.