Closed gitkaarma closed 2 years ago
You're right, it will be better to adapt the scale to the number of minutes. Why not adding mn and % on the vertical axis.
What can be the basis of our scaling @llaske ? Can we set the maximum limit to something like (maximum time taken by a student + x) minutes. x maybe 10, 20, 50 minutes.
If we change the current graph, the idea is to have a "smart" graph that adapt to the maximum. The default maximum will be 10 minutes like today and it will adapt to the maximum if it's higher.
@llaske Can you please review the changes?
I took more than 10 minutes to complete the test, so the minutes graph adapted accordingly. If the user takes less than 10 minutes, the max y-axis limit will be 10 minutes.
Also the x and y axes are now labelled.
If someone takes more than 10 minutes to finish an exercise, his time graph just shoots to the top.
It would be difficult to compare relative performance in such scenarios.
Also there is no marking(what they represent) on x and y axes. Should we also add that?