Browse Source

fix(graph): fixed order of graph tooltip when sort order was none, fixes #6648

Torkel Ödegaard 9 years ago
parent
commit
cf751c256b
2 changed files with 1 additions and 4 deletions
  1. 1 0
      CHANGELOG.md
  2. 0 4
      public/app/plugins/panel/graph/graph_tooltip.js

+ 1 - 0
CHANGELOG.md

@@ -2,6 +2,7 @@
 
 ### Bugfixes
 * **Server-side rendering**: Fixed address used when rendering panel via phantomjs and using non default http_addr config [#6660](https://github.com/grafana/grafana/issues/6660)
+* **Graph panel**: Fixed graph panel tooltip sort order issue [#6648](https://github.com/grafana/grafana/issues/6648)
 
 # 4.0-beta2 (2016-11-21)
 

+ 0 - 4
public/app/plugins/panel/graph/graph_tooltip.js

@@ -181,10 +181,6 @@ function ($) {
           seriesHoverInfo.sort(function(a, b) {
             return a.value - b.value;
           });
-        } else {
-          seriesHoverInfo.sort(function(a, b) {
-            return a.yaxis - b.yaxis;
-          });
         }
 
         for (i = 0; i < seriesHoverInfo.length; i++) {