Explorar o código

fix(graph panel): fix for graph panel alignment when legend is in table mode, fixes #4772

Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
45dd9c5795
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/plugins/panel/graph/graph.js

+ 1 - 1
public/app/plugins/panel/graph/graph.js

@@ -73,7 +73,7 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
             var legendSeries = _.filter(data, function(series) {
               return series.hideFromLegend(panel.legend) === false;
             });
-            var total = 23 + (22 * legendSeries.length);
+            var total = 23 + (21 * legendSeries.length);
             return Math.min(total, Math.floor(panelHeight/2));
           } else {
             return 26;