Closed jinyung2 closed 3 years ago
Time Spent: 2 hours
Created some new components for graph, created a route for the dashboard and played around and experimented with example graphs supplied in chart js documentation.
Time Spent: 2 hours
Played around with some options outlined in the docs: https://www.chartjs.org/docs/latest/
Added an example to the feature/graph-chartjs branch, with use of options object supplied to various graph types
Time Spent: 2 hours
Tried using different options on Bar, Line, Doughnut, and Radar graph types. Currently all inline options/styles for experimenting, but in the future this will be changed. Need to figure out where to handle the app state, ie. should it all be in the dashboard Page and components should be state-less or can we throw in states into functional components as well.
Marking as complete for now, will figure out more chart.js as we implement graphs into the front end
Estimate: 8 hours
Learn how to use and implement the chart.js library into react using the react-chartjs-2 wrapper package.