Commit 715b9cba by Torkel Ödegaard

Small fix, removed test code change

parent 7194e91d
......@@ -173,8 +173,8 @@ function (angular, app, _, TimeSeries, kbn, PanelMeta) {
}
else {
var series = $scope.series[0];
data.mainValue = 0;
data.mainValueFormated = '0';
data.mainValue = series.stats[$scope.panel.valueName];
data.mainValueFormated = $scope.getFormatedValue(data.mainValue);
data.flotpairs = series.flotpairs;
}
......
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