Explorar o código

Full metric description (#7493)

graph: add full metric description for graph-legend-alias title
Vladimir Kolobaev %!s(int64=9) %!d(string=hai) anos
pai
achega
6eda5604d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/plugins/panel/graph/legend.js

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

@@ -167,7 +167,7 @@ function (angular, _, $) {
             html += '<i class="fa fa-minus pointer" style="color:' + series.color + '"></i>';
             html += '</div>';
 
-            html += '<a class="graph-legend-alias pointer">' + _.escape(series.label) + '</a>';
+            html += '<a class="graph-legend-alias pointer" title="' + _.escape(series.label) + '">' + _.escape(series.label) + '</a>';
 
             if (panel.legend.values) {
               var avg = series.formatValue(series.stats.avg);