cap y axis at 100%

This commit is contained in:
Ethan Roseman 2023-03-09 22:21:45 +09:00
parent 770c1ec8c1
commit ed5ff9557f
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD

View File

@ -119,6 +119,11 @@ function DataView({ data, captionPortal, color }) {
values: (u, vals, space) => vals.map(v => +v.toFixed(1) + "%"),
},
],
scales: {
"%": {
range: [0, 100],
}
},
legend: {
show: false,
},