The line chart for the odometer is ready. #374
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What it Does
Closes #353
It added line chart to the odometerview. I added a few more instances of odometer readings into the preview, so that it shows better in the previewer.
How I Tested
After entering a new odometer reading the chart is displayed above the list. I was not able to test it all the way that I wanted because the firebase emulator wasn't working properly for me. Even though I tried restarting everything and I ran the emulator from within the backend and it started up properly in the terminal, however, when I tried running simulator it got this error.
11.4.0 - [FirebaseFirestore][I-FST000001] WatchStream (80b17503) Stream error: 'Unknown: An internal error has occurred, print and inspect the error details for more information.'
Notes
Interactive chart would be a good next step perhaps. It was in WWDC23 video here. https://developer.apple.com/videos/play/wwdc2023/10037/
Screenshot