Sparklines should scale to the data range (#12010)

* Add a full range option to sparklines

* line zero=false
This commit is contained in:
Ryan McKinley 2018-05-28 07:30:44 -07:00 committed by Torkel Ödegaard
parent 7b09dfe9a0
commit 17b9609209

View File

@ -580,6 +580,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
lines: {
show: true,
fill: 1,
zero: false,
lineWidth: 1,
fillColor: panel.sparkline.fillColor,
},