mirror of
https://github.com/pmret/website.git
synced 2024-11-09 12:32:48 +01:00
cap y axis at 100%
This commit is contained in:
parent
770c1ec8c1
commit
ed5ff9557f
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user