fix: fix metricPlot y zoom reset

This commit is contained in:
Christoph Kluge 2024-04-25 16:59:27 +02:00
parent b66750339d
commit c9eb40f455

View File

@ -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