SinglestatPanel: fix min/max config in singlestat sparklines (#17543)

This commit is contained in:
☃ pitr 2019-06-13 15:43:43 +02:00 committed by Torkel Ödegaard
parent 7b70e7db2d
commit a2370a379d

View File

@ -552,9 +552,10 @@ class SingleStatCtrl extends MetricsPanelCtrl {
fill: 1,
lineWidth: 1,
fillColor: getColorFromHexRgbOrName(panel.sparkline.fillColor, config.theme.type),
zero: false,
},
},
yaxes: {
yaxis: {
show: false,
min: panel.sparkline.ymin,
max: panel.sparkline.ymax,