We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850d39f commit becb630Copy full SHA for becb630
public/app/plugins/panel/graph/graph_tooltip.js
@@ -21,10 +21,7 @@ function ($) {
21
var initial = last*ps;
22
var len = series.datapoints.points.length;
23
for (var j = initial; j < len; j += ps) {
24
- // Special case of a non stepped line, highlight the very last point just before a null point
25
- if ((series.datapoints.points[initial] != null && series.datapoints.points[j] == null && ! series.lines.steps)
26
- //normal case
27
- || series.datapoints.points[j] > posX) {
+ if (series.datapoints.points[j] > posX) {
28
return Math.max(j - ps, 0)/ps;
29
}
30
0 commit comments