mirror of
https://github.com/pmret/website.git
synced 2024-11-09 20:43:07 +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) + "%"),
|
values: (u, vals, space) => vals.map(v => +v.toFixed(1) + "%"),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
scales: {
|
||||||
|
"%": {
|
||||||
|
range: [0, 100],
|
||||||
|
}
|
||||||
|
},
|
||||||
legend: {
|
legend: {
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user