Browse Source

Graph: tooltip fix for single series tooltip and right floated value being pushed down

Torkel Ödegaard 11 năm trước cách đây
mục cha
commit
920e5c93e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/app/directives/grafanaGraph.tooltip.js

+ 1 - 1
src/app/directives/grafanaGraph.tooltip.js

@@ -161,7 +161,7 @@ function ($) {
 
         value = series.formatValue(value);
         timestamp = dashboard.formatDate(item.datapoint[0]);
-        group += ': <span class="graph-tooltip-value">' + value + '</span>';
+        group += ': <span class="graph-tooltip-value">' + value + '</span><br>';
 
         self.showTooltip(timestamp, group, pos);
       }