Explorar o código

fix(graph): fixed issue with tooltip introduced in recent commit

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

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

@@ -83,7 +83,6 @@ function ($, _) {
           // Stacked series can increase its length on each new stacked serie if null points found,
           // to speed the index search we begin always on the last found hoverIndex.
           hoverIndex = this.findHoverIndexFromDataPoints(pos.x, series, hoverIndex);
-          hoverDistance = Math.abs(pos.x - series.data[hoverIndex][0]);
         }
 
         results.push({