Commit a2370a37 by ☃ pitr Committed by Torkel Ödegaard

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

parent 7b70e7db
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment