Browse Source

HUE-8649 [frontend] Have the performance graph roll over instead of append

Johan Ahlen 7 years ago
parent
commit
b38051b

+ 1 - 0
desktop/core/src/desktop/templates/ko_components/ko_performance_graph.mako

@@ -505,6 +505,7 @@
             self.data = data;
           } else {
             data.forEach(function (newRow) {
+              self.data.shift();
               self.data.push(newRow);
             })
           }