Commit 17b96092 by Ryan McKinley Committed by Torkel Ödegaard

Sparklines should scale to the data range (#12010)

* Add a full range option to sparklines

* line zero=false
parent 7b09dfe9
...@@ -580,6 +580,7 @@ class SingleStatCtrl extends MetricsPanelCtrl { ...@@ -580,6 +580,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
lines: { lines: {
show: true, show: true,
fill: 1, fill: 1,
zero: false,
lineWidth: 1, lineWidth: 1,
fillColor: panel.sparkline.fillColor, fillColor: panel.sparkline.fillColor,
}, },
......
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