mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
graph y axis now begins at 0 to to avoid exaggerating wide swings in the data
This commit is contained in:
parent
7d02434646
commit
a5ef8655fc
2 changed files with 4 additions and 2 deletions
|
@ -289,7 +289,8 @@ var resultHistoryChart = new Chart($(".pageAccount #resultHistoryChart"), {
|
|||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
fontFamily: "Roboto Mono"
|
||||
fontFamily: "Roboto Mono",
|
||||
beginAtZero: true
|
||||
},
|
||||
display: true,
|
||||
scaleLabel: {
|
||||
|
|
|
@ -1030,7 +1030,8 @@ let wpmOverTimeChart = new Chart(ctx, {
|
|||
labelString: 'Words per Minute'
|
||||
},
|
||||
ticks: {
|
||||
fontFamily: 'Roboto Mono'
|
||||
fontFamily: 'Roboto Mono',
|
||||
beginAtZero: true
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue