Преглед изворни кода

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

Torkel Ödegaard пре 9 година
родитељ
комит
d894c13718
1 измењених фајлова са 0 додато и 1 уклоњено
  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({