ossmate / coderscamp_2021_spa_project_2

coderscamp-2021-spa-project-2.vercel.app
0 stars 1 forks source link

Chart Component #25

Closed radekwojpl2 closed 2 years ago

ossmate commented 2 years ago

The clue of this task is to install chart js / chart js react library and display our type of data in chart. It can be displayed per: categories, paymentType or type of income/outcome. (but without category switch for this moment). It have to be mocked and unchangable for now.

[
   {
      "amount":"43545",
      "category":"clothes",
      "date":"2022-01-12",
      "description":"qwe",
      "paymentType":"card",
      "title":"qwe",
      "type":"income"
   },
   {
      "amount":"43545",
      "category":"clothes",
      "date":"2022-01-12",
      "description":"qwe",
      "paymentType":"card",
      "title":"qwe",
      "type":"income"
   },
   {
      "amount":"43545",
      "category":"clothes",
      "date":"2022-01-12",
      "description":"qwe",
      "paymentType":"card",
      "title":"qwe",
      "type":"income"
   },
]

our data probably would look like this list.