* Order by metric records desc.

This commit is contained in:
qixinzhi
2023-10-19 02:13:44 +00:00
parent 302ea70cf8
commit 1ef5a17d00
+1 -1
View File
@@ -431,7 +431,7 @@ window.initChart = function($obj, head, data, chartType)
var type = (chartType == 'barX' || chartType == 'barY') ? 'bar' : chartType;
data.sort(function(a, b) {
return a[x] < b[x] ? -1 : 1;
return a[x] > b[x] ? -1 : 1;
});
var xAxis = {