mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
fix: fix metricPlot y zoom reset
This commit is contained in:
parent
b66750339d
commit
c9eb40f455
@ -461,7 +461,7 @@
|
|||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
x: { time: false },
|
x: { time: false },
|
||||||
y: maxY ? { range: [0, maxY * 1.1] } : {},
|
y: maxY ? { min: 0, max: (maxY * 1.1) } : {auto: true}, // Add some space to upper render limit
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
// Display legend until max 12 Y-dataseries
|
// Display legend until max 12 Y-dataseries
|
||||||
|
Loading…
Reference in New Issue
Block a user