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

Fix gauge display accuracy for "percent (0.0-1.0)"
This commit is contained in:
Torkel Ödegaard
2018-09-14 09:58:14 +02:00
committed by GitHub

View File

@@ -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);