TUM-Dev / Campus-Android

Development of the TUM Campus App for Android devices - for and from students at Technical University of Munich.
https://app.tum.de
GNU General Public License v3.0
207 stars 86 forks source link

[BUG] Grade Bar Chart is scaled wrongly #1505

Closed LorenzNickel closed 2 years ago

LorenzNickel commented 2 years ago

Describe the bug The Bar Chart in the Grades Fragment has a weird scaling on the x-axis (0 - 41 instead of 1.0 - 5.0). image

To Reproduce Steps to reproduce the behavior:

  1. Go to "My Grades"
  2. Switch to the Bar Chart

Expected behavior The scaling on the x-axis should be 1.0 - 5.0. image (I didn't manage to get it completely right, but you probably understand what I feel it should look like)

Smartphone:

Additional considerations:

tobiasjungmann commented 2 years ago

Thanks for the detailed issue for the new feature! :D I will fix the labels on the diagram, I haven't noticed them before and they obviously don't make sense right now. Initially, all exams have the same weight (1) and credits (5). Therefore, these values are uninteresting in the diagram (once it has a reasonable axis label) until the user actively alters an exam. In my opinion, this change should then be taken into account directly in the diagrams.