Commit 270b7363 by Torkel Ödegaard Committed by GitHub

Merge pull request #13270 from tianon/fix-gauge-accuracy

Fix gauge display accuracy for "percent (0.0-1.0)"
parents 84a4b641 74912dca
......@@ -544,7 +544,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
elem.append(plotCanvas);
const plotSeries = {
data: [[0, data.valueRounded]],
data: [[0, data.value]],
};
$.plot(plotCanvas, [plotSeries], options);
......
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